[INFO] cloning repository https://github.com/Sippinnrippin/Watson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sippinnrippin/Watson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSippinnrippin%2FWatson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSippinnrippin%2FWatson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 667c22538eb8afa79b68df4f62575e3097846009 [INFO] testing Sippinnrippin/Watson against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSippinnrippin%2FWatson" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sippinnrippin/Watson [INFO] finished tweaking git repo https://github.com/Sippinnrippin/Watson [INFO] tweaked toml for git repo https://github.com/Sippinnrippin/Watson written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sippinnrippin/Watson on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sippinnrippin/Watson 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.113 [INFO] [stderr] Downloaded wasm-bindgen v0.2.113 [INFO] [stderr] Downloaded tokio-socks v0.5.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.63 [INFO] [stderr] Downloaded tempfile v3.26.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.113 [INFO] [stderr] Downloaded js-sys v0.3.90 [INFO] [stderr] Downloaded getrandom v0.4.1 [INFO] [stderr] Downloaded stability v0.2.1 [INFO] [stderr] Downloaded env_logger v0.11.9 [INFO] [stderr] Downloaded portable-atomic-util v0.2.5 [INFO] [stderr] Downloaded zerocopy-derive v0.8.40 [INFO] [stderr] Downloaded env_filter v1.0.0 [INFO] [stderr] Downloaded jiff-static v0.2.21 [INFO] [stderr] Downloaded ratatui v0.26.3 [INFO] [stderr] Downloaded zerocopy v0.8.40 [INFO] [stderr] Downloaded web-sys v0.3.90 [INFO] [stderr] Downloaded clap v4.5.60 [INFO] [stderr] Downloaded jiff v0.2.21 [INFO] [stderr] Downloaded clap_builder v4.5.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3 [INFO] running `Command { std: "docker" "start" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling jiff v0.2.21 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling watson v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/ua/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgressUpdate` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use engine::{ProgressUpdate, QueryResult, SearchEngine}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::ProgressCallback` [INFO] [stdout] --> src/main.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | use engine::ProgressCallback; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scraper` [INFO] [stdout] --> src/scrape/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let scraper = match EmailScraper::new(timeout, rotate_ua) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scraper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let permit = semaphore.clone().acquire_owned().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let username = match &cli.username { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/engine/mod.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | Started { total: usize, username: String }, [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_found` is never read [INFO] [stdout] --> src/engine/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | Completed { total_found: usize }, [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/engine/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct SearchEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 88 | http_client: HttpClient, [INFO] [stdout] 89 | timeout: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_site` is never used [INFO] [stdout] --> src/engine/mod.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 96 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | async fn check_site( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/http/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_proxy` is never used [INFO] [stdout] --> src/http/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn has_proxy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputFormat` is never used [INFO] [stdout] --> src/output/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum OutputFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/scrape/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EmailScraper { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/ua/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl UserAgentRotator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_all(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling watson v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/ua/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgressUpdate` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use engine::{ProgressUpdate, QueryResult, SearchEngine}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::ProgressCallback` [INFO] [stdout] --> src/main.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | use engine::ProgressCallback; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scraper` [INFO] [stdout] --> src/scrape/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let scraper = match EmailScraper::new(timeout, rotate_ua) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scraper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permit` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let permit = semaphore.clone().acquire_owned().await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let username = match &cli.username { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/engine/mod.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | Started { total: usize, username: String }, [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_found` is never read [INFO] [stdout] --> src/engine/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | Completed { total_found: usize }, [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/engine/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct SearchEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 88 | http_client: HttpClient, [INFO] [stdout] 89 | timeout: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_site` is never used [INFO] [stdout] --> src/engine/mod.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 96 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | async fn check_site( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/http/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_proxy` is never used [INFO] [stdout] --> src/http/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl HttpClient { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn has_proxy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputFormat` is never used [INFO] [stdout] --> src/output/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum OutputFormat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/scrape/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EmailScraper { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all` is never used [INFO] [stdout] --> src/ua/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl UserAgentRotator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_all(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/ua/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ProgressUpdate` [INFO] [stderr] --> src/main.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | use engine::{ProgressUpdate, QueryResult, SearchEngine}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `engine::ProgressCallback` [INFO] [stderr] --> src/main.rs:383:13 [INFO] [stderr] | [INFO] [stderr] 383 | use engine::ProgressCallback; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scraper` [INFO] [stderr] --> src/scrape/mod.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | let scraper = match EmailScraper::new(timeout, rotate_ua) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scraper` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `permit` [INFO] [stderr] --> src/main.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | let permit = semaphore.clone().acquire_owned().await.unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_permit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/main.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | let username = match &cli.username { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: field `username` is never read [INFO] [stderr] --> src/engine/mod.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | Started { total: usize, username: String }, [INFO] [stderr] | ------- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `total_found` is never read [INFO] [stderr] --> src/engine/mod.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | Completed { total_found: usize }, [INFO] [stderr] | --------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ProgressUpdate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `timeout` is never read [INFO] [stderr] --> src/engine/mod.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 87 | pub struct SearchEngine { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 88 | http_client: HttpClient, [INFO] [stderr] 89 | timeout: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `check_site` is never used [INFO] [stderr] --> src/engine/mod.rs:213:14 [INFO] [stderr] | [INFO] [stderr] 96 | impl SearchEngine { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 213 | async fn check_site( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/http/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct HttpClient { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 9 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `has_proxy` is never used [INFO] [stderr] --> src/http/mod.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl HttpClient { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 170 | pub fn has_proxy(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `OutputFormat` is never used [INFO] [stderr] --> src/output/mod.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum OutputFormat { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/scrape/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct EmailScraper { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 9 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_all` is never used [INFO] [stderr] --> src/ua/mod.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl UserAgentRotator { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn get_all(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `watson` (bin "watson" test) generated 15 warnings (run `cargo fix --bin "watson" -p watson --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/watson-f70cef3052f37626) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3", kill_on_drop: false }` [INFO] [stdout] 9aec26a738191adf77fc68fe7d30ec3fede9cf7c11701ea85eccf5a58b57dcc3