[INFO] fetching crate jsonrpsee-server 0.24.10... [INFO] testing jsonrpsee-server-0.24.10 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate jsonrpsee-server 0.24.10 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-server 0.24.10 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpsee-types v0.24.10 [INFO] [stderr] Downloaded route-recognizer v0.3.1 [INFO] [stderr] Downloaded soketto v0.8.1 [INFO] [stderr] Downloaded jsonrpsee-core v0.24.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4bee020332cff1486c39a834ac204b9d50d54a251cdcbcb57c682eda8a133e [INFO] running `Command { std: "docker" "start" "-a" "5a4bee020332cff1486c39a834ac204b9d50d54a251cdcbcb57c682eda8a133e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4bee020332cff1486c39a834ac204b9d50d54a251cdcbcb57c682eda8a133e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4bee020332cff1486c39a834ac204b9d50d54a251cdcbcb57c682eda8a133e", kill_on_drop: false }` [INFO] [stdout] 5a4bee020332cff1486c39a834ac204b9d50d54a251cdcbcb57c682eda8a133e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588527229a0c184913cc562e4c0d4bf9931ee3148118c499571a5475b6563155 [INFO] running `Command { std: "docker" "start" "-a" "588527229a0c184913cc562e4c0d4bf9931ee3148118c499571a5475b6563155", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 serde v1.0.228 [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 27.33s [INFO] running `Command { std: "docker" "inspect" "588527229a0c184913cc562e4c0d4bf9931ee3148118c499571a5475b6563155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588527229a0c184913cc562e4c0d4bf9931ee3148118c499571a5475b6563155", kill_on_drop: false }` [INFO] [stdout] 588527229a0c184913cc562e4c0d4bf9931ee3148118c499571a5475b6563155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25375673d19b07ebe39d97081a1893db21249bc4a482161e6070d93236482a8 [INFO] running `Command { std: "docker" "start" "-a" "c25375673d19b07ebe39d97081a1893db21249bc4a482161e6070d93236482a8", kill_on_drop: false }` [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling soketto v0.8.1 [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 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee_test_utils` [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] 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[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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/helpers.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let server = ServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/helpers.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | let server = ServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:911:15 [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] 916 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let response = http_request(req.into(), uri).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 344 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:375:24 [INFO] [stdout] | [INFO] [stdout] 375 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:398:24 [INFO] [stdout] | [INFO] [stdout] 398 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:409:24 [INFO] [stdout] | [INFO] [stdout] 409 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 420 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/http.rs:571:24 [INFO] [stdout] | [INFO] [stdout] 571 | let (addr, _handle) = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let handle = server_handle.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(matches!(server_handle.stopped().with_timeout(TIMEOUT).await, Err(_timeout_err))); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | let (_addr, server_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | server_handle.stop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:38:2 [INFO] [stdout] | [INFO] [stdout] 38 | server_handle.stopped().with_timeout(TIMEOUT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | ServerBuilder::default().http_only().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let response = http_request(req.into(), to_http_uri(addr)).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | let err = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:71:15 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let response = http_request(req.into(), to_http_uri(addr)).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/shared.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let response = client.send_request_text(req.to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | let conn1 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | assert!(conn1.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn1` an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | let conn1: /* Type */ = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:132:6 [INFO] [stdout] | [INFO] [stdout] 132 | let conn2 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | assert!(conn2.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn2` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let conn2: /* Type */ = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | let conn3 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | assert!(conn3.is_err()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn3` an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | let conn3: /* Type */ = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | let conn4 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | assert!(conn4.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn4` an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | let conn4: /* Type */ = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let response = client.send_request_text(batch).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let response = client.send_request_text(batch).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 273 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:297:19 [INFO] [stdout] | [INFO] [stdout] 297 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:338:19 [INFO] [stdout] | [INFO] [stdout] 338 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let response = client.send_request_text(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | let response = client.send_request_binary(req.as_bytes()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:378:19 [INFO] [stdout] | [INFO] [stdout] 378 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:456:18 [INFO] [stdout] | [INFO] [stdout] 456 | let response1 = client.send_request_text(invalid_request).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | let response2 = client.send_request_text(request).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:466:19 [INFO] [stdout] | [INFO] [stdout] 466 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | let response = client.send_request_text(request).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 479 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | let response = client.send_request_text(request).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let response = client.send_request_text(request).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:524:19 [INFO] [stdout] | [INFO] [stdout] 524 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:527:31 [INFO] [stdout] | [INFO] [stdout] 527 | let sub_id: u64 = deser_call(client.send_request_text(sub_call).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:530:33 [INFO] [stdout] | [INFO] [stdout] 530 | let unsub_1: bool = deser_call(client.send_request_text(unsub_call).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:534:33 [INFO] [stdout] | [INFO] [stdout] 534 | let unsub_2: bool = deser_call(client.send_request_text(unsub_call).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:543:19 [INFO] [stdout] | [INFO] [stdout] 543 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:546:14 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:562:15 [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] 566 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:586:19 [INFO] [stdout] | [INFO] [stdout] 586 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | let sub = client.send_request_text(call("subscribe_hello", Vec::<()>::new(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:590:14 [INFO] [stdout] | [INFO] [stdout] 590 | let unsub = client.send_request_text(call("unsubscribe_hello", vec!["0xdeadbeef"], Id::Num(1))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:597:15 [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] 601 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:612:19 [INFO] [stdout] | [INFO] [stdout] 612 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:627:15 [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] 631 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:642:19 [INFO] [stdout] | [INFO] [stdout] 642 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:659:19 [INFO] [stdout] | [INFO] [stdout] 659 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:681:17 [INFO] [stdout] | [INFO] [stdout] 681 | let response = client.send_request_text(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests/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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | let addr = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:690:19 [INFO] [stdout] | [INFO] [stdout] 690 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let response = client.send_request_text(req.to_string()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | let addr = server().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:708:19 [INFO] [stdout] | [INFO] [stdout] 708 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | let response = client.send_request_text(req.to_string()).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:725:15 [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] 729 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:782:2 [INFO] [stdout] | [INFO] [stdout] 782 | client.send(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | msg = client.receive().with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:819:19 [INFO] [stdout] | [INFO] [stdout] 819 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:822:10 [INFO] [stdout] | [INFO] [stdout] 822 | assert!(client.send_request_text(r#"{"jsonrpc":"2.0","method":"bar"}"#).with_default_timeout().await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:834:19 [INFO] [stdout] | [INFO] [stdout] 834 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:838:3 [INFO] [stdout] | [INFO] [stdout] 838 | client.send(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:846:2 [INFO] [stdout] | [INFO] [stdout] 846 | client.close().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:847:10 [INFO] [stdout] | [INFO] [stdout] 847 | assert!(client.receive().await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:852:10 [INFO] [stdout] | [INFO] [stdout] 852 | assert!(handle.stopped().with_timeout(MAX_TIMEOUT).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:865:20 [INFO] [stdout] | [INFO] [stdout] 865 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:869:4 [INFO] [stdout] | [INFO] [stdout] 869 | client.send(req).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:880:10 [INFO] [stdout] | [INFO] [stdout] 880 | assert!(handle.stopped().with_timeout(MAX_TIMEOUT).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:890:19 [INFO] [stdout] | [INFO] [stdout] 890 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/ws.rs:898:2 [INFO] [stdout] | [INFO] [stdout] 898 | client.close().with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-server` (lib test) due to 385 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c25375673d19b07ebe39d97081a1893db21249bc4a482161e6070d93236482a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25375673d19b07ebe39d97081a1893db21249bc4a482161e6070d93236482a8", kill_on_drop: false }` [INFO] [stdout] c25375673d19b07ebe39d97081a1893db21249bc4a482161e6070d93236482a8