You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
golangci-lint run --version
golangci-lint has version 1.48.0 built from 2d8fea81 on 2022-08-04T18:44:38Z
ERRO Running error: context loading failed: failed to load packages: timed out to load packages: context deadline exceeded
ERRO Timeout exceeded: try increasing it by passing --timeout option
As far as I can tell, this is a regression from 1.47.x
Version of golangci-lint
$ golangci-lint --version
# Paste output here
Configuration file
$ cat .golangci.yml
# paste output here
Go environment
$ go version && go env
# paste output herego version go1.18.4 linux/amd64GO111MODULE=""GOARCH="amd64"GOBIN=""GOCACHE="/home/rski/.cache/go-build"GOENV="/home/rski/.config/go/env"GOEXE=""GOEXPERIMENT=""GOFLAGS=""GOHOSTARCH="amd64"GOHOSTOS="linux"GOINSECURE=""GOMODCACHE="/home/rski/go/pkg/mod"GONOPROXY=""GONOSUMDB=""GOOS="linux"GOPATH="/home/rski/go"GOPRIVATE=""GOPROXY="https://proxy.golang.org,direct"GOROOT="/nix/store/wzq7am3816mv7vc73wq5wjh1xc2fmyim-go-1.18.4/share/go"GOSUMDB="sum.golang.org"GOTMPDIR=""GOTOOLDIR="/nix/store/wzq7am3816mv7vc73wq5wjh1xc2fmyim-go-1.18.4/share/go/pkg/tool/linux_amd64"GOVCS=""GOVERSION="go1.18.4"GCCGO="gccgo"GOAMD64="v1"AR="ar"CC="gcc"CXX="g++"CGO_ENABLED="1"GOMOD="/home/rski/Code/go/src/arista/go.mod"GOWORK=""CGO_CFLAGS="-g -O2"CGO_CPPFLAGS=""CGO_CXXFLAGS="-g -O2"CGO_FFLAGS="-g -O2"CGO_LDFLAGS="-g -O2"PKG_CONFIG="pkg-config"GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2326600941=/tmp/go-build -gno-record-gcc-switches"
Verbose output of running
before
golangci-lint run --version -v INFO [config_reader] Config search paths: [ [redacted ] ] golangci-lint has version 1.47.2 built from 61673b34 on 2022-07-21T10:53:45Z
after:
golangci-lint run --version -v INFO [config_reader] Config search paths:golangci-lint has version 1.48.0 built from 2d8fea81 on 2022-08-04T18:44:38ZINFO [lintersdb] Active 9 linters: [deadcode errcheck gosimple govet ineffassign staticcheck typecheck unused varcheck]
The text was updated successfully, but these errors were encountered:
Description of the problem
As far as I can tell, this is a regression from 1.47.x
Version of golangci-lint
Configuration file
Go environment
Verbose output of running
before
after:
The text was updated successfully, but these errors were encountered: