Skip to content

Bug: golangci-lint v1.23.3 do NOT works well with go 1.14 #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
STRRL opened this issue Mar 5, 2020 · 0 comments
Closed

Bug: golangci-lint v1.23.3 do NOT works well with go 1.14 #172

STRRL opened this issue Mar 5, 2020 · 0 comments
Labels

Comments

@STRRL
Copy link
Contributor

STRRL commented Mar 5, 2020

Bug Report

When I execute make dev, console output:

$ make dev

.. something unimportant 

+ Run lints
WARN [runner] Can't run linter unused: buildssa: analysis skipped: errors in package: [/Users/strrl/playground/GitHub/strrl/tidb-dashboard/pkg/config/config.go:17:2: could not import crypto/tls (/usr/local/Cellar/go/1.14/libexec/src/crypto/tls/alert.go:7:8: could not import strconv (/usr/local/Cellar/go/1.14/libexec/src/strconv/atof.go:13:8: could not import math (/usr/local/Cellar/go/1.14/libexec/src/math/exp_asm.go:9:8: could not import internal/cpu (-: could not load export data: cannot import "internal/cpu" (unknown iexport format version 1), export data is newer version - update tool))))] 
WARN [runner] Can't run linter goanalysis_metalinter: vrp: failed prerequisites: [email protected]/pingcap-incubator/tidb-dashboard/pkg/config 
ERRO Running error: vrp: failed prerequisites: [email protected]/pingcap-incubator/tidb-dashboard/pkg/config 
make: *** [lint] Error 3

Upgrading to latest golangci-lint version will solve this problem, I will make a PR soon.

Related issues

golangci/golangci-lint#893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants