Skip to content

enable Brotli compression #41

enable Brotli compression

enable Brotli compression #41

Triggered via push March 11, 2025 05:54
Status Failure
Total duration 1m 46s
Artifacts

codeql.yml

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

Annotations

7 errors and 8 warnings
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L84
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackWriter<TBufferWriter>.WriteValueWithFormatter<TFormatter, T>(TFormatter, scoped in T?)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L116
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackReader.ReadValueWithFormatter<TFormatter, T>(TFormatter)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L168
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackReader.ReadValueWithFormatter<TFormatter, T>(TFormatter, scoped ref T?)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L84
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackWriter<TBufferWriter>.WriteValueWithFormatter<TFormatter, T>(TFormatter, scoped in T?)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L116
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackReader.ReadValueWithFormatter<TFormatter, T>(TFormatter)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp): ConnectX.Shared/obj/Release/net9.0/generated/MemoryPack.Generator/MemoryPack.Generator.MemoryPackGenerator/ConnectX.Shared.Messages.TransDatagram.MemoryPackFormatter.g.cs#L168
The type 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' cannot be used as type parameter 'TFormatter' in the generic type or method 'MemoryPackReader.ReadValueWithFormatter<TFormatter, T>(TFormatter, scoped ref T?)'. There is no implicit reference conversion from 'MemoryPack.Compression.BrotliFormatter<System.ReadOnlyMemory<byte>>' to 'MemoryPack.IMemoryPackFormatter<System.ReadOnlyMemory<byte>?>'.
Analyze (csharp)
Process completed with exit code 1.
Analyze (csharp): Hive.Framework/Hive.Both.General/Dispatchers/DefaultDispatcher.cs#L142
The variable 'e' is declared but never used
Analyze (csharp): Hive.Framework/Hive.Both.General/Dispatchers/DefaultDispatcher.cs#L142
The variable 'e' is declared but never used
Analyze (csharp): ConnectX.Shared/Helpers/TaskHelper.cs#L47
The variable 'e' is declared but never used
Analyze (csharp): ConnectX.Shared/Messages/P2P/P2PConContext.cs#L22
Non-nullable property 'PublicAddress' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze (csharp): Hive.Framework/Hive.Both.General/Dispatchers/DefaultDispatcher.cs#L142
The variable 'e' is declared but never used
Analyze (csharp): Hive.Framework/Hive.Both.General/Dispatchers/DefaultDispatcher.cs#L142
The variable 'e' is declared but never used
Analyze (csharp): ConnectX.Shared/Helpers/TaskHelper.cs#L47
The variable 'e' is declared but never used
Analyze (csharp): ConnectX.Shared/Messages/P2P/P2PConContext.cs#L22
Non-nullable property 'PublicAddress' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.