[INFO] fetching crate jsonrpsee-http-client 0.24.10... [INFO] testing jsonrpsee-http-client-0.24.10 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate jsonrpsee-http-client 0.24.10 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.24.10 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.24.10 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.24.10 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.24.10 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpsee-http-client 0.24.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9602fb6d8bd41b91991ac192b4fdf8ec783aac9fe4f9875d6affd14267fe38d8 [INFO] running `Command { std: "docker" "start" "-a" "9602fb6d8bd41b91991ac192b4fdf8ec783aac9fe4f9875d6affd14267fe38d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9602fb6d8bd41b91991ac192b4fdf8ec783aac9fe4f9875d6affd14267fe38d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9602fb6d8bd41b91991ac192b4fdf8ec783aac9fe4f9875d6affd14267fe38d8", kill_on_drop: false }` [INFO] [stdout] 9602fb6d8bd41b91991ac192b4fdf8ec783aac9fe4f9875d6affd14267fe38d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f86c44728f0f697700481cf7202dce8a429d3427aebf34dbb9a8c195c68ce1c [INFO] running `Command { std: "docker" "start" "-a" "0f86c44728f0f697700481cf7202dce8a429d3427aebf34dbb9a8c195c68ce1c", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling jsonrpsee-types v0.24.10 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling jsonrpsee-core v0.24.10 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling jsonrpsee-http-client v0.24.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.21s [INFO] running `Command { std: "docker" "inspect" "0f86c44728f0f697700481cf7202dce8a429d3427aebf34dbb9a8c195c68ce1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f86c44728f0f697700481cf7202dce8a429d3427aebf34dbb9a8c195c68ce1c", kill_on_drop: false }` [INFO] [stdout] 0f86c44728f0f697700481cf7202dce8a429d3427aebf34dbb9a8c195c68ce1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e318d5d157477a6715f5ced766c19cc9da69eb1be2882a7254a3e27c7c029d96 [INFO] running `Command { std: "docker" "start" "-a" "e318d5d157477a6715f5ced766c19cc9da69eb1be2882a7254a3e27c7c029d96", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.23.33 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling jsonrpsee-core v0.24.10 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling jsonrpsee-http-client v0.24.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonrpsee_test_utils`, use `cargo add jsonrpsee_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let server_addr = http_server_with_hardcoded_response(response).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for struct `Pin, ClientError>> + Send>>` in the current scope [INFO] [stdout] --> src/tests.rs:267:30 [INFO] [stdout] | [INFO] [stdout] 267 | client.batch_request(batch).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin, ClientError>> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:267:2 [INFO] [stdout] | [INFO] [stdout] 267 | client.batch_request(batch).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | let server_addr = http_server_with_hardcoded_response(response).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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:274:45 [INFO] [stdout] | [INFO] [stdout] 274 | client.request("say_hello", rpc_params![]).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:274:2 [INFO] [stdout] | [INFO] [stdout] 274 | client.request("say_hello", rpc_params![]).with_default_timeout().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 46 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [INFO] [stdout] | __________________- [INFO] [stdout] 47 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [INFO] [stdout] | __________________^ [INFO] [stdout] 47 | | .with_default_timeout() [INFO] [stdout] 48 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | 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 `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | http_server_with_hardcoded_response(ok_response(exp.into(), Id::Num(0))).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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:61:76 [INFO] [stdout] | [INFO] [stdout] 61 | let res: Result = client.request("o", rpc_params![]).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | let res: Result = client.request("o", rpc_params![]).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | 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 `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let server_addr = http_server_with_hardcoded_response(ok_response(exp.into(), Id::Str("0".into()))) [INFO] [stdout] | _______________________^ [INFO] [stdout] 69 | | .with_default_timeout() [INFO] [stdout] 70 | | .await [INFO] [stdout] | |______________^ cannot infer type [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:74:60 [INFO] [stdout] | [INFO] [stdout] 74 | let response: String = client.request("o", rpc_params![]).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let response: String = client.request("o", rpc_params![]).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | let server_addr = http_server_with_hardcoded_response(String::new()).with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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:85:4 [INFO] [stdout] | [INFO] [stdout] 83 | / client [INFO] [stdout] 84 | | .notification("i_dont_care_about_the_response_because_the_server_should_not_respond", rpc_params![]) [INFO] [stdout] 85 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `Pin> + Send>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:83:2 [INFO] [stdout] | [INFO] [stdout] 83 | / client [INFO] [stdout] 84 | | .notification("i_dont_care_about_the_response_because_the_server_should_not_respond", rpc_params![]) [INFO] [stdout] 85 | | .with_default_timeout() [INFO] [stdout] 86 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 93 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [INFO] [stdout] | _______________- [INFO] [stdout] 94 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [INFO] [stdout] | _______________^ [INFO] [stdout] 94 | | .with_default_timeout() [INFO] [stdout] 95 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 110 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:110:63 [INFO] [stdout] | [INFO] [stdout] 110 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:117:62 [INFO] [stdout] | [INFO] [stdout] 117 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 124 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:124:61 [INFO] [stdout] | [INFO] [stdout] 124 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | 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[E0599]: no method named `with_default_timeout` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/tests.rs:131:61 [INFO] [stdout] | [INFO] [stdout] 131 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | let err = run_request_with_response(req).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future, ClientError>>` in the current scope [INFO] [stdout] --> src/tests.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 149 | let batch_response = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | __________________________- [INFO] [stdout] 150 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, ClientError>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | let batch_response = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | __________________________^ [INFO] [stdout] 150 | | .with_default_timeout() [INFO] [stdout] 151 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future, ClientError>>` in the current scope [INFO] [stdout] --> src/tests.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 166 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________- [INFO] [stdout] 167 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, ClientError>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________^ [INFO] [stdout] 167 | | .with_default_timeout() [INFO] [stdout] 168 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:175:56 [INFO] [stdout] | [INFO] [stdout] 175 | let successful_calls: Vec<_> = res.iter().filter_map(|r| r.as_ref().ok()).collect(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let successful_calls: Vec<_> = res.iter().filter_map(|r: /* Type */| r.as_ref().ok()).collect(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future, ClientError>>` in the current scope [INFO] [stdout] --> src/tests.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 195 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________- [INFO] [stdout] 196 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, ClientError>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________^ [INFO] [stdout] 196 | | .with_default_timeout() [INFO] [stdout] 197 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future, ClientError>>` in the current scope [INFO] [stdout] --> src/tests.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 226 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________- [INFO] [stdout] 227 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, ClientError>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/jsonrpsee_http_client-60e1093b54ac2b1e.long-type-12278369845959674846.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________^ [INFO] [stdout] 227 | | .with_default_timeout() [INFO] [stdout] 228 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl Future, ClientError>>` in the current scope [INFO] [stdout] --> src/tests.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 247 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________- [INFO] [stdout] 248 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl Future, ClientError>>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | let res = run_batch_request_with_response::(batch_request, server_response) [INFO] [stdout] | _______________^ [INFO] [stdout] 248 | | .with_default_timeout() [INFO] [stdout] 249 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-client` (lib test) due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "e318d5d157477a6715f5ced766c19cc9da69eb1be2882a7254a3e27c7c029d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e318d5d157477a6715f5ced766c19cc9da69eb1be2882a7254a3e27c7c029d96", kill_on_drop: false }` [INFO] [stdout] e318d5d157477a6715f5ced766c19cc9da69eb1be2882a7254a3e27c7c029d96