this derivation will be built: /nix/store/vmcliyzmr22wv9v6ccmw64jx2b9a29hi-nix-ld.drv building '/nix/store/vmcliyzmr22wv9v6ccmw64jx2b9a29hi-nix-ld.drv' nix-ld> tribuchet: building on eliza nix-ld> Running phase: unpackPhase nix-ld> unpacking source archive /nix/store/kcvv9asjdqp56akl5l0ybpr6p208gv1v-source nix-ld> source root is source nix-ld> Executing cargoSetupPostUnpackHook nix-ld> Finished cargoSetupPostUnpackHook nix-ld> Running phase: patchPhase nix-ld> Executing cargoSetupPostPatchHook nix-ld> Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock nix-ld> Finished cargoSetupPostPatchHook nix-ld> Running phase: installPhase nix-ld> Compiling find-msvc-tools v0.1.14 nix-ld> Compiling shlex v2.0.1 nix-ld> Compiling heapless v0.9.3 nix-ld> Checking byteorder v1.5.0 nix-ld> Checking scroll v0.13.0 nix-ld> Checking plain v0.2.3 nix-ld> Checking stable_deref_trait v1.2.0 nix-ld> Checking linux-raw-sys v0.12.1 nix-ld> Checking embedded-io v0.6.1 nix-ld> Checking log v0.4.34 nix-ld> Compiling cc v1.5.1 nix-ld> Checking hash32 v0.3.1 nix-ld> Checking goblin v0.10.7 nix-ld> Compiling nix-ld v2.0.6 (/build/source) nix-ld> error: unused import: `heapless::format` nix-ld> --> src/main.rs:27:5 nix-ld> | nix-ld> 27 | use heapless::format; nix-ld> | ^^^^^^^^^^^^^^^^ nix-ld> | nix-ld> = note: `-D unused-imports` implied by `-D warnings` nix-ld> = help: to override `-D warnings` add `#[allow(unused_imports)]` nix-ld> nix-ld> error: variables can be used directly in the `format!` string nix-ld> --> src/main.rs:191:13 nix-ld> | nix-ld> 191 | / log::error!("Unable to open the original loader at {:?}: {:?}.\nCheck if your NIX_LD environment variable is set correctly.", nix-ld> 192 | | nix_ld, nix-ld> 193 | | err); nix-ld> | |________________^ nix-ld> | nix-ld> = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args nix-ld> = note: `-D clippy::uninlined-format-args` implied by `-D warnings` nix-ld> = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]` nix-ld> nix-ld> error: could not compile `nix-ld` (bin "nix-ld") due to 2 previous errors error: Cannot build '/nix/store/vmcliyzmr22wv9v6ccmw64jx2b9a29hi-nix-ld.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/j2xia31h7b0w9khn45vkw18zhdybcxjq-nix-ld Last 25 log lines: > Checking hash32 v0.3.1 > Checking goblin v0.10.7 > Compiling nix-ld v2.0.6 (/build/source) > error: unused import: `heapless::format` > --> src/main.rs:27:5 > | > 27 | use heapless::format; > | ^^^^^^^^^^^^^^^^ > | > = note: `-D unused-imports` implied by `-D warnings` > = help: to override `-D warnings` add `#[allow(unused_imports)]` > > error: variables can be used directly in the `format!` string > --> src/main.rs:191:13 > | > 191 | / log::error!("Unable to open the original loader at {:?}: {:?}.\nCheck if your NIX_LD environment variable is set correctly.", > 192 | | nix_ld, > 193 | | err); > | |________________^ > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args > = note: `-D clippy::uninlined-format-args` implied by `-D warnings` > = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]` > > error: could not compile `nix-ld` (bin "nix-ld") due to 2 previous errors For full logs, run: nix log /nix/store/vmcliyzmr22wv9v6ccmw64jx2b9a29hi-nix-ld.drv