Skip to content

Generate required properties as non-nullable #92

Generate required properties as non-nullable

Generate required properties as non-nullable #92

Triggered via pull request January 15, 2025 14:21
Status Failure
Total duration 2m 50s
Artifacts

bskycli.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 31 warnings
Linux: apps/bskycli/Program.cs#L467
'Upload' does not contain a definition for 'Blob' and no accessible extension method 'Blob' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'result'.
Linux: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'error2'.
Linux: apps/bskycli/Program.cs#L481
'Upload' does not contain a definition for 'File' and no accessible extension method 'File' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L483
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L486
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L509
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L513
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Linux: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L467
'Upload' does not contain a definition for 'Blob' and no accessible extension method 'Blob' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'result'.
MacOS: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'error2'.
MacOS: apps/bskycli/Program.cs#L481
'Upload' does not contain a definition for 'File' and no accessible extension method 'File' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L483
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L486
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L509
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L513
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
MacOS: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L467
'Upload' does not contain a definition for 'Blob' and no accessible extension method 'Blob' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'result'.
Windows: apps/bskycli/Program.cs#L468
Cannot infer the type of implicitly-typed deconstruction variable 'error2'.
Windows: apps/bskycli/Program.cs#L481
'Upload' does not contain a definition for 'File' and no accessible extension method 'File' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L483
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L486
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L509
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L513
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
Windows: apps/bskycli/Program.cs#L515
'Upload' does not contain a definition for 'Checksum' and no accessible extension method 'Checksum' accepting a first argument of type 'Upload' could be found (are you missing a using directive or an assembly reference?)
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.