Skip to content

Remove obsolete Error() in DMParser #3956

Remove obsolete Error() in DMParser

Remove obsolete Error() in DMParser #3956

Triggered via pull request February 14, 2024 05:25
Status Failure
Total duration 4m 5s
Artifacts

build-test.yml

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

Annotations

2 errors and 24 warnings
build (ubuntu-latest)
Process completed with exit code 1.
build (windows-latest)
The operation was canceled.
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest): DMCompiler/Compiler/CompilerError.cs#L132
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (ubuntu-latest): DMCompiler/Compiler/CompilerError.cs#L143
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L32
Non-nullable property 'Add' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L25
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L8
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L12
Non-nullable property 'Locals' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamProcJson.cs#L14
Non-nullable property 'SourceInfo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamObjectJson.cs#L28
Non-nullable property 'Names' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamObjectJson.cs#L29
Non-nullable property 'Globals' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (ubuntu-latest): DMCompiler/Json/DreamObjectJson.cs#L15
Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, space-wizards/[email protected], actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-latest): DMCompiler/Compiler/CompilerError.cs#L132
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (windows-latest): DMCompiler/Compiler/CompilerError.cs#L143
'CompileErrorException' is obsolete: 'This is not a desirable way for the compiler to emit an error. Use CompileAbortException or ForceError() if it needs to be fatal, or an DMCompiler.Emit() otherwise.'
build (windows-latest): DMCompiler/DMCompiler.cs#L54
Possible null reference argument for parameter 'files' in 'DMPreprocessor? DMCompiler.Preprocess(List<string> files, Dictionary<string, string>? macroDefines)'.
build (windows-latest): DMCompiler/DMCompiler.cs#L54
Converting null literal or possible null value to non-nullable type.
build (windows-latest): DMCompiler/DMCompiler.cs#L60
Dereference of a possibly null reference.
build (windows-latest): DMCompiler/DMCompiler.cs#L65
Possible null reference argument for parameter 'interfaceFile' in 'string DMCompiler.SaveJson(List<DreamMapJson> maps, string interfaceFile, string outputFile)'.
build (windows-latest): DMCompiler/Compiler/Lexer.cs#L17
Non-nullable field '_current' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (windows-latest): DMCompiler/Compiler/DM/DMPath.cs#L6
Non-nullable field 'VarName' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (windows-latest): DMCompiler/DM/Expressions/Procs.cs#L116
Dereference of a possibly null reference.
build (windows-latest): DMCompiler/Program.cs#L103
Dereference of a possibly null reference.