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
I'm running make build, with go v0.13.4.
I get the following errors:
# github.com/coreos/etcd/client
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:63:14: z.HasExtensions undefined (type codec.genHelperEncoder has no field or method HasExtensions)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:63:35: z.EncExt undefined (type codec.genHelperEncoder has no field or method EncExt)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:75:6: r.WriteArrayElem undefined (type codec.genHelperEncDriver has no field or method WriteArrayElem)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:83:6: r.WriteMapElemKey undefined (type codec.genHelperEncDriver has no field or method WriteMapElemKey)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:84:19: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:85:6: r.WriteMapElemValue undefined (type codec.genHelperEncDriver has no field or method WriteMapElemValue)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:94:6: r.WriteArrayElem undefined (type codec.genHelperEncDriver has no field or method WriteArrayElem)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:99:20: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:102:6: r.WriteMapElemKey undefined (type codec.genHelperEncDriver has no field or method WriteMapElemKey)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:103:19: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:103:19: too many errors
make: *** [build] Error 2
~/dev/dce-cli$ go build .
# github.com/coreos/etcd/client
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:63:14: z.HasExtensions undefined (type codec.genHelperEncoder has no field or method HasExtensions)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:63:35: z.EncExt undefined (type codec.genHelperEncoder has no field or method EncExt)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:75:6: r.WriteArrayElem undefined (type codec.genHelperEncDriver has no field or method WriteArrayElem)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:83:6: r.WriteMapElemKey undefined (type codec.genHelperEncDriver has no field or method WriteMapElemKey)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:84:19: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:85:6: r.WriteMapElemValue undefined (type codec.genHelperEncDriver has no field or method WriteMapElemValue)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:94:6: r.WriteArrayElem undefined (type codec.genHelperEncDriver has no field or method WriteArrayElem)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:99:20: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:102:6: r.WriteMapElemKey undefined (type codec.genHelperEncDriver has no field or method WriteMapElemKey)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:103:19: too many arguments in call to r.encDriver.EncodeString
have (number, string)
want (string)
../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go:103:19: too many errors
The text was updated successfully, but these errors were encountered:
Ok, I was able to work around this by removing the ../../.gvm/pkgsets/go1.13.4/global/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go file.
I see there's a note in go.mod about this as well.
Let's try to find a fix for this, though. It's not a great experience for contributors that make build fails out of the box.
I'm running
make build
, with go v0.13.4.I get the following errors:
The text was updated successfully, but these errors were encountered: