[INFO] cloning repository https://github.com/THEANDS/gsmarena-scraper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/THEANDS/gsmarena-scraper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHEANDS%2Fgsmarena-scraper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHEANDS%2Fgsmarena-scraper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 334e9fd944efc17cc92a9772731937558b5e84c7 [INFO] testing THEANDS/gsmarena-scraper against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTHEANDS%2Fgsmarena-scraper" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/THEANDS/gsmarena-scraper [INFO] finished tweaking git repo https://github.com/THEANDS/gsmarena-scraper [INFO] tweaked toml for git repo https://github.com/THEANDS/gsmarena-scraper written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/THEANDS/gsmarena-scraper on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/THEANDS/gsmarena-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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 676ce582c9dd4b7e48c8689303ffde0f1955e796af81cd705c7c565f3a83869f [INFO] running `Command { std: "docker" "start" "-a" "676ce582c9dd4b7e48c8689303ffde0f1955e796af81cd705c7c565f3a83869f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "676ce582c9dd4b7e48c8689303ffde0f1955e796af81cd705c7c565f3a83869f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "676ce582c9dd4b7e48c8689303ffde0f1955e796af81cd705c7c565f3a83869f", kill_on_drop: false }` [INFO] [stdout] 676ce582c9dd4b7e48c8689303ffde0f1955e796af81cd705c7c565f3a83869f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 6d105a78273576374ebcffcd67fc02a14cc45a805d810bc42979cef745a693ce [INFO] running `Command { std: "docker" "start" "-a" "6d105a78273576374ebcffcd67fc02a14cc45a805d810bc42979cef745a693ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_codegen v0.13.1 [INFO] [stderr] Compiling string_cache_codegen v0.6.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling selectors v0.33.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling web_atoms v0.2.0 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling derive_more v2.1.0 [INFO] [stderr] Compiling cssparser v0.36.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling env_logger v0.11.8 [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 icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling string_cache v0.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling markup5ever v0.36.1 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling html5ever v0.36.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling scraper v0.25.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling select v0.6.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.25 [INFO] [stderr] Compiling gsmarena-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/scraper.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/scraper.rs:254:74 [INFO] [stdout] | [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size`, `pause_after_batches`, and `pause_duration_seconds` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub batch_size: usize, // Novo: processar em lotes [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub pause_after_batches: usize, // Novo: pausar após X lotes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub pause_duration_seconds: u64, // Novo: duração da pausa [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_delay`, `with_batch_size`, and `with_pause_settings` are never used [INFO] [stdout] --> src/config.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn with_delay(mut self, delay_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn with_batch_size(mut self, batch_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_pause_settings(mut self, pause_after_batches: usize, pause_seconds: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scraper.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PhoneScraper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn scrape_phone_details(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn scrape_phone_details_with_batching(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | fn process_batch(&self, batch: &[Phone], batch_num: usize) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn load_progress(&self) -> Result<(usize, usize), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn save_progress(&self, batch_num: usize, processed_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | fn countdown_pause(&self, seconds: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.65s [INFO] running `Command { std: "docker" "inspect" "6d105a78273576374ebcffcd67fc02a14cc45a805d810bc42979cef745a693ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d105a78273576374ebcffcd67fc02a14cc45a805d810bc42979cef745a693ce", kill_on_drop: false }` [INFO] [stdout] 6d105a78273576374ebcffcd67fc02a14cc45a805d810bc42979cef745a693ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e45c29b00eaf5609435592fa7aa3ef2161e567bf23b19bb32c7cbf74c5b576de [INFO] running `Command { std: "docker" "start" "-a" "e45c29b00eaf5609435592fa7aa3ef2161e567bf23b19bb32c7cbf74c5b576de", kill_on_drop: false }` [INFO] [stderr] Compiling gsmarena-scraper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/scraper.rs:254:58 [INFO] [stdout] | [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/scraper.rs:254:74 [INFO] [stdout] | [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batch_size`, `pause_after_batches`, and `pause_duration_seconds` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub batch_size: usize, // Novo: processar em lotes [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub pause_after_batches: usize, // Novo: pausar após X lotes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub pause_duration_seconds: u64, // Novo: duração da pausa [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_delay`, `with_batch_size`, and `with_pause_settings` are never used [INFO] [stdout] --> src/config.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn with_delay(mut self, delay_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn with_batch_size(mut self, batch_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_pause_settings(mut self, pause_after_batches: usize, pause_seconds: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scraper.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PhoneScraper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn scrape_phone_details(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn scrape_phone_details_with_batching(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | fn process_batch(&self, batch: &[Phone], batch_num: usize) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | fn load_progress(&self) -> Result<(usize, usize), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn save_progress(&self, batch_num: usize, processed_count: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | fn countdown_pause(&self, seconds: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "e45c29b00eaf5609435592fa7aa3ef2161e567bf23b19bb32c7cbf74c5b576de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45c29b00eaf5609435592fa7aa3ef2161e567bf23b19bb32c7cbf74c5b576de", kill_on_drop: false }` [INFO] [stdout] e45c29b00eaf5609435592fa7aa3ef2161e567bf23b19bb32c7cbf74c5b576de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 7a03cc09e42b7acfc55dc725af333178e4296e82d16de149b102d343cb365957 [INFO] running `Command { std: "docker" "start" "-a" "7a03cc09e42b7acfc55dc725af333178e4296e82d16de149b102d343cb365957", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `current` [INFO] [stdout] [INFO] [stderr] --> src/scraper.rs:254:58 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total` [INFO] [stderr] --> src/scraper.rs:254:74 [INFO] [stderr] | [INFO] [stderr] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stderr] [INFO] [stderr] warning: fields `batch_size`, `pause_after_batches`, and `pause_duration_seconds` are never read [INFO] [stderr] --> src/config.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | pub batch_size: usize, // Novo: processar em lotes [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 8 | pub pause_after_batches: usize, // Novo: pausar após X lotes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | pub pause_duration_seconds: u64, // Novo: duração da pausa [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `with_delay`, `with_batch_size`, and `with_pause_settings` are never used [INFO] [stderr] --> src/config.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn with_delay(mut self, delay_ms: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn with_batch_size(mut self, batch_size: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn with_pause_settings(mut self, pause_after_batches: usize, pause_seconds: u64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/scraper.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl PhoneScraper { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 116 | pub fn scrape_phone_details(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | fn scrape_single_phone_details(&self, phone: &Phone, current: usize, total: usize) -> PhoneDetails { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 430 | pub fn scrape_phone_details_with_batching(&self, phones: &[Phone]) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 492 | fn process_batch(&self, batch: &[Phone], batch_num: usize) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 577 | fn load_progress(&self) -> Result<(usize, usize), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 596 | fn save_progress(&self, batch_num: usize, processed_count: usize) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 607 | fn countdown_pause(&self, seconds: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gsmarena-scraper` (bin "gsmarena-scraper" test) generated 5 warnings (run `cargo fix --bin "gsmarena-scraper" -p gsmarena-scraper --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/gsmarena-scraper/d5330ab44527096c/deps/gsmarena_scraper-d5330ab44527096c) [INFO] running `Command { std: "docker" "inspect" "7a03cc09e42b7acfc55dc725af333178e4296e82d16de149b102d343cb365957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a03cc09e42b7acfc55dc725af333178e4296e82d16de149b102d343cb365957", kill_on_drop: false }` [INFO] [stdout] 7a03cc09e42b7acfc55dc725af333178e4296e82d16de149b102d343cb365957