[INFO] cloning repository https://github.com/Didgety/pine-torrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Didgety/pine-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgety%2Fpine-torrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgety%2Fpine-torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9758f940323986141e4b342a5a577dc6e7c1e313 [INFO] checking Didgety/pine-torrent against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDidgety%2Fpine-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] started tweaking git repo https://github.com/Didgety/pine-torrent [INFO] finished tweaking git repo https://github.com/Didgety/pine-torrent [INFO] tweaked toml for git repo https://github.com/Didgety/pine-torrent written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Didgety/pine-torrent on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Didgety/pine-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.4 [INFO] [stderr] Downloaded serde_bencode v0.2.3 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded clap v4.3.22 [INFO] [stderr] Downloaded openssl-sys v0.9.91 [INFO] [stderr] Downloaded clap_builder v4.3.22 [INFO] [stderr] Downloaded regex v1.9.3 [INFO] [stderr] Downloaded openssl v0.10.56 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.4 [INFO] [stderr] Downloaded regex-automata v0.3.6 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0d0fa6af305b952ef8f456170eb7c2452914234a8251ff659e77d933dd1fb6c [INFO] running `Command { std: "docker" "start" "-a" "b0d0fa6af305b952ef8f456170eb7c2452914234a8251ff659e77d933dd1fb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0d0fa6af305b952ef8f456170eb7c2452914234a8251ff659e77d933dd1fb6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d0fa6af305b952ef8f456170eb7c2452914234a8251ff659e77d933dd1fb6c", kill_on_drop: false }` [INFO] [stdout] b0d0fa6af305b952ef8f456170eb7c2452914234a8251ff659e77d933dd1fb6c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bf62a5ce245f8ca29266f0a49f40c827357d50485ddcbf8241b3a1d4ba14093 [INFO] running `Command { std: "docker" "start" "-a" "1bf62a5ce245f8ca29266f0a49f40c827357d50485ddcbf8241b3a1d4ba14093", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [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] Compiling openssl-sys v0.9.91 [INFO] [stderr] Checking sha1 v0.10.5 [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] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.22 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bencode v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking thiserror v1.0.38 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking clap v4.3.22 [INFO] [stderr] Checking tokio-util v0.7.8 [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: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/crypt/b_encoding.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/crypt/b_encoding.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::decode` [INFO] [stdout] --> src/crypt/b_encoding.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hex::decode; [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: `anyhow::Context` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/crypt/b_encoding.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/crypt/b_encoding.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::decode` [INFO] [stdout] --> src/crypt/b_encoding.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hex::decode; [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: `anyhow::Context` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 38 | Command::Decode { encoded_value } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 43 | Command::Encode {} => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Command::Info { torrent } => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/crypt/torrent.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | SingleFile { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 46 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/crypt/torrent.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | MultiFile { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 51 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` 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 `length` and `path` are never read [INFO] [stdout] --> src/crypt/torrent.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | /// Length of file in bytes [INFO] [stdout] 58 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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 `0` is never read [INFO] [stdout] --> src/crypt/hash.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Hashes(Vec<[u8; 20]>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Hashes` 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: unreachable pattern [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 38 | Command::Decode { encoded_value } => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 43 | Command::Encode {} => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 56 | Command::Info { torrent } => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/crypt/torrent.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | SingleFile { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 46 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `files` is never read [INFO] [stdout] --> src/crypt/torrent.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | MultiFile { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 51 | files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keys` 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 `length` and `path` are never read [INFO] [stdout] --> src/crypt/torrent.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | /// Length of file in bytes [INFO] [stdout] 58 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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 `0` is never read [INFO] [stdout] --> src/crypt/hash.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct Hashes(Vec<[u8; 20]>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Hashes` 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 26.12s [INFO] running `Command { std: "docker" "inspect" "1bf62a5ce245f8ca29266f0a49f40c827357d50485ddcbf8241b3a1d4ba14093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf62a5ce245f8ca29266f0a49f40c827357d50485ddcbf8241b3a1d4ba14093", kill_on_drop: false }` [INFO] [stdout] 1bf62a5ce245f8ca29266f0a49f40c827357d50485ddcbf8241b3a1d4ba14093