[INFO] cloning repository https://github.com/ammar-abu-yaman/simple-torrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammar-abu-yaman/simple-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammar-abu-yaman%2Fsimple-torrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammar-abu-yaman%2Fsimple-torrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d27dbb705ca5d221d326ce1cb556385fe05bd8dc
[INFO] checking ammar-abu-yaman/simple-torrent against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammar-abu-yaman%2Fsimple-torrent" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ammar-abu-yaman/simple-torrent
[INFO] finished tweaking git repo https://github.com/ammar-abu-yaman/simple-torrent
[INFO] tweaked toml for git repo https://github.com/ammar-abu-yaman/simple-torrent written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ammar-abu-yaman/simple-torrent on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ammar-abu-yaman/simple-torrent 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cf4015c375403bc69cb62cb58930b1290c7c1aa2e7811990a8ae60f78873d94
[INFO] running `Command { std: "docker" "start" "-a" "4cf4015c375403bc69cb62cb58930b1290c7c1aa2e7811990a8ae60f78873d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cf4015c375403bc69cb62cb58930b1290c7c1aa2e7811990a8ae60f78873d94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cf4015c375403bc69cb62cb58930b1290c7c1aa2e7811990a8ae60f78873d94", kill_on_drop: false }`
[INFO] [stdout] 4cf4015c375403bc69cb62cb58930b1290c7c1aa2e7811990a8ae60f78873d94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4f4e8e7a55a6a17b7c03bfc62cd446caa079a1dd47ab1b4e4778307133eeb94
[INFO] running `Command { std: "docker" "start" "-a" "b4f4e8e7a55a6a17b7c03bfc62cd446caa079a1dd47ab1b4e4778307133eeb94", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling syn v2.0.63
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.3.1
[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 hyper-util v0.1.3
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.4
[INFO] [stderr]     Checking engine v0.1.0 (/opt/rustwide/workdir/stlib)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> stlib/src/model/torrent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `udp_connector::*`
[INFO] [stdout]  --> stlib/src/tracker/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use udp_connector::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> stlib/src/model/torrent.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `udp_connector::*`
[INFO] [stdout]  --> stlib/src/tracker/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use udp_connector::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> stlib/src/model/torrent.rs:57:48
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         let FileEntryBencode { length, path } = file;
[INFO] [stdout]    |                                                ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn scrape(&mut self, request: &TrackerScrapeRequest) -> Result<TrackerScrapeResponse, String> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> stlib/src/model/tracker.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct LegacyPeerInfo {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 74 |     #[serde(with = "serde_bytes")]
[INFO] [stdout] 75 |     pub id: Sha1Hash,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LegacyPeerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `engine` (lib) due to 1 previous error; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `choked`, `chocking`, `interested`, and `bitfield` are never read
[INFO] [stdout]   --> stlib/src/peer/peer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     choked: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     chocking: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     interested: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 13 |     bitfield: BitVec,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> stlib/src/peer/peer.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Peer {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     fn new(ip: u32, port: u16) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ip` is never read
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct TrackerAnnounceRequest {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     ip: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `HttpTrackerConnector` is never constructed
[INFO] [stdout]  --> stlib/src/tracker/http_connector.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct HttpTrackerConnector {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MINUTE_SECONDS` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const MINUTE_SECONDS: u64 = 60;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONNECT_REQUEST_PROTOCOL_ID` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CONNECT_REQUEST_PROTOCOL_ID: u64 = 0x41727101980;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONNECT_REQUEST_MIN_PACKET_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CONNECT_REQUEST_MIN_PACKET_SIZE: usize = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ANNOUNCE_REQUEST_MIN_PACKET_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const ANNOUNCE_REQUEST_MIN_PACKET_SIZE: usize = 20;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IPV4_PORT_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const IPV4_PORT_SIZE: usize = 4 + 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UdpTrackerConnector` is never constructed
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct UdpTrackerConnector {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl UdpTrackerConnector {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 25 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `connect` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl UdpTrackerConnector {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] 97 |     
[INFO] [stdout] 98 |     async fn connect(&mut self, socket: &mut UdpSocket, timeout_multiplier: &mut u32) -> Result<(), io::Error> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:130:6
[INFO] [stdout]     |
[INFO] [stdout] 130 | enum Action {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_recv_timeout` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn send_recv_timeout(socket: &mut UdpSocket, buf: &mut [u8], message: &[u8], timeout_multiplier: u32) -> Result<usize, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_connection_request` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn make_connection_request(translation_id: u32) -> [u8; 16] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_announce_request` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn make_announce_request(connection_id: u64, transaction_id: u32, key: u32, request: &TrackerAnnounceRequest) -> [u8; 98] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn scrape(&mut self, request: &TrackerScrapeRequest) -> Result<TrackerScrapeResponse, String> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 ~     fn scrape(&mut self, request: &TrackerScrapeRequest) -> impl std::future::Future<Output = Result<TrackerScrapeResponse, String>> + Send {async {
[INFO] [stdout] 13 |         unimplemented!("Not implemented")
[INFO] [stdout] 14 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> stlib/src/model/torrent.rs:57:48
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         let FileEntryBencode { length, path } = file;
[INFO] [stdout]    |                                                ^^^^^^ help: try ignoring the field: `length: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:12:32
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn scrape(&mut self, request: &TrackerScrapeRequest) -> Result<TrackerScrapeResponse, String> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> stlib/src/model/tracker.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct LegacyPeerInfo {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 74 |     #[serde(with = "serde_bytes")]
[INFO] [stdout] 75 |     pub id: Sha1Hash,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LegacyPeerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `choked`, `chocking`, `interested`, and `bitfield` are never read
[INFO] [stdout]   --> stlib/src/peer/peer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     choked: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 11 |     chocking: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     interested: bool,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 13 |     bitfield: BitVec,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> stlib/src/peer/peer.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Peer {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     fn new(ip: u32, port: u16) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ip` is never read
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct TrackerAnnounceRequest {
[INFO] [stdout]    |            ---------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 25 |     ip: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `HttpTrackerConnector` is never constructed
[INFO] [stdout]  --> stlib/src/tracker/http_connector.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct HttpTrackerConnector {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MINUTE_SECONDS` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const MINUTE_SECONDS: u64 = 60;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONNECT_REQUEST_PROTOCOL_ID` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const CONNECT_REQUEST_PROTOCOL_ID: u64 = 0x41727101980;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONNECT_REQUEST_MIN_PACKET_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const CONNECT_REQUEST_MIN_PACKET_SIZE: usize = 16;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ANNOUNCE_REQUEST_MIN_PACKET_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const ANNOUNCE_REQUEST_MIN_PACKET_SIZE: usize = 20;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IPV4_PORT_SIZE` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const IPV4_PORT_SIZE: usize = 4 + 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UdpTrackerConnector` is never constructed
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct UdpTrackerConnector {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl UdpTrackerConnector {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 25 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `connect` is never used
[INFO] [stdout]   --> stlib/src/tracker/udp_connector.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl UdpTrackerConnector {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] 97 |     
[INFO] [stdout] 98 |     async fn connect(&mut self, socket: &mut UdpSocket, timeout_multiplier: &mut u32) -> Result<(), io::Error> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:130:6
[INFO] [stdout]     |
[INFO] [stdout] 130 | enum Action {
[INFO] [stdout]     |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_recv_timeout` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn send_recv_timeout(socket: &mut UdpSocket, buf: &mut [u8], message: &[u8], timeout_multiplier: u32) -> Result<usize, io::Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_connection_request` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn make_connection_request(translation_id: u32) -> [u8; 16] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_announce_request` is never used
[INFO] [stdout]    --> stlib/src/tracker/udp_connector.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn make_announce_request(connection_id: u64, transaction_id: u32, key: u32, request: &TrackerAnnounceRequest) -> [u8; 98] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> stlib/src/tracker/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn scrape(&mut self, request: &TrackerScrapeRequest) -> Result<TrackerScrapeResponse, String> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 ~     fn scrape(&mut self, request: &TrackerScrapeRequest) -> impl std::future::Future<Output = Result<TrackerScrapeResponse, String>> + Send {async {
[INFO] [stdout] 13 |         unimplemented!("Not implemented")
[INFO] [stdout] 14 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `engine` (lib test) due to 1 previous error; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b4f4e8e7a55a6a17b7c03bfc62cd446caa079a1dd47ab1b4e4778307133eeb94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4f4e8e7a55a6a17b7c03bfc62cd446caa079a1dd47ab1b4e4778307133eeb94", kill_on_drop: false }`
[INFO] [stdout] b4f4e8e7a55a6a17b7c03bfc62cd446caa079a1dd47ab1b4e4778307133eeb94
