This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Release v0.2.1
#416
GitHub Actions / clippy
failed
Jan 23, 2024 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0-nightly (d5fd09972 2024-01-22)
- cargo 1.77.0-nightly (1ae631085 2024-01-17)
- clippy 0.1.77 (d5fd099 2024-01-22)
Annotations
Check failure on line 72 in src/hunter.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/hunter.rs:72:44
|
72 | let node = OnlineClient::from_rpc_client(client.clone()).await.unwrap();
| ----------------------------- ^^^^^^^^^^^^^^ expected `RpcClient`, found `Arc<WsClient>`
| |
| arguments to this function are incorrect
|
= note: expected struct `subxt::backend::rpc::RpcClient`
found struct `std::sync::Arc<jsonrpsee::jsonrpsee_ws_client::WsClient>`
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/subxt-0.33.0/src/client/online_client.rs:78:18
|
78 | pub async fn from_rpc_client(rpc_client: RpcClient) -> Result<OnlineClient<T>, Error> {
| ^^^^^^^^^^^^^^^
Check failure on line 72 in src/hunter.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/hunter.rs:72:44
|
72 | let node = OnlineClient::from_rpc_client(client.clone()).await.unwrap();
| ----------------------------- ^^^^^^^^^^^^^^ expected `RpcClient`, found `Arc<WsClient>`
| |
| arguments to this function are incorrect
|
= note: expected struct `subxt::backend::rpc::RpcClient`
found struct `std::sync::Arc<jsonrpsee::jsonrpsee_ws_client::WsClient>`
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/subxt-0.33.0/src/client/online_client.rs:78:18
|
78 | pub async fn from_rpc_client(rpc_client: RpcClient) -> Result<OnlineClient<T>, Error> {
| ^^^^^^^^^^^^^^^
Loading