Skip to content

upgrade test project to net9 #434

upgrade test project to net9

upgrade test project to net9 #434

Triggered via push January 26, 2025 20:37
Status Failure
Total duration 15m 22s
Artifacts

build.yml

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

Annotations

3 errors and 67 warnings
build (macos-latest)
Process completed with exit code 1.
build (windows-latest)
The job was canceled because "macos-latest" failed.
build (windows-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.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): 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/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): test/SuperSocket.Tests/WebSocket/WebSocketBasicTest.cs#L211
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#L217
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#L222
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): 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.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): 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): 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 (ubuntu-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)
build (ubuntu-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L219
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): 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): 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)
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.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): 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/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/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#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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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): 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)
build (windows-latest): test/SuperSocket.Tests/AspNetIntegrationTest.cs#L219
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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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 (windows-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)