Skip to content

Security improvements #149

Security improvements

Security improvements #149

Triggered via push September 13, 2024 21:31
Status Failure
Total duration 25s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 11 warnings
build: ZWaveDotNet/Entities/Controller.cs#L571
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L607
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L571
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L607
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L571
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L607
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L571
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build: ZWaveDotNet/Entities/Controller.cs#L607
The call is ambiguous between the following methods or properties: 'MemoryUtil.Print(Memory<byte>)' and 'MemoryUtil.Print(ReadOnlySpan<byte>)'
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: ZWaveDotNet/CommandClasses/CommandClassBase.cs#L306
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'CommandClassBase.CommandClassEvent<T>'. Nullability of type argument 'T' doesn't match constraint type 'ZWaveDotNet.CommandClassReports.ICommandClassReport'.
build: ZWaveDotNet/CommandClasses/ZWavePlus.cs#L38
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/Version.cs#L64
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/Unknown.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/TransportService.cs#L148
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/CommandClassBase.cs#L306
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'CommandClassBase.CommandClassEvent<T>'. Nullability of type argument 'T' doesn't match constraint type 'ZWaveDotNet.CommandClassReports.ICommandClassReport'.
build: ZWaveDotNet/CommandClasses/ZWavePlus.cs#L38
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/Version.cs#L64
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/Unknown.cs#L27
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: ZWaveDotNet/CommandClasses/TransportService.cs#L148
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.