[INFO] cloning repository https://github.com/ButterTim/IceTorrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ButterTim/IceTorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButterTim%2FIceTorrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButterTim%2FIceTorrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c63adc9e6bda3527cb7f639282be376ef95a0e18
[INFO] checking ButterTim/IceTorrent against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FButterTim%2FIceTorrent" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ButterTim/IceTorrent
[INFO] finished tweaking git repo https://github.com/ButterTim/IceTorrent
[INFO] tweaked toml for git repo https://github.com/ButterTim/IceTorrent written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ButterTim/IceTorrent on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ButterTim/IceTorrent 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" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded poll-promise v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2454e531073ed82929c40ae2bfd1760d47de6c8bb3eae255385ec08f52634ed9
[INFO] running `Command { std: "docker" "start" "-a" "2454e531073ed82929c40ae2bfd1760d47de6c8bb3eae255385ec08f52634ed9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2454e531073ed82929c40ae2bfd1760d47de6c8bb3eae255385ec08f52634ed9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2454e531073ed82929c40ae2bfd1760d47de6c8bb3eae255385ec08f52634ed9", kill_on_drop: false }`
[INFO] [stdout] 2454e531073ed82929c40ae2bfd1760d47de6c8bb3eae255385ec08f52634ed9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e670d6ddcf604d847765a8d4b960ac231581f68367c0a96e954e31291599f1be
[INFO] running `Command { std: "docker" "start" "-a" "e670d6ddcf604d847765a8d4b960ac231581f68367c0a96e954e31291599f1be", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking async-broadcast v0.5.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking async-executor v1.13.3
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking accesskit v0.12.3
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking async-once-cell v0.5.4
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]     Checking accesskit_consumer v0.16.1
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking web-time v0.2.4
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking poll-promise v0.3.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking emath v0.24.1
[INFO] [stderr]     Checking ecolor v0.24.1
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking epaint v0.24.1
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]     Checking egui v0.24.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking enumflags2 v0.7.12
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bencode v0.2.4
[INFO] [stderr]     Checking zvariant v3.15.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking egui_glow v0.24.1
[INFO] [stderr]     Checking webbrowser v0.8.15
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking zbus_names v2.6.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking zbus v3.15.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking atspi-common v0.3.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking smithay-clipboard v0.6.6
[INFO] [stderr]     Checking atspi-proxies v0.3.0
[INFO] [stderr]     Checking atspi-connection v0.3.0
[INFO] [stderr]     Checking atspi v0.19.0
[INFO] [stderr]     Checking accesskit_unix v0.6.2
[INFO] [stderr]     Checking accesskit_winit v0.15.0
[INFO] [stderr]     Checking egui-winit v0.24.1
[INFO] [stderr]     Checking eframe v0.24.1
[INFO] [stderr]     Checking icetorrent v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `client::TorrentClient`
[INFO] [stdout]  --> src/torrent/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use client::TorrentClient;
[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: `client::TorrentClient`
[INFO] [stdout]  --> src/torrent/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use client::TorrentClient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TorrentFile` is never constructed
[INFO] [stdout]  --> src/torrent/models.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct TorrentFile {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Info` is never constructed
[INFO] [stdout]  --> src/torrent/models.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Info {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/torrent/models.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Mode {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Torrent` is never constructed
[INFO] [stdout]   --> src/torrent/models.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Torrent {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `info_hash` is never read
[INFO] [stdout]   --> src/torrent/models.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct TorrentState {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 35 |     pub info_hash: [u8; 20],
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TorrentState` 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: fields `ip`, `port`, and `client` are never read
[INFO] [stdout]   --> src/torrent/models.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 49 |     pub ip: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 50 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 51 |     pub client: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` 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: variants `Seeding`, `Paused`, `Completed`, and `Error` are never constructed
[INFO] [stdout]   --> src/torrent/models.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum TorrentStatus {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 56 |     Downloading,
[INFO] [stdout] 57 |     Seeding,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     Paused,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 59 |     Completed,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 60 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TorrentStatus` 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: function `parse_torrent` is never used
[INFO] [stdout]  --> src/torrent/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn parse_torrent(_data: &[u8]) -> Result<(Torrent, [u8; 20]), Box<dyn std::error::Error>> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_size` is never used
[INFO] [stdout]   --> src/torrent/parser.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn get_total_size(info: &Info) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrackerClient` is never constructed
[INFO] [stdout]  --> src/network/tracker.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TrackerClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `announce` are never used
[INFO] [stdout]   --> src/network/tracker.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TrackerClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout]  9 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub async fn announce(
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_peer_id` is never used
[INFO] [stdout]   --> src/network/tracker.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn generate_peer_id() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Handshake` is never constructed
[INFO] [stdout]  --> src/network/protocol.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Handshake {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/network/protocol.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Handshake {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new(info_hash: [u8; 20], peer_id: String) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/network/protocol.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Message {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TorrentFile` is never constructed
[INFO] [stdout]  --> src/torrent/models.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct TorrentFile {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Info` is never constructed
[INFO] [stdout]  --> src/torrent/models.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Info {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]   --> src/torrent/models.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Mode {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Torrent` is never constructed
[INFO] [stdout]   --> src/torrent/models.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Torrent {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `info_hash` is never read
[INFO] [stdout]   --> src/torrent/models.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct TorrentState {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 35 |     pub info_hash: [u8; 20],
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TorrentState` 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: fields `ip`, `port`, and `client` are never read
[INFO] [stdout]   --> src/torrent/models.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 49 |     pub ip: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 50 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 51 |     pub client: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` 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: variants `Seeding`, `Paused`, `Completed`, and `Error` are never constructed
[INFO] [stdout]   --> src/torrent/models.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub enum TorrentStatus {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 56 |     Downloading,
[INFO] [stdout] 57 |     Seeding,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     Paused,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 59 |     Completed,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 60 |     Error(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TorrentStatus` 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: function `parse_torrent` is never used
[INFO] [stdout]  --> src/torrent/parser.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn parse_torrent(_data: &[u8]) -> Result<(Torrent, [u8; 20]), Box<dyn std::error::Error>> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_size` is never used
[INFO] [stdout]   --> src/torrent/parser.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn get_total_size(info: &Info) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrackerClient` is never constructed
[INFO] [stdout]  --> src/network/tracker.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TrackerClient {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `announce` are never used
[INFO] [stdout]   --> src/network/tracker.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TrackerClient {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout]  9 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub async fn announce(
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_peer_id` is never used
[INFO] [stdout]   --> src/network/tracker.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn generate_peer_id() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Handshake` is never constructed
[INFO] [stdout]  --> src/network/protocol.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Handshake {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/network/protocol.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Handshake {
[INFO] [stdout]   | -------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new(info_hash: [u8; 20], peer_id: String) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/network/protocol.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Message {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "e670d6ddcf604d847765a8d4b960ac231581f68367c0a96e954e31291599f1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e670d6ddcf604d847765a8d4b960ac231581f68367c0a96e954e31291599f1be", kill_on_drop: false }`
[INFO] [stdout] e670d6ddcf604d847765a8d4b960ac231581f68367c0a96e954e31291599f1be
