Skip to content

deps: Bump MailKit and MimeKit #207

deps: Bump MailKit and MimeKit

deps: Bump MailKit and MimeKit #207

Status Failure
Total duration 4m 1s
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#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.Relay/Client/SmtpRelayClient.cs#L389
Possible null reference argument for parameter 'innerStream' in 'SslStream.SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback)'.
Build (Release, Zetian.slnx): src/Storage/Zetian.Storage.Redis/Storage/RedisMessageStore.cs#L105
'RedisChannel.implicit operator RedisChannel(string)' is obsolete: 'It is preferable to explicitly specify a PatternMode, or use the Literal/Pattern methods'
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)