8000 Export data version 5 is greater than maximum supported version 4 · Issue #1832 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Export data version 5 is greater than maximum supported version 4 #1832

Closed

Description

@sudo-bmitch

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.

Activity

  1. matt-boris commented on Oct 8, 2026

    @matt-boris

    Looks like @dominikh was notified of this here golang/go#81188 (comment)

    Just needs to update its x/tools requirement.

  2. 63 remaining items

  3. added a commit that references this issue on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0