Skip to content

Refactor for readability and consistency #2035

Refactor for readability and consistency

Refactor for readability and consistency #2035

Triggered via push July 17, 2023 12:03
Status Success
Total duration 16m 45s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

60 warnings and 3 notices
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)
Dereference of a possibly null reference.
build (macos-13)
Converting null literal or possible null value to non-nullable type.
build (macos-13)
Possible null reference return.
build (macos-13)
Dereference of a possibly null reference.
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)
Possible null reference return.
build (macos-13)
Possible null reference argument for parameter 'json' in 'JsonElement JsonSerializer.Deserialize<JsonElement>(string json, JsonSerializerOptions? options = null)'.
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/Pine/BlobLibrary.cs#L125
Dereference of a possibly null reference.
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/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/JintInterop.cs#L41
Dereference of a possibly null reference.
build (macos-13): implement/elm-time/ElmTime/JintInterop.cs#L41
Converting null literal or possible null value to non-nullable type.
build (macos-13): implement/elm-time/ElmTime/JintInterop.cs#L41
Possible null reference return.
build (ubuntu-22.04): implement/elm-time/Pine/BlobLibrary.cs#L125
Dereference of a possibly null reference.
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/Pine/Json/JsonConverterForPineValue.cs#L69
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
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)
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)
Possible null reference return.
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)
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 (ubuntu-22.04)
Possible null reference argument for parameter 'messageFromGui' in 'IEnumerable<EventToElmApp> handleMessageFromGui(MessageToHost messageFromGui)'.
build (ubuntu-22.04)
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 '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)
Dereference of a possibly null reference.
build (windows-2022)
Dereference of a possibly null reference.
build (windows-2022)
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2)'.
build (windows-2022)
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)
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
build (windows-2022)
Possible null reference return.
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/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/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)'.
build (windows-2022): implement/elm-time/Pine/Json/JsonConverterForPineValue.cs#L69
Possible null reference argument for parameter 'str' in 'PineValue PineValueAsString.ValueFromString(string str)'.
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)'.
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.