Regarding the release PR for aelf project version 1.12.0 #191
Triggered via pull request
December 24, 2024 08:12
Status
Failure
Total duration
11m 47s
Artifacts
–
sonarqube.yaml
on: pull_request
static-code-analysis
11m 39s
Annotations
10 errors and 12 warnings
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L36
'CSharpSmartContractContext' does not contain a definition for 'Ed25519Verify' and no accessible extension method 'Ed25519Verify' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L46
'CSharpSmartContractContext' does not contain a definition for 'Ed25519Verify' and no accessible extension method 'Ed25519Verify' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L98
'CSharpSmartContractContext' does not contain a definition for 'Keccak256' and no accessible extension method 'Keccak256' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L135
'CSharpSmartContractContext' does not contain a definition for 'Bn254G1Mul' and no accessible extension method 'Bn254G1Mul' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L135
Cannot infer the type of implicitly-typed deconstruction variable 'xResult'.
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L135
Cannot infer the type of implicitly-typed deconstruction variable 'yResult'.
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L165
'CSharpSmartContractContext' does not contain a definition for 'Bn254G1Add' and no accessible extension method 'Bn254G1Add' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L165
Cannot infer the type of implicitly-typed deconstruction variable 'x3Result'.
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L165
Cannot infer the type of implicitly-typed deconstruction variable 'y3Result'.
|
static-code-analysis:
test/AElf.Sdk.CSharp.Tests/CSharpSmartContractContextTests.cs#L206
'CSharpSmartContractContext' does not contain a definition for 'Bn254Pairing' and no accessible extension method 'Bn254Pairing' accepting a first argument of type 'CSharpSmartContractContext' could be found (are you missing a using directive or an assembly reference?)
|
static-code-analysis
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
static-code-analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
static-code-analysis
Import configuration_contract.proto is unused.
|
static-code-analysis:
src/AElf.Types/Protobuf/FileDescriptorExtensions.cs#L10
'FileDescriptor.CustomOptions' is obsolete: 'CustomOptions are obsolete. Use the GetOptions() method.'
|
static-code-analysis:
src/AElf.Sdk.CSharp.Internal/InternalBuiltIns.cs#L23
The variable 'e' is declared but never used
|
static-code-analysis:
src/AElf.Database/DatabaseServiceCollectionExtensions.cs#L22
'IConnectionStringResolver.Resolve(string?)' is obsolete: 'Use ResolveAsync method.'
|
static-code-analysis
Import configuration_contract.proto is unused.
|
static-code-analysis
Import basic_contract_zero.proto is unused.
|
static-code-analysis:
src/AElf.Cryptography/SecretSharing/SecretSharingHelper.cs#L24
The variable 'e' is declared but never used
|
static-code-analysis:
src/AElf.Cryptography/ECVRF/Vrf.cs#L109
The variable 'ex' is declared but never used
|
static-code-analysis:
src/AElf.Kernel.SmartContract.Shared/ISmartContractBridgeContext.cs#L124
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
static-code-analysis
Import google/protobuf/timestamp.proto is unused.
|