[INFO] cloning repository https://github.com/Saifclow/web-scraper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Saifclow/web-scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaifclow%2Fweb-scraper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaifclow%2Fweb-scraper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 336d2e828066dfd3a7eafdab114c7f20842f87a1
[INFO] testing Saifclow/web-scraper against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaifclow%2Fweb-scraper" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Saifclow/web-scraper
[INFO] finished tweaking git repo https://github.com/Saifclow/web-scraper
[INFO] tweaked toml for git repo https://github.com/Saifclow/web-scraper written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Saifclow/web-scraper on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Saifclow/web-scraper 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80d577a424755e2470d2f6dc71e7aa26cea3415a66dac59d386ccfb148073908
[INFO] running `Command { std: "docker" "start" "-a" "80d577a424755e2470d2f6dc71e7aa26cea3415a66dac59d386ccfb148073908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80d577a424755e2470d2f6dc71e7aa26cea3415a66dac59d386ccfb148073908", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80d577a424755e2470d2f6dc71e7aa26cea3415a66dac59d386ccfb148073908", kill_on_drop: false }`
[INFO] [stdout] 80d577a424755e2470d2f6dc71e7aa26cea3415a66dac59d386ccfb148073908
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53bce4c84af7c044a4cae738cb26b6823a88727a86645d7b434293fe5feaeb7e
[INFO] running `Command { std: "docker" "start" "-a" "53bce4c84af7c044a4cae738cb26b6823a88727a86645d7b434293fe5feaeb7e", kill_on_drop: false }`
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling erased-serde v0.4.10
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling dtoa v1.0.11
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling dtoa-short v0.3.5
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling selectors v0.26.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling markup5ever v0.14.1
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling winnow v1.0.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling cssparser v0.34.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling servo_arc v0.4.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling serde_spanned v1.1.0
[INFO] [stderr]    Compiling toml_datetime v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling match_token v0.1.0
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling unicode-segmentation v1.13.1
[INFO] [stderr]    Compiling iri-string v0.7.11
[INFO] [stderr]    Compiling toml_parser v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling html5ever v0.29.1
[INFO] [stderr]    Compiling yaml-rust2 v0.10.4
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling toml v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling serde-untagged v0.1.9
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling rust-ini v0.21.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.10
[INFO] [stderr]    Compiling env_filter v1.0.1
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]    Compiling ron v0.12.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling ego-tree v0.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling jiff v0.2.23
[INFO] [stderr]    Compiling scraper v0.21.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling config v0.15.22
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling env_logger v0.11.10
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling web-scraper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/main.rs:832:9
[INFO] [stdout]     |
[INFO] [stdout] 832 |     use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]    --> src/main.rs:880:9
[INFO] [stdout]     |
[INFO] [stdout] 880 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_json`
[INFO] [stdout]    --> src/main.rs:847:9
[INFO] [stdout]     |
[INFO] [stdout] 847 |     let user_json: serde_json::Value = user_resp.json().map_err(|e| e.to_string())?;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_json`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseFailed` and `Timeout` are never constructed
[INFO] [stdout]   --> src/scraper.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum ScraperError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 |     ParseFailed(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     Timeout,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScraperError` has a derived impl for the trait `Debug`, but this is 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: methods `extract_first` and `get_request_count` are never used
[INFO] [stdout]    --> src/scraper.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl Scraper {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn extract_first(&self, html: &str, selector: &str) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn get_request_count(&self, host: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_timestamp` is never used
[INFO] [stdout]    --> src/sources.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl HotItem {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn with_timestamp(mut self, ts: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `github_repo` is never used
[INFO] [stdout]    --> src/sources.rs:265:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl Source {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 265 |     pub fn github_repo(owner: &str, repo: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SourceConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SourceConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OutputFormat` is never used
[INFO] [stdout]   --> src/config.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum OutputFormat {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load` and `save` are never used
[INFO] [stdout]   --> src/config.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Config {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 41 |     /// 从文件加载配置
[INFO] [stdout] 42 |     pub fn load(path: &str) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn save(&self, path: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_issues` is never used
[INFO] [stdout]    --> src/output.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl ValidationResult {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 229 |     pub fn has_issues(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "53bce4c84af7c044a4cae738cb26b6823a88727a86645d7b434293fe5feaeb7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53bce4c84af7c044a4cae738cb26b6823a88727a86645d7b434293fe5feaeb7e", kill_on_drop: false }`
[INFO] [stdout] 53bce4c84af7c044a4cae738cb26b6823a88727a86645d7b434293fe5feaeb7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17f34c7fa0bac3d4ee9c3560c6e363de517ac9b6b252b624bc2bd1f70c96915b
[INFO] running `Command { std: "docker" "start" "-a" "17f34c7fa0bac3d4ee9c3560c6e363de517ac9b6b252b624bc2bd1f70c96915b", kill_on_drop: false }`
[INFO] [stderr]    Compiling web-scraper v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/main.rs:832:9
[INFO] [stdout]     |
[INFO] [stdout] 832 |     use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]    --> src/main.rs:880:9
[INFO] [stdout]     |
[INFO] [stdout] 880 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_json`
[INFO] [stdout]    --> src/main.rs:847:9
[INFO] [stdout]     |
[INFO] [stdout] 847 |     let user_json: serde_json::Value = user_resp.json().map_err(|e| e.to_string())?;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_json`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ParseFailed` and `Timeout` are never constructed
[INFO] [stdout]   --> src/scraper.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum ScraperError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 |     ParseFailed(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     Timeout,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScraperError` has a derived impl for the trait `Debug`, but this is 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: methods `extract_first` and `get_request_count` are never used
[INFO] [stdout]    --> src/scraper.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl Scraper {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn extract_first(&self, html: &str, selector: &str) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn get_request_count(&self, host: &str) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_timestamp` is never used
[INFO] [stdout]    --> src/sources.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl HotItem {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn with_timestamp(mut self, ts: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `github_repo` is never used
[INFO] [stdout]    --> src/sources.rs:265:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl Source {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 265 |     pub fn github_repo(owner: &str, repo: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SourceConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SourceConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OutputFormat` is never used
[INFO] [stdout]   --> src/config.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum OutputFormat {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load` and `save` are never used
[INFO] [stdout]   --> src/config.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Config {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 41 |     /// 从文件加载配置
[INFO] [stdout] 42 |     pub fn load(path: &str) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn save(&self, path: &str) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_issues` is never used
[INFO] [stdout]    --> src/output.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl ValidationResult {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] 229 |     pub fn has_issues(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.54s
[INFO] running `Command { std: "docker" "inspect" "17f34c7fa0bac3d4ee9c3560c6e363de517ac9b6b252b624bc2bd1f70c96915b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17f34c7fa0bac3d4ee9c3560c6e363de517ac9b6b252b624bc2bd1f70c96915b", kill_on_drop: false }`
[INFO] [stdout] 17f34c7fa0bac3d4ee9c3560c6e363de517ac9b6b252b624bc2bd1f70c96915b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c57937887e0f1074fda782a6ff30b0ad9f2650b3eeaf230ab19c551b5172db1a
[INFO] running `Command { std: "docker" "start" "-a" "c57937887e0f1074fda782a6ff30b0ad9f2650b3eeaf230ab19c551b5172db1a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]    --> src/main.rs:832:9
[INFO] [stderr]     |
[INFO] [stderr] 832 |     use std::collections::HashMap;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]    --> src/main.rs:880:9
[INFO] [stderr]     |
[INFO] [stderr] 880 |     use std::collections::HashMap;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `user_json`
[INFO] [stderr]    --> src/main.rs:847:9
[INFO] [stderr]     |
[INFO] [stderr] 847 |     let user_json: serde_json::Value = user_resp.json().map_err(|e| e.to_string())?;
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_json`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ParseFailed` and `Timeout` are never constructed
[INFO] [stderr]   --> src/scraper.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub enum ScraperError {
[INFO] [stderr]    |          ------------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 38 |     ParseFailed(String),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     Timeout,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ScraperError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `extract_first` and `get_request_count` are never used
[INFO] [stderr]    --> src/scraper.rs:191:12
[INFO] [stderr]     |
[INFO] [stderr]  54 | impl Scraper {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 191 |     pub fn extract_first(&self, html: &str, selector: &str) -> Option<String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub fn get_request_count(&self, host: &str) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `with_timestamp` is never used
[INFO] [stderr]    --> src/sources.rs:116:12
[INFO] [stderr]     |
[INFO] [stderr]  82 | impl HotItem {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub fn with_timestamp(mut self, ts: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `github_repo` is never used
[INFO] [stderr]    --> src/sources.rs:265:12
[INFO] [stderr]     |
[INFO] [stderr] 137 | impl Source {
[INFO] [stderr]     | ----------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 265 |     pub fn github_repo(owner: &str, repo: &str) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Config` is never constructed
[INFO] [stderr]  --> src/config.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Config {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SourceConfig` is never constructed
[INFO] [stderr]   --> src/config.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct SourceConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `OutputFormat` is never used
[INFO] [stderr]   --> src/config.rs:24:10
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum OutputFormat {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `load` and `save` are never used
[INFO] [stderr]   --> src/config.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl Config {
[INFO] [stderr]    | ----------- associated items in this implementation
[INFO] [stderr] 41 |     /// 从文件加载配置
[INFO] [stderr] 42 |     pub fn load(path: &str) -> Result<Self, String> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub fn save(&self, path: &str) -> Result<(), String> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `has_issues` is never used
[INFO] [stderr]    --> src/output.rs:229:12
[INFO] [stderr]     |
[INFO] [stderr] 228 | impl ValidationResult {
[INFO] [stderr]     | --------------------- method in this implementation
[INFO] [stderr] 229 |     pub fn has_issues(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `web-scraper` (bin "web-scraper" test) generated 12 warnings (run `cargo fix --bin "web-scraper" -p web-scraper --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/web_scraper-d962f71b245e9525)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test scraper::tests::test_clean_text ... ok
[INFO] [stdout] test scraper::tests::test_extract_host ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_scraper-7bce21add2b69955)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test scraper::tests::test_clean_text ... ok
[INFO] [stdout] test scraper::tests::test_extract_host ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests web_scraper
[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" "c57937887e0f1074fda782a6ff30b0ad9f2650b3eeaf230ab19c551b5172db1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c57937887e0f1074fda782a6ff30b0ad9f2650b3eeaf230ab19c551b5172db1a", kill_on_drop: false }`
[INFO] [stdout] c57937887e0f1074fda782a6ff30b0ad9f2650b3eeaf230ab19c551b5172db1a
