[INFO] cloning repository https://github.com/setuaz1/Rust_BitTorrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/setuaz1/Rust_BitTorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetuaz1%2FRust_BitTorrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetuaz1%2FRust_BitTorrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1df5e2a74004f445803244ef3adc6d239a4b9155
[INFO] checking setuaz1/Rust_BitTorrent against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsetuaz1%2FRust_BitTorrent" "/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/setuaz1/Rust_BitTorrent
[INFO] finished tweaking git repo https://github.com/setuaz1/Rust_BitTorrent
[INFO] tweaked toml for git repo https://github.com/setuaz1/Rust_BitTorrent written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/setuaz1/Rust_BitTorrent on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/setuaz1/Rust_BitTorrent 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded litemap v0.7.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.68
[INFO] [stderr]   Downloaded thiserror v1.0.68
[INFO] [stderr]   Downloaded serde_bencode v0.2.4
[INFO] [stderr]   Downloaded url v2.5.3
[INFO] [stderr]   Downloaded cc v1.1.34
[INFO] [stderr]   Downloaded anyhow v1.0.92
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 425454fb34200cbc0d38c133d7b3b8858cb1b4acd061371ab2285121100467d3
[INFO] running `Command { std: "docker" "start" "-a" "425454fb34200cbc0d38c133d7b3b8858cb1b4acd061371ab2285121100467d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "425454fb34200cbc0d38c133d7b3b8858cb1b4acd061371ab2285121100467d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "425454fb34200cbc0d38c133d7b3b8858cb1b4acd061371ab2285121100467d3", kill_on_drop: false }`
[INFO] [stdout] 425454fb34200cbc0d38c133d7b3b8858cb1b4acd061371ab2285121100467d3
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4abe05d8b9f70e3fd514c3cdd4c02f954dc2d08c0869ae0920d62c59e1228ec
[INFO] running `Command { std: "docker" "start" "-a" "b4abe05d8b9f70e3fd514c3cdd4c02f954dc2d08c0869ae0920d62c59e1228ec", kill_on_drop: false }`
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling cc v1.1.34
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]    Compiling rustix v0.38.39
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking tempfile v3.13.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking clap v4.5.20
[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 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 serde_json v1.0.132
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bencode v0.2.4
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.3
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking codecrafters-bittorrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> src/tracker.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use serde::de::{self, Deserializer, Visitor, Deserialize};
[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: `Deserializer`
[INFO] [stdout]   --> src/torrent.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use serde::de::{self, Deserializer, Visitor, Deserialize};
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> src/tracker.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use serde::de::{self, Deserializer, Visitor, Deserialize};
[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: `Deserializer`
[INFO] [stdout]   --> src/torrent.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use serde::de::{self, Deserializer, Visitor, Deserialize};
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::format;
[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: `env`
[INFO] [stdout]  --> src/main.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{env, path::PathBuf};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Command`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap::{Command, Parser, Subcommand};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt::format;
[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: `env`
[INFO] [stdout]  --> src/main.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{env, path::PathBuf};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Command`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use clap::{Command, Parser, Subcommand};
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 unsafe { &mut *handshake_bytes };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |             output, 
[INFO] [stdout]     |             ^^^^^^ help: try ignoring the field: `output: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 unsafe { &mut *handshake_bytes };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/main.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |             output, 
[INFO] [stdout]     |             ^^^^^^ help: try ignoring the field: `output: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.07s
[INFO] running `Command { std: "docker" "inspect" "b4abe05d8b9f70e3fd514c3cdd4c02f954dc2d08c0869ae0920d62c59e1228ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4abe05d8b9f70e3fd514c3cdd4c02f954dc2d08c0869ae0920d62c59e1228ec", kill_on_drop: false }`
[INFO] [stdout] b4abe05d8b9f70e3fd514c3cdd4c02f954dc2d08c0869ae0920d62c59e1228ec
