Skip to content

Fix: compilation and coverage issues #3078

Fix: compilation and coverage issues

Fix: compilation and coverage issues #3078

Triggered via pull request February 20, 2024 19:14
Status Failure
Total duration 2m 38s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
Test
Process completed with exit code 1.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/ProtocolSettings.cs#L121
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Types.cs#L18
The type name 'del' only contains lower-cased ascii characters. Such names may become reserved for the language.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L8
Method, operator, or accessor 'Contract_Call.testArgs1(byte)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_ContractCall.cs#L9
Method, operator, or accessor 'Contract_Call.testVoid()' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Initializer.cs#L8
The type name 'data' only contains lower-cased ascii characters. Such names may become reserved for the language.
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_Event.cs#L15
'Contract_Event.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L12
'Contract_WrongEvent.Main(string, object[])' has the wrong signature to be an entry point
Test: tests/Neo.Compiler.CSharp.TestContracts/Contract_WrongEvent.cs#L10
Non-nullable event 'Transferred' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/NeoSystem.cs#L118
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: neo/src/Neo/ProtocolSettings.cs#L121
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L94
Nullability of reference types in type of parameter 'other' doesn't match implemented member 'bool IEquatable<AbiMethod>.Equals(AbiMethod? other)' (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Coverage/AbiMethod.cs#L87
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Test: src/Neo.SmartContract.Testing/Coverage/CoverageHit.cs#L179
Possible null reference argument for parameter 'input' in 'bool Regex.IsMatch(string input, string pattern)'.
Test: src/Neo.SmartContract.Testing/TestEngine.cs#L530
Dereference of a possibly null reference.
Test: src/Neo.SmartContract.Testing/Native/NeoToken.cs#L49
The event 'NeoToken.OnCandidateStateChanged' is never used
Test: src/Neo.SmartContract.Testing/Native/ContractManagement.cs#L22
The event 'ContractManagement.OnUpdate' is never used
Test: src/Neo.SmartContract.Testing/Native/GasToken.cs#L13
The event 'GasToken.OnTransfer' is never used