Skip to content

[Major Rewrite] Index/nd.size/nd.shape int→long #73

[Major Rewrite] Index/nd.size/nd.shape int→long

[Major Rewrite] Index/nd.size/nd.shape int→long #73

Triggered via pull request March 26, 2026 16:47
Status Failure
Total duration 3m 6s
Artifacts

build-and-release.yml

on: pull_request
Matrix: test
build-nuget
0s
build-nuget
create-release
0s
create-release
publish-nuget
0s
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 36 warnings
test (ubuntu-latest)
Process completed with exit code 134.
test (macos-latest)
Process completed with exit code 134.
test (windows-latest)
Process completed with exit code 233.
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest)
No files were found with the provided path: /home/runner/work/NumSharp/NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (ubuntu-latest): src/NumSharp.Core/APIs/np.tofile.cs#L5
'NDArray' defines operator == or operator != but does not override Object.GetHashCode()
test (ubuntu-latest): src/NumSharp.Core/APIs/np.tofile.cs#L5
'NDArray' overrides Object.Equals(object o) but does not override Object.GetHashCode()
test (ubuntu-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type
test (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest)
No files were found with the provided path: /Users/runner/work/NumSharp/NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (macos-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L272
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (macos-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest)
No files were found with the provided path: D:\a\NumSharp\NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L256
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/Unmanaged/Pooling/Fx.cs#L41
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
test (windows-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/RandomSampling/Randomizer.cs#L78
'Randomizer.Sample()': new protected member declared in sealed type