Closed agrofrank closed 1 year ago
@agroernesto @agrodiego
Hello @agrofrank I'm having this error:
#0 61.44 # github.com/vektra/mockery/v2/pkg
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:65:33: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:72:31: g.iface.NamedType.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:205:25: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:221:25: g.iface.NamedType.TypeParams undefined (type *types.Named has no field or method TypeParams)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:341:7: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:344:30: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:345:20: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:346:12: t.TypeArgs undefined (type *types.Named has no field or method TypeArgs)
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:350:8: undefined: types.TypeParam
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:429:8: undefined: types.Union
#0 61.44 /go/pkg/mod/github.com/vektra/mockery/v2@v2.20.0/pkg/generator.go:429:8: too many errors
#0 61.44 note: module requires Go 1.20
#0 61.45 make: *** [Makefile:35: idb/mocks/IndexerDb.go] Error 2
------
DEBU[0000] using default config store "/root/.docker/buildx"
DEBU[0000] serving grpc connection
DEBU[0000] stopping session span="load buildkit capabilities"
DEBU[0000] serving grpc connection
DEBU[0062] stopping session
failed to solve: process "/bin/sh -c /tmp/install.sh" did not complete successfully: exit code: 2
Is the same error you got?
I am having the same one. Fixed applying this change: https://github.com/algorand/sandbox/pull/191
Feel free to use what's in #191 as a temporary fix. We'll publish a fix soon.
Great, thanks for the swift answers! I'll be on the lookout for any updates on the fix.
Subject of the issue
The latest version is failing to start. We had to switch to commit
e0a6a32c4b3fbd26d5546e94df6101a4c2b39e7d
to keep using the sandbox!Steps to reproduce
./sandbox up
.Expected behaviour
All the apps should start.
Actual behaviour
The
conduit
fails to start.