[INFO] fetching crate jsonrpsee-http-client 0.2.0-alpha.6... [INFO] checking jsonrpsee-http-client-0.2.0-alpha.6 against try#7c3a44cf5f95fa5cf164a312bdcf845157af7093 for pr-77325 [INFO] extracting crate jsonrpsee-http-client 0.2.0-alpha.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 on toolchain 7c3a44cf5f95fa5cf164a312bdcf845157af7093 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.2.0-alpha.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74b4058ca5e5e33da54d9ee8c49d9adc5b8eb1aa23d09ad124678e527a35cd25 [INFO] running `Command { std: "docker" "start" "-a" "74b4058ca5e5e33da54d9ee8c49d9adc5b8eb1aa23d09ad124678e527a35cd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74b4058ca5e5e33da54d9ee8c49d9adc5b8eb1aa23d09ad124678e527a35cd25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b4058ca5e5e33da54d9ee8c49d9adc5b8eb1aa23d09ad124678e527a35cd25", kill_on_drop: false }` [INFO] [stdout] 74b4058ca5e5e33da54d9ee8c49d9adc5b8eb1aa23d09ad124678e527a35cd25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ac00cfe84e539a47043247127c89bcac4660dbe389937c786495902dfda5eb1 [INFO] running `Command { std: "docker" "start" "-a" "2ac00cfe84e539a47043247127c89bcac4660dbe389937c786495902dfda5eb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking jsonrpsee-types v0.2.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking jsonrpsee-utils v0.2.0 [INFO] [stderr] Checking jsonrpsee-http-client v0.2.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::v2::error::JsonRpcErrorAlloc` [INFO] [stdout] --> src/client.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | error::JsonRpcErrorAlloc, [INFO] [stdout] | ^^^^^^^----------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `JsonRpcError` [INFO] [stdout] | no `JsonRpcErrorAlloc` in `v2::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::v2::error::JsonRpcErrorAlloc` [INFO] [stdout] --> src/client.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | error::JsonRpcErrorAlloc, [INFO] [stdout] | ^^^^^^^----------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `JsonRpcError` [INFO] [stdout] | no `JsonRpcErrorAlloc` in `v2::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::v2::error::JsonRpcErrorObjectAlloc`, `jsonrpsee_test_utils::types::Id` [INFO] [stdout] --> src/tests.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | error::{JsonRpcErrorCode, JsonRpcErrorObjectAlloc}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `JsonRpcErrorObjectAlloc` in `v2::error` [INFO] [stdout] | help: a similar name exists in the module: `JsonRpcErrorObject` [INFO] [stdout] ... [INFO] [stdout] 7 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:11:69 [INFO] [stdout] | [INFO] [stdout] 11 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let server_addr = http_server_with_hardcoded_response(String::new()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:46:54 [INFO] [stdout] | [INFO] [stdout] 46 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let server_addr = http_server_with_hardcoded_response(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let server_addr = http_server_with_hardcoded_response(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Error::TransportError(Box::new(e))) [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | .transport [INFO] [stdout] 72 | | .send_and_read_body(serde_json::to_string(&request).map_err(Error::ParseError)?) [INFO] [stdout] 73 | | .await [INFO] [stdout] 74 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | let response_id = parse_request_id(response.id)?; [INFO] [stdout] | ^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | / { [INFO] [stdout] 66 | | // NOTE: `fetch_add` wraps on overflow which is intended. [INFO] [stdout] 67 | | let id = self.request_id.fetch_add(1, Ordering::SeqCst); [INFO] [stdout] 68 | | let request = JsonRpcCallSer::new(Id::Number(id), method, params); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 110 | | .transport [INFO] [stdout] 111 | | .send_and_read_body(serde_json::to_string(&batch_request).map_err(Error::ParseError)?) [INFO] [stdout] 112 | | .await [INFO] [stdout] 113 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .map_err(|e| Error::TransportError(Box::new(e))) [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 71 | | .transport [INFO] [stdout] 72 | | .send_and_read_body(serde_json::to_string(&request).map_err(Error::ParseError)?) [INFO] [stdout] 73 | | .await [INFO] [stdout] 74 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let response_id = parse_request_id(rp.id)?; [INFO] [stdout] | ^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | / { [INFO] [stdout] 97 | | let mut batch_request = Vec::with_capacity(batch.len()); [INFO] [stdout] 98 | | // NOTE(niklasad1): `ID` is not necessarily monotonically increasing. [INFO] [stdout] 99 | | let mut ordered_requests = Vec::with_capacity(batch.len()); [INFO] [stdout] ... | [INFO] [stdout] 133 | | Ok(responses) [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-client` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:84:38 [INFO] [stdout] | [INFO] [stdout] 84 | let response_id = parse_request_id(response.id)?; [INFO] [stdout] | ^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 65 | / { [INFO] [stdout] 66 | | // NOTE: `fetch_add` wraps on overflow which is intended. [INFO] [stdout] 67 | | let id = self.request_id.fetch_add(1, Ordering::SeqCst); [INFO] [stdout] 68 | | let request = JsonRpcCallSer::new(Id::Number(id), method, params); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no variant or associated item named `TransportError` found for enum `jsonrpsee_types::Error` in the current scope [INFO] [stdout] --> src/client.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `jsonrpsee_types::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let body = self [INFO] [stdout] | ____________________^ [INFO] [stdout] 110 | | .transport [INFO] [stdout] 111 | | .send_and_read_body(serde_json::to_string(&batch_request).map_err(Error::ParseError)?) [INFO] [stdout] 112 | | .await [INFO] [stdout] 113 | | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | |_____________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/client.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | .map_err(|e| Error::TransportError(Box::new(e)))?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let response_id = parse_request_id(rp.id)?; [INFO] [stdout] | ^^^^^ expected enum `std::option::Option`, found enum `Id` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&jsonrpsee_types::JsonRawValue>` [INFO] [stdout] found enum `Id<'_>` [INFO] [stdout] note: return type inferred to be `std::option::Option<&jsonrpsee_types::JsonRawValue>` here [INFO] [stdout] --> src/client.rs:96:2 [INFO] [stdout] | [INFO] [stdout] 96 | / { [INFO] [stdout] 97 | | let mut batch_request = Vec::with_capacity(batch.len()); [INFO] [stdout] 98 | | // NOTE(niklasad1): `ID` is not necessarily monotonically increasing. [INFO] [stdout] 99 | | let mut ordered_requests = Vec::with_capacity(batch.len()); [INFO] [stdout] ... | [INFO] [stdout] 133 | | Ok(responses) [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `error` on type `&std::string::String` [INFO] [stdout] --> src/tests.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | Error::Request(e) => assert_eq!(e.error, code), [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ac00cfe84e539a47043247127c89bcac4660dbe389937c786495902dfda5eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac00cfe84e539a47043247127c89bcac4660dbe389937c786495902dfda5eb1", kill_on_drop: false }` [INFO] [stdout] 2ac00cfe84e539a47043247127c89bcac4660dbe389937c786495902dfda5eb1