Skip to content

Clean up for readability and consistency #2041

Clean up for readability and consistency

Clean up for readability and consistency #2041

Triggered via push July 20, 2023 20:43
Status Success
Total duration 14m 58s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

60 warnings and 3 notices
build (ubuntu-22.04): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (ubuntu-22.04): implement/elm-time/Program.cs#L528
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (ubuntu-22.04): implement/elm-time/Program.cs#L533
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (ubuntu-22.04): implement/elm-time/Program.cs#L782
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (ubuntu-22.04): implement/elm-time/Program.cs#L1349
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/Program.cs#L1358
Dereference of a possibly null reference.
build (ubuntu-22.04): implement/elm-time/Program.cs#L1385
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (ubuntu-22.04): implement/elm-time/Pine/PineVM/PineVM.cs#L279
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (ubuntu-22.04): implement/elm-time/Platform/WebService/StartupAdminInterface.cs#L403
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04): implement/elm-time/Platform/WebService/StartupAdminInterface.cs#L587
Possible null reference argument for parameter 'request' in 'Result<string, ApplyDatabaseFunctionSuccess> applyDatabaseFunction(ApplyDatabaseFunctionRequest request)'.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (ubuntu-22.04)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (ubuntu-22.04)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (ubuntu-22.04)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Dereference of a possibly null reference.
build (ubuntu-22.04)
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (ubuntu-22.04)
Converting null literal or possible null value to non-nullable type.
build (ubuntu-22.04)
Possible null reference argument for parameter 'request' in 'Result<string, ApplyDatabaseFunctionSuccess> applyDatabaseFunction(ApplyDatabaseFunctionRequest request)'.
build (macos-13)
Dereference of a possibly null reference.
build (macos-13)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (macos-13)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (macos-13)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (macos-13)
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
build (macos-13)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (macos-13)
Possible null reference return.
build (macos-13)
Possible null reference return.
build (macos-13)
Dereference of a possibly null reference.
build (macos-13)
Converting null literal or possible null value to non-nullable type.
build (macos-13): implement/elm-time/Pine/Json/JsonConverterForPineValue.cs#L69
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
build (macos-13): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (macos-13): implement/elm-time/ElmTime/PersistentProcess.cs#L99
Possible null reference argument for parameter 'json' in 'JsonElement JsonSerializer.Deserialize<JsonElement>(string json, JsonSerializerOptions? options = null)'.
build (macos-13): implement/elm-time/ElmTime/JsEngineJint.cs#L110
Possible null reference argument for parameter 'arg' in 'Expression Func<Node, Expression>.Invoke(Node arg)'.
build (macos-13): implement/elm-time/ElmTime/JsEngineJint.cs#L112
Possible null reference return.
build (macos-13): implement/elm-time/ElmTime/JsEngineJint.cs#L119
Dereference of a possibly null reference.
build (macos-13): implement/elm-time/ElmTime/JsEngineJint.cs#L123
Possible null reference return.
build (macos-13): implement/elm-time/Pine/PineVM/PineVM.cs#L279
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (windows-2022)
Dereference of a possibly null reference.
build (windows-2022)
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (windows-2022)
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (windows-2022)
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (windows-2022)
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (windows-2022)
Converting null literal or possible null value to non-nullable type.
build (windows-2022)
Possible null reference argument for parameter 'request' in 'Result<string, ApplyDatabaseFunctionSuccess> applyDatabaseFunction(ApplyDatabaseFunctionRequest request)'.
build (windows-2022)
Possible null reference argument for parameter 'messageFromGui' in 'IEnumerable<EventToElmApp> handleMessageFromGui(MessageToHost messageFromGui)'.
build (windows-2022)
Possible null reference argument for parameter 'source' in 'IEnumerable<HttpRoute> Enumerable.Select<ApiRoute, HttpRoute>(IEnumerable<ApiRoute> source, Func<ApiRoute, HttpRoute> selector)'.
build (windows-2022)
Possible null reference argument for parameter 'report' in 'string reportAsString(object report)'.
build (windows-2022): implement/elm-time/RunServer.cs#L146
Possible null reference argument for parameter 'urls' in 'IWebHostBuilder HostingAbstractionsWebHostBuilderExtensions.UseUrls(IWebHostBuilder hostBuilder, params string[] urls)'.
build (windows-2022): implement/elm-time/Program.cs#L528
Nullability of reference types in type of parameter 'argumentFromCLI' of 'string Program.LoadArgumentFromUserInterfaceAsJsonOrFileTextContext(string argumentFromCLI)' doesn't match the target delegate 'Func<string?, string>' (possibly because of nullability attributes).
build (windows-2022): implement/elm-time/Program.cs#L533
Possible null reference argument for parameter 'functionName' in 'ApplyFunctionReport Program.ApplyFunction(string site, string functionName, IReadOnlyList<string> serializedArgumentsJson, bool commitResultingState, string? siteDefaultPassword, bool promptForPasswordOnConsole)'.
build (windows-2022): implement/elm-time/Program.cs#L782
Nullability of reference types in value of type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>>?)' doesn't match target type '(Program.CompileAppReport, IImmutableDictionary<IReadOnlyList<string>, ReadOnlyMemory<byte>> compiledAppFiles)'.
build (windows-2022): implement/elm-time/Pine/PineVM/PineVM.cs#L279
The tuple element name 'StringFromComponent' is ignored because a different name or no name is specified by the target type '(string name, Func<PineValue, Result<string, string>> decode)'.
build (windows-2022): implement/elm-time/Program.cs#L1349
Dereference of a possibly null reference.
build (windows-2022): implement/elm-time/Program.cs#L1358
Dereference of a possibly null reference.
build (windows-2022): implement/elm-time/Program.cs#L1385
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (windows-2022): implement/elm-time/Pine/PineVM/PineCompileToDotNet.cs#L482
Converting null literal or possible null value to non-nullable type.
build (windows-2022): implement/elm-time/Pine/PineVM/PineCompileToDotNet.cs#L482
Possible null reference argument for parameter 'ok' in 'Result<string, IReadOnlyDictionary<PineValue, Func<EvalExprDelegate, PineValue, Result<string, PineValue>>>> Result<string, IReadOnlyDictionary<PineValue, Func<EvalExprDelegate, PineValue, Result<string, PineValue>>>>.ok(IReadOnlyDictionary<PineValue, Func<EvalExprDelegate, PineValue, Result<string, PineValue>>> ok)'.
68 tests found
There are 68 tests, see "Raw output" for the full list of tests.
68 tests found
There are 68 tests, see "Raw output" for the full list of tests.
68 tests found
There are 68 tests, see "Raw output" for the full list of tests.