[INFO] cloning repository https://github.com/ZTaylor97/btrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZTaylor97/btrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZTaylor97%2Fbtrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZTaylor97%2Fbtrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0fbe1e5830b1479279fbf983dda4d6b1ad57a43 [INFO] building ZTaylor97/btrs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZTaylor97%2Fbtrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ZTaylor97/btrs [INFO] finished tweaking git repo https://github.com/ZTaylor97/btrs [INFO] tweaked toml for git repo https://github.com/ZTaylor97/btrs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ZTaylor97/btrs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ZTaylor97/btrs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded serde_bencode v0.2.4 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded errno v0.3.12 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded reqwest v0.12.19 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 420d069b2f3c805df6ade631b75dcc6b4ae5cd506ba8a204140a630cb43450c9 [INFO] running `Command { std: "docker" "start" "-a" "420d069b2f3c805df6ade631b75dcc6b4ae5cd506ba8a204140a630cb43450c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "420d069b2f3c805df6ade631b75dcc6b4ae5cd506ba8a204140a630cb43450c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420d069b2f3c805df6ade631b75dcc6b4ae5cd506ba8a204140a630cb43450c9", kill_on_drop: false }` [INFO] [stdout] 420d069b2f3c805df6ade631b75dcc6b4ae5cd506ba8a204140a630cb43450c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b31ee1b8d9237d1ee9639b56e6c65300b1fb02d740997cad769169448e54e854 [INFO] running `Command { std: "docker" "start" "-a" "b31ee1b8d9237d1ee9639b56e6c65300b1fb02d740997cad769169448e54e854", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling serde_bencode v0.2.4 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [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 futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.19 [INFO] [stderr] Compiling btrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/torrent/tracker.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [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: `reader_handle` [INFO] [stdout] --> src/torrent/peer_session.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let reader_handle = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer_handle` [INFO] [stdout] --> src/torrent/peer_session.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let writer_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/torrent/peer_session.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> src/torrent/peer_session.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/torrent/peer_session.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/tui/torrent_details.rs:102:82 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn render_files(&mut self, f: &mut Frame, area: Rect, files: &FileEntry, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/torrent/peer_session/work.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PieceWork { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub block_size: usize, [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 `index` is never read [INFO] [stdout] --> src/torrent/peer_session/work.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlockResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PieceManager` is never constructed [INFO] [stdout] --> src/torrent/piece_manager.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PieceManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PieceMetadata` is never constructed [INFO] [stdout] --> src/torrent/piece_manager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PieceMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/torrent/piece_manager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PieceManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.26s [INFO] running `Command { std: "docker" "inspect" "b31ee1b8d9237d1ee9639b56e6c65300b1fb02d740997cad769169448e54e854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31ee1b8d9237d1ee9639b56e6c65300b1fb02d740997cad769169448e54e854", kill_on_drop: false }` [INFO] [stdout] b31ee1b8d9237d1ee9639b56e6c65300b1fb02d740997cad769169448e54e854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e8409b3463424ff3245fa15366ff6b647b4b949de5a86cf1ccc54ae0a2df29 [INFO] running `Command { std: "docker" "start" "-a" "65e8409b3463424ff3245fa15366ff6b647b4b949de5a86cf1ccc54ae0a2df29", kill_on_drop: false }` [INFO] [stderr] Compiling btrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/torrent/tracker.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [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: `reader_handle` [INFO] [stdout] --> src/torrent/peer_session.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let reader_handle = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer_handle` [INFO] [stdout] --> src/torrent/peer_session.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let writer_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/torrent/peer_session.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | index, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> src/torrent/peer_session.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/torrent/peer_session.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | length, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `length: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/torrent/peer_session.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let count = socket.read(&mut handshake).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 379 | let _count = socket.read(&mut handshake).await.unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BLOCK_SIZE` [INFO] [stdout] | [INFO] [stdout] 379 - let count = socket.read(&mut handshake).await.unwrap(); [INFO] [stdout] 379 + let torrent::peer_session::work::BLOCK_SIZE = socket.read(&mut handshake).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/tui/torrent_details.rs:102:82 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn render_files(&mut self, f: &mut Frame, area: Rect, files: &FileEntry, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/torrent/peer_session/work.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct PieceWork { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub block_size: usize, [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 `index` is never read [INFO] [stdout] --> src/torrent/peer_session/work.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlockResponse { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 26 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PieceManager` is never constructed [INFO] [stdout] --> src/torrent/piece_manager.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PieceManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PieceMetadata` is never constructed [INFO] [stdout] --> src/torrent/piece_manager.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PieceMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/torrent/piece_manager.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl PieceManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "65e8409b3463424ff3245fa15366ff6b647b4b949de5a86cf1ccc54ae0a2df29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e8409b3463424ff3245fa15366ff6b647b4b949de5a86cf1ccc54ae0a2df29", kill_on_drop: false }` [INFO] [stdout] 65e8409b3463424ff3245fa15366ff6b647b4b949de5a86cf1ccc54ae0a2df29