need to update Go
shogo82148 opened this issue · comments
ICHINOSE Shogo commented
see https://github.com/reviewdog/action-suggester/actions/runs/5253534837/jobs/9490984742?pr=29
go: downloading mvdan.cc/sh v1.3.1
go: downloading mvdan.cc/sh/v3 v3.6.0
go: downloading mvdan.cc/sh v2.6.4+incompatible
go: downloading github.com/google/renameio/v2 v2.0.0
go: downloading github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
go: downloading golang.org/x/term v0.3.0
go: downloading mvdan.cc/editorconfig v0.2.0
go: downloading golang.org/x/sys v0.3.0
# golang.org/x/sys/unix
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall.go:83:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall_linux.go:2256:9: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.3.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
# mvdan.cc/sh/v3/fileutil
Error: ../../../go/pkg/mod/mvdan.cc/sh/v3@v3.6.0/fileutil/file.go:65:24: undefined: fs.FileInfoToDirEntry
note: module requires Go 1.18
Error: Process completed with exit code 2.
We use Go 1.16 now, whether it doesn't support unsafe.Slice
.
unsafe.Slice
requires Go 1.17: https://pkg.go.dev/unsafe#Slice