Skip to content

Merge Astria support into Penumbra branch #35

Merge Astria support into Penumbra branch

Merge Astria support into Penumbra branch #35

GitHub Actions / clippy-all-features failed Feb 29, 2024 in 0s

clippy-all-features

6 errors

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 25 in crates/relayer/src/chain/astria/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

the trait bound `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof: std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not satisfied

error[E0277]: the trait bound `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof: std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not satisfied
  --> crates/relayer/src/chain/astria/utils.rs:25:10
   |
25 |         .try_into()
   |          ^^^^^^^^ the trait `std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not implemented for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof`
   |
   = help: the trait `std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is implemented for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof`
   = help: for that trait implementation, expected `ibc_proto::ibc::core::commitment::v1::MerkleProof`, found `ibc_proto::ibc::core::commitment::v1::MerkleProof`
   = note: required for `ibc_proto::ibc::core::commitment::v1::MerkleProof` to implement `std::convert::Into<ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof>`
   = note: required for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof` to implement `std::convert::TryFrom<ibc_proto::ibc::core::commitment::v1::MerkleProof>`
   = note: required for `ibc_proto::ibc::core::commitment::v1::MerkleProof` to implement `std::convert::TryInto<ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof>`

Check failure on line 25 in crates/relayer/src/chain/astria/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

the trait bound `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof: std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not satisfied

error[E0277]: the trait bound `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof: std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not satisfied
  --> crates/relayer/src/chain/astria/utils.rs:25:10
   |
25 |         .try_into()
   |          ^^^^^^^^ the trait `std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is not implemented for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof`
   |
   = help: the trait `std::convert::From<ibc_proto::ibc::core::commitment::v1::MerkleProof>` is implemented for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof`
   = help: for that trait implementation, expected `ibc_proto::ibc::core::commitment::v1::MerkleProof`, found `ibc_proto::ibc::core::commitment::v1::MerkleProof`
   = note: required for `ibc_proto::ibc::core::commitment::v1::MerkleProof` to implement `std::convert::Into<ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof>`
   = note: required for `ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof` to implement `std::convert::TryFrom<ibc_proto::ibc::core::commitment::v1::MerkleProof>`
   = note: required for `ibc_proto::ibc::core::commitment::v1::MerkleProof` to implement `std::convert::TryInto<ibc_relayer_types::core::ics23_commitment::merkle::MerkleProof>`

Check failure on line 214 in crates/relayer/src/chain/astria/endpoint.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

mismatched types

error[E0308]: mismatched types
   --> crates/relayer/src/chain/astria/endpoint.rs:214:38
    |
214 |             actions.push(Action::Ibc(non_raw));
    |                          ----------- ^^^^^^^ expected `penumbra_ibc::ibc_action::IbcRelay`, found `penumbra_ibc::IbcRelay`
    |                          |
    |                          arguments to this enum variant are incorrect
    |
    = note: `penumbra_ibc::IbcRelay` and `penumbra_ibc::ibc_action::IbcRelay` have similar names, but are actually distinct types
note: `penumbra_ibc::IbcRelay` is defined in crate `penumbra_ibc`
   --> /home/runner/.cargo/git/checkouts/penumbra-54633d8978d5e293/a9694cf/crates/core/component/ibc/src/ibc_action.rs:41:1
    |
41  | pub enum IbcRelay {
    | ^^^^^^^^^^^^^^^^^
note: `penumbra_ibc::ibc_action::IbcRelay` is defined in crate `penumbra_ibc`
   --> /home/runner/.cargo/git/checkouts/penumbra-54633d8978d5e293/1b1be7e/crates/core/component/ibc/src/ibc_action.rs:41:1
    |
41  | pub enum IbcRelay {
    | ^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `penumbra_ibc` are being used?
note: tuple variant defined here
   --> /home/runner/.cargo/git/checkouts/astria-4037264eca042f1c/093e579/crates/astria-core/src/sequencer/v1alpha1/transaction/action.rs:33:5
    |
33  |     Ibc(IbcRelay),
    |     ^^^

Check failure on line 214 in crates/relayer/src/chain/astria/endpoint.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

mismatched types

error[E0308]: mismatched types
   --> crates/relayer/src/chain/astria/endpoint.rs:214:38
    |
214 |             actions.push(Action::Ibc(non_raw));
    |                          ----------- ^^^^^^^ expected `penumbra_ibc::ibc_action::IbcRelay`, found `penumbra_ibc::IbcRelay`
    |                          |
    |                          arguments to this enum variant are incorrect
    |
    = note: `penumbra_ibc::IbcRelay` and `penumbra_ibc::ibc_action::IbcRelay` have similar names, but are actually distinct types
note: `penumbra_ibc::IbcRelay` is defined in crate `penumbra_ibc`
   --> /home/runner/.cargo/git/checkouts/penumbra-54633d8978d5e293/a9694cf/crates/core/component/ibc/src/ibc_action.rs:41:1
    |
41  | pub enum IbcRelay {
    | ^^^^^^^^^^^^^^^^^
note: `penumbra_ibc::ibc_action::IbcRelay` is defined in crate `penumbra_ibc`
   --> /home/runner/.cargo/git/checkouts/penumbra-54633d8978d5e293/1b1be7e/crates/core/component/ibc/src/ibc_action.rs:41:1
    |
41  | pub enum IbcRelay {
    | ^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `penumbra_ibc` are being used?
note: tuple variant defined here
   --> /home/runner/.cargo/git/checkouts/astria-4037264eca042f1c/093e579/crates/astria-core/src/sequencer/v1alpha1/transaction/action.rs:33:5
    |
33  |     Ibc(IbcRelay),
    |     ^^^

Check failure on line 212 in crates/relayer/src/transfer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

redundant field names in struct initialization

error: redundant field names in struct initialization
   --> crates/relayer/src/transfer.rs:212:9
    |
212 |         denom: denom,
    |         ^^^^^^^^^^^^ help: replace it with: `denom`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
    = note: `-D clippy::redundant-field-names` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`

Check failure on line 212 in crates/relayer/src/transfer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy-all-features

redundant field names in struct initialization

error: redundant field names in struct initialization
   --> crates/relayer/src/transfer.rs:212:9
    |
212 |         denom: denom,
    |         ^^^^^^^^^^^^ help: replace it with: `denom`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
    = note: `-D clippy::redundant-field-names` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`