Skip to content

refactor: support go 1.24 with newtypes #141

refactor: support go 1.24 with newtypes

refactor: support go 1.24 with newtypes #141

Triggered via pull request February 23, 2025 23:56
Status Cancelled
Total duration 16m 42s
Artifacts

ci.yml

on: pull_request
Check code style and run linters
12m 35s
Check code style and run linters
Build with CUDA supraseal
9m 38s
Build with CUDA supraseal
Matrix: cgo-bindings
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Build and test CGO bindings (macos-latest): proofs.go#L541
cannot use sp (variable of type "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredSealProof) as "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredPoStProof value in argument to cgo.GenerateSDR
Build and test CGO bindings (macos-latest)
Process completed with exit code 1.
Check code style and run linters: cgoleakdetect/runner.go#L10
could not import github.com/filecoin-project/filecoin-ffi (-: # github.com/filecoin-project/filecoin-ffi
Check code style and run linters: proofs.go#L541
cannot use sp (variable of type "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredSealProof) as "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredPoStProof value in argument to cgo.GenerateSDR) (typecheck)
Check code style and run linters: proofs.go#L541
cannot use sp (variable of type "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredSealProof) as "github.com/filecoin-project/filecoin-ffi/cgo".RegisteredPoStProof value in argument to cgo.GenerateSDR (typecheck)
Check code style and run linters
Process completed with exit code 2.
Build and test CGO bindings (linux-x86_64)
Canceling since a higher priority waiting request for 'CI-refs/pull/518/merge' exists
Build and test CGO bindings (linux-x86_64)
The operation was canceled.
Build and test CGO bindings (linux-arm64)
Canceling since a higher priority waiting request for 'CI-refs/pull/518/merge' exists
Build and test CGO bindings (linux-arm64)
The operation was canceled.
Build and test CGO bindings (macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
Build with CUDA supraseal
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Check code style and run linters
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2