[INFO] fetching crate jsonrpsee-server 0.24.10... [INFO] testing jsonrpsee-server-0.24.10 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jsonrpsee-server 0.24.10 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate jsonrpsee-server 0.24.10 [INFO] finished tweaking crates.io crate jsonrpsee-server 0.24.10 [INFO] tweaked toml for crates.io crate jsonrpsee-server 0.24.10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-server 0.24.10 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpsee-server 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 866c6b2e2dfbd12c7f1243f66b11e56826e35475724c8d309a853339d3c436e1 [INFO] running `Command { std: "docker" "start" "-a" "866c6b2e2dfbd12c7f1243f66b11e56826e35475724c8d309a853339d3c436e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866c6b2e2dfbd12c7f1243f66b11e56826e35475724c8d309a853339d3c436e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866c6b2e2dfbd12c7f1243f66b11e56826e35475724c8d309a853339d3c436e1", kill_on_drop: false }` [INFO] [stdout] 866c6b2e2dfbd12c7f1243f66b11e56826e35475724c8d309a853339d3c436e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da13a8701a39e4ef282c07d0badae709587ae555370d9547919e864aac5126b9 [INFO] running `Command { std: "docker" "start" "-a" "da13a8701a39e4ef282c07d0badae709587ae555370d9547919e864aac5126b9", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling jsonrpsee-types v0.24.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling jsonrpsee-core v0.24.10 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling jsonrpsee-server v0.24.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/server.rs:980:95 [INFO] [stdout] | [INFO] [stdout] 980 | ...se = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - Send + Service, Response = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] 980 + Send + Service, Response = HttpResponse, Error = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | data: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 149 | extensions: http::Extensions, [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result, serde_json::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | data: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 159 | extensions: http::Extensions, [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, serde_json::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.02s [INFO] running `Command { std: "docker" "inspect" "da13a8701a39e4ef282c07d0badae709587ae555370d9547919e864aac5126b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da13a8701a39e4ef282c07d0badae709587ae555370d9547919e864aac5126b9", kill_on_drop: false }` [INFO] [stdout] da13a8701a39e4ef282c07d0badae709587ae555370d9547919e864aac5126b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7799b208fb7081a2769b05236c5260ee654069131d93b1d3277c57708bc4e34 [INFO] running `Command { std: "docker" "start" "-a" "f7799b208fb7081a2769b05236c5260ee654069131d93b1d3277c57708bc4e34", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling jsonrpsee-core v0.24.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling jsonrpsee-server v0.24.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/server.rs:980:95 [INFO] [stdout] | [INFO] [stdout] 980 | ...se = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - Send + Service, Response = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] 980 + Send + Service, Response = HttpResponse, Error = Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | data: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 149 | extensions: http::Extensions, [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result, serde_json::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | data: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 159 | extensions: http::Extensions, [INFO] [stdout] 160 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 160 | ) -> Result, serde_json::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/http.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/shared.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_test_utils::helpers::{http_request, ok_response, to_http_uri}; [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]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/shared.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use jsonrpsee_test_utils::mocks::{Id, WebSocketTestClient, WebSocketTestError}; [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/helpers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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[E0433]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/ws.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/http.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use jsonrpsee_test_utils::mocks::{Id, StatusCode}; [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/shared.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0433]: cannot find module or crate `jsonrpsee_test_utils` in this scope [INFO] [stdout] --> src/tests/ws.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use jsonrpsee_test_utils::mocks::{Id, WebSocketTestClient, WebSocketTestError}; [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/http.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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[E0432]: unresolved import `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests/ws.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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/http.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 101 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] 101 + 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] 27 + use crate::http::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/http.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 115 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] 115 + 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] 27 + use crate::http::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/http.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | 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] 139 - assert_eq!(response.body, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 139 + 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] 27 + use crate::http::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/http.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | 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] 150 - assert_eq!(response.body, ok_response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] 150 + 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] 27 + use crate::http::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/http.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | 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] 184 - assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] 184 + assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/http.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | 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] 195 - assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] 195 + assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/http.rs:415:28 [INFO] [stdout] | [INFO] [stdout] 415 | 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] 415 - assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(1))); [INFO] [stdout] 415 + 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] 27 + use crate::http::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/http.rs:473:28 [INFO] [stdout] | [INFO] [stdout] 473 | 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] 473 - assert_eq!(response.body, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] 473 + 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] 27 + use crate::http::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/http.rs:577:28 [INFO] [stdout] | [INFO] [stdout] 577 | 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] 577 - assert_eq!(response.body, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 577 + 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] 27 + use crate::http::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/ws.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(response, 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] 66 - assert_eq!(response, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] 66 + assert_eq!(response, response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 164 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] 164 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 178 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] 178 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(response, ok_response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 190 - assert_eq!(response, ok_response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [INFO] [stdout] 190 + assert_eq!(response, response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(response, ok_response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 277 - assert_eq!(response, ok_response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] 277 + assert_eq!(response, response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(response, ok_response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 286 - assert_eq!(response, ok_response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] 286 + assert_eq!(response, response(JsonValue::Number(3u32.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | assert_eq!(response, 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] 301 - assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 301 + assert_eq!(response, response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | assert_eq!(response, 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] 332 - assert_eq!(response, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] 332 + assert_eq!(response, response("ok".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(response, 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] 342 - assert_eq!(response, ok_response("ok!".into(), Id::Num(1))); [INFO] [stdout] 342 + assert_eq!(response, response("ok!".into(), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(response, 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] 352 - assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 352 + assert_eq!(response, response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:372:23 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(response, 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] 372 - assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] 372 + assert_eq!(response, response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 414 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(1))); [INFO] [stdout] 414 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(1))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:460:24 [INFO] [stdout] | [INFO] [stdout] 460 | assert_eq!(response2, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:473:23 [INFO] [stdout] | [INFO] [stdout] 473 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 473 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] 473 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:484:23 [INFO] [stdout] | [INFO] [stdout] 484 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 484 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] 484 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::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/ws.rs:494:23 [INFO] [stdout] | [INFO] [stdout] 494 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(333))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 494 - assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(333))); [INFO] [stdout] 494 + assert_eq!(response, response(JsonValue::String("hello".to_owned()), Id::Num(333))); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 27 + use crate::http::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/server.rs:980:95 [INFO] [stdout] | [INFO] [stdout] 980 | ...se = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - Send + Service, Response = HttpResponse, Error = Box<(dyn StdError + Send + Sync + 'static)>>, [INFO] [stdout] 980 + Send + Service, Response = HttpResponse, Error = Box>, [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/helpers.rs:39:61 [INFO] [stdout] | [INFO] [stdout] 39 | let server = ServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().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/helpers.rs:133:61 [INFO] [stdout] | [INFO] [stdout] 133 | let server = ServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().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/ws.rs:915:4 [INFO] [stdout] | [INFO] [stdout] 911 | let server = ServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 912 | | // Make sure that the ping_interval doesn't force the connection to be closed [INFO] [stdout] 913 | | .enable_ws_ping(crate::PingConfig::new().max_failures(usize::MAX).ping_interval(timeout)) [INFO] [stdout] 914 | | .build("127.0.0.1:0") [INFO] [stdout] 915 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] | |_________| [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/http.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | 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/http.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | 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/http.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | 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/http.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | 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/http.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | 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/http.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | 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/http.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | 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/http.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | 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/http.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | 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/http.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | 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/http.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | 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/http.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | 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/http.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 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/http.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | 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/http.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | 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/http.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | 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/http.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | 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/http.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | 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/http.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | 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/http.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | 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/http.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | 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/http.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | 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/http.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(response.body, call_execution_failed("MyAppError", 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/http.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | 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/http.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | 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/http.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | 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/http.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | 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/http.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | 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/http.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | 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/http.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | 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/http.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | 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/http.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | 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/http.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | 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/http.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | 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/http.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | 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/http.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | 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/http.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | 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/http.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | 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/http.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 244 | 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/http.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | 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_batch` in this scope [INFO] [stdout] --> src/tests/http.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(response.body, invalid_batch(vec![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/http.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | 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_batch` in this scope [INFO] [stdout] --> src/tests/http.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(response.body, invalid_batch(vec![Id::Null, Id::Null, 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/http.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | 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/http.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 265 | 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/http.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | 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/http.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | 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/http.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | 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/http.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | 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/http.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | 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/http.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | 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/http.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | 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/http.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | 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/http.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 311 | 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/http.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | 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/http.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | 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/http.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | 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/http.rs:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | 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/http.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | 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/http.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | 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/http.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | 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/http.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | 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/http.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | 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/http.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | 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/http.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | 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/http.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | 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/http.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | 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/http.rs:339:28 [INFO] [stdout] | [INFO] [stdout] 339 | 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/http.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | 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/http.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | 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/http.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | 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/http.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | 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/http.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | 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/http.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | 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/http.rs:370:28 [INFO] [stdout] | [INFO] [stdout] 370 | 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/http.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | 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/http.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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/http.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | 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/http.rs:381:28 [INFO] [stdout] | [INFO] [stdout] 381 | 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/http.rs:386:33 [INFO] [stdout] | [INFO] [stdout] 386 | 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/http.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | 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/http.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | 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/http.rs:393:28 [INFO] [stdout] | [INFO] [stdout] 393 | 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/http.rs:398:33 [INFO] [stdout] | [INFO] [stdout] 398 | 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/http.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | 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/http.rs:402:17 [INFO] [stdout] | [INFO] [stdout] 402 | 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/http.rs:404:28 [INFO] [stdout] | [INFO] [stdout] 404 | 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/http.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 409 | 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/http.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | 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/http.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | 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/http.rs:420:33 [INFO] [stdout] | [INFO] [stdout] 420 | 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/http.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | 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/http.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests/http.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | 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/http.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | 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/http.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | 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/http.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | 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/http.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/http.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 `oversized_response` in this scope [INFO] [stdout] --> src/tests/http.rs:493:28 [INFO] [stdout] | [INFO] [stdout] 493 | 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/http.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | 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/http.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | 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 `batch_response_too_large` in this scope [INFO] [stdout] --> src/tests/http.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(response.body, batch_response_too_large(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/http.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | 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/http.rs:536:17 [INFO] [stdout] | [INFO] [stdout] 536 | 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/http.rs:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | assert_eq!(response.body, batches_not_supported()); [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/http.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | 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/http.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | 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_too_large` in this scope [INFO] [stdout] --> src/tests/http.rs:561:28 [INFO] [stdout] | [INFO] [stdout] 561 | assert_eq!(response.body, batches_too_large(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/http.rs:571:33 [INFO] [stdout] | [INFO] [stdout] 571 | 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/http.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http2_request` in this scope [INFO] [stdout] --> src/tests/http.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | let response = http2_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/shared.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | let (_addr, server_handle) = server_with_handles().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/shared.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | let (_addr, server_handle) = server_with_handles().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/shared.rs:33:53 [INFO] [stdout] | [INFO] [stdout] 33 | let (_addr, server_handle) = server_with_handles().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/shared.rs:46:61 [INFO] [stdout] | [INFO] [stdout] 46 | ServerBuilder::default().http_only().build("127.0.0.1:0").with_default_timeout().await.unwrap().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/shared.rs:71:71 [INFO] [stdout] | [INFO] [stdout] 71 | let server = ServerBuilder::default().ws_only().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_request` in this scope [INFO] [stdout] --> src/tests/ws.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(response, oversized_request(100)); [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/ws.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(response, oversized_response(Id::Num(1), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `batch_response_too_large` in this scope [INFO] [stdout] --> src/tests/ws.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(response, batch_response_too_large(100)); [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/ws.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(response, invalid_request(Id::Null)); [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/ws.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(response, call_execution_failed("MyAppError", Id::Num(1))); [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/ws.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(response, call_execution_failed("MyAppError", Id::Num(1))); [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/ws.rs:382:23 [INFO] [stdout] | [INFO] [stdout] 382 | assert_eq!(response, method_not_found(Id::Str("foo".into()))); [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/ws.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(response, parse_error(Id::Null)); [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/ws.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(response, invalid_request(Id::Num(1))); [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/ws.rs:457:24 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(response1, parse_error(Id::Null)); [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/ws.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(response, invalid_request(Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:526:17 [INFO] [stdout] | [INFO] [stdout] 526 | let sub_call = call("subscribe_hello", Vec::<()>::new(), Id::Num(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | let unsub_call = call("unsubscribe_hello", vec![sub_id], Id::Num(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:533:19 [INFO] [stdout] | [INFO] [stdout] 533 | let unsub_call = call("unsubscribe_hello", vec![sub_id], Id::Num(2)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:546:39 [INFO] [stdout] | [INFO] [stdout] 546 | deser_call(client.send_request_text(call("unsubscribe_hello", vec![13.99_f64], Id::Num(0))).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/ws.rs:565:4 [INFO] [stdout] | [INFO] [stdout] 562 | let server = ServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 563 | | .set_id_provider(HardcodedSubscriptionId) [INFO] [stdout] 564 | | .build("127.0.0.1:0") [INFO] [stdout] 565 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:588:37 [INFO] [stdout] | [INFO] [stdout] 588 | let sub = client.send_request_text(call("subscribe_hello", Vec::<()>::new(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> src/tests/ws.rs:590:39 [INFO] [stdout] | [INFO] [stdout] 590 | let unsub = client.send_request_text(call("unsubscribe_hello", vec!["0xdeadbeef"], Id::Num(1))).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/ws.rs:600:4 [INFO] [stdout] | [INFO] [stdout] 597 | let server = ServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 598 | | .set_batch_request_config(BatchRequestConfig::Disabled) [INFO] [stdout] 599 | | .build("127.0.0.1:0") [INFO] [stdout] 600 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `batches_not_supported` in this scope [INFO] [stdout] --> src/tests/ws.rs:618:23 [INFO] [stdout] | [INFO] [stdout] 618 | assert_eq!(response, batches_not_supported()); [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/ws.rs:630:4 [INFO] [stdout] | [INFO] [stdout] 627 | let server = ServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 628 | | .set_batch_request_config(BatchRequestConfig::Limit(1)) [INFO] [stdout] 629 | | .build("127.0.0.1:0") [INFO] [stdout] 630 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `batches_too_large` in this scope [INFO] [stdout] --> src/tests/ws.rs:648:23 [INFO] [stdout] | [INFO] [stdout] 648 | assert_eq!(response, batches_too_large(1)); [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/ws.rs:664:23 [INFO] [stdout] | [INFO] [stdout] 664 | assert_eq!(response, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_batch` in this scope [INFO] [stdout] --> src/tests/ws.rs:669:23 [INFO] [stdout] | [INFO] [stdout] 669 | assert_eq!(response, invalid_batch(vec![Id::Null])); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_batch` in this scope [INFO] [stdout] --> src/tests/ws.rs:674:23 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(response, invalid_batch(vec![Id::Null, Id::Null, Id::Null])); [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/ws.rs:682:23 [INFO] [stdout] | [INFO] [stdout] 682 | assert_eq!(response, 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/ws.rs:689:22 [INFO] [stdout] | [INFO] [stdout] 689 | let addr = 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/ws.rs:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | let addr = 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/ws.rs:728:4 [INFO] [stdout] | [INFO] [stdout] 725 | let server = ServerBuilder::default() [INFO] [stdout] | __________________- [INFO] [stdout] 726 | | .set_message_buffer_capacity(5) [INFO] [stdout] 727 | | .build("127.0.0.1:0") [INFO] [stdout] 728 | | .with_default_timeout() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests/ws.rs:852:27 [INFO] [stdout] | [INFO] [stdout] 852 | assert!(handle.stopped().with_timeout(MAX_TIMEOUT).await.is_ok()); [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 opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests/ws.rs:880:27 [INFO] [stdout] | [INFO] [stdout] 880 | assert!(handle.stopped().with_timeout(MAX_TIMEOUT).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl futures_util::Future` [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-server` (lib test) due to 194 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f7799b208fb7081a2769b05236c5260ee654069131d93b1d3277c57708bc4e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7799b208fb7081a2769b05236c5260ee654069131d93b1d3277c57708bc4e34", kill_on_drop: false }` [INFO] [stdout] f7799b208fb7081a2769b05236c5260ee654069131d93b1d3277c57708bc4e34