Skip to content

refactor: use using statement instead of self-disposing #13983

refactor: use using statement instead of self-disposing

refactor: use using statement instead of self-disposing #13983

Triggered via push December 3, 2024 02:16
Status Success
Total duration 7m 5s
Artifacts

main.yml

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

Annotations

32 warnings
build-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-for-unity
The target framework 'net5.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-js
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-js: Lib9c/Delegation/Delegatee.cs#L18
A static field in a generic type is not shared among instances of different close constructed types.
build-js: Lib9c/Delegation/Delegator.cs#L16
A static field in a generic type is not shared among instances of different close constructed types.
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/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/Policy/SpannedSubPolicy.cs#L45
Cannot convert null literal to non-nullable reference type.
build-js: Lib9c.Policy/NCStagePolicy.cs#L42
Possible null reference return.
build-js: Lib9c.Policy/Policy/VariableSubPolicy.cs#L138
Converting null literal or possible null value to non-nullable type.
build-js: Lib9c.Policy/NCStagePolicy.cs#L84
Possible null reference argument for parameter 'item' in 'bool SortedSet<Transaction>.Remove(Transaction item)'.
build-and-test (Release)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-and-test (Release): Lib9c/Delegation/Delegatee.cs#L18
A static field in a generic type is not shared among instances of different close constructed types.
build-and-test (Release): Lib9c/Delegation/Delegator.cs#L16
A static field in a generic type is not shared among instances of different close constructed types.
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#L41
Possible null reference return.
build-and-test (Release): Lib9c.Policy/Policy/DebugPolicy.cs#L47
Possible null reference return.
build-and-test (Release): Lib9c.Policy/Policy/MinBlockProtocolVersionPolicy.cs#L25
Cannot convert null literal to non-nullable reference type.
build-and-test (Release): Lib9c.Policy/Policy/MinBlockProtocolVersionPolicy.cs#L33
Cannot convert null literal to non-nullable reference type.
build-and-test (Release): Lib9c.Policy/NCStagePolicy.cs#L42
Possible null reference return.
build-and-test (Release): Lib9c.Policy/Policy/SpannedSubPolicy.cs#L45
Cannot convert null literal to non-nullable reference type.