Skip to content

deps: Bump MailKit and MimeKit #200

deps: Bump MailKit and MimeKit

deps: Bump MailKit and MimeKit #200

Status Failure
Total duration 3m 39s
Artifacts

dotnet.yml

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

Annotations

1 error and 10 warnings
Build (Release, Zetian.slnx)
Process completed with exit code 1.
Build (Release, Zetian.slnx): src/Zetian.Clustering/Network/ClusterNetworkClient.cs#L258
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#L242
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#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)