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
It seems the usage of kvproto isn't correct right now in master.
Not sure if something needs to be updated.
I'm seeing cargo check spew:
error[E0277]: the trait bound `raft_proto::prelude::Message: prost::Message` is not satisfied [166/392]
--> /home/pgray/dip/target/debug/build/kvproto-2cedd5e738cd6dfb/out/protos/raft_serverpb.rs:1:28
|
1 | #[derive(Clone, PartialEq, ::prost::Message)]
| ^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `raft_proto::prelude::Message`
|
::: /home/pgray/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-0.6.1/src/encoding.rs:914:12
|
914 | M: Message,
| ------- required by this bound in `prost::encoding::message::encode`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `raft_proto::prelude::Message: prost::Message` is not satisfied
--> /home/pgray/dip/target/debug/build/kvproto-2cedd5e738cd6dfb/out/protos/raft_serverpb.rs:1:28
|
1 | #[derive(Clone, PartialEq, ::prost::Message)]
| ^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `raft_proto::prelude::Message`
|
::: /home/pgray/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-0.6.1/src/encoding.rs:929:12
|
929 | M: Message,
| ------- required by this bound in `prost::encoding::message::merge`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `raft_proto::prelude::Message: prost::Message` is not satisfied
--> /home/pgray/dip/target/debug/build/kvproto-2cedd5e738cd6dfb/out/protos/raft_serverpb.rs:1:28
|
1 | #[derive(Clone, PartialEq, ::prost::Message)]
| ^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `raft_proto::prelude::Message`
|
::: /home/pgray/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-0.6.1/src/encoding.rs:975:12
|
975 | M: Message,
| ------- required by this bound in `prost::encoding::message::encoded_len`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `raft_proto::prelude::HardState: prost::Message` is not satisfied
--> /home/pgray/dip/target/debug/build/kvproto-2cedd5e738cd6dfb/out/protos/raft_serverpb.rs:85:28
|
85 | #[derive(Clone, PartialEq, ::prost::Message)]
| ^^^^^^^^^^^^^^^^ the trait `prost::Message` is not implemented for `raft_proto::prelude::HardState`
|
::: /home/pgray/.cargo/registry/src/github.com-1ecc6299db9ec823/prost-0.6.1/src/encoding.rs:914:12
|
914 | M: Message,
| ------- required by this bound in `prost::encoding::message::encode`
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `raft_proto::prelude::HardState: prost::Message` is not satisfied
...
My env:
pgray@xx:dip (master)*$ go version
go version go1.14.4 linux/amd64
pgray@xx:dip (master)*$ protoc --version
libprotoc 3.8.0
The text was updated successfully, but these errors were encountered:
It seems the usage of
kvproto
isn't correct right now in master.Not sure if something needs to be updated.
I'm seeing
cargo check
spew:My env:
The text was updated successfully, but these errors were encountered: