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
During make build, it reporting "client/rpc_client.go:145:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandle"
➜ serf git:(master) ✗ make
awk: can't open file cmd/serf/version.go source line number 1Using sudo to setup lo0 interface aliases for testing.Password:--> Running go vet# github.com/hashicorp/serf/clientclient/rpc_client.go:145:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandleclient/rpc_client.go:147:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandle# github.com/hashicorp/serf/cmd/serf/command/agentcmd/serf/command/agent/ipc.go:390:25: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandlecmd/serf/command/agent/ipc.go:392:25: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandlego test ./...# github.com/hashicorp/serf/clientclient/rpc_client.go:145:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandleclient/rpc_client.go:147:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandle# github.com/hashicorp/serf/cmd/serf/command/agentcmd/serf/command/agent/ipc.go:390:25: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandlecmd/serf/command/agent/ipc.go:392:25: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandleFAIL github.com/hashicorp/serf/cmd/serf/command [build failed]FAIL github.com/hashicorp/serf/cmd/serf/command/agent [build failed]ok github.com/hashicorp/serf/coordinate 3.445s2020/12/21 16:00:18 [WARN] serf: truncated key list response, showing first 18 of 50 keys--- FAIL: TestSnapshotter_forceCompact (0.40s) snapshot_test.go:220: bad clock 4662020/12/21 16:00:50 [INFO] serf: Ignoring previous leave in snapshotFAILFAIL github.com/hashicorp/serf/serf 36.300sok github.com/hashicorp/serf/testutil (cached) [no tests to run]ok github.com/hashicorp/serf/testutil/retry (cached)make: *** [test] Error 2
The text was updated successfully, but these errors were encountered:
Searching more I found that it got moved in ugorji/go in ugorji/go@a70535d but I don't see anything using ugorji...
After more digging, what happened is that go-msgpack released a v1.1.5 version which is ugorji/go... https://github.com/hashicorp/go-msgpack/releases/tag/v1.1.5 so now everything using hashicorp/go-msgpack needs to be updated for that upstream change.
During make build, it reporting "client/rpc_client.go:145:24: cannot use promoted field BasicHandle.DecodeOptions.RawToString in struct literal of type codec.MsgpackHandle"
The text was updated successfully, but these errors were encountered: