[INFO] cloning repository https://github.com/TheBoatyMcBoatFace/findem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheBoatyMcBoatFace/findem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheBoatyMcBoatFace%2Ffindem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheBoatyMcBoatFace%2Ffindem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91d549058b32a57803db8e9d20e39e06682771ef [INFO] building TheBoatyMcBoatFace/findem against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheBoatyMcBoatFace%2Ffindem" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheBoatyMcBoatFace/findem [INFO] finished tweaking git repo https://github.com/TheBoatyMcBoatFace/findem [INFO] tweaked toml for git repo https://github.com/TheBoatyMcBoatFace/findem written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheBoatyMcBoatFace/findem on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheBoatyMcBoatFace/findem 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded num-format v0.4.4 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded quick-xml v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d2c7ea68252eca2105273e134041e0011b1800e950833de5f1318c0c61cdd93 [INFO] running `Command { std: "docker" "start" "-a" "1d2c7ea68252eca2105273e134041e0011b1800e950833de5f1318c0c61cdd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d2c7ea68252eca2105273e134041e0011b1800e950833de5f1318c0c61cdd93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2c7ea68252eca2105273e134041e0011b1800e950833de5f1318c0c61cdd93", kill_on_drop: false }` [INFO] [stdout] 1d2c7ea68252eca2105273e134041e0011b1800e950833de5f1318c0c61cdd93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfcf4e3eb1abb7ae29fb897229da9cc7123c6141725c5633f92353cb9fcb128c [INFO] running `Command { std: "docker" "start" "-a" "cfcf4e3eb1abb7ae29fb897229da9cc7123c6141725c5633f92353cb9fcb128c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.166 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling quick-xml v0.23.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling eot2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check_common_sitemap_urls` [INFO] [stdout] --> src/find_sitemaps/process.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use super::sitemap::{contains_sitemap_tags, check_common_sitemap_urls}; [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 imports: `error` and `warn` [INFO] [stdout] --> src/extract_urls/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | processed.insert(url.into_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | .map(|url| url.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|url| url.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | let mut file = sitemaps_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let mut file = completed_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut file = no_sitemap_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/extract_urls/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/extract_urls/mod.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_sitemap(content: &str, url: &str, sitemap_urls: &HashSet) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/extract_urls/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cpus` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let num_cpus = num_cpus::get(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sitemaps` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sitemaps() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sitemaps` is never used [INFO] [stdout] --> src/find_sitemaps/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_sitemaps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client_with_timeout` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create_client_with_timeout() -> Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_robots_txt` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fetch_robots_txt(domain: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_url` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn validate_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_file` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_to_file(file_path: &std::path::Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_sitemap_index` is never used [INFO] [stdout] --> src/find_sitemaps/parse.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_sitemap_index(content: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_sitemap_url` is never used [INFO] [stdout] --> src/find_sitemaps/validate.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn validate_sitemap_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_xml` is never used [INFO] [stdout] --> src/find_sitemaps/validate.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_xml(content: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_domain` is never used [INFO] [stdout] --> src/find_sitemaps/process.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn process_domain( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_sitemap_content` is never used [INFO] [stdout] --> src/find_sitemaps/process.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn process_sitemap_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_domains` is never used [INFO] [stdout] --> src/find_sitemaps/domain.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_domains(file_path: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_processed_domains` is never used [INFO] [stdout] --> src/find_sitemaps/domain.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn load_processed_domains(no_sitemap_file: &Path, completed_file: &Path) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_sitemap_tags` is never used [INFO] [stdout] --> src/find_sitemaps/sitemap.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains_sitemap_tags(content: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_common_sitemap_urls` is never used [INFO] [stdout] --> src/find_sitemaps/sitemap.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn check_common_sitemap_urls(domain: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.69s [INFO] running `Command { std: "docker" "inspect" "cfcf4e3eb1abb7ae29fb897229da9cc7123c6141725c5633f92353cb9fcb128c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcf4e3eb1abb7ae29fb897229da9cc7123c6141725c5633f92353cb9fcb128c", kill_on_drop: false }` [INFO] [stdout] cfcf4e3eb1abb7ae29fb897229da9cc7123c6141725c5633f92353cb9fcb128c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1d8b934f21d19629d22b05a3389ee894248242c2d105922641475d0e406f36b [INFO] running `Command { std: "docker" "start" "-a" "b1d8b934f21d19629d22b05a3389ee894248242c2d105922641475d0e406f36b", kill_on_drop: false }` [INFO] [stderr] Compiling eot2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check_common_sitemap_urls` [INFO] [stdout] --> src/find_sitemaps/process.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use super::sitemap::{contains_sitemap_tags, check_common_sitemap_urls}; [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 imports: `error` and `warn` [INFO] [stdout] --> src/extract_urls/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{info, warn, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | processed.insert(url.into_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | .map(|url| url.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `reqwest::Url::into_string`: use Into [INFO] [stdout] --> src/extract_urls/mod.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|url| url.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | let mut file = sitemaps_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | let mut file = completed_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/find_sitemaps/mod.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut file = no_sitemap_file.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/extract_urls/mod.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/extract_urls/mod.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_sitemap(content: &str, url: &str, sitemap_urls: &HashSet) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/extract_urls/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cpus` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let num_cpus = num_cpus::get(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_cpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sitemaps` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn sitemaps() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_sitemaps` is never used [INFO] [stdout] --> src/find_sitemaps/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn find_sitemaps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client_with_timeout` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create_client_with_timeout() -> Client { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_robots_txt` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn fetch_robots_txt(domain: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_url` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn validate_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_file` is never used [INFO] [stdout] --> src/find_sitemaps/fetch.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn save_to_file(file_path: &std::path::Path, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_sitemap_index` is never used [INFO] [stdout] --> src/find_sitemaps/parse.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_sitemap_index(content: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_sitemap_url` is never used [INFO] [stdout] --> src/find_sitemaps/validate.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn validate_sitemap_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_xml` is never used [INFO] [stdout] --> src/find_sitemaps/validate.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_xml(content: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_domain` is never used [INFO] [stdout] --> src/find_sitemaps/process.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn process_domain( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_sitemap_content` is never used [INFO] [stdout] --> src/find_sitemaps/process.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn process_sitemap_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_domains` is never used [INFO] [stdout] --> src/find_sitemaps/domain.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_domains(file_path: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_processed_domains` is never used [INFO] [stdout] --> src/find_sitemaps/domain.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn load_processed_domains(no_sitemap_file: &Path, completed_file: &Path) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_sitemap_tags` is never used [INFO] [stdout] --> src/find_sitemaps/sitemap.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn contains_sitemap_tags(content: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_common_sitemap_urls` is never used [INFO] [stdout] --> src/find_sitemaps/sitemap.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn check_common_sitemap_urls(domain: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "b1d8b934f21d19629d22b05a3389ee894248242c2d105922641475d0e406f36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d8b934f21d19629d22b05a3389ee894248242c2d105922641475d0e406f36b", kill_on_drop: false }` [INFO] [stdout] b1d8b934f21d19629d22b05a3389ee894248242c2d105922641475d0e406f36b