[INFO] cloning repository https://github.com/amoilanen/bittorrent-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amoilanen/bittorrent-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoilanen%2Fbittorrent-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoilanen%2Fbittorrent-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30b9d0622234b7467cf0ad4d5156660f6c5af468
[INFO] testing amoilanen/bittorrent-client against nightly-2025-01-18 for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famoilanen%2Fbittorrent-client" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/amoilanen/bittorrent-client on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/amoilanen/bittorrent-client
[INFO] finished tweaking git repo https://github.com/amoilanen/bittorrent-client
[INFO] tweaked toml for git repo https://github.com/amoilanen/bittorrent-client written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/amoilanen/bittorrent-client 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a32c0103f7e44a002885076c88d920ccb548e00e20d8171749b1a86668253e37
[INFO] running `Command { std: "docker" "start" "-a" "a32c0103f7e44a002885076c88d920ccb548e00e20d8171749b1a86668253e37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a32c0103f7e44a002885076c88d920ccb548e00e20d8171749b1a86668253e37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a32c0103f7e44a002885076c88d920ccb548e00e20d8171749b1a86668253e37", kill_on_drop: false }`
[INFO] [stdout] a32c0103f7e44a002885076c88d920ccb548e00e20d8171749b1a86668253e37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b2628d7be317aef9d60ec1e8b2f19fe75eb77b04a9e14e6564733eb40a4976a
[INFO] running `Command { std: "docker" "start" "-a" "7b2628d7be317aef9d60ec1e8b2f19fe75eb77b04a9e14e6564733eb40a4976a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.12
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling rustix v0.38.8
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.56
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling anstyle v1.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling aho-corasick v1.0.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling clap_lex v0.5.0
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling tempfile v3.7.1
[INFO] [stderr]    Compiling anstream v0.3.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap_builder v4.3.22
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_bencode v0.2.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.3.12
[INFO] [stderr]    Compiling regex-automata v0.3.6
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling clap v4.3.22
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.20
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_id`
[INFO] [stdout]    --> src/tracker.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let connection_id = connect_response.connection_id;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tracker.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn get_udp(&self, url: &str, request: &TrackerRequest) -> Result<TrackerResponse, anyhow::Error> {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `interval` is never read
[INFO] [stdout]   --> src/tracker.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct TrackerResponse {
[INFO] [stdout]    |                   --------------- field in this struct
[INFO] [stdout] 18 |     interval: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `action` is never read
[INFO] [stdout]   --> src/tracker/messages.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) struct ConnectResponse {
[INFO] [stdout]    |                   --------------- field in this struct
[INFO] [stdout] 53 |     pub(crate) action: Action,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectResponse` 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 `new` and `to_string` are never used
[INFO] [stdout]   --> src/peer.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl PeerMessage {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub(crate) fn new(message_id: PeerMessageId, payload: Vec<u8>) -> PeerMessage {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub(crate) fn to_string(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_piece_from` is never used
[INFO] [stdout]   --> src/file.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) fn read_piece_from(file_path: &str, begin: usize, length: usize) -> Result<Vec<u8>, anyhow::Error> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.52s
[INFO] running `Command { std: "docker" "inspect" "7b2628d7be317aef9d60ec1e8b2f19fe75eb77b04a9e14e6564733eb40a4976a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b2628d7be317aef9d60ec1e8b2f19fe75eb77b04a9e14e6564733eb40a4976a", kill_on_drop: false }`
[INFO] [stdout] 7b2628d7be317aef9d60ec1e8b2f19fe75eb77b04a9e14e6564733eb40a4976a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 23cb62ff82e5ab56f9987282fe07665cb2a3b15b777c99aa00b0d04e064f5bc1
[INFO] running `Command { std: "docker" "start" "-a" "23cb62ff82e5ab56f9987282fe07665cb2a3b15b777c99aa00b0d04e064f5bc1", kill_on_drop: false }`
[INFO] [stderr]    Compiling bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_id`
[INFO] [stdout]    --> src/tracker.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let connection_id = connect_response.connection_id;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tracker.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn get_udp(&self, url: &str, request: &TrackerRequest) -> Result<TrackerResponse, anyhow::Error> {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/tracker.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let response = tracker.get_udp(&tracker.url,&tracker_request).unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `interval` is never read
[INFO] [stdout]   --> src/tracker.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct TrackerResponse {
[INFO] [stdout]    |                   --------------- field in this struct
[INFO] [stdout] 18 |     interval: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `action` is never read
[INFO] [stdout]   --> src/tracker/messages.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) struct ConnectResponse {
[INFO] [stdout]    |                   --------------- field in this struct
[INFO] [stdout] 53 |     pub(crate) action: Action,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectResponse` 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 `to_string` is never used
[INFO] [stdout]   --> src/peer.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl PeerMessage {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub(crate) fn to_string(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_piece_from` is never used
[INFO] [stdout]   --> src/file.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) fn read_piece_from(file_path: &str, begin: usize, length: usize) -> Result<Vec<u8>, anyhow::Error> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.81s
[INFO] running `Command { std: "docker" "inspect" "23cb62ff82e5ab56f9987282fe07665cb2a3b15b777c99aa00b0d04e064f5bc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23cb62ff82e5ab56f9987282fe07665cb2a3b15b777c99aa00b0d04e064f5bc1", kill_on_drop: false }`
[INFO] [stdout] 23cb62ff82e5ab56f9987282fe07665cb2a3b15b777c99aa00b0d04e064f5bc1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5971ac50cb045ca5db9a308aa57dacb6398037199073e1c46f835df5708437e8
[INFO] running `Command { std: "docker" "start" "-a" "5971ac50cb045ca5db9a308aa57dacb6398037199073e1c46f835df5708437e8", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::env;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `connection_id`
[INFO] [stderr]    --> src/tracker.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let connection_id = connect_response.connection_id;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]   --> src/tracker.rs:81:34
[INFO] [stderr]    |
[INFO] [stderr] 81 |     fn get_udp(&self, url: &str, request: &TrackerRequest) -> Result<TrackerResponse, anyhow::Error> {
[INFO] [stderr]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `response`
[INFO] [stderr]    --> src/tracker.rs:193:13
[INFO] [stderr]     |
[INFO] [stderr] 193 |         let response = tracker.get_udp(&tracker.url,&tracker_request).unwrap();
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stderr] 
[INFO] [stderr] warning: field `interval` is never read
[INFO] [stderr]   --> src/tracker.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate) struct TrackerResponse {
[INFO] [stderr]    |                   --------------- field in this struct
[INFO] [stderr] 18 |     interval: u32,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `action` is never read
[INFO] [stderr]   --> src/tracker/messages.rs:53:16
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub(crate) struct ConnectResponse {
[INFO] [stderr]    |                   --------------- field in this struct
[INFO] [stderr] 53 |     pub(crate) action: Action,
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConnectResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_string` is never used
[INFO] [stderr]   --> src/peer.rs:92:19
[INFO] [stderr]    |
[INFO] [stderr] 68 | impl PeerMessage {
[INFO] [stderr]    | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 92 |     pub(crate) fn to_string(&self) -> String {
[INFO] [stderr]    |                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_piece_from` is never used
[INFO] [stderr]   --> src/file.rs:14:15
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub(crate) fn read_piece_from(file_path: &str, begin: usize, length: usize) -> Result<Vec<u8>, anyhow::Error> {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `bittorrent-starter-rust` (bin "bittorrent-starter-rust" test) generated 8 warnings (run `cargo fix --bin "bittorrent-starter-rust" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bittorrent_starter_rust-57a1f4b307e9f29f)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test bencoded::tests::decode_bencoded_dictionary ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_integers ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_objects_in_an_array ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_string ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_lists ... ok
[INFO] [stdout] test peer::tests::should_serialize_peer_handshake_message_correctly ... ok
[INFO] [stdout] test peer::tests::should_serialize_request_message_correctly ... ok
[INFO] [stdout] test bencoded::tests::decode_empty_bencoded_dictionary ... ok
[INFO] [stdout] test peer::tests::should_read_piece_message_from_peer ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_dictionary_which_misses_value ... ok
[INFO] [stdout] test bencoded::tests::decode_bencoded_nested_object ... ok
[INFO] [stdout] test torrent::tests::compute_hash ... ok
[INFO] [stdout] test peer::tests::should_compute_piece_indices_from_bitfield ... ok
[INFO] [stdout] test peer::tests::should_read_bitfield_message_from_peer ... ok
[INFO] [stdout] test peer::tests::should_read_unchoke_message_from_peer ... ok
[INFO] [stdout] test torrent::tests::bencode_torrent_info ... ok
[INFO] [stdout] test torrent::tests::read_torrent_from_bytes ... ok
[INFO] [stdout] test tracker::tests::should_send_connect_request_and_receive_connect_response ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--bin bittorrent-starter-rust`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tracker::tests::should_send_connect_request_and_receive_connect_response stdout ----
[INFO] [stdout] tracker_address = 93.158.213.92:1337
[INFO] [stdout] 
[INFO] [stdout] thread 'tracker::tests::should_send_connect_request_and_receive_connect_response' panicked at src/tracker.rs:193:71:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Network is unreachable (os error 101)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6148401aa29a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x6148401aa29a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x6148401aa29a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x6148401aa29a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x6148401d4f13 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x6148401d4f13 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x6148401a65f3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x6148401aa0e2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x6148401ab6bf - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x6148401ab4d8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x6148400d58a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x6148400d58a3 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x6148401ac1b3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x6148401ac1b3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x6148401abe6a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x6148401aa799 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x6148401abafd - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x6148401d31a0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x6148401d3616 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stdout]   19:     0x61484008adcb - core::result::Result<T,E>::unwrap::hed56488e5eaa5454
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1109:23
[INFO] [stdout]   20:     0x61484008adcb - bittorrent_starter_rust::tracker::tests::should_send_connect_request_and_receive_connect_response::h36a8b7165cb8ec0b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker.rs:193:24
[INFO] [stdout]   21:     0x61484008ab97 - bittorrent_starter_rust::tracker::tests::should_send_connect_request_and_receive_connect_response::{{closure}}::habb7f447172d3b0c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tracker.rs:175:66
[INFO] [stdout]   22:     0x614840076c16 - core::ops::function::FnOnce::call_once::h498c3ca63ad34a3e
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x6148400daffb - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x6148400daffb - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x6148400d9f33 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x6148400d9f33 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x6148400d9f33 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x6148400d9f33 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x6148400d9f33 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x6148400d9f33 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x6148400d9f33 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x61484009d015 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x61484009d015 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x6148400a08fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x6148400a08fa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x6148400a08fa - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x6148400a08fa - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x6148400a08fa - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x6148400a08fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x6148400a08fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x6148401b026b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x6148401b026b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x6148401b026b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x7e962855aac3 - <unknown>
[INFO] [stdout]   45:     0x7e96285eba04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tracker::tests::should_send_connect_request_and_receive_connect_response
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5971ac50cb045ca5db9a308aa57dacb6398037199073e1c46f835df5708437e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5971ac50cb045ca5db9a308aa57dacb6398037199073e1c46f835df5708437e8", kill_on_drop: false }`
[INFO] [stdout] 5971ac50cb045ca5db9a308aa57dacb6398037199073e1c46f835df5708437e8
