Skip to content

Add uint256.ToSpanString() #820

Add uint256.ToSpanString()

Add uint256.ToSpanString() #820

Triggered via pull request January 9, 2024 11:14
Status Failure
Total duration 11m 20s
Artifacts

master.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 46 warnings
3.1: NBitcoin.Tests/uint256_tests.cs#L200
The type 'ReadOnlySpan<char>' may not be used as a type argument
3.1: NBitcoin.Tests/uint256_tests.cs#L200
The type 'ReadOnlySpan<char>' may not be used as a type argument
3.1
Process completed with exit code 1.
3.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
3.1
.NET Core 3.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
3.1: NBitcoin.Tests/AssertEx.cs#L17
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/AssertEx.cs#L28
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/AssertEx.cs#L33
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/base58_tests.cs#L92
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/base58_tests.cs#L152
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/base58_tests.cs#L199
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
3.1: NBitcoin.Tests/util_tests.cs#L334
The literal or constant value (uint)0x1b0404cb should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values.
3.1: NBitcoin.Tests/util_tests.cs#L340
The literal or constant value (uint)0x1d00ffff should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values.
3.1: NBitcoin.Tests/util_tests.cs#L345
The literal or constant value (uint)419470732 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values.
3.1: NBitcoin.Tests/transaction_tests.cs#L614
The literal or constant value RANDOM_REPEATS should be passed as the 'expected' argument in the call to 'Assert.NotEqual(expected, actual)' in method 'KnapsackSolverTest' on type 'transaction_tests'. Swap the parameter values.
6.0 with netstandard2.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
6.0 with netstandard2.0: NBitcoin.Tests/AssertEx.cs#L17
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/AssertEx.cs#L28
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/AssertEx.cs#L33
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/base58_tests.cs#L92
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/base58_tests.cs#L152
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/base58_tests.cs#L199
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/RestClientTests.cs#L23
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0 with netstandard2.0: NBitcoin.Tests/sighash_tests.cs#L25
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
6.0 with netstandard2.0: NBitcoin.Tests/RestClientTests.cs#L37
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0 with netstandard2.0: NBitcoin.Tests/RestClientTests.cs#L42
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
6.0: NBitcoin.Tests/AssertEx.cs#L17
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/AssertEx.cs#L28
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/AssertEx.cs#L33
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/base58_tests.cs#L92
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/base58_tests.cs#L152
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/base58_tests.cs#L199
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead.
6.0: NBitcoin.Tests/ProtocolTests.cs#L306
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0: NBitcoin.Tests/ProtocolTests.cs#L325
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0: NBitcoin.Tests/ProtocolTests.cs#L374
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
6.0: NBitcoin.Tests/util_tests.cs#L334
The literal or constant value (uint)0x1b0404cb should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values.
6.0 on Mac-OS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
6.0 on Mac-OS: NBitcoin.Tests/AssertEx.cs#L17
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/AssertEx.cs#L28
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/AssertEx.cs#L33
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/base58_tests.cs#L92
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/base58_tests.cs#L152
Do not use Assert.False(true, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/base58_tests.cs#L199
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
6.0 on Mac-OS: NBitcoin.Tests/util_tests.cs#L334
The literal or constant value (uint)0x1b0404cb should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
6.0 on Mac-OS: NBitcoin.Tests/util_tests.cs#L340
The literal or constant value (uint)0x1d00ffff should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
6.0 on Mac-OS: NBitcoin.Tests/util_tests.cs#L345
The literal or constant value (uint)419470732 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'CanReadConvertTargetToDifficulty' on type 'util_tests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
6.0 on Mac-OS: NBitcoin.Tests/RestClientTests.cs#L23
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
6.0 on Windows NetFramework472
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/