Skip to content

Port "Add missing serde derives on some Protobuf definitions" (tendermint-rs#1389) #59

Port "Add missing serde derives on some Protobuf definitions" (tendermint-rs#1389)

Port "Add missing serde derives on some Protobuf definitions" (tendermint-rs#1389) #59

GitHub Actions / clippy succeeded Mar 14, 2024 in 0s

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 Deserialize<'_> for type InfoResponse
--> /home/runner/work/cometbft-rs/cometbft-rs/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 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 Deserialize<'_> for type ResponseInfo
--> /home/runner/work/cometbft-rs/cometbft-rs/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 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 Serialize for type InfoResponse
--> /home/runner/work/cometbft-rs/cometbft-rs/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 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 Serialize for type ResponseInfo
--> /home/runner/work/cometbft-rs/cometbft-rs/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 ResponseInfo
|
= note: this error originates in the derive macro ::serde::Serialize (in Nightly builds, run with -Z macro-backtrace for more info)