[INFO] fetching crate jsonrpsee-http-server 0.15.1... [INFO] checking jsonrpsee-http-server-0.15.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate jsonrpsee-http-server 0.15.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate jsonrpsee-http-server 0.15.1 [INFO] finished tweaking crates.io crate jsonrpsee-http-server 0.15.1 [INFO] tweaked toml for crates.io crate jsonrpsee-http-server 0.15.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-http-server 0.15.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding jsonrpsee-core v0.15.1 (available: v0.26.0) [INFO] [stderr] Adding jsonrpsee-types v0.15.1 (available: v0.26.0) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00ed0caf1d33f1023f25a3c0ba061884991e718193107b86aeee5ef69ed13e5c [INFO] running `Command { std: "docker" "start" "-a" "00ed0caf1d33f1023f25a3c0ba061884991e718193107b86aeee5ef69ed13e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ed0caf1d33f1023f25a3c0ba061884991e718193107b86aeee5ef69ed13e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ed0caf1d33f1023f25a3c0ba061884991e718193107b86aeee5ef69ed13e5c", kill_on_drop: false }` [INFO] [stdout] 00ed0caf1d33f1023f25a3c0ba061884991e718193107b86aeee5ef69ed13e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6266ac1751a4e336e9bd7f988cb4fe9306a2f366081181e449247a6add1d7bdf [INFO] running `Command { std: "docker" "start" "-a" "6266ac1751a4e336e9bd7f988cb4fe9306a2f366081181e449247a6add1d7bdf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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] Checking pin-project v1.1.10 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking jsonrpsee-types v0.15.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking jsonrpsee-core v0.15.1 [INFO] [stderr] Checking jsonrpsee-http-server v0.15.1 (/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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use jsonrpsee_test_utils::mocks::{Id, StatusCode, TestContext}; [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:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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 `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] 102 + assert_eq!(response.body, response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 116 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] 116 + assert_eq!(response.body, response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(response.body, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 140 - assert_eq!(response.body, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 140 + assert_eq!(response.body, response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(response.body, ok_response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 - assert_eq!(response.body, ok_response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] 151 + assert_eq!(response.body, response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 - assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] 185 + assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 196 - assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] 196 + assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:369:28 [INFO] [stdout] | [INFO] [stdout] 369 | assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 369 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(1))); [INFO] [stdout] 369 + assert_eq!(response.body, response(JsonValue::String("lo".to_owned()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:455:28 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(response.body, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 455 - assert_eq!(response.body, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] 455 + assert_eq!(response.body, response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 + use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let response = http_request(req.into(), uri.clone()).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 opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(response.body, parse_error(Id::Null)); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(response.body, call_execution_failed("RPC context failed", Id::Num(1))); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let response = http_request(req.into(), uri).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 opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:224:33 [INFO] [stdout] | [INFO] [stdout] 224 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:238:33 [INFO] [stdout] | [INFO] [stdout] 238 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(response.body, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(response.body, invalid_request(Id::Num(123))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:268:28 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:294:28 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:298:28 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(response.body, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:306:28 [INFO] [stdout] | [INFO] [stdout] 306 | assert_eq!(response.body, parse_error(Id::Null)); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:311:33 [INFO] [stdout] | [INFO] [stdout] 311 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 315 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let response = http_request(req.into(), uri.clone()).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 opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | assert_eq!(response.body, method_not_found(Id::Str("foo".into()))); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:340:33 [INFO] [stdout] | [INFO] [stdout] 340 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(response.body, parse_error(Id::Null)); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:352:33 [INFO] [stdout] | [INFO] [stdout] 352 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:358:28 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(response.body, invalid_request(Id::Num(1))); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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 futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:411:40 [INFO] [stdout] | [INFO] [stdout] 411 | let (_addr, server_handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:420:40 [INFO] [stdout] | [INFO] [stdout] 420 | let (_addr, server_handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_timeout` found for struct `ServerHandle` in the current scope [INFO] [stdout] --> src/tests.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | server_handle.with_timeout(TIMEOUT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ServerHandle` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:357:1 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct ServerHandle { [INFO] [stdout] | ----------------------- method `with_timeout` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:431:44 [INFO] [stdout] | [INFO] [stdout] 431 | let (_addr, mut server_handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 449 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_request` in this scope [INFO] [stdout] --> src/tests.rs:450:28 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(response.body, oversized_request(100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:454:17 [INFO] [stdout] | [INFO] [stdout] 454 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:473:17 [INFO] [stdout] | [INFO] [stdout] 473 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_response` in this scope [INFO] [stdout] --> src/tests.rs:474:28 [INFO] [stdout] | [INFO] [stdout] 474 | assert_eq!(response.body, oversized_response(Id::Num(1), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:493:28 [INFO] [stdout] | [INFO] [stdout] 493 | assert_eq!(response.body, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `batches_not_supported` in this scope [INFO] [stdout] --> src/tests.rs:515:28 [INFO] [stdout] | [INFO] [stdout] 515 | assert_eq!(response.body, batches_not_supported()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-server` (lib test) due to 112 previous errors [INFO] running `Command { std: "docker" "inspect" "6266ac1751a4e336e9bd7f988cb4fe9306a2f366081181e449247a6add1d7bdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6266ac1751a4e336e9bd7f988cb4fe9306a2f366081181e449247a6add1d7bdf", kill_on_drop: false }` [INFO] [stdout] 6266ac1751a4e336e9bd7f988cb4fe9306a2f366081181e449247a6add1d7bdf