Skip to content

Fix a crash with invalid FILE_DIR defines #5613

Fix a crash with invalid FILE_DIR defines

Fix a crash with invalid FILE_DIR defines #5613

Triggered via pull request February 1, 2025 00:34
Status Success
Total duration 4m 20s
Artifacts

build-test.yml

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

Annotations

10 warnings
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/DMCompiler.cs#L38
Non-nullable field '_codeDirectory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L70
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#L70
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L76
Dereference of a possibly null reference.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L81
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build (ubuntu-latest): DMCompiler/DMCompiler.cs#L174
Dereference of a possibly null reference.