[INFO] fetching crate reqwest-wasm 0.11.16... [INFO] testing reqwest-wasm-0.11.16 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate reqwest-wasm 0.11.16 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate reqwest-wasm 0.11.16 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reqwest-wasm 0.11.16 [INFO] tweaked toml for crates.io crate reqwest-wasm 0.11.16 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-wasm 0.11.16 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reqwest-wasm 0.11.16 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92bb444fa6bba743c52beb2cbe2c76cea67309382b00af81731802400ac4f94e [INFO] running `Command { std: "docker" "start" "-a" "92bb444fa6bba743c52beb2cbe2c76cea67309382b00af81731802400ac4f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92bb444fa6bba743c52beb2cbe2c76cea67309382b00af81731802400ac4f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bb444fa6bba743c52beb2cbe2c76cea67309382b00af81731802400ac4f94e", kill_on_drop: false }` [INFO] [stdout] 92bb444fa6bba743c52beb2cbe2c76cea67309382b00af81731802400ac4f94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c1f832db3826dc9e765fa269f1a7aa2e172e573f655b52f1fcc235faff8dc4 [INFO] running `Command { std: "docker" "start" "-a" "61c1f832db3826dc9e765fa269f1a7aa2e172e573f655b52f1fcc235faff8dc4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest-wasm v0.11.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Pending` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Pending(Peekable, DecoderType); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoStream` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct IoStream(super::body::ImplStream); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderType` is never used [INFO] [stdout] --> src/async_impl/decoder.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum DecoderType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.58s [INFO] running `Command { std: "docker" "inspect" "61c1f832db3826dc9e765fa269f1a7aa2e172e573f655b52f1fcc235faff8dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c1f832db3826dc9e765fa269f1a7aa2e172e573f655b52f1fcc235faff8dc4", kill_on_drop: false }` [INFO] [stdout] 61c1f832db3826dc9e765fa269f1a7aa2e172e573f655b52f1fcc235faff8dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac108f024c247048da33b768cb20e6d7a3c2ba57ffcd042a64c79a4b0decdce [INFO] running `Command { std: "docker" "start" "-a" "8ac108f024c247048da33b768cb20e6d7a3c2ba57ffcd042a64c79a4b0decdce", kill_on_drop: false }` [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stdout] warning: struct `Pending` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Pending(Peekable, DecoderType); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoStream` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct IoStream(super::body::ImplStream); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderType` is never used [INFO] [stdout] --> src/async_impl/decoder.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum DecoderType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libflate_lz77 v1.1.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling libflate v1.2.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling reqwest-wasm v0.11.16 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/badssl.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let text = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let text = reqwest::Client::builder() [INFO] [stdout] 6 + let text = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/badssl.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let text = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - let text = reqwest::Client::builder() [INFO] [stdout] 46 + let text = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/badssl.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | let result = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - let result = reqwest::Client::builder() [INFO] [stdout] 65 + let result = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 7 | | .no_proxy() [INFO] [stdout] 8 | | .build() [INFO] [stdout] 9 | | .unwrap() [INFO] [stdout] 10 | | .get("https://mozilla-modern.badssl.com/") [INFO] [stdout] 11 | | .send() [INFO] [stdout] 12 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 7 | | .no_proxy() [INFO] [stdout] 8 | | .build() [INFO] [stdout] 9 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 14 | | .text() [INFO] [stdout] 15 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 47 | | .danger_accept_invalid_certs(true) [INFO] [stdout] 48 | | .no_proxy() [INFO] [stdout] 49 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 52 | | .send() [INFO] [stdout] 53 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 47 | | .danger_accept_invalid_certs(true) [INFO] [stdout] 48 | | .no_proxy() [INFO] [stdout] 49 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 55 | | .text() [INFO] [stdout] 56 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let result = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | let result: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [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 `reqwest` [INFO] [stdout] --> examples/form.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let response = reqwest::Client::new() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let response = reqwest::Client::new() [INFO] [stdout] 9 + let response = Client::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (test "badssl") due to 8 previous errors [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> tests/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let res = reqwest::Client::builder() [INFO] [stdout] 20 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (example "simple") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 21 + .proxy(Proxy::http(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (example "form") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 30 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let res = reqwest::Client::builder() [INFO] [stdout] 50 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | reqwest::Proxy::http(&proxy) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - reqwest::Proxy::http(&proxy) [INFO] [stdout] 52 + Proxy::http(&proxy) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 64 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - let res = reqwest::Client::builder() [INFO] [stdout] 84 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 85 + .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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 94 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 94 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 121 - let res = reqwest::Client::builder() [INFO] [stdout] 121 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 130 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 130 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - let res = reqwest::Client::builder() [INFO] [stdout] 151 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 152 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 152 + .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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 162 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 162 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 189 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 189 + 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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 212 - let res = reqwest::Client::builder() [INFO] [stdout] 212 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 213 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 213 + .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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 222 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 222 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> tests/support/server.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/form.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let response = reqwest::Client::new() [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | .post("http://www.baidu.com") [INFO] [stdout] 11 | | .form(&[("one", "1")]) [INFO] [stdout] 12 | | .send() [INFO] [stdout] 13 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/upgrade.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let res = reqwest::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 `reqwest` [INFO] [stdout] --> examples/simple.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let res = reqwest::get(url).await?; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> tests/support/server.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simple.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let res = reqwest::get(url).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | eprintln!("Response: {:?} {}", res.version(), res.status()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let res: /* Type */ = reqwest::get(url).await?; [INFO] [stdout] | ++++++++++++ [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 `reqwest` [INFO] [stdout] --> examples/simple.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> Result<(), reqwest::Error> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` 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 `reqwest` [INFO] [stdout] --> tests/timeouts.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let client = reqwest::Client::builder() [INFO] [stdout] 19 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/timeouts.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let client = reqwest::Client::builder().build().unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - let client = reqwest::Client::builder().build().unwrap(); [INFO] [stdout] 46 + let client = Client::builder().build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/timeouts.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 71 - let client = reqwest::Client::builder() [INFO] [stdout] 71 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/timeouts.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 105 - let client = reqwest::Client::builder() [INFO] [stdout] 105 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> tests/support/server.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 34 | | .build() [INFO] [stdout] 35 | | .unwrap() [INFO] [stdout] 36 | | .get(format!("http://{}", server.addr())) [INFO] [stdout] ... | [INFO] [stdout] 39 | | .send() [INFO] [stdout] 40 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:44:24 [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/upgrade.rs:46:5 [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:5 [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/proxy.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 21 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 22 | | .build() [INFO] [stdout] 23 | | .unwrap() [INFO] [stdout] 24 | | .get(url) [INFO] [stdout] 25 | | .send() [INFO] [stdout] 26 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 51 | | .proxy( [INFO] [stdout] 52 | | reqwest::Proxy::http(&proxy) [INFO] [stdout] 53 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 59 | | .send() [INFO] [stdout] 60 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - let res = reqwest::Client::builder() [INFO] [stdout] 38 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 48 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - let res = reqwest::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 `reqwest` [INFO] [stdout] --> tests/client.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 69 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(res1.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 156 - assert_eq!(res1.status(), reqwest::StatusCode::OK); [INFO] [stdout] 156 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(res2.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 167 - assert_eq!(res2.status(), reqwest::StatusCode::OK); [INFO] [stdout] 167 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 181 - let client = reqwest::Client::builder() [INFO] [stdout] 181 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 188 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 188 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | let client = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 206 - let client = reqwest::Client::builder() [INFO] [stdout] 206 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 222 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 222 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 355 - let resp = reqwest::Client::builder() [INFO] [stdout] 355 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 85 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 86 | | .build() [INFO] [stdout] 87 | | .unwrap() [INFO] [stdout] 88 | | .get(url) [INFO] [stdout] 89 | | .send() [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:365:16 [INFO] [stdout] | [INFO] [stdout] 365 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 365 - let resp = reqwest::Client::builder() [INFO] [stdout] 365 + let resp = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> tests/support/server.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 122 | | .build() [INFO] [stdout] 123 | | .unwrap() [INFO] [stdout] 124 | | .get(url) [INFO] [stdout] 125 | | .send() [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 151 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 152 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 153 | | .no_proxy() [INFO] [stdout] 154 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 157 | | .send() [INFO] [stdout] 158 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | let res = reqwest::get(url).await.unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | let res = reqwest::get(url).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 213 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 214 | | .build() [INFO] [stdout] 215 | | .unwrap() [INFO] [stdout] 216 | | .get(url) [INFO] [stdout] 217 | | .send() [INFO] [stdout] 218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let client = reqwest::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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 35 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use http::header; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 37 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - let client = reqwest::Client::new(); [INFO] [stdout] 45 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 71 - assert_eq!(res.status(), reqwest::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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use http::header; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 73 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 82 - let client = reqwest::Client::new(); [INFO] [stdout] 82 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 113 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use http::header; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 115 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 188 - reqwest::Client::builder() [INFO] [stdout] 188 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | reqwest::header::COOKIE, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 3 + use http::header; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 193 - reqwest::header::COOKIE, [INFO] [stdout] 193 + header::COOKIE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | reqwest::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 194 - reqwest::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] 194 + HeaderValue::from_static("foo=bar"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - let res = reqwest::Client::builder() [INFO] [stdout] 230 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | .redirect(reqwest::redirect::Policy::none()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 231 - .redirect(reqwest::redirect::Policy::none()) [INFO] [stdout] 231 + .redirect(Policy::none()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 240 - assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 240 + 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 `reqwest` [INFO] [stdout] --> tests/redirect.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - reqwest::Client::builder() [INFO] [stdout] 260 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:285:30 [INFO] [stdout] | [INFO] [stdout] 285 | assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 3 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 3 + use reqwest_wasm::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 285 - assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 285 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> tests/support/server.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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/timeouts.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | let res = client.get(&url).send().await.expect("Failed to get"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let body = res.text().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | [INFO] [stdout] 115 | let err = body.unwrap_err(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `body` an explicit type [INFO] [stdout] | [INFO] [stdout] 113 | let body: /* Type */ = res.text().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (test "upgrade") due to 5 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error: could not compile `reqwest-wasm` (test "proxy") due to 26 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (test "timeouts") due to 11 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let res = client.post(&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:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | 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/redirect.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let res = client.post(&url).body("Hello").send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 39 | | .no_proxy() [INFO] [stdout] 40 | | .build() [INFO] [stdout] 41 | | .unwrap() [INFO] [stdout] 42 | | .get(&url) [INFO] [stdout] 43 | | .send() [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 61 | | .user_agent("reqwest-test-agent") [INFO] [stdout] 62 | | .build() [INFO] [stdout] 63 | | .expect("client builder") [INFO] [stdout] 64 | | .get(&url) [INFO] [stdout] 65 | | .send() [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | let res = client [INFO] [stdout] | _______________^ [INFO] [stdout] 81 | | .get(&format!("http://{}/text", server.addr())) [INFO] [stdout] 82 | | .send() [INFO] [stdout] 83 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | 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:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let res = client [INFO] [stdout] | _______________^ [INFO] [stdout] 99 | | .get(&format!("http://{}/bytes", server.addr())) [INFO] [stdout] 100 | | .send() [INFO] [stdout] 101 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | 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:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | let res1 = client [INFO] [stdout] | ________________^ [INFO] [stdout] 151 | | .get(&format!("http://{}/get", server.addr())) [INFO] [stdout] 152 | | .send() [INFO] [stdout] 153 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | let res2 = client [INFO] [stdout] | ________________^ [INFO] [stdout] 161 | | .post(&format!("http://{}/pipe", server.addr())) [INFO] [stdout] 162 | | .body(res1) [INFO] [stdout] 163 | | .send() [INFO] [stdout] 164 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / reqwest::Client::builder() [INFO] [stdout] 189 | | .build() [INFO] [stdout] 190 | | .unwrap() [INFO] [stdout] 191 | | .get(&format!("http://{}/sensitive", mid_server.addr())) [INFO] [stdout] ... | [INFO] [stdout] 196 | | .send() [INFO] [stdout] 197 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | 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:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | 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:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | 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:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | let text = res.text().await.expect("Failed to get text"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:213:15 [INFO] [stdout] | [INFO] [stdout] 213 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | assert!(resp.is_ok()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 355 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | assert!(resp.is_err()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `resp` an explicit type [INFO] [stdout] | [INFO] [stdout] 365 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 231 | | .redirect(reqwest::redirect::Policy::none()) [INFO] [stdout] 232 | | .build() [INFO] [stdout] 233 | | .unwrap() [INFO] [stdout] 234 | | .get(&url) [INFO] [stdout] 235 | | .send() [INFO] [stdout] 236 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (test "client") due to 27 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / reqwest::Client::builder() [INFO] [stdout] 261 | | .referer(false) [INFO] [stdout] 262 | | .build() [INFO] [stdout] 263 | | .unwrap() [INFO] [stdout] 264 | | .get(&format!("http://{}/no-refer", server.addr())) [INFO] [stdout] 265 | | .send() [INFO] [stdout] 266 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let res = reqwest::get(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | let res = reqwest::get(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-wasm` (test "redirect") due to 27 previous errors; 1 warning emitted [INFO] [stdout] warning: struct `Pending` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Pending(Peekable, DecoderType); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IoStream` is never constructed [INFO] [stdout] --> src/async_impl/decoder.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct IoStream(super::body::ImplStream); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecoderType` is never used [INFO] [stdout] --> src/async_impl/decoder.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum DecoderType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ac108f024c247048da33b768cb20e6d7a3c2ba57ffcd042a64c79a4b0decdce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac108f024c247048da33b768cb20e6d7a3c2ba57ffcd042a64c79a4b0decdce", kill_on_drop: false }` [INFO] [stdout] 8ac108f024c247048da33b768cb20e6d7a3c2ba57ffcd042a64c79a4b0decdce