Skip to content

chore: upgrade to Go 1.20 #1732

chore: upgrade to Go 1.20

chore: upgrade to Go 1.20 #1732

Triggered via pull request August 15, 2023 11:16
@hacdiashacdias
synchronize #10068
go-1.20
Status Failure
Total duration 3m 41s
Artifacts

golint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
go-lint: cmd/ipfs/main.go#L97
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L161
SA1019: fuse.ENOENT is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L176
SA1019: fuse.EIO is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L185
SA1019: fuse.ENOENT is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L277
SA1019: fuse.ENOENT is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L426
SA1019: fuse.ENOTSUP is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L437
SA1019: fuse.ENOTSUP is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/ipns/ipns_unix.go#L519
SA1019: fuse.EPERM is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/readonly/readonly_unix.go#L104
SA1019: fuse.ENOTSUP is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)
go-lint: fuse/readonly/readonly_unix.go#L117
SA1019: fuse.EPERM is deprecated: Return a syscall.Errno directly. See ToErrno for exact rules. (staticcheck)