Skip to content

E2E Test Coverage Part 2 & Add .NET 9.0 Support #659

E2E Test Coverage Part 2 & Add .NET 9.0 Support

E2E Test Coverage Part 2 & Add .NET 9.0 Support #659

Triggered via pull request January 15, 2025 13:57
Status Failure
Total duration 1m 35s
Artifacts

build.yml

on: pull_request
Matrix: build
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 9 warnings
pipeline-ubuntu-latest-dotnet-6.0.x
The current .NET SDK does not support targeting .NET 8.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 8.0.
pipeline-ubuntu-latest-dotnet-6.0.x
The current .NET SDK does not support targeting .NET 7.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0.
pipeline-ubuntu-latest-dotnet-6.0.x
Process completed with exit code 1.
pipeline-ubuntu-latest-dotnet-7.0.x
The job was canceled because "ubuntu-latest_6_0_x" failed.
pipeline-ubuntu-latest-dotnet-7.0.x
The operation was canceled.
pipeline-ubuntu-latest-dotnet-8.0.x
The job was canceled because "ubuntu-latest_6_0_x" failed.
pipeline-ubuntu-latest-dotnet-8.0.x
The operation was canceled.
pipeline-ubuntu-latest-dotnet-6.0.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/internal/Validator.cs#L114
Use 'string.Contains(char)' instead of 'string.Contains(string)' when searching for a single character (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/internal/Validator.cs#L131
Use 'string.Contains(char)' instead of 'string.Contains(string)' when searching for a single character (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/internal/Validator.cs#L121
Indexing can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0056)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/MQTT5/Types/TopicFilter.cs#L18
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/MQTT5/Types/TopicFilter.cs#L20
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)