[INFO] fetching crate stromatekt 0.0.0... [INFO] testing stromatekt-0.0.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate stromatekt 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate stromatekt 0.0.0 [INFO] finished tweaking crates.io crate stromatekt 0.0.0 [INFO] tweaked toml for crates.io crate stromatekt 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stromatekt 0.0.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stromatekt 0.0.0 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" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01b9fef6fdbce9d8732a38c1c0669aa7dc6d96361f6c69056db1c0d870018562 [INFO] running `Command { std: "docker" "start" "-a" "01b9fef6fdbce9d8732a38c1c0669aa7dc6d96361f6c69056db1c0d870018562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01b9fef6fdbce9d8732a38c1c0669aa7dc6d96361f6c69056db1c0d870018562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b9fef6fdbce9d8732a38c1c0669aa7dc6d96361f6c69056db1c0d870018562", kill_on_drop: false }` [INFO] [stdout] 01b9fef6fdbce9d8732a38c1c0669aa7dc6d96361f6c69056db1c0d870018562 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d640a7fd8938a717a9bd1bb56bf5b9b267ee840a75f3a51ad4d5c2446ff01ec9 [INFO] running `Command { std: "docker" "start" "-a" "d640a7fd8938a717a9bd1bb56bf5b9b267ee840a75f3a51ad4d5c2446ff01ec9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling clap_builder v4.4.5 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling flat-multimap v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling uapi v0.2.10 [INFO] [stderr] Compiling unixstring v0.2.7 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling clap v4.4.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling uapi-proc v0.0.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling libbtrfsutil-sys v0.1.0 [INFO] [stderr] Compiling oci-spec v0.6.2 [INFO] [stderr] Compiling libbtrfsutil v0.5.2 [INFO] [stderr] Compiling stromatekt v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exec/changeset.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | let fs = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 8 | [INFO] [stdout] 9 | / for changeset in changeset { [INFO] [stdout] 10 | | apply_one(fs, changeset).await?; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `changeset` [INFO] [stdout] --> src/exec/changeset.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/exec/changeset.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let fs = todo!(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/exec/changeset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `changeset` [INFO] [stdout] --> src/exec/changeset.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exec/oci.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 498 | / todo!( [INFO] [stdout] 499 | | "Diff {} to {} into {}", [INFO] [stdout] 500 | | parent.display(), [INFO] [stdout] 501 | | child.display(), [INFO] [stdout] 502 | | target.display() [INFO] [stdout] 503 | | ); [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 504 | [INFO] [stdout] 505 | let tarfs = std::io::BufWriter::new(tarfs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tarfs` [INFO] [stdout] --> src/exec/oci.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let tarfs = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tarfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/exec/oci.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let cmd = tokio::process::Command::new("btrfs") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirs` is never read [INFO] [stdout] --> src/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | pub dirs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack` is never used [INFO] [stdout] --> src/exec/changeset.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_one` is never used [INFO] [stdout] --> src/exec/changeset.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layers` is never read [INFO] [stdout] --> src/exec/graph.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct GraphTimeline { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | layers: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphTimeline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DryRun` is never constructed [INFO] [stdout] --> src/exec/graph.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub(crate) enum GraphChangesetRef { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | DryRun, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphChangesetRef` 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 `oci_dir` and `manifest` are never read [INFO] [stdout] --> src/exec/graph.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct GraphOciImage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | /// The resource owner of the OCI layout directory. [INFO] [stdout] 262 | oci_dir: OciDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 263 | changeset_vars: Vec, [INFO] [stdout] 264 | manifest: OciLayers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphOciImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requirement` is never read [INFO] [stdout] --> src/exec/graph.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 304 | struct LinearIncrement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 310 | requirement: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearIncrement` 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: struct `LinearIdx` is never constructed [INFO] [stdout] --> src/exec/graph.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct LinearIdx(usize); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spec_id` is never read [INFO] [stdout] --> src/exec/oci.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct OciDir { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | spec_id: ImageId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OciDir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subvolume_info` is never read [INFO] [stdout] --> src/fs_engine/btrfs.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct BtrfsVolume { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | subvolume_info: btrfs::SubvolumeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BtrfsVolume` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display` are never used [INFO] [stdout] --> src/fs_engine/btrfs.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl SubvolumePath { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 104 | pub fn new(path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn display(&self) -> impl core::fmt::Display + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_inner` and `info` are never used [INFO] [stdout] --> src/fs_engine/btrfs.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Subvolume { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 135 | pub fn into_inner(self) -> SubvolumePath { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn info(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version_info` is never read [INFO] [stdout] --> src/fs_engine/fuse_overlay.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FuseOverlay { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | cmd: UnixString, [INFO] [stdout] 16 | version_info: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuseOverlay` 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 `workdir` and `upper` are never read [INFO] [stdout] --> src/fs_engine/fuse_overlay.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OverlayFs { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | workdir: EmptyDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | /// The written-to directory. [INFO] [stdout] 26 | upper: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OverlayFs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `export` is never read [INFO] [stdout] --> src/interface/task.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub export: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/interface/task.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Oci { name: String, image: ExportImage }, [INFO] [stdout] | --- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExportTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annotations` is never read [INFO] [stdout] --> src/interface/task.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 225 | Index { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 226 | manifests: Vec, [INFO] [stdout] 227 | annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockDevice` is never constructed [INFO] [stdout] --> src/mount.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlockDevice { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `canonicalize` is never used [INFO] [stdout] --> src/mount.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmptyFile { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn canonicalize(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes_with_nul` is never used [INFO] [stdout] --> src/mount.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl MountPoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_uuid` and `as_bytes_with_nul` are never used [INFO] [stdout] --> src/mount.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BlockDevice { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 97 | pub fn from_uuid(uuid: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&oci_spec::image::Descriptor` instead of cloning the inner type [INFO] [stdout] --> src/exec/oci.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let descriptor = chosen.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d640a7fd8938a717a9bd1bb56bf5b9b267ee840a75f3a51ad4d5c2446ff01ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d640a7fd8938a717a9bd1bb56bf5b9b267ee840a75f3a51ad4d5c2446ff01ec9", kill_on_drop: false }` [INFO] [stdout] d640a7fd8938a717a9bd1bb56bf5b9b267ee840a75f3a51ad4d5c2446ff01ec9 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8ac34289b03c57706415f405e1498b3efc2732b1e63cb491855d22b08dcbd8 [INFO] running `Command { std: "docker" "start" "-a" "ff8ac34289b03c57706415f405e1498b3efc2732b1e63cb491855d22b08dcbd8", kill_on_drop: false }` [INFO] [stderr] Compiling stromatekt v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exec/changeset.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | let fs = todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 8 | [INFO] [stdout] 9 | / for changeset in changeset { [INFO] [stdout] 10 | | apply_one(fs, changeset).await?; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `changeset` [INFO] [stdout] --> src/exec/changeset.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/exec/changeset.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let fs = todo!(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/exec/changeset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `changeset` [INFO] [stdout] --> src/exec/changeset.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/exec/oci.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 498 | / todo!( [INFO] [stdout] 499 | | "Diff {} to {} into {}", [INFO] [stdout] 500 | | parent.display(), [INFO] [stdout] 501 | | child.display(), [INFO] [stdout] 502 | | target.display() [INFO] [stdout] 503 | | ); [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 504 | [INFO] [stdout] 505 | let tarfs = std::io::BufWriter::new(tarfs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tarfs` [INFO] [stdout] --> src/exec/oci.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let tarfs = std::fs::OpenOptions::new() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tarfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/exec/oci.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let cmd = tokio::process::Command::new("btrfs") [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirs` is never read [INFO] [stdout] --> src/config.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | pub dirs: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stack` is never used [INFO] [stdout] --> src/exec/changeset.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_one` is never used [INFO] [stdout] --> src/exec/changeset.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layers` is never read [INFO] [stdout] --> src/exec/graph.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 132 | struct GraphTimeline { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | layers: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphTimeline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DryRun` is never constructed [INFO] [stdout] --> src/exec/graph.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 236 | pub(crate) enum GraphChangesetRef { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | DryRun, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphChangesetRef` 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 `oci_dir` and `manifest` are never read [INFO] [stdout] --> src/exec/graph.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | struct GraphOciImage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 261 | /// The resource owner of the OCI layout directory. [INFO] [stdout] 262 | oci_dir: OciDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 263 | changeset_vars: Vec, [INFO] [stdout] 264 | manifest: OciLayers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphOciImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requirement` is never read [INFO] [stdout] --> src/exec/graph.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 304 | struct LinearIncrement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 310 | requirement: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearIncrement` 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: struct `LinearIdx` is never constructed [INFO] [stdout] --> src/exec/graph.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct LinearIdx(usize); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spec_id` is never read [INFO] [stdout] --> src/exec/oci.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct OciDir { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | spec_id: ImageId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OciDir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subvolume_info` is never read [INFO] [stdout] --> src/fs_engine/btrfs.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct BtrfsVolume { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | subvolume_info: btrfs::SubvolumeInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BtrfsVolume` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `display` are never used [INFO] [stdout] --> src/fs_engine/btrfs.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl SubvolumePath { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 104 | pub fn new(path: PathBuf) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn display(&self) -> impl core::fmt::Display + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_inner` and `info` are never used [INFO] [stdout] --> src/fs_engine/btrfs.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Subvolume { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 135 | pub fn into_inner(self) -> SubvolumePath { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn info(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version_info` is never read [INFO] [stdout] --> src/fs_engine/fuse_overlay.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FuseOverlay { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | cmd: UnixString, [INFO] [stdout] 16 | version_info: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuseOverlay` 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 `workdir` and `upper` are never read [INFO] [stdout] --> src/fs_engine/fuse_overlay.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct OverlayFs { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | workdir: EmptyDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | /// The written-to directory. [INFO] [stdout] 26 | upper: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OverlayFs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `export` is never read [INFO] [stdout] --> src/interface/task.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Graph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub export: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `image` are never read [INFO] [stdout] --> src/interface/task.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | Oci { name: String, image: ExportImage }, [INFO] [stdout] | --- ^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExportTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `annotations` is never read [INFO] [stdout] --> src/interface/task.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 225 | Index { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] 226 | manifests: Vec, [INFO] [stdout] 227 | annotations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockDevice` is never constructed [INFO] [stdout] --> src/mount.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct BlockDevice { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `canonicalize` is never used [INFO] [stdout] --> src/mount.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmptyFile { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn canonicalize(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes_with_nul` is never used [INFO] [stdout] --> src/mount.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl MountPoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_uuid` and `as_bytes_with_nul` are never used [INFO] [stdout] --> src/mount.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl BlockDevice { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 97 | pub fn from_uuid(uuid: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub(crate) fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&oci_spec::image::Descriptor` instead of cloning the inner type [INFO] [stdout] --> src/exec/oci.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let descriptor = chosen.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "ff8ac34289b03c57706415f405e1498b3efc2732b1e63cb491855d22b08dcbd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8ac34289b03c57706415f405e1498b3efc2732b1e63cb491855d22b08dcbd8", kill_on_drop: false }` [INFO] [stdout] ff8ac34289b03c57706415f405e1498b3efc2732b1e63cb491855d22b08dcbd8 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab243e903927c52b5917f5dbd052d41df929718c17880eeca6dcf005abde79a0 [INFO] running `Command { std: "docker" "start" "-a" "ab243e903927c52b5917f5dbd052d41df929718c17880eeca6dcf005abde79a0", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/exec/changeset.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 7 | let fs = todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 8 | [INFO] [stderr] 9 | / for changeset in changeset { [INFO] [stderr] 10 | | apply_one(fs, changeset).await?; [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `changeset` [INFO] [stderr] --> src/exec/changeset.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fs` [INFO] [stderr] --> src/exec/changeset.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let fs = todo!(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fs` [INFO] [stderr] --> src/exec/changeset.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `changeset` [INFO] [stderr] --> src/exec/changeset.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_changeset` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/exec/oci.rs:505:9 [INFO] [stderr] | [INFO] [stderr] 498 | / todo!( [INFO] [stderr] 499 | | "Diff {} to {} into {}", [INFO] [stderr] 500 | | parent.display(), [INFO] [stderr] 501 | | child.display(), [INFO] [stderr] 502 | | target.display() [INFO] [stderr] 503 | | ); [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 504 | [INFO] [stderr] 505 | let tarfs = std::io::BufWriter::new(tarfs); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tarfs` [INFO] [stderr] --> src/exec/oci.rs:485:13 [INFO] [stderr] | [INFO] [stderr] 485 | let tarfs = std::fs::OpenOptions::new() [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tarfs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/exec/oci.rs:490:13 [INFO] [stderr] | [INFO] [stderr] 490 | let cmd = tokio::process::Command::new("btrfs") [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: field `dirs` is never read [INFO] [stderr] --> src/config.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 9 | pub dirs: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `stack` is never used [INFO] [stderr] --> src/exec/changeset.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | async fn stack(changeset: impl IntoIterator) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `apply_one` is never used [INFO] [stderr] --> src/exec/changeset.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | async fn apply_one(fs: &Path, changeset: &Path) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `layers` is never read [INFO] [stderr] --> src/exec/graph.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 132 | struct GraphTimeline { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 135 | layers: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GraphTimeline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `DryRun` is never constructed [INFO] [stderr] --> src/exec/graph.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 236 | pub(crate) enum GraphChangesetRef { [INFO] [stderr] | ----------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 247 | DryRun, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GraphChangesetRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `oci_dir` and `manifest` are never read [INFO] [stderr] --> src/exec/graph.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 260 | struct GraphOciImage { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 261 | /// The resource owner of the OCI layout directory. [INFO] [stderr] 262 | oci_dir: OciDir, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 263 | changeset_vars: Vec, [INFO] [stderr] 264 | manifest: OciLayers, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GraphOciImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `requirement` is never read [INFO] [stderr] --> src/exec/graph.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 304 | struct LinearIncrement { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 310 | requirement: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LinearIncrement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `LinearIdx` is never constructed [INFO] [stderr] --> src/exec/graph.rs:329:12 [INFO] [stderr] | [INFO] [stderr] 329 | pub struct LinearIdx(usize); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `spec_id` is never read [INFO] [stderr] --> src/exec/oci.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct OciDir { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 35 | spec_id: ImageId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OciDir` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `subvolume_info` is never read [INFO] [stderr] --> src/fs_engine/btrfs.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 34 | struct BtrfsVolume { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | subvolume_info: btrfs::SubvolumeInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BtrfsVolume` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `display` are never used [INFO] [stderr] --> src/fs_engine/btrfs.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 103 | impl SubvolumePath { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 104 | pub fn new(path: PathBuf) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | fn display(&self) -> impl core::fmt::Display + '_ { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `into_inner` and `info` are never used [INFO] [stderr] --> src/fs_engine/btrfs.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 134 | impl Subvolume { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 135 | pub fn into_inner(self) -> SubvolumePath { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 150 | pub fn info(&self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `version_info` is never read [INFO] [stderr] --> src/fs_engine/fuse_overlay.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct FuseOverlay { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 15 | cmd: UnixString, [INFO] [stderr] 16 | version_info: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FuseOverlay` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `workdir` and `upper` are never read [INFO] [stderr] --> src/fs_engine/fuse_overlay.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct OverlayFs { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | workdir: EmptyDir, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 25 | /// The written-to directory. [INFO] [stderr] 26 | upper: PathBuf, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OverlayFs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `export` is never read [INFO] [stderr] --> src/interface/task.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Graph { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | pub export: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `image` are never read [INFO] [stderr] --> src/interface/task.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | Oci { name: String, image: ExportImage }, [INFO] [stderr] | --- ^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ExportTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `annotations` is never read [INFO] [stderr] --> src/interface/task.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 225 | Index { [INFO] [stderr] | ----- field in this variant [INFO] [stderr] 226 | manifests: Vec, [INFO] [stderr] 227 | annotations: HashMap, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExportImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `BlockDevice` is never constructed [INFO] [stderr] --> src/mount.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct BlockDevice { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `canonicalize` is never used [INFO] [stderr] --> src/mount.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 54 | impl EmptyFile { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn canonicalize(&mut self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_bytes_with_nul` is never used [INFO] [stderr] --> src/mount.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 76 | impl MountPoint { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_uuid` and `as_bytes_with_nul` are never used [INFO] [stderr] --> src/mount.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 96 | impl BlockDevice { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 97 | pub fn from_uuid(uuid: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub(crate) fn as_bytes_with_nul(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&oci_spec::image::Descriptor` instead of cloning the inner type [INFO] [stderr] --> src/exec/oci.rs:185:32 [INFO] [stderr] | [INFO] [stderr] 185 | let descriptor = chosen.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `stromatekt` (bin "stromatekt" test) generated 30 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stromatekt-bb2a63e0670da7f3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab243e903927c52b5917f5dbd052d41df929718c17880eeca6dcf005abde79a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab243e903927c52b5917f5dbd052d41df929718c17880eeca6dcf005abde79a0", kill_on_drop: false }` [INFO] [stdout] ab243e903927c52b5917f5dbd052d41df929718c17880eeca6dcf005abde79a0