Skip to content

tried to fix the build #433

tried to fix the build

tried to fix the build #433

Triggered via push January 26, 2025 20:32
Status Failure
Total duration 1m 53s
Artifacts

build.yml

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

Annotations

5 errors and 47 warnings
build (ubuntu-latest)
Process completed with exit code 1.
build (windows-latest)
The job was canceled because "ubuntu-latest" failed.
build (windows-latest)
The operation was canceled.
build (macos-latest)
The job was canceled because "ubuntu-latest" failed.
build (macos-latest)
The operation was canceled.
build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L96
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L106
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L140
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L150
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L146
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L155
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L161
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L165
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L198
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (ubuntu-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): src/SuperSocket.Primitives/CertificateOptions.cs#L60
'X509Certificate2.X509Certificate2(string, string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (ubuntu-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L140
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L150
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L212
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (windows-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (windows-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (macos-latest)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): src/SuperSocket.Primitives/CertificateOptions.cs#L60
'X509Certificate2.X509Certificate2(string, string?, X509KeyStorageFlags)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L146
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L155
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L161
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): src/SuperSocket.Connection/Sockets/SocketSender.cs#L17
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L96
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L106
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L140
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L150
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/ClientTest.cs#L68
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/ClientTest.cs#L79
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/ClientTest.cs#L97
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L212
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
build (macos-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L218
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)