[INFO] fetching crate reqwest-tor 0.12.20... [INFO] building reqwest-tor-0.12.20 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate reqwest-tor 0.12.20 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate reqwest-tor 0.12.20 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate reqwest-tor 0.12.20 [INFO] tweaked toml for crates.io crate reqwest-tor 0.12.20 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-tor 0.12.20 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reqwest-tor 0.12.20 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9282054c567479d6d8d0171ba608fe4087446d16df06135967981cf47c659ace [INFO] running `Command { std: "docker" "start" "-a" "9282054c567479d6d8d0171ba608fe4087446d16df06135967981cf47c659ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9282054c567479d6d8d0171ba608fe4087446d16df06135967981cf47c659ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9282054c567479d6d8d0171ba608fe4087446d16df06135967981cf47c659ace", kill_on_drop: false }` [INFO] [stdout] 9282054c567479d6d8d0171ba608fe4087446d16df06135967981cf47c659ace [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e48fab436a194b02f5869e6d83e20f1c37c658b42f6f2a5653bf0c280aecab3 [INFO] running `Command { std: "docker" "start" "-a" "7e48fab436a194b02f5869e6d83e20f1c37c658b42f6f2a5653bf0c280aecab3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest-tor v0.12.20 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.81s [INFO] running `Command { std: "docker" "inspect" "7e48fab436a194b02f5869e6d83e20f1c37c658b42f6f2a5653bf0c280aecab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e48fab436a194b02f5869e6d83e20f1c37c658b42f6f2a5653bf0c280aecab3", kill_on_drop: false }` [INFO] [stdout] 7e48fab436a194b02f5869e6d83e20f1c37c658b42f6f2a5653bf0c280aecab3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 056257308b6dba1f0fb4adeb649c7b98f9745f945e5bf459ba02824330ed13af [INFO] running `Command { std: "docker" "start" "-a" "056257308b6dba1f0fb4adeb649c7b98f9745f945e5bf459ba02824330ed13af", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest-tor v0.12.20 (/opt/rustwide/workdir) [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 reqwest_tor::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:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .expect("send"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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[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 reqwest_tor::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 reqwest_tor::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] [stderr] error: could not compile `reqwest-tor` (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: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 reqwest_tor::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] [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/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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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[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] --> 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 reqwest_tor::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] [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 reqwest_tor::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[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[E0282]: type annotations needed [INFO] [stdout] --> tests/timeouts.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | .unwrap(); [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:444:10 [INFO] [stdout] | [INFO] [stdout] 444 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> examples/simple.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let res = reqwest::get(url).await?; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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[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] --> examples/simple.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let res = reqwest::get(url).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | eprintln!("Response: {:?} {}", res.version(), res.status()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let res: /* Type */ = reqwest::get(url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connector_layers.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | res.is_ok(), [INFO] [stdout] | ^^^^^ cannot infer type [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] ... [INFO] [stdout] 181 | .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] 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: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:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 5 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 5 + use reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let res = reqwest::Client::builder() [INFO] [stdout] 50 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 60 + 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:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - let res = reqwest::Client::builder() [INFO] [stdout] 76 + 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:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 85 + 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:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - let res = reqwest::Client::builder() [INFO] [stdout] 96 + 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:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 105 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 105 + 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:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - assert_eq!(res1.status(), reqwest::StatusCode::OK); [INFO] [stdout] 196 + 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:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 207 - assert_eq!(res2.status(), reqwest::StatusCode::OK); [INFO] [stdout] 207 + 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:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 220 - let client = reqwest::Client::builder() [INFO] [stdout] 220 + 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:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 228 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 228 + 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:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 245 - let client = reqwest::Client::builder() [INFO] [stdout] 245 + 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:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 262 + 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:395:16 [INFO] [stdout] | [INFO] [stdout] 395 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 395 - let resp = reqwest::Client::builder() [INFO] [stdout] 395 + 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:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 405 - let resp = reqwest::Client::builder() [INFO] [stdout] 405 + 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:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 449 - let resp = reqwest::Client::builder() [INFO] [stdout] 449 + 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] --> examples/simple.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> Result<(), reqwest::Error> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/client.rs:457:44 [INFO] [stdout] | [INFO] [stdout] 457 | 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 reqwest_tor::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 457 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 457 + 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:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 465 - let resp = reqwest::Client::builder() [INFO] [stdout] 465 + 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:472:44 [INFO] [stdout] | [INFO] [stdout] 472 | 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 reqwest_tor::tls; [INFO] [stdout] | [INFO] [stdout] help: if you import `tls`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 472 - let tls_info = resp.extensions().get::(); [INFO] [stdout] 472 + 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:483:18 [INFO] [stdout] | [INFO] [stdout] 483 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 483 - let client = reqwest::Client::builder() [INFO] [stdout] 483 + 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:505:38 [INFO] [stdout] | [INFO] [stdout] 505 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 505 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 505 + 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:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 516 - let client = reqwest::Client::builder() [INFO] [stdout] 516 + 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:540:38 [INFO] [stdout] | [INFO] [stdout] 540 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 540 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 540 + 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:552:18 [INFO] [stdout] | [INFO] [stdout] 552 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 552 - let client = reqwest::Client::builder() [INFO] [stdout] 552 + 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/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 `reqwest-tor` (example "simple") due to 3 previous errors [INFO] [stderr] error: could not compile `reqwest-tor` (test "connector_layers") due to 26 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/upgrade.rs:45:44 [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:42 [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:42 [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/ci.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = reqwest::get(format!("http://{}/ci", server.addr())).await; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stderr] error: could not compile `reqwest-tor` (test "upgrade") due to 9 previous errors [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] [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] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> tests/redirect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::Body; [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/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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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[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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-tor` (test "timeouts") due to 20 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | 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] 395 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | let resp = reqwest::Client::builder() [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | 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] 405 | let resp: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | .expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | 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:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | .expect("Failed to get"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | 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:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | 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:456:10 [INFO] [stdout] | [INFO] [stdout] 456 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | 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:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | 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:471:10 [INFO] [stdout] | [INFO] [stdout] 471 | .expect("response"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | .expect("get1"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | .expect("res2"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-tor` (test "ci") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | let server = delay_server::Server::new( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | 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] 521 | 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:504:53 [INFO] [stdout] | [INFO] [stdout] 504 | 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:539:53 [INFO] [stdout] | [INFO] [stdout] 539 | 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:559:35 [INFO] [stdout] | [INFO] [stdout] 559 | 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:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | .expect("Failed to get"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:586:10 [INFO] [stdout] | [INFO] [stdout] 586 | .expect("Failed to get"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | .expect("request"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | 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/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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/badssl.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | .unwrap(); [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 `reqwest-tor` (test "badssl") due to 8 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] [stderr] error: could not compile `reqwest-tor` (test "client") due to 49 previous errors [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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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 reqwest_tor::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:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let mut headers = reqwest::header::HeaderMap::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] 4 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 190 - let mut headers = reqwest::header::HeaderMap::new(); [INFO] [stdout] 190 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | reqwest::header::PROXY_AUTHORIZATION, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 193 - reqwest::header::PROXY_AUTHORIZATION, [INFO] [stdout] 193 + header::PROXY_AUTHORIZATION, [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:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 197 - let res = reqwest::Client::builder() [INFO] [stdout] 197 + 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:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | .proxy(reqwest::Proxy::http(&proxy).unwrap().headers(headers)) [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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 198 - .proxy(reqwest::Proxy::http(&proxy).unwrap().headers(headers)) [INFO] [stdout] 198 + .proxy(Proxy::http(&proxy).unwrap().headers(headers)) [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:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 207 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 207 + 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:233:30 [INFO] [stdout] | [INFO] [stdout] 233 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 233 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 233 + 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:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 256 - let res = reqwest::Client::builder() [INFO] [stdout] 256 + 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:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | .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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 257 - .proxy(reqwest::Proxy::http(&proxy).unwrap()) [INFO] [stdout] 257 + .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:266:30 [INFO] [stdout] | [INFO] [stdout] 266 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 266 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 266 + 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:290:15 [INFO] [stdout] | [INFO] [stdout] 290 | let err = 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 290 - let err = reqwest::Client::builder() [INFO] [stdout] 290 + let err = 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:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | .proxy(reqwest::Proxy::https(&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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 291 - .proxy(reqwest::Proxy::https(&proxy).unwrap()) [INFO] [stdout] 291 + .proxy(Proxy::https(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | let err = 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 330 - let err = reqwest::Client::builder() [INFO] [stdout] 330 + let err = 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:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | .proxy(reqwest::Proxy::https(&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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 331 - .proxy(reqwest::Proxy::https(&proxy).unwrap()) [INFO] [stdout] 331 + .proxy(Proxy::https(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 367 | let err = 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 367 - let err = reqwest::Client::builder() [INFO] [stdout] 367 + let err = 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:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | .proxy(reqwest::Proxy::https(&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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 368 - .proxy(reqwest::Proxy::https(&proxy).unwrap()) [INFO] [stdout] 368 + .proxy(Proxy::https(&proxy).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:402:24 [INFO] [stdout] | [INFO] [stdout] 402 | let mut headers1 = reqwest::header::HeaderMap::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] 4 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 402 - let mut headers1 = reqwest::header::HeaderMap::new(); [INFO] [stdout] 402 + let mut headers1 = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:405:24 [INFO] [stdout] | [INFO] [stdout] 405 | let mut headers2 = reqwest::header::HeaderMap::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] 4 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 405 - let mut headers2 = reqwest::header::HeaderMap::new(); [INFO] [stdout] 405 + let mut headers2 = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 408 - let client = reqwest::Client::builder() [INFO] [stdout] 408 + 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/proxy.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | reqwest::Proxy::https(&proxy_url) [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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 412 - reqwest::Proxy::https(&proxy_url) [INFO] [stdout] 412 + Proxy::https(&proxy_url) [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:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | reqwest::Proxy::http(&proxy_url) [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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 419 - reqwest::Proxy::http(&proxy_url) [INFO] [stdout] 419 + Proxy::http(&proxy_url) [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:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 429 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 429 + 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:431:18 [INFO] [stdout] | [INFO] [stdout] 431 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 431 - let client = reqwest::Client::builder() [INFO] [stdout] 431 + 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/proxy.rs:434:16 [INFO] [stdout] | [INFO] [stdout] 434 | .proxy(reqwest::Proxy::http(&proxy_url).unwrap().headers(headers2)) [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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 434 - .proxy(reqwest::Proxy::http(&proxy_url).unwrap().headers(headers2)) [INFO] [stdout] 434 + .proxy(Proxy::http(&proxy_url).unwrap().headers(headers2)) [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:437:16 [INFO] [stdout] | [INFO] [stdout] 437 | .proxy(reqwest::Proxy::https(&proxy_url).unwrap().headers(headers1)) [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 reqwest_tor::Proxy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proxy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 437 - .proxy(reqwest::Proxy::https(&proxy_url).unwrap().headers(headers1)) [INFO] [stdout] 437 + .proxy(Proxy::https(&proxy_url).unwrap().headers(headers1)) [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:444:30 [INFO] [stdout] | [INFO] [stdout] 444 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 444 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 444 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | .unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:426:44 [INFO] [stdout] | [INFO] [stdout] 426 | 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/proxy.rs:441:44 [INFO] [stdout] | [INFO] [stdout] 441 | 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/proxy.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/proxy.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/proxy.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | 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:230:39 [INFO] [stdout] | [INFO] [stdout] 230 | let res = reqwest::get(url).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 `reqwest-tor` (test "proxy") due to 56 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let client = reqwest::Client::new(); [INFO] [stdout] 10 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:37:34 [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 reqwest_tor::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/redirect.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 39 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 47 - let client = reqwest::Client::new(); [INFO] [stdout] 47 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 73 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 75 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - let client = reqwest::Client::new(); [INFO] [stdout] 84 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | 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 reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 122 - assert_eq!(res.status(), reqwest::StatusCode::OK); [INFO] [stdout] 122 + assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 124 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 124 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 204 - reqwest::Client::builder() [INFO] [stdout] 204 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | reqwest::header::COOKIE, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 209 - reqwest::header::COOKIE, [INFO] [stdout] 209 + header::COOKIE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | reqwest::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 210 - reqwest::header::HeaderValue::from_static("foo=bar"), [INFO] [stdout] 210 + HeaderValue::from_static("foo=bar"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 246 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 246 - let res = reqwest::Client::builder() [INFO] [stdout] 246 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | .redirect(reqwest::redirect::Policy::none()) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 4 + use tower_http::follow_redirect::policy::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 247 - .redirect(reqwest::redirect::Policy::none()) [INFO] [stdout] 247 + .redirect(Policy::none()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:256:30 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 256 - assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 256 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 276 - reqwest::Client::builder() [INFO] [stdout] 276 + Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:301:30 [INFO] [stdout] | [INFO] [stdout] 301 | assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 301 - assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 301 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 401 - let client = reqwest::Client::builder() [INFO] [stdout] 401 + 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/redirect.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 402 | .redirect(reqwest::redirect::Policy::limited(1)) [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 reqwest_tor::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 4 + use tower_http::follow_redirect::policy::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 402 - .redirect(reqwest::redirect::Policy::limited(1)) [INFO] [stdout] 402 + .redirect(Policy::limited(1)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 427 - let res = reqwest::Client::builder() [INFO] [stdout] 427 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | .redirect(reqwest::redirect::Policy::custom(|attempt| { [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 reqwest_tor::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 4 + use tower_http::follow_redirect::policy::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 428 - .redirect(reqwest::redirect::Policy::custom(|attempt| { [INFO] [stdout] 428 + .redirect(Policy::custom(|attempt| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 443 - assert_eq!(res.status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 443 + assert_eq!(res.status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:457:15 [INFO] [stdout] | [INFO] [stdout] 457 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 457 - let res = reqwest::Client::builder() [INFO] [stdout] 457 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:458:19 [INFO] [stdout] | [INFO] [stdout] 458 | .redirect(reqwest::redirect::Policy::custom(|attempt| attempt.stop())) [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 reqwest_tor::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 4 + use tower_http::follow_redirect::policy::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 458 - .redirect(reqwest::redirect::Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] 458 + .redirect(Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:466:39 [INFO] [stdout] | [INFO] [stdout] 466 | assert_eq!(res.unwrap().status(), reqwest::StatusCode::FOUND); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use http::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 466 - assert_eq!(res.unwrap().status(), reqwest::StatusCode::FOUND); [INFO] [stdout] 466 + assert_eq!(res.unwrap().status(), StatusCode::FOUND); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | 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 reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 468 - let res = reqwest::Client::builder() [INFO] [stdout] 468 + let res = Client::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | .redirect(reqwest::redirect::Policy::custom(|attempt| { [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 reqwest_tor::redirect::Policy; [INFO] [stdout] | [INFO] [stdout] 4 + use tower_http::follow_redirect::policy::Policy; [INFO] [stdout] | [INFO] [stdout] help: if you import `Policy`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 469 - .redirect(reqwest::redirect::Policy::custom(|attempt| { [INFO] [stdout] 469 + .redirect(Policy::custom(|attempt| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | 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] 4 + use hyper_util::client::legacy::Client; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 484 - let client = reqwest::Client::new(); [INFO] [stdout] 484 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:499:38 [INFO] [stdout] | [INFO] [stdout] 499 | if req.headers().get(reqwest::header::CONTENT_LENGTH).is_some() { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 499 - if req.headers().get(reqwest::header::CONTENT_LENGTH).is_some() { [INFO] [stdout] 499 + if req.headers().get(header::CONTENT_LENGTH).is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:500:46 [INFO] [stdout] | [INFO] [stdout] 500 | assert_eq!(req.headers()[reqwest::header::CONTENT_LENGTH], "5"); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 500 - assert_eq!(req.headers()[reqwest::header::CONTENT_LENGTH], "5"); [INFO] [stdout] 500 + assert_eq!(req.headers()[header::CONTENT_LENGTH], "5"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:512:43 [INFO] [stdout] | [INFO] [stdout] 512 | assert!(req.headers().get(reqwest::header::CONTENT_TYPE).is_none()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 512 - assert!(req.headers().get(reqwest::header::CONTENT_TYPE).is_none()); [INFO] [stdout] 512 + assert!(req.headers().get(header::CONTENT_TYPE).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:513:43 [INFO] [stdout] | [INFO] [stdout] 513 | assert!(req.headers().get(reqwest::header::CONTENT_LENGTH).is_none()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 513 - assert!(req.headers().get(reqwest::header::CONTENT_LENGTH).is_none()); [INFO] [stdout] 513 + assert!(req.headers().get(header::CONTENT_LENGTH).is_none()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:516:26 [INFO] [stdout] | [INFO] [stdout] 516 | .get(reqwest::header::CONTENT_ENCODING) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 516 - .get(reqwest::header::CONTENT_ENCODING) [INFO] [stdout] 516 + .get(header::CONTENT_ENCODING) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 530 | .header(reqwest::header::CONTENT_TYPE, "text/plain") [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 530 - .header(reqwest::header::CONTENT_TYPE, "text/plain") [INFO] [stdout] 530 + .header(header::CONTENT_TYPE, "text/plain") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | .header(reqwest::header::CONTENT_LENGTH, "5") [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 531 - .header(reqwest::header::CONTENT_LENGTH, "5") [INFO] [stdout] 531 + .header(header::CONTENT_LENGTH, "5") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | .header(reqwest::header::CONTENT_ENCODING, "identity") [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 532 - .header(reqwest::header::CONTENT_ENCODING, "identity") [INFO] [stdout] 532 + .header(header::CONTENT_ENCODING, "identity") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:539:31 [INFO] [stdout] | [INFO] [stdout] 539 | res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 4 + use http::header; [INFO] [stdout] | [INFO] [stdout] 4 + use hyper::header; [INFO] [stdout] | [INFO] [stdout] 4 + use reqwest_tor::header; [INFO] [stdout] | [INFO] [stdout] help: if you import `header`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 539 - res.headers().get(reqwest::header::SERVER).unwrap(), [INFO] [stdout] 539 + res.headers().get(header::SERVER).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 283 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | .redirect(reqwest::redirect::Policy::custom(|attempt| attempt.stop())) [INFO] [stdout] | ^^^^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 458 | .redirect(reqwest::redirect::Policy::custom(|attempt: /* Type */| attempt.stop())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:316:40 [INFO] [stdout] | [INFO] [stdout] 316 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | 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] 457 | let res: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:469:54 [INFO] [stdout] | [INFO] [stdout] 469 | .redirect(reqwest::redirect::Policy::custom(|attempt| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 470 | attempt.follow() [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 469 | .redirect(reqwest::redirect::Policy::custom(|attempt: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/redirect.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | let err = reqwest::get(&url).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | let res = reqwest::Client::builder() [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | assert!(res.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 468 | let res: /* Type */ = reqwest::Client::builder() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:428:54 [INFO] [stdout] | [INFO] [stdout] 428 | .redirect(reqwest::redirect::Policy::custom(|attempt| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 429 | if attempt.url().path().ends_with("/should_not_be_called") { [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] 428 | .redirect(reqwest::redirect::Policy::custom(|attempt: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:405:45 [INFO] [stdout] | [INFO] [stdout] 405 | let res = client.get(&url).send().await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | .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/redirect.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | let res = reqwest::get(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:298:40 [INFO] [stdout] | [INFO] [stdout] 298 | 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/redirect.rs:120:64 [INFO] [stdout] | [INFO] [stdout] 120 | let res = client.post(&url).body("Hello").send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | let res = client.post(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redirect.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | let res = client.get(&url).send().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] [stderr] error: could not compile `reqwest-tor` (test "redirect") due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "056257308b6dba1f0fb4adeb649c7b98f9745f945e5bf459ba02824330ed13af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "056257308b6dba1f0fb4adeb649c7b98f9745f945e5bf459ba02824330ed13af", kill_on_drop: false }` [INFO] [stdout] 056257308b6dba1f0fb4adeb649c7b98f9745f945e5bf459ba02824330ed13af