CI for upstream PR #66
clippy-no-default-features
106 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 106 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 53 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
unused import: `Namada`
error: unused import: `Namada`
--> crates/relayer/src/chain/namada.rs:53:23
|
53 | use namada_sdk::{rpc, Namada, NamadaImpl};
| ^^^^^^
Check failure on line 27 in crates/relayer/src/chain/namada/tx.rs
github-actions / clippy-no-default-features
unused import: `Namada`
error: unused import: `Namada`
--> crates/relayer/src/chain/namada/tx.rs:27:31
|
27 | use namada_sdk::{signing, tx, Namada};
| ^^^^^^
Check failure on line 15 in crates/relayer/src/chain/namada/query.rs
github-actions / clippy-no-default-features
unused import: `namada_sdk::Namada`
error: unused import: `namada_sdk::Namada`
--> crates/relayer/src/chain/namada/query.rs:15:5
|
15 | use namada_sdk::Namada;
| ^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 53 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
unused import: `Namada`
error: unused import: `Namada`
--> crates/relayer/src/chain/namada.rs:53:23
|
53 | use namada_sdk::{rpc, Namada, NamadaImpl};
| ^^^^^^
Check failure on line 27 in crates/relayer/src/chain/namada/tx.rs
github-actions / clippy-no-default-features
unused import: `Namada`
error: unused import: `Namada`
--> crates/relayer/src/chain/namada/tx.rs:27:31
|
27 | use namada_sdk::{signing, tx, Namada};
| ^^^^^^
Check failure on line 15 in crates/relayer/src/chain/namada/query.rs
github-actions / clippy-no-default-features
unused import: `namada_sdk::Namada`
error: unused import: `namada_sdk::Namada`
--> crates/relayer/src/chain/namada/query.rs:15:5
|
15 | use namada_sdk::Namada;
| ^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 1125 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState: std::convert::From<namada_sdk::tendermint::block::Header>` is not satisfied
error[E0277]: the trait bound `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState: std::convert::From<namada_sdk::tendermint::block::Header>` is not satisfied
--> crates/relayer/src/chain/namada.rs:1125:12
|
1125 | Ok(Self::ConsensusState::from(response.block.header))
| ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<namada_sdk::tendermint::block::Header>` is not implemented for `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState`
|
= help: the following other types implement trait `std::convert::From<T>`:
<ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState as std::convert::From<ibc_relayer_types::clients::ics07_tendermint::header::Header>>
<ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState as std::convert::From<tendermint::block::Header>>
Check failure on line 1119 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `namada_sdk::tendermint::block::Height: std::convert::From<tendermint::block::Height>` is not satisfied
error[E0277]: the trait bound `namada_sdk::tendermint::block::Height: std::convert::From<tendermint::block::Height>` is not satisfied
--> crates/relayer/src/chain/namada.rs:1119:54
|
1119 | _ => SdkClient::block(self.ctx.client(), height),
| ---------------- ^^^^^^ the trait `std::convert::From<tendermint::block::Height>` is not implemented for `namada_sdk::tendermint::block::Height`, which is required by `tendermint::block::Height: std::convert::Into<namada_sdk::tendermint::block::Height>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
<namada_sdk::tendermint::block::Height as std::convert::From<u8>>
<namada_sdk::tendermint::block::Height as std::convert::From<u16>>
<namada_sdk::tendermint::block::Height as std::convert::From<u32>>
= note: required for `tendermint::block::Height` to implement `std::convert::Into<namada_sdk::tendermint::block::Height>`
note: required by a bound in `namada_sdk::queries::Client::block`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/queries/mod.rs:266:12
|
264 | async fn block<H>(&self, height: H) -> Result<block::Response, RpcError>
| ----- required by a bound in this associated function
265 | where
266 | H: Into<Height> + Send,
| ^^^^^^^^^^^^ required by this bound in `Client::block`
Check failure on line 1119 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:1119:44
|
1119 | _ => SdkClient::block(self.ctx.client(), height),
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-5828836e5c3ec72a.long-type-16640214010351372102.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 1118 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:1118:51
|
1118 | 0 => SdkClient::latest_block(self.ctx.client()),
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-5828836e5c3ec72a.long-type-16640214010351372102.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 1125 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState: std::convert::From<namada_sdk::tendermint::block::Header>` is not satisfied
error[E0277]: the trait bound `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState: std::convert::From<namada_sdk::tendermint::block::Header>` is not satisfied
--> crates/relayer/src/chain/namada.rs:1125:12
|
1125 | Ok(Self::ConsensusState::from(response.block.header))
| ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<namada_sdk::tendermint::block::Header>` is not implemented for `ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState`
|
= help: the following other types implement trait `std::convert::From<T>`:
<ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState as std::convert::From<ibc_relayer_types::clients::ics07_tendermint::header::Header>>
<ibc_relayer_types::clients::ics07_tendermint::consensus_state::ConsensusState as std::convert::From<tendermint::block::Header>>
Check failure on line 1119 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `namada_sdk::tendermint::block::Height: std::convert::From<tendermint::block::Height>` is not satisfied
error[E0277]: the trait bound `namada_sdk::tendermint::block::Height: std::convert::From<tendermint::block::Height>` is not satisfied
--> crates/relayer/src/chain/namada.rs:1119:54
|
1119 | _ => SdkClient::block(self.ctx.client(), height),
| ---------------- ^^^^^^ the trait `std::convert::From<tendermint::block::Height>` is not implemented for `namada_sdk::tendermint::block::Height`, which is required by `tendermint::block::Height: std::convert::Into<namada_sdk::tendermint::block::Height>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `std::convert::From<T>`:
<namada_sdk::tendermint::block::Height as std::convert::From<u8>>
<namada_sdk::tendermint::block::Height as std::convert::From<u16>>
<namada_sdk::tendermint::block::Height as std::convert::From<u32>>
= note: required for `tendermint::block::Height` to implement `std::convert::Into<namada_sdk::tendermint::block::Height>`
note: required by a bound in `namada_sdk::queries::Client::block`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/queries/mod.rs:266:12
|
264 | async fn block<H>(&self, height: H) -> Result<block::Response, RpcError>
| ----- required by a bound in this associated function
265 | where
266 | H: Into<Height> + Send,
| ^^^^^^^^^^^^ required by this bound in `Client::block`
Check failure on line 540 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:540:50
|
540 | .block_on(SdkClient::status(self.ctx.client()))
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-5828836e5c3ec72a.long-type-16640214010351372102.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 1119 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:1119:44
|
1119 | _ => SdkClient::block(self.ctx.client(), height),
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-2f20a9abde57e85c.long-type-2084738407343613965.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 1118 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:1118:51
|
1118 | 0 => SdkClient::latest_block(self.ctx.client()),
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-2f20a9abde57e85c.long-type-2084738407343613965.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 438 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `native_token` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `native_token` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:438:38
|
438 | let default_token = self.ctx.native_token().to_string();
| ^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-5828836e5c3ec72a.long-type-16640214010351372102.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 540 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:540:50
|
540 | .block_on(SdkClient::status(self.ctx.client()))
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-2f20a9abde57e85c.long-type-2084738407343613965.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 279 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:279:50
|
279 | .block_on(SdkClient::health(self.ctx.client()))
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-5828836e5c3ec72a.long-type-16640214010351372102.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 438 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `native_token` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `native_token` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:438:38
|
438 | let default_token = self.ctx.native_token().to_string();
| ^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-2f20a9abde57e85c.long-type-2084738407343613965.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`
Check failure on line 261 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
error[E0277]: the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
--> crates/relayer/src/chain/namada.rs:261:19
|
261 | let ctx = NamadaImpl::native_new(rpc_client, wallet, shielded_ctx, NullIo, native_token);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `namada_sdk::tendermint_rpc::client::Client` is not implemented for `tendermint_rpc::HttpClient`, which is required by `tendermint_rpc::HttpClient: namada_sdk::queries::Client`
|
= note: required for `tendermint_rpc::HttpClient` to implement `namada_sdk::queries::Client`
note: required by a bound in `namada_sdk::NamadaImpl`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:633:8
|
631 | pub struct NamadaImpl<C, U, V, I>
| ---------- required by a bound in this struct
632 | where
633 | C: queries::Client,
| ^^^^^^^^^^^^^^^ required by this bound in `NamadaImpl`
Check failure on line 261 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `tendermint_rpc::HttpClient: namada_sdk::queries::Client` is not satisfied
error[E0277]: the trait bound `tendermint_rpc::HttpClient: namada_sdk::queries::Client` is not satisfied
--> crates/relayer/src/chain/namada.rs:261:42
|
261 | let ctx = NamadaImpl::native_new(rpc_client, wallet, shielded_ctx, NullIo, native_token);
| ---------------------- ^^^^^^^^^^ the trait `namada_sdk::tendermint_rpc::client::Client` is not implemented for `tendermint_rpc::HttpClient`, which is required by `tendermint_rpc::HttpClient: namada_sdk::queries::Client`
| |
| required by a bound introduced by this call
|
= note: required for `tendermint_rpc::HttpClient` to implement `namada_sdk::queries::Client`
note: required by a bound in `namada_sdk::NamadaImpl::<C, U, V, I>::native_new`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:654:8
|
654 | C: queries::Client + Sync,
| ^^^^^^^^^^^^^^^ required by this bound in `NamadaImpl::<C, U, V, I>::native_new`
...
660 | pub fn native_new(
| ---------- required by a bound in this associated function
Check failure on line 252 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
error[E0277]: the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
--> crates/relayer/src/chain/namada.rs:251:28
|
251 | let native_token = rt
| ____________________________^
252 | | .block_on(rpc::query_native_token(&rpc_client))
| |___________________________________________________________^ the trait `namada_sdk::tendermint_rpc::client::Client` is not implemented for `tendermint_rpc::HttpClient`, which is required by `tendermint_rpc::HttpClient: namada_sdk::queries::Client`
|
= note: required for `tendermint_rpc::HttpClient` to implement `namada_sdk::queries::Client`
note: required by a bound in `namada_sdk::rpc::query_native_token`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/rpc.rs:140:36
|
140 | pub async fn query_native_token<C: crate::queries::Client + Sync>(
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `query_native_token`
Check failure on line 252 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
error[E0277]: the trait bound `tendermint_rpc::HttpClient: namada_sdk::tendermint_rpc::client::Client` is not satisfied
--> crates/relayer/src/chain/namada.rs:252:23
|
252 | .block_on(rpc::query_native_token(&rpc_client))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `namada_sdk::tendermint_rpc::client::Client` is not implemented for `tendermint_rpc::HttpClient`, which is required by `tendermint_rpc::HttpClient: namada_sdk::queries::Client`
|
= note: required for `tendermint_rpc::HttpClient` to implement `namada_sdk::queries::Client`
note: required by a bound in `namada_sdk::rpc::query_native_token`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/rpc.rs:140:36
|
140 | pub async fn query_native_token<C: crate::queries::Client + Sync>(
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `query_native_token`
Check failure on line 252 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the trait bound `tendermint_rpc::HttpClient: namada_sdk::queries::Client` is not satisfied
error[E0277]: the trait bound `tendermint_rpc::HttpClient: namada_sdk::queries::Client` is not satisfied
--> crates/relayer/src/chain/namada.rs:252:47
|
252 | .block_on(rpc::query_native_token(&rpc_client))
| ----------------------- ^^^^^^^^^^^ the trait `namada_sdk::tendermint_rpc::client::Client` is not implemented for `tendermint_rpc::HttpClient`, which is required by `tendermint_rpc::HttpClient: namada_sdk::queries::Client`
| |
| required by a bound introduced by this call
|
= note: required for `tendermint_rpc::HttpClient` to implement `namada_sdk::queries::Client`
note: required by a bound in `namada_sdk::rpc::query_native_token`
--> /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/rpc.rs:140:36
|
140 | pub async fn query_native_token<C: crate::queries::Client + Sync>(
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `query_native_token`
Check failure on line 279 in crates/relayer/src/chain/namada.rs
github-actions / clippy-no-default-features
the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
error[E0599]: the method `client` exists for struct `NamadaImpl<HttpClient, NullWalletUtils, FsShieldedUtils, NullIo>`, but its trait bounds were not satisfied
--> crates/relayer/src/chain/namada.rs:279:50
|
279 | .block_on(SdkClient::health(self.ctx.client()))
| ^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: /home/runner/.cargo/git/checkouts/namada-d9874c03bc334f5d/6dc1612/crates/sdk/src/lib.rs:631:1
|
631 | pub struct NamadaImpl<C, U, V, I>
| --------------------------------- doesn't satisfy `_: Namada`
|
::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tendermint-rpc-0.37.0/src/client/transport/http.rs:53:1
|
53 | pub struct HttpClient {
| --------------------- doesn't satisfy `_: Client`
|
= note: the full type name has been written to '/home/runner/work/hermes/hermes/target/debug/deps/ibc_relayer-2f20a9abde57e85c.long-type-2084738407343613965.txt'
= note: consider using `--verbose` to print the full type name to the console
= note: the following trait bounds were not satisfied:
`tendermint_rpc::HttpClient: namada_sdk::queries::Client`
which is required by `namada_sdk::NamadaImpl<tendermint_rpc::HttpClient, chain::namada::wallet::NullWalletUtils, namada_sdk::masp::fs::FsShieldedUtils, namada_sdk::io::NullIo>: namada_sdk::Namada`