Skip to content

refactor(cmds): do not return errors embedded in result type #3260

refactor(cmds): do not return errors embedded in result type

refactor(cmds): do not return errors embedded in result type #3260

Triggered via pull request November 20, 2024 03:59
Status Failure
Total duration 1m 23s
Artifacts

gobuild.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
go-build: core/commands/pin/remotepin.go#L296
assignment mismatch: 2 variables but lsRemote returns 1 value
go-build: core/commands/pin/remotepin.go#L296
not enough arguments in call to lsRemote
go-build: core/commands/pin/remotepin.go#L350
too many return values
go-build: core/commands/pin/remotepin.go#L350
too many arguments in call to c.Ls
go-build: core/commands/pin/remotepin.go#L402
assignment mismatch: 2 variables but lsRemote returns 1 value
go-build: core/commands/pin/remotepin.go#L402
not enough arguments in call to lsRemote
go-build: core/commands/pin/pin.go#L561
undefined: iface
go-build: core/commands/pin/pin.go#L566
cannot use opt (variable of type "github.com/ipfs/kubo/core/coreiface/options".PinLsOption) as chan<- iface.Pin value in argument to api.Pin().Ls
go-build
Process completed with exit code 2.
go-build
Restore cache failed: Dependencies file is not found in /home/runner/work/kubo/kubo. Supported file pattern: go.sum