Removal of '#nullable disable' from the Libplanet.Net project (swarm) #496
Annotations
10 errors and 3 warnings
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L136
Nullability of reference types in value of type 'List<(Block, BlockCommit)>' doesn't match target type 'List<(Block, BlockCommit?)>'.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L437
Argument of type '(Block, BlockCommit?)[]' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockSync.cs#L239
Argument of type 'List<(Block, BlockCommit?)>' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L136
Nullability of reference types in value of type 'List<(Block, BlockCommit)>' doesn't match target type 'List<(Block, BlockCommit?)>'.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L437
Argument of type '(Block, BlockCommit?)[]' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockSync.cs#L239
Argument of type 'List<(Block, BlockCommit?)>' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L136
Nullability of reference types in value of type 'List<(Block, BlockCommit)>' doesn't match target type 'List<(Block, BlockCommit?)>'.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L437
Argument of type '(Block, BlockCommit?)[]' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockSync.cs#L239
Argument of type 'List<(Block, BlockCommit?)>' cannot be used for parameter 'blocks' of type 'IEnumerable<(Block, BlockCommit)>' in 'Branch.Branch(IEnumerable<(Block, BlockCommit)> blocks)' due to differences in the nullability of reference types.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Net/Swarm.BlockCandidate.cs#L136
Nullability of reference types in value of type 'List<(Block, BlockCommit)>' doesn't match target type 'List<(Block, BlockCommit?)>'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Store/BaseIndex.cs#L7
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'IDictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
Run dotnet build -p:SkipSonar=true:
Libplanet.Store/BaseIndex.cs#L7
The type 'TKey' cannot be used as type parameter 'TKey' in the generic type or method 'IDictionary<TKey, TValue>'. Nullability of type argument 'TKey' doesn't match 'notnull' constraint.
|
The logs for this run have expired and are no longer available.
Loading