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
With go1.18.3 installed, golangci-lint works well:
> go version; golangci-lint version
go version go1.18.3 linux/amd64
golangci-lint has version 1.47.2 built from 61673b34 on 2022-07-21T10:53:45Z
With go1.19 installed, the same golangci-lint panics after ~14 secs:
> go version; golangci-lint version
go version go1.19 linux/amd64
panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt
goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.22()
github.com/go-critic/[email protected]/checkers/embedded_rules.go:47 +0x4b4
Version of golangci-lint
$ golangci-lint versiongolangci-lint has version 1.47.2 built from 61673b34 on 2022-07-21T10:53:45Z
Configuration file
none
Go environment
$ go version && go envgo version go1.19 linux/amd64GO111MODULE=""GOARCH="amd64"GOBIN=""GOCACHE="/home/xxx/.cache/go-build"GOENV="/home/xxx/.config/go/env"GOEXE=""GOEXPERIMENT=""GOFLAGS=""GOHOSTARCH="amd64"GOHOSTOS="linux"GOINSECURE=""GOMODCACHE="/home/xxx/zz/go/pkg/mod"GOOS="linux"GOPATH="/home/xxx/Projet/go"GOROOT="/home/xxx/local/go"GOSUMDB="sum.golang.org"GOTMPDIR=""GOTOOLDIR="/home/xxx/local/go/pkg/tool/linux_amd64"GOVCS=""GOVERSION="go1.19"GCCGO="gccgo"GOAMD64="v1"AR="ar"CC="gcc"CXX="g++"CGO_ENABLED="1"GOMOD="/home/xxx/wd/go-testdeep/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 -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2144936495=/tmp/go-build -gno-record-gcc-switches"
Welcome
Description of the problem
With go1.18.3 installed, golangci-lint works well:
With go1.19 installed, the same golangci-lint panics after ~14 secs:
Version of golangci-lint
Configuration file
none
Go environment
Verbose output of running
Code example or link to a public repository
anywhere as
golangci-lint version
alone panics.The text was updated successfully, but these errors were encountered: