Skip to content

Add NuGet push support to build script #229

Add NuGet push support to build script

Add NuGet push support to build script #229

Triggered via push June 3, 2026 07:28
Status Failure
Total duration 4m 1s
Artifacts

dotnet.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

1 error, 10 warnings, and 1 notice
Build (Release, Zetian.slnx)
Process completed with exit code 1.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L242
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L223
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, 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.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L52
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(TValue, 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.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L74
Avoid inexact read with 'System.Net.Sockets.NetworkStream.ReadAsync(System.Memory<byte>, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
Build (Release, Zetian.slnx): src/Zetian/Internal/SmtpSession.cs#L791
'SslStream.CipherAlgorithm' is obsolete: 'KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.' (https://aka.ms/dotnet-warnings/SYSLIB0058)
Build (Release, Zetian.slnx)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026