[INFO] cloning repository https://github.com/crux-bphc/crux-torrent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crux-bphc/crux-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9cc62ab1260213202a94c13c40f72d1587d98ca6
[INFO] testing crux-bphc/crux-torrent/9cc62ab1260213202a94c13c40f72d1587d98ca6 against nightly-2024-10-28 for randomize-layout
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/crux-bphc/crux-torrent on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/crux-bphc/crux-torrent
[INFO] finished tweaking git repo https://github.com/crux-bphc/crux-torrent
[INFO] tweaked toml for git repo https://github.com/crux-bphc/crux-torrent written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/crux-bphc/crux-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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded static_str_ops v0.1.2
[INFO] [stderr]   Downloaded rstest_macros v0.20.0
[INFO] [stderr]   Downloaded rstest v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b28835547173842bc56148d56139b1a1d6fb0a9f5a32b88add6b5ee288b532a
[INFO] running `Command { std: "docker" "start" "-a" "5b28835547173842bc56148d56139b1a1d6fb0a9f5a32b88add6b5ee288b532a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b28835547173842bc56148d56139b1a1d6fb0a9f5a32b88add6b5ee288b532a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b28835547173842bc56148d56139b1a1d6fb0a9f5a32b88add6b5ee288b532a", kill_on_drop: false }`
[INFO] [stdout] 5b28835547173842bc56148d56139b1a1d6fb0a9f5a32b88add6b5ee288b532a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 684effd7b069727ce21e87397dee0883592e26875a943f8cb5fefc0404fb3eef
[INFO] running `Command { std: "docker" "start" "-a" "684effd7b069727ce21e87397dee0883592e26875a943f8cb5fefc0404fb3eef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.4
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling colorchoice v1.0.1
[INFO] [stderr]    Compiling anstyle v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling anstyle-query v1.0.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling anstream v0.6.14
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling gensym v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]    Compiling static_str_ops v0.1.2
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling serde_bencode v0.2.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling crux-torrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tracker/mod.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn announce(self, request: &TrackerRequest) -> anyhow::Result<TrackerResponse> {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `udp_url`
[INFO] [stdout]   --> src/main.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |         TrackerUrl::Udp(udp_url) => todo!(),
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_addr`, `bitfield`, and `commands_tx` are never read
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct PeerSession {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 32 |     peer_addr: std::net::SocketAddrV4,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     bitfield: Bitfield,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 34 |     commands_tx: mpsc::Sender<PeerCommands>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read
[INFO] [stdout]   --> src/metainfo/metainfo.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Metainfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub announce_list: Option<Vec<Vec<String>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub creation_date: Option<u64>, // seconds since unix epoch
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub created_by: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub comment: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub encoding: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Metainfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotInterested` and `Shutdown` are never constructed
[INFO] [stdout]   --> src/peers/comms.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum PeerCommands {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 27 |     NotInterested,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     DownloadPiece(PieceRequestInfo),
[INFO] [stdout] 29 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerCommands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_addr` and `has_piece` are never read
[INFO] [stdout]   --> src/peers/comms.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     UpdateBitfield {
[INFO] [stdout]    |     -------------- fields in this variant
[INFO] [stdout] 40 |         peer_addr: std::net::SocketAddrV4,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 41 |         has_piece: PieceIndex,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `piece` is never read
[INFO] [stdout]   --> src/peers/comms.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     DonePiece {
[INFO] [stdout]    |     --------- field in this variant
[INFO] [stdout] 44 |         piece_index: PieceIndex,
[INFO] [stdout] 45 |         piece: Vec<u8>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `peer_id` is never read
[INFO] [stdout]   --> src/peers/descriptor.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(super) struct WorkerStateDescriptor {
[INFO] [stdout]    |                   --------------------- field in this struct
[INFO] [stdout] 16 |     pub peer_addr: SocketAddrV4,
[INFO] [stdout] 17 |     pub peer_id: PeerId,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WorkerStateDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `announce_url` are never read
[INFO] [stdout]   --> src/tracker/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct UdpTracker<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 14 |     client: &'a UdpSocket,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     announce_url: UdpUrl,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UdpTracker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.53s
[INFO] running `Command { std: "docker" "inspect" "684effd7b069727ce21e87397dee0883592e26875a943f8cb5fefc0404fb3eef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "684effd7b069727ce21e87397dee0883592e26875a943f8cb5fefc0404fb3eef", kill_on_drop: false }`
[INFO] [stdout] 684effd7b069727ce21e87397dee0883592e26875a943f8cb5fefc0404fb3eef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a774c4a5594f18d09465956b0d2548e1b3830374f171f210a6c0ef3e820fcdae
[INFO] running `Command { std: "docker" "start" "-a" "a774c4a5594f18d09465956b0d2548e1b3830374f171f210a6c0ef3e820fcdae", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rstest_macros v0.20.0
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]    Compiling gensym v0.1.1
[INFO] [stderr]    Compiling static_str_ops v0.1.2
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling rstest v0.20.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_bencode v0.2.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling crux-torrent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]   --> src/tracker/mod.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn announce(self, request: &TrackerRequest) -> anyhow::Result<TrackerResponse> {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `udp_url`
[INFO] [stdout]   --> src/main.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |         TrackerUrl::Udp(udp_url) => todo!(),
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_addr`, `bitfield`, and `commands_tx` are never read
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct PeerSession {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 32 |     peer_addr: std::net::SocketAddrV4,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 33 |     bitfield: Bitfield,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 34 |     commands_tx: mpsc::Sender<PeerCommands>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read
[INFO] [stdout]   --> src/metainfo/metainfo.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Metainfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub announce_list: Option<Vec<Vec<String>>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub creation_date: Option<u64>, // seconds since unix epoch
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub created_by: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub comment: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub encoding: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Metainfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotInterested` and `Shutdown` are never constructed
[INFO] [stdout]   --> src/peers/comms.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum PeerCommands {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 27 |     NotInterested,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 28 |     DownloadPiece(PieceRequestInfo),
[INFO] [stdout] 29 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerCommands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_addr` and `has_piece` are never read
[INFO] [stdout]   --> src/peers/comms.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     UpdateBitfield {
[INFO] [stdout]    |     -------------- fields in this variant
[INFO] [stdout] 40 |         peer_addr: std::net::SocketAddrV4,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 41 |         has_piece: PieceIndex,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `piece` is never read
[INFO] [stdout]   --> src/peers/comms.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     DonePiece {
[INFO] [stdout]    |     --------- field in this variant
[INFO] [stdout] 44 |         piece_index: PieceIndex,
[INFO] [stdout] 45 |         piece: Vec<u8>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `peer_id` is never read
[INFO] [stdout]   --> src/peers/descriptor.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(super) struct WorkerStateDescriptor {
[INFO] [stdout]    |                   --------------------- field in this struct
[INFO] [stdout] 16 |     pub peer_addr: SocketAddrV4,
[INFO] [stdout] 17 |     pub peer_id: PeerId,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WorkerStateDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `announce_url` are never read
[INFO] [stdout]   --> src/tracker/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct UdpTracker<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 14 |     client: &'a UdpSocket,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     announce_url: UdpUrl,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UdpTracker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.76s
[INFO] running `Command { std: "docker" "inspect" "a774c4a5594f18d09465956b0d2548e1b3830374f171f210a6c0ef3e820fcdae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a774c4a5594f18d09465956b0d2548e1b3830374f171f210a6c0ef3e820fcdae", kill_on_drop: false }`
[INFO] [stdout] a774c4a5594f18d09465956b0d2548e1b3830374f171f210a6c0ef3e820fcdae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1242e2c44db4be28288677321a1736af5da29d55176ca142ecc3b568d3c80bd0
[INFO] running `Command { std: "docker" "start" "-a" "1242e2c44db4be28288677321a1736af5da29d55176ca142ecc3b568d3c80bd0", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `request`
[INFO] [stderr]   --> src/tracker/mod.rs:48:29
[INFO] [stderr]    |
[INFO] [stderr] 48 |     async fn announce(self, request: &TrackerRequest) -> anyhow::Result<TrackerResponse> {
[INFO] [stderr]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `udp_url`
[INFO] [stderr]   --> src/main.rs:52:25
[INFO] [stderr]    |
[INFO] [stderr] 52 |         TrackerUrl::Udp(udp_url) => todo!(),
[INFO] [stderr]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `peer_addr`, `bitfield`, and `commands_tx` are never read
[INFO] [stderr]   --> src/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | struct PeerSession {
[INFO] [stderr]    |        ----------- fields in this struct
[INFO] [stderr] 32 |     peer_addr: std::net::SocketAddrV4,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 33 |     bitfield: Bitfield,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 34 |     commands_tx: mpsc::Sender<PeerCommands>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read
[INFO] [stderr]   --> src/metainfo/metainfo.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 8  | pub struct Metainfo {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 16 |     pub announce_list: Option<Vec<Vec<String>>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub creation_date: Option<u64>, // seconds since unix epoch
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub created_by: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub comment: Option<String>,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub encoding: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Metainfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `NotInterested` and `Shutdown` are never constructed
[INFO] [stderr]   --> src/peers/comms.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub enum PeerCommands {
[INFO] [stderr]    |          ------------ variants in this enum
[INFO] [stderr] 27 |     NotInterested,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 28 |     DownloadPiece(PieceRequestInfo),
[INFO] [stderr] 29 |     Shutdown,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PeerCommands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `peer_addr` and `has_piece` are never read
[INFO] [stderr]   --> src/peers/comms.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |     UpdateBitfield {
[INFO] [stderr]    |     -------------- fields in this variant
[INFO] [stderr] 40 |         peer_addr: std::net::SocketAddrV4,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 41 |         has_piece: PieceIndex,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `piece` is never read
[INFO] [stderr]   --> src/peers/comms.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 43 |     DonePiece {
[INFO] [stderr]    |     --------- field in this variant
[INFO] [stderr] 44 |         piece_index: PieceIndex,
[INFO] [stderr] 45 |         piece: Vec<u8>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `peer_id` is never read
[INFO] [stderr]   --> src/peers/descriptor.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub(super) struct WorkerStateDescriptor {
[INFO] [stderr]    |                   --------------------- field in this struct
[INFO] [stderr] 16 |     pub peer_addr: SocketAddrV4,
[INFO] [stderr] 17 |     pub peer_id: PeerId,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `WorkerStateDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client` and `announce_url` are never read
[INFO] [stderr]   --> src/tracker/mod.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct UdpTracker<'a> {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 14 |     client: &'a UdpSocket,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 15 |     announce_url: UdpUrl,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UdpTracker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `crux-torrent` (bin "crux-torrent" test) generated 9 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/crux_torrent-bef548c6a6554619)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test peer_protocol::handshake::tests::test_decode_from_bytes ... ok
[INFO] [stdout] test peer_protocol::handshake::tests::test_into_bytes ... ok
[INFO] [stdout] test torrent::bitfield::tests::check_bitfield_indexing ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1242e2c44db4be28288677321a1736af5da29d55176ca142ecc3b568d3c80bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1242e2c44db4be28288677321a1736af5da29d55176ca142ecc3b568d3c80bd0", kill_on_drop: false }`
[INFO] [stdout] 1242e2c44db4be28288677321a1736af5da29d55176ca142ecc3b568d3c80bd0
