profile
viewpoint

Ask questionsBuild errors using Go 1.13

I'm currently getting build errors (master branch) trying to build golangci-lint with Go 1.13.

The build error is: go: github.com/golangci/bodyclose@v0.0.0-20190713050349-65da19158fa2: invalid pseudo-version: does not match version-control timestamp (2019-07-14T14:40:26Z)

Here are a few details of my go env: GOARCH=amd64 GOOS=windows

Let me know if you need any more details to reproduce.

The reason I came across this is that go get with go 1.13 returns the errors below and I thought I'd try to use a locally build version of golangci-lint.

go get -u github.com/golangci/golangci-lint/cmd/golangci-lint verifying github.com/golangci/ineffassign@v0.0.0-20180808204949-42439a7714cc/go.mod: github.com/golangci/ineffassign@v0.0.0-20180808204949-42439a7714cc/go.mod: reading https://sum.golang.org/lookup/github.com/golangci/ineffassign@v0.0.0-20180808204949-42439a7714cc: 410 Gone verifying github.com/go-critic/go-critic@v0.0.0-20181204210945-1df300866540/go.mod: github.com/go-critic/go-critic@v0.0.0-20181204210945-1df300866540/go.mod: reading https://sum.golang.org/lookup/github.com/go-critic/go-critic@v0.0.0-20181204210945-1df300866540: 410 Gone

golangci/golangci-lint

Answer questions lwaddicor

I'm getting the same thing

Go build gives me the same thing:
$ go build
go: github.com/go-critic/go-critic@v0.0.0-20181204210945-1df300866540: invalid pseudo-version: does not match version-control timestamp (2019-05-26T07:48:19Z)



Go mod tidy gives this:
$ go mod tidy
go: github.com/golangci/bodyclose@v0.0.0-20190713050349-65da19158fa2: invalid pseudo-version: does not match version-control timestamp (2019-07-14T14:40:26Z)
useful!

Related questions

confusing error message "File is not goimports-ed (goimports)" hot 203
golangci-lint "DecodeRune not declared by package utf8" with golang 1.13 hot 50
BUG: failed run hot 47
Setting GO111MODULE=on for golangci.com hot 31
ERRO Running error: context loading failed: failed to load program with go/packages hot 27
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 22
Golangci-lint Incompatibility with newer versions of Go? hot 19
golangci-lint "DecodeRune not declared by package utf8" with golang 1.13 hot 16
please surpport ignore someOne fuction's igored error hot 15
Cannot `go get` due to invalid pseudo-version hot 15
govet. WARN [runner] Can't process result by autogenerated_exclude processor: can't filter issue hot 14
VS Code can't find .golangci.yml hot 14
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 13
Travis-CI: Context loading failed: could not determine GOARCH and Go compiler hot 13
panic on bodyclose hot 12
Github User Rank List