Description
What version of Go are you using (go version
)?
$ go version go version go1.18.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
The issue is reproducible at
- darwin/amd64
- linux/amd64
go env
Output
$ go envGO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/kolesnik/Library/Caches/go-build"
GOENV="/Users/kolesnik/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/kolesnik/devel/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/kolesnik/devel/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/kolesnik/devel/go/src/github.com/fogfish/dynamo/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 -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/gj/dt8b38qd4xx60g9y89d5mfj40000gn/T/go-build2387231264=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
assertion failed
error appears while trying to run go test ./...
or go vet ./...
on the library that uses various generic abstraction. It has started to fail at 1.18.3 release but works perfectly with 1.18.1 and also building the library with go build ./...
works with 1.18.3.
You can reproduce an error with following commands
git clone https://github.com/fogfish/dynamo
cd dynamo
go test ./...
What did you expect to see?
Successful compilation.
What did you see instead?
go test ./...
# github.com/fogfish/dynamo/internal/ddb [github.com/fogfish/dynamo/internal/ddb.test]
/Users/kolesnik/devel/go/pkg/mod/github.com/fogfish/[email protected]/pure/hseq/hseq.go:99:11: internal compiler error: assertion failed
The error report fails to compile dependency but building that decencies in other context also works fine.
Something fishy is going on... any advice is welcome how to debug this issue!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status