[INFO] fetching crate zed-reqwest 0.12.15-zed... [INFO] testing zed-reqwest-0.12.15-zed against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate zed-reqwest 0.12.15-zed into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate zed-reqwest 0.12.15-zed [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zed-reqwest 0.12.15-zed [INFO] tweaked toml for crates.io crate zed-reqwest 0.12.15-zed written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zed-reqwest 0.12.15-zed on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zed-reqwest 0.12.15-zed 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56f00d0a39c513dca61bca1d2dc3cf98e7e18258727c7752e6b3fbdb20e8ab05 [INFO] running `Command { std: "docker" "start" "-a" "56f00d0a39c513dca61bca1d2dc3cf98e7e18258727c7752e6b3fbdb20e8ab05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56f00d0a39c513dca61bca1d2dc3cf98e7e18258727c7752e6b3fbdb20e8ab05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f00d0a39c513dca61bca1d2dc3cf98e7e18258727c7752e6b3fbdb20e8ab05", kill_on_drop: false }` [INFO] [stdout] 56f00d0a39c513dca61bca1d2dc3cf98e7e18258727c7752e6b3fbdb20e8ab05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92474c26d4d7b1ba21f36d42d34574510d625fb2f35ddd8994762688cfdb88d7 [INFO] running `Command { std: "docker" "start" "-a" "92474c26d4d7b1ba21f36d42d34574510d625fb2f35ddd8994762688cfdb88d7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling zed-reqwest v0.12.15-zed (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.44s [INFO] running `Command { std: "docker" "inspect" "92474c26d4d7b1ba21f36d42d34574510d625fb2f35ddd8994762688cfdb88d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92474c26d4d7b1ba21f36d42d34574510d625fb2f35ddd8994762688cfdb88d7", kill_on_drop: false }` [INFO] [stdout] 92474c26d4d7b1ba21f36d42d34574510d625fb2f35ddd8994762688cfdb88d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459d9b975a246f0b6793d453432900b5b66e4c16257efb5449462d15313ba1eb [INFO] running `Command { std: "docker" "start" "-a" "459d9b975a246f0b6793d453432900b5b66e4c16257efb5449462d15313ba1eb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling zed-reqwest v0.12.15-zed (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/badssl.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let text = reqwest::Client::builder() [INFO] [stdout] 7 + 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:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - let text = reqwest::Client::builder() [INFO] [stdout] 47 + 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:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 66 - let result = reqwest::Client::builder() [INFO] [stdout] 66 + let result = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 8 | | .no_proxy() [INFO] [stdout] 9 | | .build() [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] 11 | | .get("https://mozilla-modern.badssl.com/") [INFO] [stdout] 12 | | .send() [INFO] [stdout] 13 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 8 | | .no_proxy() [INFO] [stdout] 9 | | .build() [INFO] [stdout] 10 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 15 | | .text() [INFO] [stdout] 16 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | .danger_accept_invalid_certs(true) [INFO] [stdout] 49 | | .no_proxy() [INFO] [stdout] 50 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 53 | | .send() [INFO] [stdout] 54 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let text = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 48 | | .danger_accept_invalid_certs(true) [INFO] [stdout] 49 | | .no_proxy() [INFO] [stdout] 50 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 56 | | .text() [INFO] [stdout] 57 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let result = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | 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] 66 | 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] --> tests/upgrade.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | .body(reqwest::Body::default()) [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 items [INFO] [stdout] | [INFO] [stdout] 4 + use http_body::Body; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::body::Body; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Body; [INFO] [stdout] | [INFO] [stdout] help: if you import `Body`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - .body(reqwest::Body::default()) [INFO] [stdout] 29 + .body(Body::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zed-reqwest` (test "badssl") due to 8 previous errors [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/upgrade.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 34 - let res = reqwest::Client::builder() [INFO] [stdout] 34 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> tests/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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] [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_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 6 + use zed_reqwest::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] [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] 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 `zed-reqwest` (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/connector_layers.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let client = reqwest::Client::builder() [INFO] [stdout] 23 + 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/connector_layers.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - let client = reqwest::Client::builder() [INFO] [stdout] 39 + 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/connector_layers.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - let client = reqwest::Client::builder() [INFO] [stdout] 61 + 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/connector_layers.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 86 - let client = reqwest::Client::builder() [INFO] [stdout] 86 + 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/connector_layers.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 109 - let client = reqwest::Client::builder() [INFO] [stdout] 109 + 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/connector_layers.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - let client = reqwest::Client::builder() [INFO] [stdout] 133 + 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/connector_layers.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 159 - let client = reqwest::Client::builder() [INFO] [stdout] 159 + 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/connector_layers.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let client = reqwest::Client::builder() [INFO] [stdout] 196 + 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/connector_layers.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 355 - let client = reqwest::Client::new(); [INFO] [stdout] 355 + 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/timeouts.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let client = reqwest::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 `reqwest` [INFO] [stdout] --> tests/timeouts.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let client = reqwest::Client::builder().no_proxy().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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - let client = reqwest::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] 48 + 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 `reqwest` [INFO] [stdout] --> tests/timeouts.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let client = reqwest::Client::builder() [INFO] [stdout] 72 + 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:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - let client = reqwest::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 `reqwest` [INFO] [stdout] --> tests/timeouts.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 124 - let client = reqwest::Client::builder() [INFO] [stdout] 124 + 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:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 194 - let client = reqwest::Client::builder() [INFO] [stdout] 194 + 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:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | let client = reqwest::Client::builder().no_proxy().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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - let client = reqwest::Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] 435 + let client = Client::builder().no_proxy().build().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .build() [INFO] [stdout] 36 | | .unwrap() [INFO] [stdout] 37 | | .get(format!("http://{}", server.addr())) [INFO] [stdout] ... | [INFO] [stdout] 40 | | .send() [INFO] [stdout] 41 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | 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:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | upgraded.read_to_end(&mut buf).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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - let res = reqwest::Client::builder() [INFO] [stdout] 27 + 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:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | .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] 4 + use zed_reqwest::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 28 + .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:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 37 + 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:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - let res = reqwest::Client::builder() [INFO] [stdout] 57 + 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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] 4 + use zed_reqwest::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - reqwest::Proxy::http(&proxy) [INFO] [stdout] 59 + 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:71:30 [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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::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/proxy.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 91 - let res = reqwest::Client::builder() [INFO] [stdout] 91 + 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:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | .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] 4 + use zed_reqwest::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 92 + .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:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 101 + 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:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - let res = reqwest::Client::builder() [INFO] [stdout] 131 + 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:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 140 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 140 + 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 161 - let res = reqwest::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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | .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] 4 + use zed_reqwest::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 162 - .proxy(reqwest::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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 172 - assert_eq!(res.status(), reqwest::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 `reqwest` [INFO] [stdout] --> tests/proxy.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 198 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 198 + 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:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 221 - let res = reqwest::Client::builder() [INFO] [stdout] 221 + 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:222:16 [INFO] [stdout] | [INFO] [stdout] 222 | .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] 4 + use zed_reqwest::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 222 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 222 + .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:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | 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] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 231 - assert_eq!(res.status(), reqwest::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 `reqwest` [INFO] [stdout] --> tests/support/delay_server.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | help: a struct with a similar name exists: `Request` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | Fut: Future> + Send + 'static, [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | Fut: Future> + Send + 'static, [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] [stderr] error: could not compile `zed-reqwest` (test "upgrade") due to 9 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | 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] 29 | 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:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | 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] 49 | 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:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | [INFO] [stdout] 72 | 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] 70 | 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:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | 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] 93 | 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:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 120 | [INFO] [stdout] 121 | 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] 119 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | [INFO] [stdout] 145 | 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] 143 | 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:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 170 | 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] 169 | 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:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 179 | [INFO] [stdout] 180 | let timed_out = all_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] 178 | 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:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | .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] 182 | .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:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | .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] 182 | .any(|res| res.is_err_and(|err: /* Type */| err.is_timeout())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let res = client.get(url.clone()).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 208 | 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] 207 | let res: /* Type */ = client.get(url.clone()).send().await; [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:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - let res = reqwest::Client::builder() [INFO] [stdout] 49 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | let all_res = join_all(futures).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | [INFO] [stdout] 219 | 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] 217 | 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:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | 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 `reqwest` [INFO] [stdout] --> tests/client.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 59 + 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:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - let res = reqwest::Client::builder() [INFO] [stdout] 75 + 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:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 84 + 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:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - let res = reqwest::Client::builder() [INFO] [stdout] 95 + 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 104 + 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:195:31 [INFO] [stdout] | [INFO] [stdout] 195 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 195 - assert_eq!(res1.status(), reqwest::StatusCode::OK); [INFO] [stdout] 195 + 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:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 206 - assert_eq!(res2.status(), reqwest::StatusCode::OK); [INFO] [stdout] 206 + 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:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 219 - let client = reqwest::Client::builder() [INFO] [stdout] 219 + 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:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 227 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 227 + 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:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 244 - let client = reqwest::Client::builder() [INFO] [stdout] 244 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let res = client.get(url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 357 | [INFO] [stdout] 358 | 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] 356 | 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 `reqwest` [INFO] [stdout] --> tests/client.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 261 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 261 + 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:394:16 [INFO] [stdout] | [INFO] [stdout] 394 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 394 - let resp = reqwest::Client::builder() [INFO] [stdout] 394 + let resp = 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:404:16 [INFO] [stdout] | [INFO] [stdout] 404 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 404 - let resp = reqwest::Client::builder() [INFO] [stdout] 404 + let resp = 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:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 448 - let resp = reqwest::Client::builder() [INFO] [stdout] 448 + let resp = 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:456:44 [INFO] [stdout] | [INFO] [stdout] 456 | let tls_info = resp.extensions().get::(); [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 module [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 456 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 456 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 464 - let resp = reqwest::Client::builder() [INFO] [stdout] 464 + let resp = 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:471:44 [INFO] [stdout] | [INFO] [stdout] 471 | let tls_info = resp.extensions().get::(); [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 module [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 471 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 471 + 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 `reqwest` [INFO] [stdout] --> tests/client.rs:482:18 [INFO] [stdout] | [INFO] [stdout] 482 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 482 - let client = reqwest::Client::builder() [INFO] [stdout] 482 + 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:504:38 [INFO] [stdout] | [INFO] [stdout] 504 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 504 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 504 + 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:515:18 [INFO] [stdout] | [INFO] [stdout] 515 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 515 - let client = reqwest::Client::builder() [INFO] [stdout] 515 + 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:539:38 [INFO] [stdout] | [INFO] [stdout] 539 | 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] 5 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 539 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 539 + 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:551:18 [INFO] [stdout] | [INFO] [stdout] 551 | 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] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use zed_reqwest::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 551 - let client = reqwest::Client::builder() [INFO] [stdout] 551 + let client = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let res = client.get(&url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | 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] 28 | 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:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | 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] 33 | 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:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | 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] 52 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 | 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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [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] 80 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/delay_server.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | help: a struct with a similar name exists: `Request` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | Fut: Future> + Send + 'static, [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | Fut: Future> + Send + 'static, [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] [stderr] error: could not compile `zed-reqwest` (test "connector_layers") due to 26 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let _res = client [INFO] [stdout] | ________________^ [INFO] [stdout] 112 | | .get(url) [INFO] [stdout] 113 | | .timeout(Duration::from_millis(1000)) [INFO] [stdout] 114 | | .send() [INFO] [stdout] 115 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let res = client [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | 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] 139 | let res: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let res = client.get(&url).send().await; [INFO] [stdout] | ^^^ [INFO] [stdout] 203 | [INFO] [stdout] 204 | 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] 202 | 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:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | let res = client [INFO] [stdout] | _______________^ [INFO] [stdout] 440 | | .get(&url) [INFO] [stdout] 441 | | .timeout(Duration::from_secs(1)) [INFO] [stdout] 442 | | .send() [INFO] [stdout] 443 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 50 | | .no_proxy() [INFO] [stdout] 51 | | .build() [INFO] [stdout] 52 | | .unwrap() [INFO] [stdout] 53 | | .get(&url) [INFO] [stdout] 54 | | .send() [INFO] [stdout] 55 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 76 | | .no_proxy() [INFO] [stdout] 77 | | .build() [INFO] [stdout] 78 | | .expect("client builder") [INFO] [stdout] 79 | | .get(&url) [INFO] [stdout] 80 | | .send() [INFO] [stdout] 81 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 96 | | .user_agent("reqwest-test-agent") [INFO] [stdout] 97 | | .build() [INFO] [stdout] 98 | | .expect("client builder") [INFO] [stdout] 99 | | .get(&url) [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:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let res = client [INFO] [stdout] | _______________^ [INFO] [stdout] 116 | | .get(&format!("http://{}/text", server.addr())) [INFO] [stdout] 117 | | .send() [INFO] [stdout] 118 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | 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:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | let res = client [INFO] [stdout] | _______________^ [INFO] [stdout] 134 | | .get(&format!("http://{}/bytes", server.addr())) [INFO] [stdout] 135 | | .send() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | 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:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | let res1 = client [INFO] [stdout] | ________________^ [INFO] [stdout] 190 | | .get(&format!("http://{}/get", server.addr())) [INFO] [stdout] 191 | | .send() [INFO] [stdout] 192 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | let res2 = client [INFO] [stdout] | ________________^ [INFO] [stdout] 200 | | .post(&format!("http://{}/pipe", server.addr())) [INFO] [stdout] 201 | | .body(res1) [INFO] [stdout] 202 | | .send() [INFO] [stdout] 203 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:225:15 [INFO] [stdout] | [INFO] [stdout] 225 | 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:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | 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:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | 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:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | 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:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | 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] 394 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | 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] 404 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | let resp = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 449 | | .tls_info(true) [INFO] [stdout] 450 | | .build() [INFO] [stdout] 451 | | .expect("client builder") [INFO] [stdout] 452 | | .get("https://google.com") [INFO] [stdout] 453 | | .send() [INFO] [stdout] 454 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | let resp = reqwest::Client::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 465 | | .build() [INFO] [stdout] 466 | | .expect("client builder") [INFO] [stdout] 467 | | .get("https://google.com") [INFO] [stdout] 468 | | .send() [INFO] [stdout] 469 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:503:23 [INFO] [stdout] | [INFO] [stdout] 503 | 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:520:9 [INFO] [stdout] | [INFO] [stdout] 520 | let server = delay_server::Server::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | 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] 520 | 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:538:23 [INFO] [stdout] | [INFO] [stdout] 538 | 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:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | 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 `reqwest` [INFO] [stdout] --> tests/support/delay_server.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | help: a struct with a similar name exists: `Request` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | Fut: Future> + Send + 'static, [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | Fut: Future> + Send + 'static, [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] [stderr] error: could not compile `zed-reqwest` (test "timeouts") due to 20 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/delay_server.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | help: a struct with a similar name exists: `Request` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | Fut: Future> + Send + 'static, [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | Fut: Future> + Send + 'static, [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, E0432, 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:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 28 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 29 | | .build() [INFO] [stdout] 30 | | .unwrap() [INFO] [stdout] 31 | | .get(url) [INFO] [stdout] 32 | | .send() [INFO] [stdout] 33 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 58 | | .proxy( [INFO] [stdout] 59 | | reqwest::Proxy::http(&proxy) [INFO] [stdout] 60 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 66 | | .send() [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zed-reqwest` (test "client") due to 48 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 92 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 93 | | .build() [INFO] [stdout] 94 | | .unwrap() [INFO] [stdout] 95 | | .get(url) [INFO] [stdout] 96 | | .send() [INFO] [stdout] 97 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 132 | | .build() [INFO] [stdout] 133 | | .unwrap() [INFO] [stdout] 134 | | .get(url) [INFO] [stdout] 135 | | .send() [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 162 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 163 | | .no_proxy() [INFO] [stdout] 164 | | .build() [INFO] [stdout] ... | [INFO] [stdout] 167 | | .send() [INFO] [stdout] 168 | | .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:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | 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:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | 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:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | let res = reqwest::Client::builder() [INFO] [stdout] | _______________^ [INFO] [stdout] 222 | | .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 223 | | .build() [INFO] [stdout] 224 | | .unwrap() [INFO] [stdout] 225 | | .get(url) [INFO] [stdout] 226 | | .send() [INFO] [stdout] 227 | | .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/support/delay_server.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | Fut: Future> + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | help: a struct with a similar name exists: `Request` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | Fut: Future> + Send + 'static, [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/support/server.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | Fut: Future> + Send + 'static, [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] [stderr] error: could not compile `zed-reqwest` (test "proxy") due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "459d9b975a246f0b6793d453432900b5b66e4c16257efb5449462d15313ba1eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459d9b975a246f0b6793d453432900b5b66e4c16257efb5449462d15313ba1eb", kill_on_drop: false }` [INFO] [stdout] 459d9b975a246f0b6793d453432900b5b66e4c16257efb5449462d15313ba1eb