Running phase: unpackPhase unpacking source archive /nix/store/hmxx6hsg34irry6cvflc5rcz13sqjc1z-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline Compiling proc-macro2 v1.0.103 Compiling quote v1.0.42 Compiling unicode-ident v1.0.22 Compiling serde_core v1.0.228 Compiling libc v0.2.177 Compiling utf8parse v0.2.2 Compiling anstyle-parse v0.2.7 Compiling num-conv v0.1.0 Compiling anstyle v1.0.13 Compiling anstyle-query v1.1.5 Compiling powerfmt v0.2.0 Compiling colorchoice v1.0.4 Compiling serde v1.0.228 Compiling syn v2.0.111 Compiling is_terminal_polyfill v1.70.2 Compiling itoa v1.0.15 Compiling time-core v0.1.6 Compiling anstream v0.6.21 Compiling time-macros v0.2.24 Compiling deranged v0.5.5 Compiling thiserror v2.0.17 Compiling strsim v0.11.1 Compiling clap_lex v0.7.6 Compiling serde_json v1.0.145 Compiling heck v0.5.0 Compiling num_threads v0.1.7 Compiling clap_builder v4.5.53 Compiling ryu v1.0.20 Compiling time v0.3.44 Compiling memchr v2.7.6 Compiling log v0.4.28 Compiling colored v3.0.0 Compiling simple_logger v5.1.0 Compiling glob v0.3.3 Compiling serde_derive v1.0.228 Compiling thiserror-impl v2.0.17 Compiling clap_derive v4.5.49 Compiling clap v4.5.53 Compiling ser_nix v0.1.2 Compiling disko-zfs v0.1.0 (/build/source) warning: type `ZfsListVersion` is more private than the item `ZfsList::output_version` --> src/zfs_list_output.rs:57:5 | 57 | pub output_version: ZfsListVersion, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ZfsList::output_version` is reachable at visibility `pub(crate)` | note: but type `ZfsListVersion` is only usable at visibility `pub(self)` --> src/zfs_list_output.rs:14:1 | 14 | struct ZfsListVersion { | ^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default warning: type `Dataset` is more private than the item `ZfsList::datasets` --> src/zfs_list_output.rs:58:5 | 58 | pub datasets: HashMap, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ZfsList::datasets` is reachable at visibility `pub(crate)` | note: but type `Dataset` is only usable at visibility `pub(self)` --> src/zfs_list_output.rs:31:1 | 31 | struct Dataset { | ^^^^^^^^^^^^^^ warning: fields `command`, `vers_major`, and `vers_minor` are never read --> src/zfs_list_output.rs:15:5 | 14 | struct ZfsListVersion { | -------------- fields in this struct 15 | command: String, | ^^^^^^^ 16 | vers_major: i32, | ^^^^^^^^^^ 17 | vers_minor: i32, | ^^^^^^^^^^ | = note: `ZfsListVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `name`, `type`, `pool`, and `createtxg` are never read --> src/zfs_list_output.rs:32:5 | 31 | struct Dataset { | ------- fields in this struct 32 | name: String, | ^^^^ 33 | r#type: DatasetType, | ^^^^^^ 34 | pool: String, | ^^^^ 35 | createtxg: i32, | ^^^^^^^^^ | = note: `Dataset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: methods `get_property` and `get_property_mut` are never used --> src/zfs_list_output.rs:40:12 | 39 | impl Dataset { | ------------ methods in this implementation 40 | pub fn get_property<'a, S>(&'a self, name: S) -> Option<&'a Property> | ^^^^^^^^^^^^ ... 47 | pub fn get_property_mut<'a, S>(&'a mut self, name: S) -> Option<&'a mut Property> | ^^^^^^^^^^^^^^^^ warning: field `output_version` is never read --> src/zfs_list_output.rs:57:9 | 56 | pub struct ZfsList { | ------- field in this struct 57 | pub output_version: ZfsListVersion, | ^^^^^^^^^^^^^^ | = note: `ZfsList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: `disko-zfs` (bin "disko-zfs") generated 6 warnings Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.88s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline -- Compiling disko-zfs v0.1.0 (/build/source) warning: type `ZfsListVersion` is more private than the item `ZfsList::output_version` --> src/zfs_list_output.rs:57:5 | 57 | pub output_version: ZfsListVersion, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ZfsList::output_version` is reachable at visibility `pub(crate)` | note: but type `ZfsListVersion` is only usable at visibility `pub(self)` --> src/zfs_list_output.rs:14:1 | 14 | struct ZfsListVersion { | ^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default warning: type `Dataset` is more private than the item `ZfsList::datasets` --> src/zfs_list_output.rs:58:5 | 58 | pub datasets: HashMap, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ZfsList::datasets` is reachable at visibility `pub(crate)` | note: but type `Dataset` is only usable at visibility `pub(self)` --> src/zfs_list_output.rs:31:1 | 31 | struct Dataset { | ^^^^^^^^^^^^^^ warning: fields `command`, `vers_major`, and `vers_minor` are never read --> src/zfs_list_output.rs:15:5 | 14 | struct ZfsListVersion { | -------------- fields in this struct 15 | command: String, | ^^^^^^^ 16 | vers_major: i32, | ^^^^^^^^^^ 17 | vers_minor: i32, | ^^^^^^^^^^ | = note: `ZfsListVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `name`, `type`, `pool`, and `createtxg` are never read --> src/zfs_list_output.rs:32:5 | 31 | struct Dataset { | ------- fields in this struct 32 | name: String, | ^^^^ 33 | r#type: DatasetType, | ^^^^^^ 34 | pool: String, | ^^^^ 35 | createtxg: i32, | ^^^^^^^^^ | = note: `Dataset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: methods `get_property` and `get_property_mut` are never used --> src/zfs_list_output.rs:40:12 | 39 | impl Dataset { | ------------ methods in this implementation 40 | pub fn get_property<'a, S>(&'a self, name: S) -> Option<&'a Property> | ^^^^^^^^^^^^ ... 47 | pub fn get_property_mut<'a, S>(&'a mut self, name: S) -> Option<&'a mut Property> | ^^^^^^^^^^^^^^^^ warning: field `output_version` is never read --> src/zfs_list_output.rs:57:9 | 56 | pub struct ZfsList { | ------- field in this struct 57 | pub output_version: ZfsListVersion, | ^^^^^^^^^^^^^^ | = note: `ZfsList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: `disko-zfs` (bin "disko-zfs" test) generated 6 warnings Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/debug/deps/disko_zfs-2b72c050661084dd) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/kk8qpqbqixs9xrzrih78jcahr1bl4vjz-disko-zfs-0.1.0 shrinking /nix/store/kk8qpqbqixs9xrzrih78jcahr1bl4vjz-disko-zfs-0.1.0/bin/disko-zfs checking for references to /build/ in /nix/store/kk8qpqbqixs9xrzrih78jcahr1bl4vjz-disko-zfs-0.1.0... patching script interpreter paths in /nix/store/kk8qpqbqixs9xrzrih78jcahr1bl4vjz-disko-zfs-0.1.0 stripping (with command strip and flags -S -p) in /nix/store/kk8qpqbqixs9xrzrih78jcahr1bl4vjz-disko-zfs-0.1.0/bin