[INFO] fetching crate netrunner_cli 0.2.5... [INFO] building netrunner_cli-0.2.5 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate netrunner_cli 0.2.5 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate netrunner_cli 0.2.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate netrunner_cli 0.2.5 [INFO] tweaked toml for crates.io crate netrunner_cli 0.2.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate netrunner_cli 0.2.5 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate netrunner_cli 0.2.5 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d2f7e6efefc783eb91b6c703db3216de3a72e91d4d264847d41e80ac3b8e285 [INFO] running `Command { std: "docker" "start" "-a" "3d2f7e6efefc783eb91b6c703db3216de3a72e91d4d264847d41e80ac3b8e285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d2f7e6efefc783eb91b6c703db3216de3a72e91d4d264847d41e80ac3b8e285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d2f7e6efefc783eb91b6c703db3216de3a72e91d4d264847d41e80ac3b8e285", kill_on_drop: false }` [INFO] [stdout] 3d2f7e6efefc783eb91b6c703db3216de3a72e91d4d264847d41e80ac3b8e285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5832f27146b213b7ac685cc90978ffe47486f0a3ab66168ebbef48da3610dd89 [INFO] running `Command { std: "docker" "start" "-a" "5832f27146b213b7ac685cc90978ffe47486f0a3ab66168ebbef48da3610dd89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling byte-unit v4.0.19 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling netrunner_cli v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `ConnectionQuality`, `DetailLevel`, `SpeedTestResult`, and `TestConfig` [INFO] [stdout] --> src/modules/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use types::{SpeedTestResult, TestConfig, ConnectionQuality, DetailLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed_test` [INFO] [stdout] --> src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let speed_test = SpeedTest::new(config.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_speed_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_animated_text` is never used [INFO] [stdout] --> src/modules/ui.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn show_animated_text(&self, text: &str, delay_ms: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_results`, `clear_history`, and `get_db_path` are never used [INFO] [stdout] --> src/modules/history.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HistoryStorage { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_all_results(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn clear_history(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_db_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "5832f27146b213b7ac685cc90978ffe47486f0a3ab66168ebbef48da3610dd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5832f27146b213b7ac685cc90978ffe47486f0a3ab66168ebbef48da3610dd89", kill_on_drop: false }` [INFO] [stdout] 5832f27146b213b7ac685cc90978ffe47486f0a3ab66168ebbef48da3610dd89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14a82826ec6568d532ebcc1b0d3f7a36266bdee731c93e5f5fc03d56ad75eb89 [INFO] running `Command { std: "docker" "start" "-a" "14a82826ec6568d532ebcc1b0d3f7a36266bdee731c93e5f5fc03d56ad75eb89", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling netrunner_cli v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_test` [INFO] [stdout] --> tests/speed_test_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_test; [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: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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: `tempfile::tempdir` [INFO] [stdout] --> tests/speed_test_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `ConnectionQuality`, `DetailLevel`, `SpeedTestResult`, and `TestConfig` [INFO] [stdout] --> src/modules/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use types::{SpeedTestResult, TestConfig, ConnectionQuality, DetailLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/modules/ui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `ConnectionQuality`, `DetailLevel`, `SpeedTestResult`, and `TestConfig` [INFO] [stdout] --> src/modules/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use types::{SpeedTestResult, TestConfig, ConnectionQuality, DetailLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed_test` [INFO] [stdout] --> src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let speed_test = SpeedTest::new(config.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_speed_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:580:52 [INFO] [stdout] | [INFO] [stdout] 580 | async fn test_download_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1266:44 [INFO] [stdout] | [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/modules/speed_test.rs:1295:50 [INFO] [stdout] | [INFO] [stdout] 1295 | async fn test_upload_speed_simplified(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed_test` [INFO] [stdout] --> src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let speed_test = SpeedTest::new(config.clone())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_speed_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_animated_text` is never used [INFO] [stdout] --> src/modules/ui.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn show_animated_text(&self, text: &str, delay_ms: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_results`, `clear_history`, and `get_db_path` are never used [INFO] [stdout] --> src/modules/history.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HistoryStorage { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_all_results(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn clear_history(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_db_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_animated_text` is never used [INFO] [stdout] --> src/modules/ui.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UI { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn show_animated_text(&self, text: &str, delay_ms: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `server_health_cache` is never read [INFO] [stdout] --> src/modules/speed_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SpeedTest { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | server_health_cache: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_tested`, `success_rate`, `average_latency`, `consecutive_failures`, and `is_healthy` are never read [INFO] [stdout] --> src/modules/speed_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct ServerHealth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 23 | last_tested: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | success_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | average_latency: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | consecutive_failures: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | is_healthy: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerHealth` 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: multiple methods are never used [INFO] [stdout] --> src/modules/speed_test.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 30 | impl SpeedTest { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 648 | async fn quick_speed_estimate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | async fn simple_download_test(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1185 | async fn measure_download_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1233 | fn get_test_download_urls(&self, server_url: &str, size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1266 | async fn fallback_download_test(&self, server_url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1421 | async fn fallback_upload_measurement(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1426 | async fn measure_upload_speed(&self, server_url: &str, test_size: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1477 | fn get_upload_test_urls(&self, server_url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1498 | async fn estimate_upload_speed(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `city`, `country_code`, `region`, `latitude`, `longitude`, and `isp` are never read [INFO] [stdout] --> src/modules/speed_test.rs:1867:5 [INFO] [stdout] | [INFO] [stdout] 1866 | struct LocationInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 1867 | city: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1868 | country: Option, [INFO] [stdout] 1869 | country_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1870 | region: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1871 | latitude: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1872 | longitude: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1873 | isp: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_results`, `clear_history`, and `get_db_path` are never used [INFO] [stdout] --> src/modules/history.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HistoryStorage { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_all_results(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn clear_history(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_db_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.00s [INFO] running `Command { std: "docker" "inspect" "14a82826ec6568d532ebcc1b0d3f7a36266bdee731c93e5f5fc03d56ad75eb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a82826ec6568d532ebcc1b0d3f7a36266bdee731c93e5f5fc03d56ad75eb89", kill_on_drop: false }` [INFO] [stdout] 14a82826ec6568d532ebcc1b0d3f7a36266bdee731c93e5f5fc03d56ad75eb89