[INFO] cloning repository https://github.com/iRitiLopes/codecrafters-bittorrent-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iRitiLopes/codecrafters-bittorrent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiRitiLopes%2Fcodecrafters-bittorrent-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiRitiLopes%2Fcodecrafters-bittorrent-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 253686acc4cebaeb77c267560a4905cd3c1453cc
[INFO] checking iRitiLopes/codecrafters-bittorrent-rust 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%2FiRitiLopes%2Fcodecrafters-bittorrent-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iRitiLopes/codecrafters-bittorrent-rust
[INFO] finished tweaking git repo https://github.com/iRitiLopes/codecrafters-bittorrent-rust
[INFO] tweaked toml for git repo https://github.com/iRitiLopes/codecrafters-bittorrent-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iRitiLopes/codecrafters-bittorrent-rust 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/iRitiLopes/codecrafters-bittorrent-rust 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ba5f2bf486ff9383b101efb9031b532ffdfe7c5203bc383c6631ac2d476f9d52
[INFO] running `Command { std: "docker" "start" "-a" "ba5f2bf486ff9383b101efb9031b532ffdfe7c5203bc383c6631ac2d476f9d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba5f2bf486ff9383b101efb9031b532ffdfe7c5203bc383c6631ac2d476f9d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba5f2bf486ff9383b101efb9031b532ffdfe7c5203bc383c6631ac2d476f9d52", kill_on_drop: false }`
[INFO] [stdout] ba5f2bf486ff9383b101efb9031b532ffdfe7c5203bc383c6631ac2d476f9d52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 82d4b4888787eb1c70151e34e431f3040d62a701870036851e0fc43203f50ca7
[INFO] running `Command { std: "docker" "start" "-a" "82d4b4888787eb1c70151e34e431f3040d62a701870036851e0fc43203f50ca7", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling rustix v0.38.8
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling openssl v0.10.56
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking hashes v0.1.9
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling cc v1.0.82
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking tempfile v3.7.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking clap_builder v4.3.22
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_bytes v0.11.12
[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]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking serde_bencode v0.2.3
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]     Checking clap v4.3.22
[INFO] [stderr]     Checking tokio-util v0.7.12
[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: `command`
[INFO] [stdout]  --> src/cli.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{self, command, 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: `command`
[INFO] [stdout]  --> src/cli.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{self, command, 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] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]   --> src/torrent.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |         return hasher.finalize().try_into().expect("Generating");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust" test) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible>
[INFO] [stdout]   --> src/torrent.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |         return hasher.finalize().try_into().expect("Generating");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bittorrent-starter-rust` (bin "bittorrent-starter-rust") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "82d4b4888787eb1c70151e34e431f3040d62a701870036851e0fc43203f50ca7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82d4b4888787eb1c70151e34e431f3040d62a701870036851e0fc43203f50ca7", kill_on_drop: false }`
[INFO] [stdout] 82d4b4888787eb1c70151e34e431f3040d62a701870036851e0fc43203f50ca7
