[INFO] cloning repository https://github.com/OyuNet/lan-tr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OyuNet/lan-tr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOyuNet%2Flan-tr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOyuNet%2Flan-tr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcfc1b1ddcf9aa34829f055308b29b577cda1a8e [INFO] building OyuNet/lan-tr against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOyuNet%2Flan-tr" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OyuNet/lan-tr [INFO] finished tweaking git repo https://github.com/OyuNet/lan-tr [INFO] tweaked toml for git repo https://github.com/OyuNet/lan-tr written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OyuNet/lan-tr on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OyuNet/lan-tr 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5aa6bd9044629d95453fca91ba26fe38c15b5f8dec5e89a72d52981d157c8fc [INFO] running `Command { std: "docker" "start" "-a" "a5aa6bd9044629d95453fca91ba26fe38c15b5f8dec5e89a72d52981d157c8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5aa6bd9044629d95453fca91ba26fe38c15b5f8dec5e89a72d52981d157c8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5aa6bd9044629d95453fca91ba26fe38c15b5f8dec5e89a72d52981d157c8fc", kill_on_drop: false }` [INFO] [stdout] a5aa6bd9044629d95453fca91ba26fe38c15b5f8dec5e89a72d52981d157c8fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7dc7bae7d07555889e5a171d1d0e67901ad5e7607927e291c5be107fd4a18a2 [INFO] running `Command { std: "docker" "start" "-a" "c7dc7bae7d07555889e5a171d1d0e67901ad5e7607927e291c5be107fd4a18a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling gethostname v0.5.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling local-ip-address v0.6.5 [INFO] [stderr] Compiling lan-tr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_verbose` is never used [INFO] [stdout] --> src/cli.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Cli { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_verbose(&self) -> bool { [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 `find_peer` and `remove_peer` are never used [INFO] [stdout] --> src/discovery.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl DiscoveryService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn find_peer(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub async fn remove_peer(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_peers_simple` is never used [INFO] [stdout] --> src/discovery.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | pub async fn discover_peers_simple(timeout_secs: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DiscoveryTimeout`, `PairingFailed`, and `Security` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LanTrError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | DiscoveryTimeout { timeout: u64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | PairingFailed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Security { message: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanTrError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_socket_addr`, `generate_pairing_code`, `verify_pairing_code`, `set_paired`, and `display_short` are never used [INFO] [stdout] --> src/peer.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Peer { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_socket_addr(addr: SocketAddr, hostname: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn generate_pairing_code(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn verify_pairing_code(&self, code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn set_paired(&mut self, paired: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn display_short(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_TEST_DURATION` is never used [INFO] [stdout] --> src/speedtest.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MIN_TEST_DURATION: Duration = Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_sent` and `bytes_received` are never read [INFO] [stdout] --> src/speedtest.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SpeedTestResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub bytes_sent: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub bytes_received: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpeedTestResult` 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: methods `start_server` and `handle_speed_test` are never used [INFO] [stdout] --> src/speedtest.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 82 | impl SpeedTestService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn start_server(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | async fn handle_speed_test(&self, mut stream: TcpStream) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_speed_test` is never used [INFO] [stdout] --> src/speedtest.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | pub async fn quick_speed_test(peer: &Peer, duration_secs: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/transfer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PROTOCOL_VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSFER_TIMEOUT` is never used [INFO] [stdout] --> src/transfer.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TRANSFER_TIMEOUT: Duration = Duration::from_secs(300); // 5 minutes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/transfer.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TransferProgress { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 64 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferProgress` 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: methods `percentage`, `speed_human`, and `eta_human` are never used [INFO] [stdout] --> src/transfer.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl TransferProgress { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn speed_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn eta_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscribe_progress` is never used [INFO] [stdout] --> src/transfer.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl TransferService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn subscribe_progress(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_bytes_per_sec` is never used [INFO] [stdout] --> src/transfer.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn format_bytes_per_sec(bytes_per_sec: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration` is never used [INFO] [stdout] --> src/transfer.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn format_duration(seconds: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_peers` is never used [INFO] [stdout] --> src/tui.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl TuiApp { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn update_peers(&mut self, peers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.60s [INFO] running `Command { std: "docker" "inspect" "c7dc7bae7d07555889e5a171d1d0e67901ad5e7607927e291c5be107fd4a18a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7dc7bae7d07555889e5a171d1d0e67901ad5e7607927e291c5be107fd4a18a2", kill_on_drop: false }` [INFO] [stdout] c7dc7bae7d07555889e5a171d1d0e67901ad5e7607927e291c5be107fd4a18a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d843308f6627268feb2faff747b2a38a3d3e7143f8496d80521b13a6845406 [INFO] running `Command { std: "docker" "start" "-a" "69d843308f6627268feb2faff747b2a38a3d3e7143f8496d80521b13a6845406", kill_on_drop: false }` [INFO] [stderr] Compiling lan-tr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_verbose` is never used [INFO] [stdout] --> src/cli.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Cli { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_verbose(&self) -> bool { [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 `find_peer` and `remove_peer` are never used [INFO] [stdout] --> src/discovery.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 56 | impl DiscoveryService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn find_peer(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub async fn remove_peer(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_peers_simple` is never used [INFO] [stdout] --> src/discovery.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | pub async fn discover_peers_simple(timeout_secs: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DiscoveryTimeout`, `PairingFailed`, and `Security` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum LanTrError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | DiscoveryTimeout { timeout: u64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | PairingFailed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | Security { message: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanTrError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_socket_addr`, `generate_pairing_code`, `verify_pairing_code`, `set_paired`, and `display_short` are never used [INFO] [stdout] --> src/peer.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Peer { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_socket_addr(addr: SocketAddr, hostname: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn generate_pairing_code(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn verify_pairing_code(&self, code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn set_paired(&mut self, paired: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn display_short(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_TEST_DURATION` is never used [INFO] [stdout] --> src/speedtest.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MIN_TEST_DURATION: Duration = Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_sent` and `bytes_received` are never read [INFO] [stdout] --> src/speedtest.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SpeedTestResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub bytes_sent: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | pub bytes_received: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpeedTestResult` 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: methods `start_server` and `handle_speed_test` are never used [INFO] [stdout] --> src/speedtest.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 82 | impl SpeedTestService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub async fn start_server(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | async fn handle_speed_test(&self, mut stream: TcpStream) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_speed_test` is never used [INFO] [stdout] --> src/speedtest.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | pub async fn quick_speed_test(peer: &Peer, duration_secs: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used [INFO] [stdout] --> src/transfer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PROTOCOL_VERSION: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSFER_TIMEOUT` is never used [INFO] [stdout] --> src/transfer.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TRANSFER_TIMEOUT: Duration = Duration::from_secs(300); // 5 minutes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/transfer.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TransferProgress { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 64 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferProgress` 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: methods `percentage`, `speed_human`, and `eta_human` are never used [INFO] [stdout] --> src/transfer.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl TransferProgress { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn percentage(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn speed_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn eta_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscribe_progress` is never used [INFO] [stdout] --> src/transfer.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl TransferService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn subscribe_progress(&self) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_bytes_per_sec` is never used [INFO] [stdout] --> src/transfer.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn format_bytes_per_sec(bytes_per_sec: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration` is never used [INFO] [stdout] --> src/transfer.rs:480:8 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn format_duration(seconds: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_peers` is never used [INFO] [stdout] --> src/tui.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl TuiApp { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn update_peers(&mut self, peers: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "69d843308f6627268feb2faff747b2a38a3d3e7143f8496d80521b13a6845406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d843308f6627268feb2faff747b2a38a3d3e7143f8496d80521b13a6845406", kill_on_drop: false }` [INFO] [stdout] 69d843308f6627268feb2faff747b2a38a3d3e7143f8496d80521b13a6845406