[INFO] cloning repository https://github.com/amin-mir/bittorrent-client-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amin-mir/bittorrent-client-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famin-mir%2Fbittorrent-client-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famin-mir%2Fbittorrent-client-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae3704c3f17740d65e706ca90bc111ac904dc12d
[INFO] checking amin-mir/bittorrent-client-rs against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famin-mir%2Fbittorrent-client-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/amin-mir/bittorrent-client-rs
[INFO] finished tweaking git repo https://github.com/amin-mir/bittorrent-client-rs
[INFO] tweaked toml for git repo https://github.com/amin-mir/bittorrent-client-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amin-mir/bittorrent-client-rs on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/amin-mir/bittorrent-client-rs 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking amin-mir/bittorrent-client-rs against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famin-mir%2Fbittorrent-client-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/amin-mir/bittorrent-client-rs
[INFO] finished tweaking git repo https://github.com/amin-mir/bittorrent-client-rs
[INFO] tweaked toml for git repo https://github.com/amin-mir/bittorrent-client-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/amin-mir/bittorrent-client-rs on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/amin-mir/bittorrent-client-rs 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.52.3
[INFO] [stderr]   Downloaded socket2 v0.5.6
[INFO] [stderr]   Downloaded enum-as-inner v0.6.0
[INFO] [stderr]   Downloaded serde_bencode v0.2.4
[INFO] [stderr]   Downloaded anstream v0.6.12
[INFO] [stderr]   Downloaded kanal v0.1.0-pre8
[INFO] [stderr]   Downloaded anyhow v1.0.80
[INFO] [stderr]   Downloaded clap v4.5.1
[INFO] [stderr]   Downloaded openssl-sys v0.9.101
[INFO] [stderr]   Downloaded cc v1.0.87
[INFO] [stderr]   Downloaded trust-dns-resolver v0.23.2
[INFO] [stderr]   Downloaded bumpalo v3.15.3
[INFO] [stderr]   Downloaded clap_builder v4.5.1
[INFO] [stderr]   Downloaded reqwest v0.11.24
[INFO] [stderr]   Downloaded hyper v0.14.28
[INFO] [stderr]   Downloaded syn v2.0.50
[INFO] [stderr]   Downloaded openssl v0.10.64
[INFO] [stderr]   Downloaded trust-dns-proto v0.23.2
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.3
[INFO] [stderr]   Downloaded rustix v0.38.31
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.3
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.3
[INFO] [stderr]   Downloaded web-sys v0.3.68
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.3
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.3
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.3
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d
[INFO] running `Command { std: "docker" "start" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling cc v1.0.87
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking httparse v1.8.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking strsim v0.11.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking anstream v0.6.12
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling anyhow v1.0.80
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking indexmap v2.2.3
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]    Compiling syn v2.0.50
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking clap_builder v4.5.1
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking kanal v0.1.0-pre8
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling enum-as-inner v0.6.0
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking clap v4.5.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking trust-dns-proto v0.23.2
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bytes v0.11.14
[INFO] [stderr]     Checking serde_bencode v0.2.4
[INFO] [stderr]     Checking trust-dns-resolver v0.23.2
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.24
[INFO] [stderr]     Checking bittorrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/main.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{bail, Context, Result};
[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: `DownloadType`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bencode::{Decoder, DownloadType, Torrent};
[INFO] [stdout]   |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/download/mod.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tracker`
[INFO] [stdout]   --> src/download/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::tracker;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peer`
[INFO] [stdout]  --> src/tracker/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use peers::{Peer, Peers};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DiscoverRequest` and `HttpTracker`
[INFO] [stdout]  --> src/tracker/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use http::{DiscoverRequest, HttpTracker};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/main.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{bail, Context, Result};
[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: `DownloadType`
[INFO] [stdout]  --> src/main.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bencode::{Decoder, DownloadType, Torrent};
[INFO] [stdout]   |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/download/mod.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::tracker`
[INFO] [stdout]   --> src/download/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::tracker;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peer`
[INFO] [stdout]  --> src/tracker/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use peers::{Peer, Peers};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DiscoverRequest` and `HttpTracker`
[INFO] [stdout]  --> src/tracker/mod.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use http::{DiscoverRequest, HttpTracker};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/download/mod.rs:360:17
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 index,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/download/mod.rs:361:17
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 begin,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `begin: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]    --> src/download/mod.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |                 length,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/download/mod.rs:433:17
[INFO] [stdout]     |
[INFO] [stdout] 433 |                 index,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/download/mod.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 |                 begin,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `begin: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]    --> src/download/mod.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 length,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/download/mod.rs:543:5
[INFO] [stdout]     |
[INFO] [stdout] 543 |     addr: SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_vec` is never used
[INFO] [stdout]   --> src/download/bitfield.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Bitfield {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 51 |     pub fn from_vec(total_pieces: usize, v: Vec<u8>) -> Self {
[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 `Peers` is never constructed
[INFO] [stdout]  --> src/tracker/peers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Peers(Vec<Peer>);
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Peer` is never constructed
[INFO] [stdout]  --> src/tracker/peers.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Peer {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpTracker` is never constructed
[INFO] [stdout]  --> src/tracker/http.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct HttpTracker {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/tracker/http.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl HttpTracker {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiscoverRequest` is never constructed
[INFO] [stdout]   --> src/tracker/http.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct DiscoverRequest<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `url_encode` are never used
[INFO] [stdout]   --> src/tracker/http.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<'a> DiscoverRequest<'a> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 32 |     pub fn new(info_hash: &'a [u8; 20], peer_id: &'a str, left: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn url_encode(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `discover` and `build_url` are never used
[INFO] [stdout]   --> src/tracker/http.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl HttpTracker {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 73 |     pub async fn discover(&self, req: DiscoverRequest<'_>) -> anyhow::Result<Peers> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn build_url(&self, req: &DiscoverRequest) -> anyhow::Result<Url> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrackerResponse` is never used
[INFO] [stdout]    --> src/tracker/http.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TrackerResponse {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `url_encode_bytes` is never used
[INFO] [stdout]    --> src/tracker/http.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn url_encode_bytes(bytes: &[u8]) -> anyhow::Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/download/mod.rs:360:17
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 index,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/download/mod.rs:361:17
[INFO] [stdout]     |
[INFO] [stdout] 361 |                 begin,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `begin: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]    --> src/download/mod.rs:362:17
[INFO] [stdout]     |
[INFO] [stdout] 362 |                 length,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/download/mod.rs:433:17
[INFO] [stdout]     |
[INFO] [stdout] 433 |                 index,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `index: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/download/mod.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 |                 begin,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `begin: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]    --> src/download/mod.rs:435:17
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 length,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/download/mod.rs:543:5
[INFO] [stdout]     |
[INFO] [stdout] 543 |     addr: SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Peers` is never constructed
[INFO] [stdout]  --> src/tracker/peers.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Peers(Vec<Peer>);
[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 `Peer` is never constructed
[INFO] [stdout]  --> src/tracker/peers.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Peer {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpTracker` is never constructed
[INFO] [stdout]  --> src/tracker/http.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct HttpTracker {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/tracker/http.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl HttpTracker {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiscoverRequest` is never constructed
[INFO] [stdout]   --> src/tracker/http.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct DiscoverRequest<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `url_encode` are never used
[INFO] [stdout]   --> src/tracker/http.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl<'a> DiscoverRequest<'a> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 32 |     pub fn new(info_hash: &'a [u8; 20], peer_id: &'a str, left: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn url_encode(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `discover` and `build_url` are never used
[INFO] [stdout]   --> src/tracker/http.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl HttpTracker {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] 73 |     pub async fn discover(&self, req: DiscoverRequest<'_>) -> anyhow::Result<Peers> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     fn build_url(&self, req: &DiscoverRequest) -> anyhow::Result<Url> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrackerResponse` is never used
[INFO] [stdout]    --> src/tracker/http.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | enum TrackerResponse {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `url_encode_bytes` is never used
[INFO] [stdout]    --> src/tracker/http.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn url_encode_bytes(bytes: &[u8]) -> anyhow::Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `byteorder`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | byteorder = "1.5.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `byteorder`
[INFO] [stderr] warning: `bittorrent` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.69s
[INFO] running `Command { std: "docker" "inspect" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d", kill_on_drop: false }`
[INFO] [stdout] e71f564f5c691a6df2dad14680153d04b2ecda0404802cc4754791bf99963d4d
