[INFO] fetching crate jsonrpsee-http-client 0.5.1... [INFO] testing jsonrpsee-http-client-0.5.1 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate jsonrpsee-http-client 0.5.1 into /workspace/builds/worker-115/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.5.1 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.5.1 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.5.1 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.5.1 written to /workspace/builds/worker-115/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0745d05e80d56e196b39886a28014bb32ff434f0bddfac196bb498265dd80648 [INFO] running `Command { std: "docker" "start" "-a" "0745d05e80d56e196b39886a28014bb32ff434f0bddfac196bb498265dd80648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0745d05e80d56e196b39886a28014bb32ff434f0bddfac196bb498265dd80648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0745d05e80d56e196b39886a28014bb32ff434f0bddfac196bb498265dd80648", kill_on_drop: false }` [INFO] [stdout] 0745d05e80d56e196b39886a28014bb32ff434f0bddfac196bb498265dd80648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a477516cdf67e634361700ac1c8a27d1d2c0fc1ee1616dd0d99b0c63e12ece71 [INFO] running `Command { std: "docker" "start" "-a" "a477516cdf67e634361700ac1c8a27d1d2c0fc1ee1616dd0d99b0c63e12ece71", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling jsonrpsee-types v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling jsonrpsee-utils v0.5.1 [INFO] [stderr] Compiling jsonrpsee-http-client v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.14s [INFO] running `Command { std: "docker" "inspect" "a477516cdf67e634361700ac1c8a27d1d2c0fc1ee1616dd0d99b0c63e12ece71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a477516cdf67e634361700ac1c8a27d1d2c0fc1ee1616dd0d99b0c63e12ece71", kill_on_drop: false }` [INFO] [stdout] a477516cdf67e634361700ac1c8a27d1d2c0fc1ee1616dd0d99b0c63e12ece71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fd9b392539dda37c10d5baa99b964d566395ad4514e413a64544c9164617c52 [INFO] running `Command { std: "docker" "start" "-a" "8fd9b392539dda37c10d5baa99b964d566395ad4514e413a64544c9164617c52", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling jsonrpsee-types v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling jsonrpsee-utils v0.5.1 [INFO] [stderr] Compiling jsonrpsee-http-client v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_utils::helpers::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use jsonrpsee_test_utils::mocks::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | use jsonrpsee_utils::mocks::Id; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpsee_test_utils::mocks::Id`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use jsonrpsee_test_utils::mocks::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 35 | use jsonrpsee_utils::TimeoutFutureExt; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [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:69 [INFO] [stdout] | [INFO] [stdout] 40 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::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:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let server_addr = http_server_with_hardcoded_response(String::new()).with_default_timeout().await.unwrap(); [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:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [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:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::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:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().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:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().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:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().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:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().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:94:44 [INFO] [stdout] | [INFO] [stdout] 94 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().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:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 | use crate::types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use tracing::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:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let server_addr = http_server_with_hardcoded_response(response).with_default_timeout().await.unwrap(); [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:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | let server_addr = http_server_with_hardcoded_response(response).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for struct `Pin, jsonrpsee_types::Error>> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | client.batch_request(batch).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin, jsonrpsee_types::Error>> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for struct `Pin> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | client.request("say_hello", None).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for struct `Pin> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:80:63 [INFO] [stdout] | [INFO] [stdout] 80 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:101:61 [INFO] [stdout] | [INFO] [stdout] 101 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | let err = run_request_with_response(req).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:118:67 [INFO] [stdout] | [INFO] [stdout] 118 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:115:54 [INFO] [stdout] | [INFO] [stdout] 115 | vec![("say_hello", rpc_params![]), ("say_goodbye", rpc_params![0_u64, 1, 2]), ("get_swag", None)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Serialize` found in the `serde` crate: [INFO] [stdout] - impl Serialize for i128; [INFO] [stdout] - impl Serialize for i16; [INFO] [stdout] - impl Serialize for i32; [INFO] [stdout] - impl Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `to_json_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.72/src/value/mod.rs:940:8 [INFO] [stdout] | [INFO] [stdout] 940 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_json_value` [INFO] [stdout] = note: this error originates in the macro `rpc_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 41 | __params.push($crate::client::__reexports::to_json_value::($param).expect("json serialization is infallible; qed.")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future` in the current scope [INFO] [stdout] --> src/tests.rs:128:67 [INFO] [stdout] | [INFO] [stdout] 128 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | vec![("say_hello", rpc_params! {}), ("say_goodbye", rpc_params![0_u64, 1, 2]), ("get_swag", None)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: Serialize` found in the `serde` crate: [INFO] [stdout] - impl Serialize for i128; [INFO] [stdout] - impl Serialize for i16; [INFO] [stdout] - impl Serialize for i32; [INFO] [stdout] - impl Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `to_json_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.72/src/value/mod.rs:940:8 [INFO] [stdout] | [INFO] [stdout] 940 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_json_value` [INFO] [stdout] = note: this error originates in the macro `rpc_params` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 41 | __params.push($crate::client::__reexports::to_json_value::($param).expect("json serialization is infallible; qed.")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-client` due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8fd9b392539dda37c10d5baa99b964d566395ad4514e413a64544c9164617c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd9b392539dda37c10d5baa99b964d566395ad4514e413a64544c9164617c52", kill_on_drop: false }` [INFO] [stdout] 8fd9b392539dda37c10d5baa99b964d566395ad4514e413a64544c9164617c52