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
$ garble version
mvdan.cc/garble v0.11.0
Build settings:
-buildmode exe
-compiler gc
CGO_ENABLED 1
GOARCH amd64
GOOS linux
GOAMD64 v1
$ go version
go version go1.21.6 linux/amd64
# git clone https://github.com/libp2p/go-libp2p.git
# cd go-libp2p/examples/chat
# garble build
What did you expect to see?
garble to be able to build the examples from this popular library.
What did you see instead?
/go-libp2p/examples/chat# garble build
# github.com/libp2p/go-libp2p/p2p/protocol/holepunch
Kc_daTySOcx.go:1: cannot use make(map[peer.ID]struct{bBnKb2bxZ8V4 int; nnXie6 time.FVJzTyFdo}) (value of type map[RFoWLhGaEDb.ID]struct{bBnKb2bxZ8V4 int; nnXie6 gvdD72.FVJzTyFdo}) as map[RFoWLhGaEDb.ID]struct{counter int; last gvdD72.FVJzTyFdo} value in struct literal
HK5CVSzxh4D4.go:1: cannot use make(map[peer.ID]struct{bBnKb2bxZ8V4 int; nnXie6 time.FVJzTyFdo}) (value of type map[RFoWLhGaEDb.ID]struct{bBnKb2bxZ8V4 int; nnXie6 gvdD72.FVJzTyFdo}) as map[RFoWLhGaEDb.ID]struct{counter int; last gvdD72.FVJzTyFdo} value in struct literal
OmJ69f.go:1: cannot use make(map[peer.ID]struct{bBnKb2bxZ8V4 int; nnXie6 time.FVJzTyFdo}) (value of type map[RFoWLhGaEDb.ID]struct{bBnKb2bxZ8V4 int; nnXie6 gvdD72.FVJzTyFdo}) as map[RFoWLhGaEDb.ID]struct{counter int; last gvdD72.FVJzTyFdo} value in struct literal
exit status 2
exit status 1
The text was updated successfully, but these errors were encountered:
You're right, I didn't notice I was using an old version. This is what I get after updating, which appears to be the same error.
# garble version
mvdan.cc/garble v0.12.1
Build settings:
-buildmode exe
-compiler gc
CGO_ENABLED 1
GOARCH amd64
GOOS linux
GOAMD64 v1
# garble build
# github.com/libp2p/go-libp2p/p2p/protocol/holepunch
HtiNa9cD6f.go:1: cannot use make(map[peer.ID]struct{g7OR7KZxrxF int; gmni7cw time.Elg7daBRDEu}) (value of type map[XaEgkY.ID]struct{g7OR7KZxrxF int; gmni7cw zGPEB0e1.Elg7daBRDEu}) as map[XaEgkY.ID]struct{counter int; last zGPEB0e1.Elg7daBRDEu} value in struct literal
cgXBPv5kb7aG.go:1: cannot use make(map[peer.ID]struct{g7OR7KZxrxF int; gmni7cw time.Elg7daBRDEu}) (value of type map[XaEgkY.ID]struct{g7OR7KZxrxF int; gmni7cw zGPEB0e1.Elg7daBRDEu}) as map[XaEgkY.ID]struct{counter int; last zGPEB0e1.Elg7daBRDEu} value in struct literal
whUWrW.go:1: cannot use make(map[peer.ID]struct{g7OR7KZxrxF int; gmni7cw time.Elg7daBRDEu}) (value of type map[XaEgkY.ID]struct{g7OR7KZxrxF int; gmni7cw zGPEB0e1.Elg7daBRDEu}) as map[XaEgkY.ID]struct{counter int; last zGPEB0e1.Elg7daBRDEu} value in struct literal
exit status 2
exit status 1
What version of Garble and Go are you using?
What environment are you running Garble on?
go env
OutputWhat did you do?
What did you expect to see?
garble to be able to build the examples from this popular library.
What did you see instead?
The text was updated successfully, but these errors were encountered: