[INFO] fetching crate jsonrpsee-http-client 0.9.0... [INFO] testing jsonrpsee-http-client-0.9.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate jsonrpsee-http-client 0.9.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.9.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.9.0 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.9.0 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.9.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 108c20f7822ac975de3a154f1cd00cbc7f3c1ac99da62f13b16b235c469a57ba [INFO] running `Command { std: "docker" "start" "-a" "108c20f7822ac975de3a154f1cd00cbc7f3c1ac99da62f13b16b235c469a57ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108c20f7822ac975de3a154f1cd00cbc7f3c1ac99da62f13b16b235c469a57ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108c20f7822ac975de3a154f1cd00cbc7f3c1ac99da62f13b16b235c469a57ba", kill_on_drop: false }` [INFO] [stdout] 108c20f7822ac975de3a154f1cd00cbc7f3c1ac99da62f13b16b235c469a57ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cc7bc649525f1197fe5822c7b2a94dd57823f3ef78869fd1ed43667ab53c102 [INFO] running `Command { std: "docker" "start" "-a" "4cc7bc649525f1197fe5822c7b2a94dd57823f3ef78869fd1ed43667ab53c102", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [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 http-body v0.4.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling jsonrpsee-types v0.9.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling jsonrpsee-core v0.9.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling jsonrpsee-http-client v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.50s [INFO] running `Command { std: "docker" "inspect" "4cc7bc649525f1197fe5822c7b2a94dd57823f3ef78869fd1ed43667ab53c102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc7bc649525f1197fe5822c7b2a94dd57823f3ef78869fd1ed43667ab53c102", kill_on_drop: false }` [INFO] [stdout] 4cc7bc649525f1197fe5822c7b2a94dd57823f3ef78869fd1ed43667ab53c102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a833f628cb4338f284febc897b421a85ebffc97ca1f643af4f92a4f8daa57f1 [INFO] running `Command { std: "docker" "start" "-a" "4a833f628cb4338f284febc897b421a85ebffc97ca1f643af4f92a4f8daa57f1", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling jsonrpsee-core v0.9.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling jsonrpsee-http-client v0.9.0 (/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] [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] [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] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | 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:39:69 [INFO] [stdout] | [INFO] [stdout] 39 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | http_server_with_hardcoded_response(ok_response(exp.into(), Id::Num(0))).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:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | http_server_with_hardcoded_response(ok_response(exp.into(), Id::Num(0))).with_default_timeout().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:51:63 [INFO] [stdout] | [INFO] [stdout] 51 | http_server_with_hardcoded_response(ok_response(exp.into(), Id::Num(0))).with_default_timeout().await.unwrap(); [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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let server_addr = http_server_with_hardcoded_response(ok_response(exp.into(), Id::Str("0".into()))) [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:56 [INFO] [stdout] | [INFO] [stdout] 63 | let server_addr = http_server_with_hardcoded_response(ok_response(exp.into(), Id::Str("0".into()))) [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:80 [INFO] [stdout] | [INFO] [stdout] 63 | let server_addr = http_server_with_hardcoded_response(ok_response(exp.into(), Id::Str("0".into()))) [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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | 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:88:66 [INFO] [stdout] | [INFO] [stdout] 88 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | 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:99:46 [INFO] [stdout] | [INFO] [stdout] 99 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | 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:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | 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:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | 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:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | 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:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 27 | use jsonrpsee_types::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:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | 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:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | 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_core::Error>> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | client.batch_request(batch).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin, jsonrpsee_core::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:171:36 [INFO] [stdout] | [INFO] [stdout] 171 | 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:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | .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:39 [INFO] [stdout] | [INFO] [stdout] 55 | client.request::("o", 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 struct `Pin> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:69:61 [INFO] [stdout] | [INFO] [stdout] 69 | let response: String = client.request::("o", None).with_default_timeout().await.unwrap().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 struct `Pin> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | .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:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | .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:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | 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:105:63 [INFO] [stdout] | [INFO] [stdout] 105 | 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:112:62 [INFO] [stdout] | [INFO] [stdout] 112 | 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:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | 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:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | 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:133:43 [INFO] [stdout] | [INFO] [stdout] 133 | 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, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:143:67 [INFO] [stdout] | [INFO] [stdout] 143 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, jsonrpsee_core::Error>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 140 | 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.79/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | 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] 145 | __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, jsonrpsee_core::Error>>` in the current scope [INFO] [stdout] --> src/tests.rs:153:67 [INFO] [stdout] | [INFO] [stdout] 153 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, jsonrpsee_core::Error>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:150:55 [INFO] [stdout] | [INFO] [stdout] 150 | 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.79/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | 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] 145 | __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 43 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 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4a833f628cb4338f284febc897b421a85ebffc97ca1f643af4f92a4f8daa57f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a833f628cb4338f284febc897b421a85ebffc97ca1f643af4f92a4f8daa57f1", kill_on_drop: false }` [INFO] [stdout] 4a833f628cb4338f284febc897b421a85ebffc97ca1f643af4f92a4f8daa57f1