Skip to content

Merge branch 'dev' into fix/error-integration

34c9aeb
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Integrate JSON-RPC method errors #644

Merge branch 'dev' into fix/error-integration
34c9aeb
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Nov 11, 2025 in 1s

clippy

26 errors

Details

Results

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

Versions

  • rustc 1.90.0 (1159e78c4 2025-09-14)
  • cargo 1.90.0 (840b83a10 2025-07-30)
  • clippy 0.1.90 (1159e78c47 2025-09-14)

Annotations

Check failure on line 140 in zaino-fetch/src/jsonrpsee/response/address_deltas.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `value`

error: unused variable: `value`
   --> zaino-fetch/src/jsonrpsee/response/address_deltas.rs:140:13
    |
140 |     fn from(value: RpcError) -> Self {
    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`

Check failure on line 140 in zaino-fetch/src/jsonrpsee/response/address_deltas.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `value`

error: unused variable: `value`
   --> zaino-fetch/src/jsonrpsee/response/address_deltas.rs:140:13
    |
140 |     fn from(value: RpcError) -> Self {
    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`

Check failure on line 837 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:837:13
    |
837 |         let params = vec![serde_json::json!({ "addresses": addresses })];
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 814 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:814:13
    |
814 |         let params = serde_json::json!({
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 781 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:781:13
    |
781 |         let params = match verbose {
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 751 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:751:13
    |
751 |         let params = match limit {
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 729 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:729:13
    |
729 |         let params = vec![serde_json::to_value(hash_or_height).map_err(RpcRequestError::JsonRpc)?];
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
    |
    = note: `-D unused-variables` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_variables)]`

Check failure on line 713 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::TxidsError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::TxidsError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:713:14
    |
713 |         self.send_request("getrawmempool", ()).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::TxidsError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::TxidsError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 637 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `BlockDeltasError: From<RpcError>` is not satisfied

error[E0277]: the trait bound `BlockDeltasError: From<RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:637:14
    |
637 |         self.send_request("getblockdeltas", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::block_deltas::BlockDeltasError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::block_deltas::BlockDeltasError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`
    = note: the full name for the type has been written to '/home/container_user/target/debug/deps/zaino_fetch-eeec80cdc8955060.long-type-11358488062063043664.txt'
    = note: consider using `--verbose` to print the full type name to the console

Check failure on line 621 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:621:18
    |
621 |             self.send_request("getblock", params)
    |                  ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBlockError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBlockError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 617 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:617:18
    |
617 |             self.send_request("getblock", params)
    |                  ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBlockError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBlockError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 590 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::SendTransactionError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::SendTransactionError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:590:14
    |
590 |         self.send_request("sendrawtransaction", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::SendTransactionError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::SendTransactionError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 572 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBalanceError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBalanceError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:572:14
    |
572 |         self.send_request("getaddressbalance", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBalanceError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBalanceError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 837 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:837:13
    |
837 |         let params = vec![serde_json::json!({ "addresses": addresses })];
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 814 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:814:13
    |
814 |         let params = serde_json::json!({
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 781 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:781:13
    |
781 |         let params = match verbose {
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 751 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:751:13
    |
751 |         let params = match limit {
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`

Check failure on line 729 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `params`

error: unused variable: `params`
   --> zaino-fetch/src/jsonrpsee/connector.rs:729:13
    |
729 |         let params = vec![serde_json::to_value(hash_or_height).map_err(RpcRequestError::JsonRpc)?];
    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
    |
    = note: `-D unused-variables` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_variables)]`

Check failure on line 713 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::TxidsError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::TxidsError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:713:14
    |
713 |         self.send_request("getrawmempool", ()).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::TxidsError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::TxidsError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 637 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `BlockDeltasError: From<RpcError>` is not satisfied

error[E0277]: the trait bound `BlockDeltasError: From<RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:637:14
    |
637 |         self.send_request("getblockdeltas", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::block_deltas::BlockDeltasError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::block_deltas::BlockDeltasError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`
    = note: the full name for the type has been written to '/home/container_user/target/debug/deps/zaino_fetch-7da40e28517cdb2e.long-type-2984691935354431037.txt'
    = note: consider using `--verbose` to print the full type name to the console

Check failure on line 621 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:621:18
    |
621 |             self.send_request("getblock", params)
    |                  ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBlockError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBlockError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 617 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBlockError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:617:18
    |
617 |             self.send_request("getblock", params)
    |                  ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBlockError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBlockError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 590 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::SendTransactionError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::SendTransactionError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:590:14
    |
590 |         self.send_request("sendrawtransaction", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::SendTransactionError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::SendTransactionError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 572 in zaino-fetch/src/jsonrpsee/connector.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `jsonrpsee::response::GetBalanceError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied

error[E0277]: the trait bound `jsonrpsee::response::GetBalanceError: std::convert::From<jsonrpsee::connector::RpcError>` is not satisfied
   --> zaino-fetch/src/jsonrpsee/connector.rs:572:14
    |
572 |         self.send_request("getaddressbalance", params).await
    |              ^^^^^^^^^^^^ the trait `std::convert::From<jsonrpsee::connector::RpcError>` is not implemented for `jsonrpsee::response::GetBalanceError`
    |
    = help: the following other types implement trait `jsonrpsee::connector::map_err::MapRpcError<MethodError>`:
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<MethodError>`
              `jsonrpsee::connector::map_err::Mapper` implements `jsonrpsee::connector::map_err::MapRpcError<std::convert::Infallible>`
note: required for `jsonrpsee::connector::map_err::Mapper` to implement `jsonrpsee::connector::map_err::MapRpcError<jsonrpsee::response::GetBalanceError>`
   --> zaino-fetch/src/jsonrpsee/connector.rs:148:23
    |
148 |     impl<MethodError> MapRpcError<MethodError> for Mapper
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^     ^^^^^^
149 |     where
150 |         MethodError: From<RpcError> + std::error::Error + Send + Sync + 'static,
    |                      -------------- unsatisfied trait bound introduced here
note: required by a bound in `jsonrpsee::connector::JsonRpSeeConnector::send_request`
   --> zaino-fetch/src/jsonrpsee/connector.rs:347:26
    |
338 |     async fn send_request<T, R, MethodError>(
    |              ------------ required by a bound in this associated function
...
347 |         map_err::Mapper: map_err::MapRpcError<MethodError>,
    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsonRpSeeConnector::send_request`

Check failure on line 5 in zaino-fetch/src/jsonrpsee/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `crate::jsonrpsee::connector::RpcError`

error: unused import: `crate::jsonrpsee::connector::RpcError`
 --> zaino-fetch/src/jsonrpsee/error.rs:5:5
  |
5 | use crate::jsonrpsee::connector::RpcError;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`