[INFO] cloning repository https://github.com/reinaldorauch/bt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reinaldorauch/bt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freinaldorauch%2Fbt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freinaldorauch%2Fbt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c1463559c0a9b7b88b10e79fa5c4747d3fb024e
[INFO] checking reinaldorauch/bt against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freinaldorauch%2Fbt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reinaldorauch/bt
[INFO] finished tweaking git repo https://github.com/reinaldorauch/bt
[INFO] tweaked toml for git repo https://github.com/reinaldorauch/bt written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reinaldorauch/bt on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reinaldorauch/bt 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.3
[INFO] [stderr]   Downloaded url-escape v0.1.1
[INFO] [stderr]   Downloaded tempfile v3.14.0
[INFO] [stderr]   Downloaded rusqlite v0.32.1
[INFO] [stderr]   Downloaded rustls v0.23.19
[INFO] [stderr]   Downloaded clap_builder v4.5.23
[INFO] [stderr]   Downloaded hyper-rustls v0.27.3
[INFO] [stderr]   Downloaded security-framework-sys v2.12.1
[INFO] [stderr]   Downloaded sha1-checked v0.10.0
[INFO] [stderr]   Downloaded clap v4.5.23
[INFO] [stderr]   Downloaded reqwest v0.12.9
[INFO] [stderr]   Downloaded hyper v1.5.1
[INFO] [stderr]   Downloaded bendy v0.3.3
[INFO] [stderr]   Downloaded rustix v0.38.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90e232c37bce8f5bbbb23a72daf05ec8feb901b3b8c37f57d98a228064fc6285
[INFO] running `Command { std: "docker" "start" "-a" "90e232c37bce8f5bbbb23a72daf05ec8feb901b3b8c37f57d98a228064fc6285", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90e232c37bce8f5bbbb23a72daf05ec8feb901b3b8c37f57d98a228064fc6285", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90e232c37bce8f5bbbb23a72daf05ec8feb901b3b8c37f57d98a228064fc6285", kill_on_drop: false }`
[INFO] [stdout] 90e232c37bce8f5bbbb23a72daf05ec8feb901b3b8c37f57d98a228064fc6285
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eaaed732a94a9e5eca8bbd288cc9ddb95e5c40565cd29e0f6cf39f632aeafb07
[INFO] running `Command { std: "docker" "start" "-a" "eaaed732a94a9e5eca8bbd288cc9ddb95e5c40565cd29e0f6cf39f632aeafb07", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling cc v1.2.3
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking rustls-pki-types v1.10.0
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking clap_builder v4.5.23
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking sha1-checked v0.10.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking url-escape v0.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking bendy v0.3.3
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking clap v4.5.23
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.4.7
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v1.5.1
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.9
[INFO] [stderr]     Checking bt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/bittorrent.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt::{Display, write},
[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: `url_escape::encode_component_to_string`
[INFO] [stdout]  --> src/util.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use url_escape::encode_component_to_string;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write`
[INFO] [stdout]  --> src/bittorrent.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt::{Display, write},
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/download.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut peers: Vec<PeerConnection> = Vec::new();
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/download.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut pieces_downloaded: Vec<bool> = Vec::with_capacity(pieces.len());
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/download.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut peers: Vec<PeerConnection> = Vec::new();
[INFO] [stdout]     |                     ----^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/download.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut pieces_downloaded: Vec<bool> = Vec::with_capacity(pieces.len());
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> src/download.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut peers: Vec<PeerConnection> = Vec::new();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_trackers`
[INFO] [stdout]    --> src/download.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |     maybe_trackers: Option<Vec<String>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_trackers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_web_seeds`
[INFO] [stdout]    --> src/download.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     maybe_web_seeds: Option<Vec<String>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_web_seeds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_handle`
[INFO] [stdout]    --> src/download.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 |     file_handle: &mut File,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pieces_downloaded`
[INFO] [stdout]    --> src/download.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut pieces_downloaded: Vec<bool> = Vec::with_capacity(pieces.len());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pieces_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> src/download.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 let mut peers: Vec<PeerConnection> = Vec::new();
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_trackers`
[INFO] [stdout]    --> src/download.rs:178:5
[INFO] [stdout]     |
[INFO] [stdout] 178 |     maybe_trackers: Option<Vec<String>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_trackers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maybe_web_seeds`
[INFO] [stdout]    --> src/download.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     maybe_web_seeds: Option<Vec<String>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_web_seeds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_handle`
[INFO] [stdout]    --> src/download.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 |     file_handle: &mut File,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pieces_downloaded`
[INFO] [stdout]    --> src/download.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut pieces_downloaded: Vec<bool> = Vec::with_capacity(pieces.len());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pieces_downloaded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_length`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             piece_length,
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: try ignoring the field: `piece_length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private`
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             private,
[INFO] [stdout]    |             ^^^^^^^ help: try ignoring the field: `private: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             length,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_length`
[INFO] [stdout]    --> src/main.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             piece_length,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: try ignoring the field: `piece_length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pieces`
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             pieces,
[INFO] [stdout]     |             ^^^^^^ help: try ignoring the field: `pieces: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private`
[INFO] [stdout]    --> src/main.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |             private,
[INFO] [stdout]     |             ^^^^^^^ help: try ignoring the field: `private: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]    --> src/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             files,
[INFO] [stdout]     |             ^^^^^ help: try ignoring the field: `files: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bytes` is never used
[INFO] [stdout]   --> src/bittorrent.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl PeerId {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bytes` is never used
[INFO] [stdout]   --> src/bittorrent.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl InfoHash {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PeerConnectionError` is never used
[INFO] [stdout]   --> src/bittorrent.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PeerConnectionError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hostname`, `socket`, `me_choked`, `me_interested`, `they_choked`, and `they_interested` are never read
[INFO] [stdout]   --> src/bittorrent.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct PeerConnection {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 94 |     pub hostname: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 95 |     socket: TcpStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 96 |     pub me_choked: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 97 |     pub me_interested: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub they_choked: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 99 |     pub they_interested: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerConnection` 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 `connect` and `handshake` are never used
[INFO] [stdout]    --> src/bittorrent.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl PeerConnection {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 103 |     pub async fn connect(
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn handshake(
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bytes_uploaded` and `pieces_fetched` are never read
[INFO] [stdout]    --> src/bittorrent.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct DownloadProgress {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub bytes_uploaded: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 157 |     pub pieces_fetched: Vec<bool>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DownloadProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hostname` is never used
[INFO] [stdout]    --> src/bittorrent.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Peer {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 174 |     pub fn hostname(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnnounceError` is never constructed
[INFO] [stdout]    --> src/bittorrent.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub struct AnnounceError(String);
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_length`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             piece_length,
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: try ignoring the field: `piece_length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private`
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             private,
[INFO] [stdout]    |             ^^^^^^^ help: try ignoring the field: `private: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             length,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_length`
[INFO] [stdout]    --> src/main.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             piece_length,
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: try ignoring the field: `piece_length: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pieces`
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             pieces,
[INFO] [stdout]     |             ^^^^^^ help: try ignoring the field: `pieces: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private`
[INFO] [stdout]    --> src/main.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |             private,
[INFO] [stdout]     |             ^^^^^^^ help: try ignoring the field: `private: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `files`
[INFO] [stdout]    --> src/main.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             files,
[INFO] [stdout]     |             ^^^^^ help: try ignoring the field: `files: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bytes` is never used
[INFO] [stdout]   --> src/bittorrent.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl PeerId {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bytes` is never used
[INFO] [stdout]   --> src/bittorrent.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl InfoHash {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn as_bytes(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PeerConnectionError` is never used
[INFO] [stdout]   --> src/bittorrent.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PeerConnectionError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hostname`, `socket`, `me_choked`, `me_interested`, `they_choked`, and `they_interested` are never read
[INFO] [stdout]   --> src/bittorrent.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct PeerConnection {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 94 |     pub hostname: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 95 |     socket: TcpStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 96 |     pub me_choked: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 97 |     pub me_interested: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 98 |     pub they_choked: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 99 |     pub they_interested: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerConnection` 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 `connect` and `handshake` are never used
[INFO] [stdout]    --> src/bittorrent.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl PeerConnection {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 103 |     pub async fn connect(
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn handshake(
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bytes_uploaded` and `pieces_fetched` are never read
[INFO] [stdout]    --> src/bittorrent.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct DownloadProgress {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub bytes_uploaded: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 157 |     pub pieces_fetched: Vec<bool>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DownloadProgress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hostname` is never used
[INFO] [stdout]    --> src/bittorrent.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Peer {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 174 |     pub fn hostname(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AnnounceError` is never constructed
[INFO] [stdout]    --> src/bittorrent.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub struct AnnounceError(String);
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s
[INFO] running `Command { std: "docker" "inspect" "eaaed732a94a9e5eca8bbd288cc9ddb95e5c40565cd29e0f6cf39f632aeafb07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eaaed732a94a9e5eca8bbd288cc9ddb95e5c40565cd29e0f6cf39f632aeafb07", kill_on_drop: false }`
[INFO] [stdout] eaaed732a94a9e5eca8bbd288cc9ddb95e5c40565cd29e0f6cf39f632aeafb07
