Skip to content

Test code for DPoS #13197

Test code for DPoS

Test code for DPoS #13197

Triggered via pull request October 4, 2024 08:51
Status Failure
Total duration 6m 16s
Artifacts

main.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 33 warnings
build-and-test (Release)
Process completed with exit code 1.
build-js
The following actions use a deprecated Node.js version and will be forced to run on node20: 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-js: .Libplanet/src/Libplanet.Action/GasTracer.cs#L21
Dereference of a possibly null reference.
build-js: .Libplanet/src/Libplanet.Action/GasTracer.cs#L26
Dereference of a possibly null reference.
build-js: .Libplanet/src/Libplanet.Action/GasTracer.cs#L38
Dereference of a possibly null reference.
build-js: .Libplanet/src/Libplanet.Action/ActionContext.cs#L14
An opening brace should not be followed by a blank line
build-js: Lib9c.Policy/NCStagePolicy.cs#L144
Nullability of reference types in type of parameter 'x' of 'int TxComparer.Compare(Transaction x, Transaction y)' doesn't match implicitly implemented member 'int IComparer<Transaction>.Compare(Transaction? x, Transaction? y)' (possibly because of nullability attributes).
build-js: Lib9c.Policy/NCStagePolicy.cs#L144
Nullability of reference types in type of parameter 'y' of 'int TxComparer.Compare(Transaction x, Transaction y)' doesn't match implicitly implemented member 'int IComparer<Transaction>.Compare(Transaction? x, Transaction? y)' (possibly because of nullability attributes).
build-js: Lib9c.Policy/NCStagePolicy.cs#L42
Possible null reference return.
build-js: Lib9c.Policy/Policy/VariableSubPolicy.cs#L80
Converting null literal or possible null value to non-nullable type.
build-js: Lib9c.Policy/Policy/VariableSubPolicy.cs#L80
Possible null reference return.
build-js: Lib9c.Policy/NCStagePolicy.cs#L84
Possible null reference argument for parameter 'item' in 'bool SortedSet<Transaction>.Remove(Transaction item)'.
build-for-unity
The following actions use a deprecated Node.js version and will be forced to run on node20: 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-for-unity: .Libplanet/src/Libplanet.Action/ActionContext.cs#L14
An opening brace should not be followed by a blank line
build-for-unity: Lib9c.Policy/Policy/DebugPolicy.cs#L22
Possible null reference return.
build-for-unity: Lib9c.Policy/Policy/DebugPolicy.cs#L28
Possible null reference return.
build-for-unity: Lib9c.Policy/NCStagePolicy.cs#L42
Possible null reference return.
build-for-unity: Lib9c.Policy/Policy/MinBlockProtocolVersionPolicy.cs#L25
Cannot convert null literal to non-nullable reference type.
build-for-unity: Lib9c.Policy/Policy/MinBlockProtocolVersionPolicy.cs#L33
Cannot convert null literal to non-nullable reference type.
build-for-unity: Lib9c.Policy/Policy/SpannedSubPolicy.cs#L45
Cannot convert null literal to non-nullable reference type.
build-for-unity: Lib9c.Policy/Policy/VariableSubPolicy.cs#L138
Converting null literal or possible null value to non-nullable type.
build-for-unity: Lib9c.Policy/Policy/BlockPolicySource.Utils.cs#L108
Possible null reference return.
build-for-unity: Lib9c.Policy/Policy/BlockPolicySource.Utils.cs#L138
Possible null reference return.
build-and-test (Release)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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-and-test (Release): .Libplanet/src/Libplanet.Action/GasTracer.cs#L21
Dereference of a possibly null reference.
build-and-test (Release): .Libplanet/src/Libplanet.Action/GasTracer.cs#L26
Dereference of a possibly null reference.
build-and-test (Release): .Libplanet/src/Libplanet.Action/GasTracer.cs#L38
Dereference of a possibly null reference.
build-and-test (Release): .Libplanet/src/Libplanet.Action/ActionContext.cs#L14
An opening brace should not be followed by a blank line
build-and-test (Release): Lib9c.Policy/NCStagePolicy.cs#L144
Nullability of reference types in type of parameter 'x' of 'int TxComparer.Compare(Transaction x, Transaction y)' doesn't match implicitly implemented member 'int IComparer<Transaction>.Compare(Transaction? x, Transaction? y)' (possibly because of nullability attributes).
build-and-test (Release): Lib9c.Policy/NCStagePolicy.cs#L144
Nullability of reference types in type of parameter 'y' of 'int TxComparer.Compare(Transaction x, Transaction y)' doesn't match implicitly implemented member 'int IComparer<Transaction>.Compare(Transaction? x, Transaction? y)' (possibly because of nullability attributes).
build-and-test (Release): Lib9c.Policy/Policy/DebugPolicy.cs#L22
Possible null reference return.
build-and-test (Release): Lib9c.Policy/Policy/DebugPolicy.cs#L28
Possible null reference return.
build-and-test (Release): Lib9c.Policy/NCStagePolicy.cs#L42
Possible null reference return.
build-and-test (Release): Lib9c.Policy/NCStagePolicy.cs#L84
Possible null reference argument for parameter 'item' in 'bool SortedSet<Transaction>.Remove(Transaction item)'.