[INFO] cloning repository https://github.com/TrinhTrungDung/bittorrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TrinhTrungDung/bittorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrinhTrungDung%2Fbittorrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrinhTrungDung%2Fbittorrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 854389dc9ca9cf365f207b5b288b314e27762cf3 [INFO] checking TrinhTrungDung/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%2FTrinhTrungDung%2Fbittorrent" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TrinhTrungDung/bittorrent [INFO] finished tweaking git repo https://github.com/TrinhTrungDung/bittorrent [INFO] tweaked toml for git repo https://github.com/TrinhTrungDung/bittorrent written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TrinhTrungDung/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/TrinhTrungDung/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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d00ec6f24141c69dfa052167db1ff824e4ad52cc3c2484268bc784dd63ec7f90 [INFO] running `Command { std: "docker" "start" "-a" "d00ec6f24141c69dfa052167db1ff824e4ad52cc3c2484268bc784dd63ec7f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d00ec6f24141c69dfa052167db1ff824e4ad52cc3c2484268bc784dd63ec7f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00ec6f24141c69dfa052167db1ff824e4ad52cc3c2484268bc784dd63ec7f90", kill_on_drop: false }` [INFO] [stdout] d00ec6f24141c69dfa052167db1ff824e4ad52cc3c2484268bc784dd63ec7f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2cf4585cc87a9908d6ed01e1733a79d10ab748c3a8eec49c5818014f7357aca7 [INFO] running `Command { std: "docker" "start" "-a" "2cf4585cc87a9908d6ed01e1733a79d10ab748c3a8eec49c5818014f7357aca7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking cpufeatures v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking bittorrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 20], Infallible> [INFO] [stdout] --> src/torrent.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / hasher [INFO] [stdout] 19 | | .finalize() [INFO] [stdout] 20 | | .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] [stderr] error: could not compile `bittorrent` (lib) due to 1 previous error [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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / hasher [INFO] [stdout] 19 | | .finalize() [INFO] [stdout] 20 | | .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] [stderr] error: could not compile `bittorrent` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2cf4585cc87a9908d6ed01e1733a79d10ab748c3a8eec49c5818014f7357aca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cf4585cc87a9908d6ed01e1733a79d10ab748c3a8eec49c5818014f7357aca7", kill_on_drop: false }` [INFO] [stdout] 2cf4585cc87a9908d6ed01e1733a79d10ab748c3a8eec49c5818014f7357aca7