Skip to content

patch: use serde patch #37

patch: use serde patch

patch: use serde patch #37

GitHub Actions / clippy-no-default-features failed Jan 8, 2025 in 0s

clippy-no-default-features

11 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 11
Warning 0
Note 0
Help 0

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 162 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint_proto::types::ValidatorSet: std::convert::From<tendermint::validator::Set>` is not satisfied

error[E0277]: the trait bound `tendermint_proto::types::ValidatorSet: std::convert::From<tendermint::validator::Set>` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:162:66
    |
162 |             trusted_validators: Some(value.trusted_validator_set.into()),
    |                                                                  ^^^^ the trait `std::convert::From<tendermint::validator::Set>` is not implemented for `tendermint_proto::types::ValidatorSet`, which is required by `tendermint::validator::Set: std::convert::Into<_>`
    |
    = note: required for `tendermint::validator::Set` to implement `std::convert::Into<tendermint_proto::types::ValidatorSet>`

Check failure on line 160 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint_proto::types::ValidatorSet: std::convert::From<tendermint::validator::Set>` is not satisfied

error[E0277]: the trait bound `tendermint_proto::types::ValidatorSet: std::convert::From<tendermint::validator::Set>` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:160:53
    |
160 |             validator_set: Some(value.validator_set.into()),
    |                                                     ^^^^ the trait `std::convert::From<tendermint::validator::Set>` is not implemented for `tendermint_proto::types::ValidatorSet`, which is required by `tendermint::validator::Set: std::convert::Into<_>`
    |
    = note: required for `tendermint::validator::Set` to implement `std::convert::Into<tendermint_proto::types::ValidatorSet>`

Check failure on line 159 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint_proto::types::SignedHeader: std::convert::From<tendermint::block::signed_header::SignedHeader>` is not satisfied

error[E0277]: the trait bound `tendermint_proto::types::SignedHeader: std::convert::From<tendermint::block::signed_header::SignedHeader>` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:159:53
    |
159 |             signed_header: Some(value.signed_header.into()),
    |                                                     ^^^^ the trait `std::convert::From<tendermint::block::signed_header::SignedHeader>` is not implemented for `tendermint_proto::types::SignedHeader`, which is required by `tendermint::block::signed_header::SignedHeader: std::convert::Into<_>`
    |
    = note: required for `tendermint::block::signed_header::SignedHeader` to implement `std::convert::Into<tendermint_proto::types::SignedHeader>`

Check failure on line 106 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint::validator::Set: TryFrom<tendermint_proto::types::ValidatorSet>` is not satisfied

error[E0277]: the trait bound `tendermint::validator::Set: TryFrom<tendermint_proto::types::ValidatorSet>` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:106:18
    |
106 |                 .try_into()
    |                  ^^^^^^^^ the trait `std::convert::From<tendermint_proto::types::ValidatorSet>` is not implemented for `tendermint::validator::Set`, which is required by `tendermint_proto::types::ValidatorSet: TryInto<_>`
    |
    = note: required for `tendermint_proto::types::ValidatorSet` to implement `std::convert::Into<tendermint::validator::Set>`
    = note: required for `tendermint::validator::Set` to implement `TryFrom<tendermint_proto::types::ValidatorSet>`
    = note: required for `tendermint_proto::types::ValidatorSet` to implement `TryInto<tendermint::validator::Set>`

Check failure on line 106 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

type mismatch resolving `<Set as TryFrom<ValidatorSet>>::Error == Error`

error[E0271]: type mismatch resolving `<Set as TryFrom<ValidatorSet>>::Error == Error`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:106:18
    |
106 |                 .try_into()
    |                  ^^^^^^^^ expected `Infallible`, found `Error`

