Running error: buildir: failed to load package goarch: could not load export data
See original GitHub issueIt caused error running golangci lint action https://github.com/oam-dev/kubevela/runs/5775307395?check_suite_focus=true
It just happened last night.
My environment:
Run golangci/golangci-lint-action@v2
with:
version: v1.3.8
github-token: ***
only-new-issues: false
skip-go-installation: false
skip-pkg-cache: false
skip-build-cache: false
env:
GO_VERSION: 1.17
GOLANGCI_VERSION: v1.38
KIND_VERSION: v0.7.0
prepare environment
The error message:
level=warning msg="[runner] Can't run linter unused: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"
level=error msg="Running error: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"
Are there any solution for this?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
golangci-lint file watcher fails to run (failed to load package ...
I can't reproduce it so far, but I installed golangci-lint via Homebrew instead of curl. Pay attention that installation via curl is applicable...
Read more >make lint errors running golangci-lint during make presubmit
ERRO Running error : buildir: failed to load package goarch: could not load export data: cannot import "internal/goarch" (unknown iexport format version 2), ......
Read more >golangcli-lint and ERRO Running error - no export data for […]
golangcli-lint and ERRO Running error: buildir: failed to load package : could not load export data: no export data for […].
Read more >Can't run linter goanalysis_metalinter: buildir ... - CSDN博客
WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package : could not load export data: no export data for ...
Read more >Bug#1008433: golang-honnef-go-tools: FTBFS: dh_auto_test ...
Hi, During a rebuild of all packages in sid, your package failed to ... cannot import "math" (unknown iexport format > version 2),...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
the linter does not support go v1.18 yet
please upgrade to v3 action, we removed the installation of go step at all