Skip to content

Upgrade to .NET 8

Upgrade to .NET 8 #1

Triggered via push February 16, 2024 16:27
Status Failure
Total duration 2m 19s
Artifacts

dotnet-core.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 22 warnings
Crypto.Websocket.Extensions.Tests.Integration.BitmexOrderBookSourceTests ► ConnectToSource_ShouldHandleOrderBookOneByOne: test_integration/Crypto.Websocket.Extensions.Tests.Integration/BitmexOrderBookSourceTests.cs#L70
Failed test found in: test_integration/Crypto.Websocket.Extensions.Tests.Integration/TestResults/tests.trx Error: Assert.Equal() Failure: Values differ Expected: 2 Actual: 3
Crypto.Websocket.Extensions.Tests.Integration.CoinbaseOrderBookSourceTests ► ConnectToSource_ShouldHandleOrderBookCorrectly: test_integration/Crypto.Websocket.Extensions.Tests.Integration/CoinbaseOrderBookSourceTests.cs#L39
Failed test found in: test_integration/Crypto.Websocket.Extensions.Tests.Integration/TestResults/tests.trx Error: Assert.True() Failure Expected: True Actual: False
Crypto.Websocket.Extensions.Tests.CryptoDateTests ► UnixTimeConversion_ShouldSupportSixDecimalMilliseconds(timeInSec: 0, result: "0.000000"): test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx#L0
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: System.ArgumentException : Object of type 'System.Int32' cannot be converted to type 'System.Nullable`1[System.Double]'.
Crypto.Websocket.Extensions.Tests.CryptoOrderBookL2Tests ► StreamingData_ShouldNotifyCorrectly: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs#L515
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.Equal() Failure: Values differ Expected: 9 Actual: 5
Crypto.Websocket.Extensions.Tests.CryptoOrderBookL2Tests ► StreamingData_ShouldNotifyOneByOne: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs#L583
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.Equal() Failure: Values differ Expected: 1 Actual: 2
Crypto.Websocket.Extensions.Tests.CryptoOrderBookL2Tests ► ValidityChecking_ShouldWorkCorrectly: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookL2Tests.cs#L658
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.Equal() Failure: Strings differ Expected: "BTC/USD" Actual: null
Crypto.Websocket.Extensions.Tests.CryptoOrderBookTests ► AutoSnapshotReloading_ShouldWorkCorrectly: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs#L620
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.True() Failure Expected: True Actual: False
Crypto.Websocket.Extensions.Tests.CryptoOrderBookTests ► StreamingData_ShouldNotifyOneByOne: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs#L583
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.Equal() Failure: Values differ Expected: 1 Actual: 2
Crypto.Websocket.Extensions.Tests.CryptoOrderBookTests ► ValidityChecking_ShouldWorkCorrectly: test/Crypto.Websocket.Extensions.Tests/CryptoOrderBookTests.cs#L658
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.Equal() Failure: Strings differ Expected: "BTC/USD" Actual: null
Crypto.Websocket.Extensions.Tests.OrderBookLevel2SourceTests ► Buffering_ShouldStreamOneByOne: test/Crypto.Websocket.Extensions.Tests/OrderBookLevel2SourceTests.cs#L195
Failed test found in: test/Crypto.Websocket.Extensions.Tests/TestResults/tests.trx Error: Assert.NotNull() Failure: Value is null
build
Failed test were found and 'fail-on-error' option is set to true
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
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/
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Cannot convert null literal to non-nullable reference type.
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Non-nullable property 'LastExecutedBuyOrder' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Non-nullable property 'LastExecutedSellOrder' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/OrderBooks/Models/OrderBookLevel.cs#L17
Non-nullable property 'Pair' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/OrderBooks/CryptoOrderBookL2.cs#L59
Non-nullable field '_snapshotReloadTimer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Crypto.Websocket.Extensions.Core/OrderBooks/CryptoOrderBookL2.cs#L59
Non-nullable field '_validityCheckTimer' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Crypto.Websocket.Extensions.Core/OrderBooks/CryptoOrderBookL2.cs#L59
Non-nullable field '_subscriptionDiff' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Crypto.Websocket.Extensions.Core/OrderBooks/CryptoOrderBookL2.cs#L59
Non-nullable field '_subscriptionSnapshot' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/Crypto.Websocket.Extensions.Core/Trades/Models/CryptoTrade.cs#L21
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Cannot convert null literal to non-nullable reference type.
build: src/Crypto.Websocket.Extensions.Core/Wallets/Models/CryptoWallet.cs#L14
Non-nullable property 'Type' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Wallets/Models/CryptoWallet.cs#L19
Non-nullable property 'Currency' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Models/CryptoChangeInfo.cs#L13
Non-nullable property 'ExchangeName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Non-nullable property 'LastExecutedBuyOrder' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Orders/CryptoOrders.cs#L34
Non-nullable property 'LastExecutedSellOrder' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Positions/Models/CryptoPosition.cs#L21
Non-nullable property 'Pair' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Utils/CryptoDateUtils.cs#L97
Possible null reference return.
build: src/Crypto.Websocket.Extensions.Core/Trades/Models/CryptoTrade.cs#L21
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/Crypto.Websocket.Extensions.Core/Trades/Models/CryptoTrade.cs#L26
Non-nullable property 'MakerOrderId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.