Port "Add missing serde derives on some Protobuf definitions" (tendermint-rs#1389) #28
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (4)
proto/src/prost/cometbft.abci.v1.rs|367 col 10| error[E0119]: conflicting implementations of trait google::protobuf::_::_serde::Deserialize<'_>
for type cometbft::abci::v1::InfoResponse
--> proto/src/prost/cometbft.abci.v1.rs:368:10
|
367 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| -------------------- first implementation here
368 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for cometbft::abci::v1::InfoResponse
|
= note: this error originates in the derive macro ::serde::Deserialize
(in Nightly builds, run with -Z macro-backtrace for more info)
proto/src/prost/cometbft.abci.v1beta1.rs|280 col 10| error[E0119]: conflicting implementations of trait google::protobuf::_::_serde::Deserialize<'_>
for type cometbft::abci::v1beta1::ResponseInfo
--> proto/src/prost/cometbft.abci.v1beta1.rs:281:10
|
280 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| -------------------- first implementation here
281 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for cometbft::abci::v1beta1::ResponseInfo
|
= note: this error originates in the derive macro ::serde::Deserialize
(in Nightly builds, run with -Z macro-backtrace for more info)
proto/src/prost/cometbft.abci.v1.rs|367 col 32| error[E0119]: conflicting implementations of trait google::protobuf::_::_serde::Serialize
for type cometbft::abci::v1::InfoResponse
--> proto/src/prost/cometbft.abci.v1.rs:368:32
|
367 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ------------------ first implementation here
368 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ^^^^^^^^^^^^^^^^^^ conflicting implementation for cometbft::abci::v1::InfoResponse
|
= note: this error originates in the derive macro ::serde::Serialize
(in Nightly builds, run with -Z macro-backtrace for more info)
proto/src/prost/cometbft.abci.v1beta1.rs|280 col 32| error[E0119]: conflicting implementations of trait google::protobuf::_::_serde::Serialize
for type cometbft::abci::v1beta1::ResponseInfo
--> proto/src/prost/cometbft.abci.v1beta1.rs:281:32
|
280 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ------------------ first implementation here
281 | #[derive(::serde::Deserialize, ::serde::Serialize)]
| ^^^^^^^^^^^^^^^^^^ conflicting implementation for cometbft::abci::v1beta1::ResponseInfo
|
= note: this error originates in the derive macro ::serde::Serialize
(in Nightly builds, run with -Z macro-backtrace for more info)