Skip to content

[Fix] unalignment memory load in Neo.VM Unsafe.NotZero(ReadOnlySpan<byte>) and remove the use of unsafe #10057

[Fix] unalignment memory load in Neo.VM Unsafe.NotZero(ReadOnlySpan<byte>) and remove the use of unsafe

[Fix] unalignment memory load in Neo.VM Unsafe.NotZero(ReadOnlySpan<byte>) and remove the use of unsafe #10057

Triggered via pull request October 14, 2024 08:25
Status Failure
Total duration 2m 45s
Artifacts

main.yml

on: pull_request
Matrix: Test
Test-Everything
50s
Test-Everything
PublishPackage
0s
PublishPackage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 20 warnings
Test-Everything: src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
Test-Everything: src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
Test-Everything
Process completed with exit code 1.
Test (macos-latest): src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
Test (macos-latest): src/Neo.VM/Utility.cs#L38
'ReadOnlySpan<byte>' does not contain a definition for 'IndexOfAnyExcept' and no accessible extension method 'IndexOfAnyExcept' accepting a first argument of type 'ReadOnlySpan<byte>' could be found (are you missing a using directive or an assembly reference?)
Test (macos-latest)
Process completed with exit code 1.
Test (windows-latest)
The job was canceled because "macos-latest" failed.
Test (windows-latest)
The operation was canceled.
Test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Test (ubuntu-latest)
The operation was canceled.
Test-Everything: benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
Test-Everything: benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Test-Everything: benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test-Everything: benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L21
Non-nullable field 'script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test-Everything: benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L22
Non-nullable field 'multiScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test-Everything: benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_Convert.cs#L21
Non-nullable field 'testItemsByType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test-Everything: benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
Test-Everything: benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Test-Everything: benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test-Everything: benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L21
Non-nullable field 'script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_Convert.cs#L21
Non-nullable field 'testItemsByType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L21
Non-nullable field 'script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L22
Non-nullable field 'multiScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_DeepCopy.cs#L98
Cannot convert null literal to non-nullable reference type.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/obj/Debug/net8.0/TestPlatformEntryPoint.cs#L10
The entry point of the program is global code; ignoring 'TestingPlatformEntryPoint.Main(string[])' entry point.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/VMTypes/Benchmarks_Convert.cs#L21
Non-nullable field 'testItemsByType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Test (macos-latest): benchmarks/Neo.VM.Benchmarks/OpCode/OpCodeBase.cs#L20
Non-nullable field 'baseLineScript' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.