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 3
please surpport ignore someOne fuction's igored error hot 1
Setting GO111MODULE=on for golangci.com hot 1
golangci-lint "DecodeRune not declared by package utf8" with golang 1.13 hot 1
Cannot `go get` due to invalid pseudo-version hot 1
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 1
Install golangci-lint locally using Windows hot 1
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 1
Golangci-lint Incompatibility with newer versions of Go? hot 1
panic on bodyclose hot 1
concurrent map access on 1.17.1 hot 1
[Feature] TODO/FIXME linter hot 1
Failed to build golangci-lint v1.17.1 when enable GO111MODULE hot 1
BUG: failed run hot 1
confusing error message "File is not goimports-ed (goimports)" hot 1
Github User Rank List