Skip to content

Generate required properties as non-nullable #94

Generate required properties as non-nullable

Generate required properties as non-nullable #94

Triggered via pull request January 15, 2025 15:58
Status Success
Total duration 4m 16s
Artifacts 4

bskycli.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
Linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linux: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
Linux
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Linux
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Linux: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
Linux
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Linux
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
MacOS: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
MacOS
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
MacOS
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
MacOS: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
MacOS
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
MacOS
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Windows: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
Windows
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Windows
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
Windows: apps/bskycli/Program.cs#L704
Possible null reference argument for parameter 'cid' in 'StrongRef.StrongRef(ATUri uri = null, string cid = null)'.
Windows
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Windows
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.

Artifacts

Produced during runtime
Name Size
bskycli-linux-x64-3.3.0-PullRequest160.9
21.7 MB
bskycli-osx-arm64-3.3.0-PullRequest160.9
19.2 MB
bskycli-osx-x64-3.3.0-PullRequest160.9
20.5 MB
bskycli-win-x64-3.3.0-PullRequest160.9
24.7 MB