[INFO] cloning repository https://github.com/Girbons/rescuedisk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Girbons/rescuedisk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirbons%2Frescuedisk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirbons%2Frescuedisk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0078f6c976d281bef566ea2499fec2c483c831e2 [INFO] checking Girbons/rescuedisk against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirbons%2Frescuedisk" "/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/Girbons/rescuedisk [INFO] finished tweaking git repo https://github.com/Girbons/rescuedisk [INFO] tweaked toml for git repo https://github.com/Girbons/rescuedisk written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Girbons/rescuedisk on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Girbons/rescuedisk 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af [INFO] running `Command { std: "docker" "start" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking rescudedisk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `has_sof` is assigned to, but never used [INFO] [stdout] --> src/jpeg_repair.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let mut has_sof = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sof` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sof` is never read [INFO] [stdout] --> src/jpeg_repair.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | SOF0 | SOF2 => has_sof = true, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_sof` is assigned to, but never used [INFO] [stdout] --> src/jpeg_repair.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | let mut has_sof = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_sof` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_sof` is never read [INFO] [stdout] --> src/jpeg_repair.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | SOF0 | SOF2 => has_sof = true, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_per_sector` and `sectors_per_cluster` are never read [INFO] [stdout] --> src/fs/fat.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Bpb { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | fat_type: FatType, [INFO] [stdout] 17 | bytes_per_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | sectors_per_cluster:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bpb` has a derived impl for the trait `Clone`, but this is 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: trait `TrimAsciiEnd` is never used [INFO] [stdout] --> src/fs/fat.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | trait TrimAsciiEnd { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sector_size` is never read [INFO] [stdout] --> src/fs/exfat.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Boot { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 16 | sector_size: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/types.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RecoveredFile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecoveredFile` 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: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | src_vec.sort_by_key(|(k, _)| k.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | ext_vec.sort_by_key(|(k, _)| k.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bytes_per_sector` and `sectors_per_cluster` are never read [INFO] [stdout] --> src/fs/fat.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Bpb { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | fat_type: FatType, [INFO] [stdout] 17 | bytes_per_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | sectors_per_cluster:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bpb` has a derived impl for the trait `Clone`, but this is 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: trait `TrimAsciiEnd` is never used [INFO] [stdout] --> src/fs/fat.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | trait TrimAsciiEnd { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sector_size` is never read [INFO] [stdout] --> src/fs/exfat.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Boot { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 16 | sector_size: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/types.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RecoveredFile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecoveredFile` 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: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | src_vec.sort_by_key(|(k, _)| k.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | ext_vec.sort_by_key(|(k, _)| k.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `crossbeam` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | crossbeam = "0.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `crossbeam` [INFO] [stderr] warning: `rescudedisk` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.53s [INFO] running `Command { std: "docker" "inspect" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af", kill_on_drop: false }` [INFO] [stdout] f340f9f97fe196a7ec47c4c8acaa5fa836ae0f6c7671a97582f7f44fea3939af