Check failure on line 97 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint::validator::Set: TryFrom<tendermint_proto::types::ValidatorSet>` is not satisfied

error[E0277]: the trait bound `tendermint::validator::Set: TryFrom<tendermint_proto::types::ValidatorSet>` is not satisfied
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:97:18
   |
97 |                 .try_into()
   |                  ^^^^^^^^ the trait `std::convert::From<tendermint_proto::types::ValidatorSet>` is not implemented for `tendermint::validator::Set`, which is required by `tendermint_proto::types::ValidatorSet: TryInto<_>`
   |
   = note: required for `tendermint_proto::types::ValidatorSet` to implement `std::convert::Into<tendermint::validator::Set>`
   = note: required for `tendermint::validator::Set` to implement `TryFrom<tendermint_proto::types::ValidatorSet>`
   = note: required for `tendermint_proto::types::ValidatorSet` to implement `TryInto<tendermint::validator::Set>`

Check failure on line 97 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

type mismatch resolving `<Set as TryFrom<ValidatorSet>>::Error == Error`

error[E0271]: type mismatch resolving `<Set as TryFrom<ValidatorSet>>::Error == Error`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:97:18
   |
97 |                 .try_into()
   |                  ^^^^^^^^ expected `Infallible`, found `Error`

Check failure on line 89 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint::block::signed_header::SignedHeader: TryFrom<tendermint_proto::types::SignedHeader>` is not satisfied

error[E0277]: the trait bound `tendermint::block::signed_header::SignedHeader: TryFrom<tendermint_proto::types::SignedHeader>` is not satisfied
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:89:18
   |
89 |                 .try_into()
   |                  ^^^^^^^^ the trait `std::convert::From<tendermint_proto::types::SignedHeader>` is not implemented for `tendermint::block::signed_header::SignedHeader`, which is required by `tendermint_proto::types::SignedHeader: TryInto<_>`
   |
   = note: required for `tendermint_proto::types::SignedHeader` to implement `std::convert::Into<tendermint::block::signed_header::SignedHeader>`
   = note: required for `tendermint::block::signed_header::SignedHeader` to implement `TryFrom<tendermint_proto::types::SignedHeader>`
   = note: required for `tendermint_proto::types::SignedHeader` to implement `TryInto<tendermint::block::signed_header::SignedHeader>`

Check failure on line 89 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

type mismatch resolving `<SignedHeader as TryFrom<SignedHeader>>::Error == Error`

error[E0271]: type mismatch resolving `<SignedHeader as TryFrom<SignedHeader>>::Error == Error`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/header.rs:89:18
   |
89 |                 .try_into()
   |                  ^^^^^^^^ expected `Infallible`, found `Error`

Check failure on line 80 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/consensus_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `tendermint_proto::google::protobuf::Timestamp: std::convert::From<Time>` is not satisfied

error[E0277]: the trait bound `tendermint_proto::google::protobuf::Timestamp: std::convert::From<Time>` is not satisfied
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/consensus_state.rs:80:65
   |
80 |         let tpb::Timestamp { seconds, nanos } = value.timestamp.into();
   |                                                                 ^^^^ the trait `std::convert::From<Time>` is not implemented for `tendermint_proto::google::protobuf::Timestamp`, which is required by `Time: std::convert::Into<_>`
   |
   = help: the trait `std::convert::From<tendermint_proto::serializers::timestamp::Rfc3339>` is implemented for `tendermint_proto::google::protobuf::Timestamp`
   = help: for that trait implementation, expected `tendermint_proto::serializers::timestamp::Rfc3339`, found `Time`
   = note: required for `Time` to implement `std::convert::Into<tendermint_proto::google::protobuf::Timestamp>`

Check failure on line 52 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/consensus_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-no-default-features

the trait bound `Time: TryFrom<tendermint_proto::google::protobuf::Timestamp>` is not satisfied

error[E0277]: the trait bound `Time: TryFrom<tendermint_proto::google::protobuf::Timestamp>` is not satisfied
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ibc-types-lightclients-tendermint-0.12.1/src/consensus_state.rs:52:14
   |
52 |             .try_into()
   |              ^^^^^^^^ the trait `std::convert::From<tendermint_proto::google::protobuf::Timestamp>` is not implemented for `Time`, which is required by `tendermint_proto::google::protobuf::Timestamp: TryInto<_>`
   |
   = note: required for `tendermint_proto::google::protobuf::Timestamp` to implement `std::convert::Into<Time>`
   = note: required for `Time` to implement `TryFrom<tendermint_proto::google::protobuf::Timestamp>`
   = note: required for `tendermint_proto::google::protobuf::Timestamp` to implement `TryInto<Time>`