Repository navigation
Closed
Labels
Description
With Go 1.27.2 (just released), it looks like staticcheck will need an update:
$ staticcheck -version
staticcheck 2026.2.1 (0.8.1)
$ go version
go version go1.27.2 linux/amd64
$ staticcheck -checks all ./...
-: internal error in importing "internal/byteorder" (cannot decode "internal/byteorder", export data version 5 is greater than maximum supported version 4); please report an issue (compile)
-: internal error in importing "internal/cpu" (cannot decode "internal/cpu", export data version 5 is greater than maximum supported version 4); please report an issue (compile)
-: internal error in importing "internal/goarch" (cannot decode "internal/goarch", export data version 5 is greater than maximum supported version 4); please report an issue (compile)
-: internal error in importing "math/bits" (cannot decode "math/bits", export data version 5 is greater than maximum supported version 4); please report an issue (compile)Additional details:
$ staticcheck -debug.version
staticcheck 2026.2.1 (0.8.1)
Compiled with Go version: go1.27.2
Main module:
honnef.co/go/tools@v0.8.1 (sum: h1:+JKf3xJ1ni4CwrhVg4/pqsfPGP6vNAXcKbMXJodYx3w=)
Dependencies:
github.com/BurntSushi/toml@v1.4.1-0.20240526193622-a339e1f7089c (sum: h1:pxW6RcqyfI9/kWtOwnv/G+AzdKuy2ZrqINhenH4HyNs=)
golang.org/x/exp/typeparams@v0.0.0-20231108232855-2478ac86f678 (sum: h1:1P7xPZEwZMoBoz0Yze5Nx2/4pxj6nw9ZqHWXqP0iRgQ=)
golang.org/x/mod@v0.35.0 (sum: h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=)
golang.org/x/sync@v0.20.0 (sum: h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=)
golang.org/x/tools@v0.44.1-0.20260420230617-19499e7caabc (sum: h1:vSv/HN1q9eoPD7lMyJYVJ/GPYnqtqu6adMxUmrxOB78=)
$ go env
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN='[censored]/golang/bin'
GOCACHE='[censored]/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='[censored]/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2496256392=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='[censored]/regclient/go.mod'
GOMODCACHE='[censored]/golang/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPACKAGESDRIVER=''
GOPATH='[censored]/golang'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='[censored]/sdk/go1.27.2'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='[censored]/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='[censored]/sdk/go1.27.2/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.27.2'
GOWORK=''
PKG_CONFIG='pkg-config'This is being run against https://github.com/regclient/regclient, but I'm seeing the same in other projects.
Reacted by Matt Boris, Philipp Trulson, dhoeweling-sqills, Tulir Asokan, startio-dmitry-k, M. J. Fromberger and Martin Kock-Faltin
Reacted by Bjørn Erik Pedersen
Activity
matt-boris commentedon Oct 8, 2026
Looks like @dominikh was notified of this here golang/go#81188 (comment)
Just needs to update its x/tools requirement.
build(deps): build with go1.27.2 and x/net v0.60.0 for GO-2026-6617
build(deps): bump tailscale.com to v1.104.1 (#40)
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
ci: run staticcheck under go1.27.1 until it reads go1.27.2 export data
63 remaining items
chore(deps): adopt the go 1.27.2 pin, holding cloud-native-utils at v…
chore(deps): update under the go 1.27.2 pin
feat: staticcheck is back under Go 1.27.2, pin baseline aafa39f
Pin staticcheck to the 2026.2.2 release (#2)
Pin staticcheck 2026.2.2 (#2)
Pin staticcheck v0.8.2 (#18)
Pin staticcheck to the 2026.2.2 release (#18)
fix(deps): raise x/tools to v0.51.0 so staticcheck reads Go 1.27.2 ex…
fix: Go 1.27.3 for GO-2026-6809 (#84)
v0.1.0-rc.6 (#86)
v0.1.0-rc.7 (#90)
build(lint): pin staticcheck 2026.2.2 so it reads Go 1.27.2 export da…
feat: Home-Mandate Specification v0.1.0-rc.4 (confirm in audit mode) (#…
Update the geo migration note, staticcheck pin and SM diagnostics (#118)
Merge upstream goja (#3)