Skip to content

feature(rpc): Migrate from deprecated jsonrpc_* crates to jsonrpsee #17503

feature(rpc): Migrate from deprecated jsonrpc_* crates to jsonrpsee

feature(rpc): Migrate from deprecated jsonrpc_* crates to jsonrpsee #17503

Triggered via pull request December 20, 2024 23:57
@oxarbitrageoxarbitrage
synchronize #9059
Status Success
Total duration 17s
Artifacts

release-drafter.yml

on: pull_request_target
update_release_draft
4s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
unused import: `TryFutureExt`: zebra-rpc/src/server/http_request_compatibility.rs#L9
error: unused import: `TryFutureExt` --> zebra-rpc/src/server/http_request_compatibility.rs:9:34 | 9 | use futures::{future, FutureExt, TryFutureExt}; | ^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
no method named `clone` found for type parameter `S` in the current scope: zebra-rpc/src/server/http_request_compatibility.rs#L205
error[E0599]: no method named `clone` found for type parameter `S` in the current scope --> zebra-rpc/src/server/http_request_compatibility.rs:205:40 | 176 | impl<S> Service<HttpRequest<HttpBody>> for HttpRequestMiddleware<S> | - method `clone` not found for this type parameter ... 205 | let mut service = self.service.clone(); | ^^^^^ method not found in `S` | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following trait defines an item `clone`, perhaps you need to restrict type parameter `S` with it: | 178 | S: Service<HttpRequest, Response = HttpResponse> + std::clone::Clone, | +++++++++++++++++++
unused import: `TryFutureExt`: zebra-rpc/src/server/http_request_compatibility.rs#L9
error: unused import: `TryFutureExt` --> zebra-rpc/src/server/http_request_compatibility.rs:9:34 | 9 | use futures::{future, FutureExt, TryFutureExt}; | ^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
no method named `clone` found for type parameter `S` in the current scope: zebra-rpc/src/server/http_request_compatibility.rs#L205
error[E0599]: no method named `clone` found for type parameter `S` in the current scope --> zebra-rpc/src/server/http_request_compatibility.rs:205:40 | 176 | impl<S> Service<HttpRequest<HttpBody>> for HttpRequestMiddleware<S> | - method `clone` not found for this type parameter ... 205 | let mut service = self.service.clone(); | ^^^^^ method not found in `S` | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following trait defines an item `clone`, perhaps you need to restrict type parameter `S` with it: | 178 | S: Service<HttpRequest, Response = HttpResponse> + std::clone::Clone, | +++++++++++++++++++
unused import: `TryFutureExt`: zebra-rpc/src/server/http_request_compatibility.rs#L9
error: unused import: `TryFutureExt` --> zebra-rpc/src/server/http_request_compatibility.rs:9:34 | 9 | use futures::{future, FutureExt, TryFutureExt}; | ^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
no method named `clone` found for type parameter `S` in the current scope: zebra-rpc/src/server/http_request_compatibility.rs#L205
error[E0599]: no method named `clone` found for type parameter `S` in the current scope --> zebra-rpc/src/server/http_request_compatibility.rs:205:40 | 176 | impl<S> Service<HttpRequest<HttpBody>> for HttpRequestMiddleware<S> | - method `clone` not found for this type parameter ... 205 | let mut service = self.service.clone(); | ^^^^^ method not found in `S` | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following trait defines an item `clone`, perhaps you need to restrict type parameter `S` with it: | 178 | S: Service<HttpRequest, Response = HttpResponse> + std::clone::Clone, | +++++++++++++++++++
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636