[INFO] fetching crate newwreq 5.1.7... [INFO] building newwreq-5.1.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate newwreq 5.1.7 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate newwreq 5.1.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate newwreq 5.1.7 [INFO] tweaked toml for crates.io crate newwreq 5.1.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate newwreq 5.1.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate newwreq 5.1.7 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fslock v0.2.1 [INFO] [stderr] Downloaded linked_hash_set v0.1.5 [INFO] [stderr] Downloaded tokio-boring2 v5.0.0-alpha.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.27.0 [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] [stderr] Downloaded webpki-root-certs v1.0.1 [INFO] [stderr] Downloaded http2 v0.5.2 [INFO] [stderr] Downloaded boring2 v5.0.0-alpha.1 [INFO] [stderr] Downloaded boring-sys2 v5.0.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c686eb40b509a9a5f1daabd14f580393367230af3bd035d3d17b1574f3b614b5 [INFO] running `Command { std: "docker" "start" "-a" "c686eb40b509a9a5f1daabd14f580393367230af3bd035d3d17b1574f3b614b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c686eb40b509a9a5f1daabd14f580393367230af3bd035d3d17b1574f3b614b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c686eb40b509a9a5f1daabd14f580393367230af3bd035d3d17b1574f3b614b5", kill_on_drop: false }` [INFO] [stdout] c686eb40b509a9a5f1daabd14f580393367230af3bd035d3d17b1574f3b614b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9299b9110d082dcd5e1fc105882b2105a225716561cdc85ac47e872b4d0d2d62 [INFO] running `Command { std: "docker" "start" "-a" "9299b9110d082dcd5e1fc105882b2105a225716561cdc85ac47e872b4d0d2d62", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling linked_hash_set v0.1.5 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling webpki-root-certs v1.0.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling http2 v0.5.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling boring-sys2 v5.0.0-alpha.1 [INFO] [stderr] Compiling boring2 v5.0.0-alpha.1 [INFO] [stderr] Compiling tokio-boring2 v5.0.0-alpha.1 [INFO] [stderr] Compiling newwreq v5.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Rewind` is never constructed [INFO] [stdout] --> src/core/common/rewind.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Rewind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "9299b9110d082dcd5e1fc105882b2105a225716561cdc85ac47e872b4d0d2d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9299b9110d082dcd5e1fc105882b2105a225716561cdc85ac47e872b4d0d2d62", kill_on_drop: false }` [INFO] [stdout] 9299b9110d082dcd5e1fc105882b2105a225716561cdc85ac47e872b4d0d2d62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9c60301e6d10a0c7dcb49a535b5f4643dcdc06297fdf0f45cf303117c1b2c8 [INFO] running `Command { std: "docker" "start" "-a" "2d9c60301e6d10a0c7dcb49a535b5f4643dcdc06297fdf0f45cf303117c1b2c8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-boring2 v5.0.0-alpha.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling http2 v0.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling newwreq v5.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stdout] warning: struct `Rewind` is never constructed [INFO] [stdout] --> src/core/common/rewind.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Rewind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/keylog.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wreq::tls::KeyLogPolicy; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/redirect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wreq::{Body, redirect::Policy}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> tests/redirect.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wreq::{Body, redirect::Policy}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (example "form") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> tests/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wreq::{Client, OriginalHeaders}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> tests/client.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/client.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> tests/client.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> examples/http1_case_sensitive_headers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wreq::OriginalHeaders; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/badssl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wreq` [INFO] [stdout] --> tests/badssl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wreq::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> examples/http1_case_sensitive_headers.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let resp = wreq::Client::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - let resp = wreq::Client::new() [INFO] [stdout] 17 + let resp = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/form.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let response = wreq::Client::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let response = wreq::Client::new() [INFO] [stdout] 8 + let response = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/form.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | .expect("send"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/http1_case_sensitive_headers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/http1_case_sensitive_headers.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/keylog.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let client = wreq::Client::builder() [INFO] [stdout] 6 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/keylog.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let resp = client.get("https://api.ip.sb/ip").send().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | println!("{}", resp.text().await?); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let resp: /* Type */ = client.get("https://api.ip.sb/ip").send().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (example "http1_case_sensitive_headers") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/upgrade.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | .body(wreq::Body::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use http_body::Body; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::body::Body; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Body; [INFO] [stdout] | [INFO] [stdout] help: if you import `Body`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - .body(wreq::Body::default()) [INFO] [stdout] 28 + .body(Body::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/upgrade.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let res = wreq::Client::builder() [INFO] [stdout] 33 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/upgrade.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | .body(wreq::Body::default()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use http_body::Body; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::body::Body; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Body; [INFO] [stdout] | [INFO] [stdout] help: if you import `Body`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - .body(wreq::Body::default()) [INFO] [stdout] 73 + .body(Body::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/upgrade.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - let res = wreq::Client::builder() [INFO] [stdout] 83 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/keylog.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let client = wreq::Client::builder() [INFO] [stdout] 20 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let client = wreq::Client::builder() [INFO] [stdout] 35 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let client = wreq::Client::builder() [INFO] [stdout] 56 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - let client = wreq::Client::builder() [INFO] [stdout] 81 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - let client = wreq::Client::builder() [INFO] [stdout] 104 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 127 - let client = wreq::Client::builder() [INFO] [stdout] 127 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - let client = wreq::Client::builder() [INFO] [stdout] 157 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - let client = wreq::Client::builder() [INFO] [stdout] 184 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 223 - let client = wreq::Client::builder() [INFO] [stdout] 223 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/layers.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 264 - let client = wreq::Client::new(); [INFO] [stdout] 264 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (example "keylog") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let client = wreq::Client::builder() [INFO] [stdout] 18 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let client = wreq::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - let client = wreq::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] 46 + let client = Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - let client = wreq::Client::builder() [INFO] [stdout] 70 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - let client = wreq::Client::builder() [INFO] [stdout] 96 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - let client = wreq::Client::builder() [INFO] [stdout] 120 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 190 - let client = wreq::Client::builder() [INFO] [stdout] 190 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/timeouts.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | let client = wreq::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 284 - let client = wreq::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] 284 + let client = Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/tls_info.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let client = wreq::Client::builder().tls_info(true).build()?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let client = wreq::Client::builder().tls_info(true).build()?; [INFO] [stdout] 4 + let client = Client::builder().tls_info(true).build()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/tls_info.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(val) = resp.extensions().get::() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - if let Some(val) = resp.extensions().get::() { [INFO] [stdout] 8 + if let Some(val) = resp.extensions().get::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls_info.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let resp = client.get("https://tls.peet.ws/api/all").send().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | if let Some(val) = resp.extensions().get::() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | let resp: /* Type */ = client.get("https://tls.peet.ws/api/all").send().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls_info.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | if let Some(peer_cert_der) = val.peer_certificate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls_info.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!peer_cert_der.is_empty()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let res = wreq::Client::builder() [INFO] [stdout] 23 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 24 + .proxy(Proxy::http(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 33 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - let res = wreq::Client::builder() [INFO] [stdout] 53 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | wreq::Proxy::http(&proxy) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - wreq::Proxy::http(&proxy) [INFO] [stdout] 55 + Proxy::http(&proxy) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 67 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 87 - let res = wreq::Client::builder() [INFO] [stdout] 87 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 88 - .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 88 + .proxy(Proxy::http(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 97 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 97 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 129 - let res = wreq::Client::builder() [INFO] [stdout] 129 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:138:30 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 138 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 161 - let res = wreq::Client::builder() [INFO] [stdout] 161 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 162 - .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 162 + .proxy(Proxy::http(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 172 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 172 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | let res = wreq::Client::new().get(url).send().await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let res = wreq::Client::new().get(url).send().await.unwrap(); [INFO] [stdout] 196 + let res = Client::new().get(url).send().await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 199 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 199 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 224 - let res = wreq::Client::builder() [INFO] [stdout] 224 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 225 - .proxy(wreq::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 225 + .proxy(Proxy::http(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:234:30 [INFO] [stdout] | [INFO] [stdout] 234 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 234 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 234 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let proxy = wreq::Proxy::http(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 255 - let proxy = wreq::Proxy::http(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] 255 + let proxy = Proxy::http(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - let res = wreq::Client::builder() [INFO] [stdout] 260 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 270 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 270 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | let err = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 294 - let err = wreq::Client::builder() [INFO] [stdout] 294 + let err = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | .proxy(wreq::Proxy::https(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 295 - .proxy(wreq::Proxy::https(&proxy).unwrap()) [INFO] [stdout] 295 + .proxy(Proxy::https(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | let err = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 333 - let err = wreq::Client::builder() [INFO] [stdout] 333 + let err = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | .proxy(wreq::Proxy::https(&proxy).unwrap()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 334 - .proxy(wreq::Proxy::https(&proxy).unwrap()) [INFO] [stdout] 334 + .proxy(Proxy::https(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:369:15 [INFO] [stdout] | [INFO] [stdout] 369 | let err = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 369 - let err = wreq::Client::builder() [INFO] [stdout] 369 + let err = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/proxy.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | .proxy(wreq::Proxy::https(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 370 - .proxy(wreq::Proxy::https(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] 370 + .proxy(Proxy::https(&proxy).unwrap().custom_http_headers({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> examples/tls_info.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | async fn main() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/badssl.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let text = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - let text = wreq::Client::builder() [INFO] [stdout] 16 + let text = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let text = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 34 - let text = wreq::Client::builder() [INFO] [stdout] 34 + let text = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 142 - let client = wreq::Client::builder() [INFO] [stdout] 142 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 188 - let client = wreq::Client::builder() [INFO] [stdout] 188 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 202 - let client = wreq::Client::builder() [INFO] [stdout] 202 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 1 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 221 - let client = wreq::Client::builder() [INFO] [stdout] 221 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (example "tls_info") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - let client = wreq::Client::builder() [INFO] [stdout] 17 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - let client = wreq::Client::builder() [INFO] [stdout] 32 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - let client = wreq::Client::builder() [INFO] [stdout] 53 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - let client = wreq::Client::builder() [INFO] [stdout] 77 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - let client = wreq::Client::builder() [INFO] [stdout] 99 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 122 - let client = wreq::Client::builder() [INFO] [stdout] 122 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - let client = wreq::Client::builder() [INFO] [stdout] 147 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - let client = wreq::Client::builder() [INFO] [stdout] 183 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/connector_layers.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 222 - let client = wreq::Client::new(); [INFO] [stdout] 222 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | .text() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let resp = client.get("https://www.google.com").send().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 148 | assert!(resp.status().is_success()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let resp: /* Type */ = client.get("https://www.google.com").send().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let resp = client.get("https://tls.browserleaks.com").send().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 194 | assert!(resp.status().is_success()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 193 | let resp: /* Type */ = client.get("https://tls.browserleaks.com").send().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let text = resp.text().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 196 | assert!(text.contains("ChaCha20Poly1305")); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `text` an explicit type [INFO] [stdout] | [INFO] [stdout] 195 | let text: /* Type */ = resp.text().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(|info| info.peer_certificate()) [INFO] [stdout] | ^^^^ ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 218 | .and_then(|info: /* Type */| info.peer_certificate()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let res = client.get("https://www.google.com").send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 234 | assert!(res.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 233 | let res: /* Type */ = client.get("https://www.google.com").send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/badssl.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | async fn test_3des_support() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/badssl.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | async fn test_firefox_7x_100_cipher() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/badssl.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | async fn test_alps_new_endpoint() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/badssl.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | async fn test_aes_hw_override() -> wreq::Result<()> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "badssl") due to 25 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let res = client.get(&url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let res: /* Type */ = client.get(&url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(err.url().map(|u| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(err.url().map(|u: /* Type */| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 50 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(err.url().map(|u| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(err.url().map(|u: /* Type */| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | [INFO] [stdout] 67 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 89 | [INFO] [stdout] 90 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 115 | [INFO] [stdout] 116 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | let mut upgraded = res.upgrade().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | [INFO] [stdout] 139 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 137 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | upgraded.write_all(b"foo=bar").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | upgraded.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let res = client.get(&url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 199 | [INFO] [stdout] 200 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | let res: /* Type */ = client.get(&url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(err.url().map(|u| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(err.url().map(|u: /* Type */| u.as_str()), Some(url.as_str())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:94:44 [INFO] [stdout] | [INFO] [stdout] 94 | let mut upgraded = res.upgrade().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | upgraded.write_all(b"foo=bar").await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | upgraded.read_to_end(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 172 | [INFO] [stdout] 173 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 171 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 194 | let res: /* Type */ = client.get(url.clone()).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | [INFO] [stdout] 205 | let timed_out = all_res.into_iter().any(|res| { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `all_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 203 | let all_res: /* Type */ = join_all(futures).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:205:46 [INFO] [stdout] | [INFO] [stdout] 205 | let timed_out = all_res.into_iter().any(|res| { [INFO] [stdout] | ^^^ [INFO] [stdout] 206 | res.is_err_and(|err| { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 205 | let timed_out = all_res.into_iter().any(|res: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | res.is_err_and(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] 207 | dbg!(&err); [INFO] [stdout] 208 | err.is_timeout() [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 206 | res.is_err_and(|err: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 237 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 236 | let res: /* Type */ = client.get(url.clone()).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 247 | [INFO] [stdout] 248 | for res in all_res.into_iter() { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `all_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 246 | let all_res: /* Type */ = join_all(futures).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | res.is_ok(), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/layers.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 266 | [INFO] [stdout] 267 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 265 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | [INFO] [stdout] 64 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let client = wreq::Client::new(); [INFO] [stdout] 8 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 40 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 40 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] 42 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let client = wreq::Client::new(); [INFO] [stdout] 50 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 81 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 83 - res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] 83 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - let client = wreq::Client::new(); [INFO] [stdout] 92 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 136 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 136 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] 138 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 178 - wreq::Client::builder() [INFO] [stdout] 178 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | wreq::header::COOKIE, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - wreq::header::COOKIE, [INFO] [stdout] 184 + header::COOKIE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | wreq::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - wreq::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] 185 + HeaderValue::from_static("foo=bar"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:204:15 [INFO] [stdout] | [INFO] [stdout] 204 | let err = wreq::Client::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 204 - let err = wreq::Client::new() [INFO] [stdout] 204 + let err = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 226 - let res = wreq::Client::builder() [INFO] [stdout] 226 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | .redirect(wreq::redirect::Policy::none()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 2 + use tower::retry::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 227 - .redirect(wreq::redirect::Policy::none()) [INFO] [stdout] 227 + .redirect(Policy::none()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:236:30 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(res.status(), wreq::StatusCode::FOUND); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 236 - assert_eq!(res.status(), wreq::StatusCode::FOUND); [INFO] [stdout] 236 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 256 - wreq::Client::builder() [INFO] [stdout] 256 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | let res = wreq::Client::new().get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 278 - let res = wreq::Client::new().get(&url).send().await.unwrap(); [INFO] [stdout] 278 + let res = Client::new().get(&url).send().await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(res.status(), wreq::StatusCode::FOUND); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 281 - assert_eq!(res.status(), wreq::StatusCode::FOUND); [INFO] [stdout] 281 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | let err = wreq::Client::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 296 - let err = wreq::Client::new() [INFO] [stdout] 296 + let err = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 360 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 360 - let client = wreq::Client::builder() [INFO] [stdout] 360 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 384 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - let res = wreq::Client::builder() [INFO] [stdout] 384 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:385:19 [INFO] [stdout] | [INFO] [stdout] 385 | .redirect(wreq::redirect::Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 2 + use tower::retry::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 385 - .redirect(wreq::redirect::Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] 385 + .redirect(Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:393:39 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(res.unwrap().status(), wreq::StatusCode::FOUND); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 393 - assert_eq!(res.unwrap().status(), wreq::StatusCode::FOUND); [INFO] [stdout] 393 + assert_eq!(res.unwrap().status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 395 - let res = wreq::Client::builder() [INFO] [stdout] 395 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | .redirect(wreq::redirect::Policy::custom(|attempt| attempt.follow())) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 2 + use tower::retry::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 396 - .redirect(wreq::redirect::Policy::custom(|attempt| attempt.follow())) [INFO] [stdout] 396 + .redirect(Policy::custom(|attempt| attempt.follow())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | let client = wreq::Client::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 409 - let client = wreq::Client::new(); [INFO] [stdout] 409 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | if req.headers().get(wreq::header::CONTENT_LENGTH).is_some() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 424 - if req.headers().get(wreq::header::CONTENT_LENGTH).is_some() { [INFO] [stdout] 424 + if req.headers().get(header::CONTENT_LENGTH).is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:425:46 [INFO] [stdout] | [INFO] [stdout] 425 | assert_eq!(req.headers()[wreq::header::CONTENT_LENGTH], "5"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 425 - assert_eq!(req.headers()[wreq::header::CONTENT_LENGTH], "5"); [INFO] [stdout] 425 + assert_eq!(req.headers()[header::CONTENT_LENGTH], "5"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:437:43 [INFO] [stdout] | [INFO] [stdout] 437 | assert!(req.headers().get(wreq::header::CONTENT_TYPE).is_none()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 437 - assert!(req.headers().get(wreq::header::CONTENT_TYPE).is_none()); [INFO] [stdout] 437 + assert!(req.headers().get(header::CONTENT_TYPE).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:438:43 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(req.headers().get(wreq::header::CONTENT_LENGTH).is_none()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 438 - assert!(req.headers().get(wreq::header::CONTENT_LENGTH).is_none()); [INFO] [stdout] 438 + assert!(req.headers().get(header::CONTENT_LENGTH).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:439:43 [INFO] [stdout] | [INFO] [stdout] 439 | assert!(req.headers().get(wreq::header::CONTENT_ENCODING).is_none()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 439 - assert!(req.headers().get(wreq::header::CONTENT_ENCODING).is_none()); [INFO] [stdout] 439 + assert!(req.headers().get(header::CONTENT_ENCODING).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | .header(wreq::header::CONTENT_TYPE, "text/plain") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 452 - .header(wreq::header::CONTENT_TYPE, "text/plain") [INFO] [stdout] 452 + .header(header::CONTENT_TYPE, "text/plain") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | .header(wreq::header::CONTENT_LENGTH, "5") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 453 - .header(wreq::header::CONTENT_LENGTH, "5") [INFO] [stdout] 453 + .header(header::CONTENT_LENGTH, "5") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | .header(wreq::header::CONTENT_ENCODING, "identity") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 454 - .header(wreq::header::CONTENT_ENCODING, "identity") [INFO] [stdout] 454 + .header(header::CONTENT_ENCODING, "identity") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/redirect.rs:461:31 [INFO] [stdout] | [INFO] [stdout] 461 | res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use http::header; [INFO] [stdout] | [INFO] [stdout] 2 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 2 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 461 - res.headers().get(wreq::header::SERVER).unwrap(), [INFO] [stdout] 461 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | [INFO] [stdout] 86 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 110 | [INFO] [stdout] 111 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 133 | [INFO] [stdout] 134 | let err = res.unwrap_err(); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 158 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 157 | let res: /* Type */ = client.get(url.clone()).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | .into_iter() [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `all_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 166 | let all_res: /* Type */ = join_all(futures).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | .any(|res| res.is_err_and(|err| err.is_timeout())); [INFO] [stdout] | ^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | .any(|res: /* Type */| res.is_err_and(|err| err.is_timeout())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | .any(|res| res.is_err_and(|err| err.is_timeout())); [INFO] [stdout] | ^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 170 | .any(|res| res.is_err_and(|err: /* Type */| err.is_timeout())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 194 | let res: /* Type */ = client.get(url.clone()).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 205 | [INFO] [stdout] 206 | for res in all_res.into_iter() { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `all_res` an explicit type [INFO] [stdout] | [INFO] [stdout] 204 | let all_res: /* Type */ = join_all(futures).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | res.is_ok(), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/layers.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | move |mut req: http::Request| { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 224 | [INFO] [stdout] 225 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 223 | let res: /* Type */ = client.get(url).send().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - let res = wreq::Client::builder() [INFO] [stdout] 60 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | .header(wreq::header::ACCEPT, "*/*") [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 6 + use http::header; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - .header(wreq::header::ACCEPT, "*/*") [INFO] [stdout] 65 + .header(header::ACCEPT, "*/*") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 71 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 71 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 153 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 153 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 231 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 231 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 246 - let res = wreq::Client::builder() [INFO] [stdout] 246 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 255 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 255 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 266 - let res = wreq::Client::builder() [INFO] [stdout] 266 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 275 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 275 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(res1.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 366 - assert_eq!(res1.status(), wreq::StatusCode::OK); [INFO] [stdout] 366 + assert_eq!(res1.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:377:31 [INFO] [stdout] | [INFO] [stdout] 377 | assert_eq!(res2.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 377 - assert_eq!(res2.status(), wreq::StatusCode::OK); [INFO] [stdout] 377 + assert_eq!(res2.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 390 - let client = wreq::Client::builder() [INFO] [stdout] 390 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 398 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 398 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 415 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 415 - let client = wreq::Client::builder() [INFO] [stdout] 415 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:432:30 [INFO] [stdout] | [INFO] [stdout] 432 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 432 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 528 - let resp = wreq::Client::builder() [INFO] [stdout] 528 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:536:44 [INFO] [stdout] | [INFO] [stdout] 536 | let tls_info = resp.extensions().get::(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 536 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 536 + let tls_info = resp.extensions().get::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 544 - let resp = wreq::Client::builder() [INFO] [stdout] 544 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | let tls_info = resp.extensions().get::(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 551 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 551 + let tls_info = resp.extensions().get::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:561:18 [INFO] [stdout] | [INFO] [stdout] 561 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 561 - let client = wreq::Client::builder() [INFO] [stdout] 561 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:584:38 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 584 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 584 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:594:18 [INFO] [stdout] | [INFO] [stdout] 594 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 594 - let client = wreq::Client::builder() [INFO] [stdout] 594 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:619:38 [INFO] [stdout] | [INFO] [stdout] 619 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 619 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 619 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:631:18 [INFO] [stdout] | [INFO] [stdout] 631 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 631 - let client = wreq::Client::builder() [INFO] [stdout] 631 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:654:16 [INFO] [stdout] | [INFO] [stdout] 654 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 654 - let resp = wreq::Client::builder() [INFO] [stdout] 654 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:663:32 [INFO] [stdout] | [INFO] [stdout] 663 | assert_eq!(resp.version(), wreq::Version::HTTP_11); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use http::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Version; [INFO] [stdout] | [INFO] [stdout] help: if you import `Version`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 663 - assert_eq!(resp.version(), wreq::Version::HTTP_11); [INFO] [stdout] 663 + assert_eq!(resp.version(), Version::HTTP_11); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:665:16 [INFO] [stdout] | [INFO] [stdout] 665 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 665 - let resp = wreq::Client::builder() [INFO] [stdout] 665 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:674:32 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(resp.version(), wreq::Version::HTTP_11); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use http::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Version; [INFO] [stdout] | [INFO] [stdout] help: if you import `Version`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 674 - assert_eq!(resp.version(), wreq::Version::HTTP_11); [INFO] [stdout] 674 + assert_eq!(resp.version(), Version::HTTP_11); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:681:16 [INFO] [stdout] | [INFO] [stdout] 681 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 681 - let resp = wreq::Client::builder() [INFO] [stdout] 681 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:690:32 [INFO] [stdout] | [INFO] [stdout] 690 | assert_eq!(resp.version(), wreq::Version::HTTP_2); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use http::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Version; [INFO] [stdout] | [INFO] [stdout] help: if you import `Version`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 690 - assert_eq!(resp.version(), wreq::Version::HTTP_2); [INFO] [stdout] 690 + assert_eq!(resp.version(), Version::HTTP_2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:692:16 [INFO] [stdout] | [INFO] [stdout] 692 | let resp = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 692 - let resp = wreq::Client::builder() [INFO] [stdout] 692 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:701:32 [INFO] [stdout] | [INFO] [stdout] 701 | assert_eq!(resp.version(), wreq::Version::HTTP_2); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use http::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::Version; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Version; [INFO] [stdout] | [INFO] [stdout] help: if you import `Version`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 701 - assert_eq!(resp.version(), wreq::Version::HTTP_2); [INFO] [stdout] 701 + assert_eq!(resp.version(), Version::HTTP_2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "layers") due to 29 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:706:18 [INFO] [stdout] | [INFO] [stdout] 706 | let client = wreq::Client::default(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 706 - let client = wreq::Client::default(); [INFO] [stdout] 706 + let client = Client::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:716:31 [INFO] [stdout] | [INFO] [stdout] 716 | assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 716 - assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] 716 + assert_eq!(resp.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:726:31 [INFO] [stdout] | [INFO] [stdout] 726 | assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 726 - assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] 726 + assert_eq!(resp.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:736:31 [INFO] [stdout] | [INFO] [stdout] 736 | assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 736 - assert_eq!(resp.status(), wreq::StatusCode::OK); [INFO] [stdout] 736 + assert_eq!(resp.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | let resp = wreq::Client::new() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 748 - let resp = wreq::Client::new() [INFO] [stdout] 748 + let resp = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:781:24 [INFO] [stdout] | [INFO] [stdout] 781 | let mut headers1 = wreq::header::HeaderMap::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 781 - let mut headers1 = wreq::header::HeaderMap::new(); [INFO] [stdout] 781 + let mut headers1 = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | let mut headers2 = wreq::header::HeaderMap::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 784 - let mut headers2 = wreq::header::HeaderMap::new(); [INFO] [stdout] 784 + let mut headers2 = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:787:18 [INFO] [stdout] | [INFO] [stdout] 787 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 787 - let client = wreq::Client::builder() [INFO] [stdout] 787 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:791:13 [INFO] [stdout] | [INFO] [stdout] 791 | wreq::Proxy::https(&proxy_url) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 791 - wreq::Proxy::https(&proxy_url) [INFO] [stdout] 791 + Proxy::https(&proxy_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | wreq::Proxy::http(&proxy_url) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 798 - wreq::Proxy::http(&proxy_url) [INFO] [stdout] 798 + Proxy::http(&proxy_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:808:30 [INFO] [stdout] | [INFO] [stdout] 808 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 808 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 808 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:810:18 [INFO] [stdout] | [INFO] [stdout] 810 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 810 - let client = wreq::Client::builder() [INFO] [stdout] 810 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | wreq::Proxy::http(&proxy_url) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 814 - wreq::Proxy::http(&proxy_url) [INFO] [stdout] 814 + Proxy::http(&proxy_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "timeouts") due to 20 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | wreq::Proxy::https(&proxy_url) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 821 - wreq::Proxy::https(&proxy_url) [INFO] [stdout] 821 + Proxy::https(&proxy_url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:831:30 [INFO] [stdout] | [INFO] [stdout] 831 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 831 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 831 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 844 - let client = wreq::Client::builder() [INFO] [stdout] 844 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:846:31 [INFO] [stdout] | [INFO] [stdout] 846 | let mut headers = wreq::header::HeaderMap::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 846 - let mut headers = wreq::header::HeaderMap::new(); [INFO] [stdout] 846 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:857:30 [INFO] [stdout] | [INFO] [stdout] 857 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 857 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 857 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:870:18 [INFO] [stdout] | [INFO] [stdout] 870 | let client = wreq::Client::builder() [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 870 - let client = wreq::Client::builder() [INFO] [stdout] 870 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:872:31 [INFO] [stdout] | [INFO] [stdout] 872 | let mut headers = wreq::header::HeaderMap::new(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 872 - let mut headers = wreq::header::HeaderMap::new(); [INFO] [stdout] 872 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/client.rs:883:30 [INFO] [stdout] | [INFO] [stdout] 883 | assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 6 + use newwreq::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 883 - assert_eq!(res.status(), wreq::StatusCode::OK); [INFO] [stdout] 883 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "upgrade") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "connector_layers") due to 26 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:196:57 [INFO] [stdout] | [INFO] [stdout] 196 | let res = wreq::Client::new().get(url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:340:10 [INFO] [stdout] | [INFO] [stdout] 340 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "proxy") due to 42 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | .expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:273:10 [INFO] [stdout] | [INFO] [stdout] 273 | .expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | .expect("Failed to get"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | let text = res.text().await.expect("Failed to get text"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | .expect("Failed to get"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:310:35 [INFO] [stdout] | [INFO] [stdout] 310 | let bytes = res.bytes().await.expect("res.bytes()"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:364:10 [INFO] [stdout] | [INFO] [stdout] 364 | .expect("get1"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | .expect("res2"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | let res = req.send().await.expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | let text = res.text().await.expect("Failed to get text"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:430:32 [INFO] [stdout] | [INFO] [stdout] 430 | let res = req.send().await.expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | let text = res.text().await.expect("Failed to get text"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:535:10 [INFO] [stdout] | [INFO] [stdout] 535 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:550:10 [INFO] [stdout] | [INFO] [stdout] 550 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:583:53 [INFO] [stdout] | [INFO] [stdout] 583 | let res = client.get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | let server = delay_server::Server::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | let url = format!("http://{}", server.addr()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `server` an explicit type [INFO] [stdout] | [INFO] [stdout] 600 | let server: /* Type */ = delay_server::Server::new( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:618:53 [INFO] [stdout] | [INFO] [stdout] 618 | let res = client.get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | client.get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:661:10 [INFO] [stdout] | [INFO] [stdout] 661 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:672:10 [INFO] [stdout] | [INFO] [stdout] 672 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:688:10 [INFO] [stdout] | [INFO] [stdout] 688 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:699:10 [INFO] [stdout] | [INFO] [stdout] 699 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:714:10 [INFO] [stdout] | [INFO] [stdout] 714 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:724:10 [INFO] [stdout] | [INFO] [stdout] 724 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:734:10 [INFO] [stdout] | [INFO] [stdout] 734 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:755:10 [INFO] [stdout] | [INFO] [stdout] 755 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:758:10 [INFO] [stdout] | [INFO] [stdout] 758 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:805:44 [INFO] [stdout] | [INFO] [stdout] 805 | let res = client.get(url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:828:44 [INFO] [stdout] | [INFO] [stdout] 828 | let res = client.get(url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:855:67 [INFO] [stdout] | [INFO] [stdout] 855 | let res = client.get(&url).default_headers(true).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:881:45 [INFO] [stdout] | [INFO] [stdout] 881 | let res = client.get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "client") due to 95 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:278:58 [INFO] [stdout] | [INFO] [stdout] 278 | let res = wreq::Client::new().get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:301:10 [INFO] [stdout] | [INFO] [stdout] 301 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:364:45 [INFO] [stdout] | [INFO] [stdout] 364 | let res = client.get(&url).send().await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 385 | .redirect(wreq::redirect::Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] | ^^^^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 385 | .redirect(wreq::redirect::Policy::custom(|attempt: /* Type */| attempt.stop())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | assert!(res.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 384 | let res: /* Type */ = wreq::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:396:51 [INFO] [stdout] | [INFO] [stdout] 396 | .redirect(wreq::redirect::Policy::custom(|attempt| attempt.follow())) [INFO] [stdout] | ^^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 396 | .redirect(wreq::redirect::Policy::custom(|attempt: /* Type */| attempt.follow())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let res = wreq::Client::builder() [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | assert!(res.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 395 | let res: /* Type */ = wreq::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wreq` [INFO] [stdout] --> tests/support/delay_server.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` 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 `wreq` [INFO] [stdout] --> tests/support/server.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `wreq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wreq`, use `cargo add wreq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (test "redirect") due to 56 previous errors [INFO] [stdout] error: struct `Rewind` is never constructed [INFO] [stdout] --> src/core/common/rewind.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Rewind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `newwreq` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2d9c60301e6d10a0c7dcb49a535b5f4643dcdc06297fdf0f45cf303117c1b2c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9c60301e6d10a0c7dcb49a535b5f4643dcdc06297fdf0f45cf303117c1b2c8", kill_on_drop: false }` [INFO] [stdout] 2d9c60301e6d10a0c7dcb49a535b5f4643dcdc06297fdf0f45cf303117c1b2c8