Skip to content

Compile error when outputting to const vars in for() loops #5383

Compile error when outputting to const vars in for() loops

Compile error when outputting to const vars in for() loops #5383

Triggered via pull request December 8, 2024 15:47
Status Success
Total duration 4m 35s
Artifacts

build-test.yml

on: pull_request
Matrix: build
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/Helpers.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/Helpers.cs#L27
'FieldAttributes.NotSerialized' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): RobustToolbox/NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L146
'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): DMCompiler/Compiler/Lexer.cs#L29
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L66
Possible null reference argument for parameter 'files' in 'DMPreprocessor? DMCompiler.Preprocess(DMCompiler compiler, List<string> files, Dictionary<string, string>? macroDefines)'.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L66
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L72
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L77
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build (ubuntu-latest): DMCompiler/Json/DreamMapJson.cs#L11
Non-nullable property 'Turf' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.