error[E0277]: the trait bound `::Hash: Serialize` is not satisfied --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 | 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `::Hash`, which is required by `Result<::Hash, ErrorObject<'_>>: IntoResponse` | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `::Hash` type = note: for types from other crates check whether the crate offers a `serde` feature flag = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `::Hash: Clone` is not satisfied --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 | 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `::Hash`, which is required by `Result<::Hash, ErrorObject<'_>>: IntoResponse` | = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider removing this method call, as the receiver has type `&Self` and `&Self: Clone` trivially holds | 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] | error[E0277]: the trait bound `::Hash: DeserializeOwned` is not satisfied --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 | 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `::Hash`, which is required by `::Hash: DeserializeOwned` | = note: required for `::Hash` to implement `DeserializeOwned` note: required by a bound in `request` --> $WORKSPACE/core/src/client/mod.rs | | async fn request(&self, method: &str, params: Params) -> Result | ------- required by a bound in this associated function | where | R: DeserializeOwned, | ^^^^^^^^^^^^^^^^ required by this bound in `ClientT::request` = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info)