[INFO] cloning repository https://github.com/connor-ashton-dev/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/connor-ashton-dev/rust-bittorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-ashton-dev%2Frust-bittorrent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-ashton-dev%2Frust-bittorrent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f81c4235832fd8c204e77e5947970bffa771bca8
[INFO] checking connor-ashton-dev/rust-bittorrent against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnor-ashton-dev%2Frust-bittorrent" "/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/connor-ashton-dev/rust-bittorrent
[INFO] finished tweaking git repo https://github.com/connor-ashton-dev/rust-bittorrent
[INFO] tweaked toml for git repo https://github.com/connor-ashton-dev/rust-bittorrent written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/connor-ashton-dev/rust-bittorrent on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/connor-ashton-dev/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b713c61800f85203506662c2e6ed7b3504400beb6bb15bbe75f9fc6a0a2c1d24
[INFO] running `Command { std: "docker" "start" "-a" "b713c61800f85203506662c2e6ed7b3504400beb6bb15bbe75f9fc6a0a2c1d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b713c61800f85203506662c2e6ed7b3504400beb6bb15bbe75f9fc6a0a2c1d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b713c61800f85203506662c2e6ed7b3504400beb6bb15bbe75f9fc6a0a2c1d24", kill_on_drop: false }`
[INFO] [stdout] b713c61800f85203506662c2e6ed7b3504400beb6bb15bbe75f9fc6a0a2c1d24
[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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a32c9e4c4ed23300ae7858060b64ce15cd739ffe5b28192348fb7ed7591218d6
[INFO] running `Command { std: "docker" "start" "-a" "a32c9e4c4ed23300ae7858060b64ce15cd739ffe5b28192348fb7ed7591218d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling rustix v0.38.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]     Checking linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling openssl v0.10.56
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]     Checking aho-corasick v1.0.4
[INFO] [stderr]     Checking regex-syntax v0.7.4
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking regex-automata v0.3.6
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking tempfile v3.7.1
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bytes v0.11.12
[INFO] [stderr]     Checking clap_builder v4.3.22
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]     Checking serde_bencode v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.38
[INFO] [stderr]     Checking regex v1.9.3
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.3.12
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking clap v4.3.22
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking bittorrent-starter-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/main.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[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: `Subcommand`
[INFO] [stdout]  --> src/main.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[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: `std::path::PathBuf`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_hash`
[INFO] [stdout]    --> src/main.rs:333:21
[INFO] [stdout]     |
[INFO] [stdout] 333 |                 let piece_hash = &t.info.pieces.0[piece_i];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]    --> src/main.rs:389:21
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let hash: [u8; 20] = hasher
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece_hash`
[INFO] [stdout]    --> src/main.rs:333:21
[INFO] [stdout]     |
[INFO] [stdout] 333 |                 let piece_hash = &t.info.pieces.0[piece_i];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_piece_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]    --> src/main.rs:389:21
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 let hash: [u8; 20] = hasher
[INFO] [stdout]     |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |               let hash: [u8; 20] = hasher
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 246 | |                 .finalize()
[INFO] [stdout] 247 | |                 .try_into()
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]    --> src/main.rs:389:38
[INFO] [stdout]     |
[INFO] [stdout] 389 |                   let hash: [u8; 20] = hasher
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 390 | |                     .finalize()
[INFO] [stdout] 391 | |                     .try_into()
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]    --> src/main.rs:245:34
[INFO] [stdout]     |
[INFO] [stdout] 245 |               let hash: [u8; 20] = hasher
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 246 | |                 .finalize()
[INFO] [stdout] 247 | |                 .try_into()
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]    --> src/main.rs:389:38
[INFO] [stdout]     |
[INFO] [stdout] 389 |                   let hash: [u8; 20] = hasher
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 390 | |                     .finalize()
[INFO] [stdout] 391 | |                     .try_into()
[INFO] [stdout]     | |_______________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust" test) due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a32c9e4c4ed23300ae7858060b64ce15cd739ffe5b28192348fb7ed7591218d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a32c9e4c4ed23300ae7858060b64ce15cd739ffe5b28192348fb7ed7591218d6", kill_on_drop: false }`
[INFO] [stdout] a32c9e4c4ed23300ae7858060b64ce15cd739ffe5b28192348fb7ed7591218d6
