this derivation will be built: /nix/store/58vfxd86iy0qr6rzbpwfrc7zimilimy0-harmonia-clippy-3.2.0.drv error: Cannot build '/nix/store/58vfxd86iy0qr6rzbpwfrc7zimilimy0-harmonia-clippy-3.2.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/vdb9k97yjp8jzylgw148nz09k08m68qk-harmonia-clippy-3.2.0 Last 25 log lines: > --> harmonia-store-gc/src/gc.rs:570:49 > | > 570 | let bytes_freed = bytes_freed + clean_links(&store.layout.links_dir())?; > | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `store.layout.links_dir()` > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow > > error: call to `.clone()` on a reference in this situation does nothing > --> harmonia-store-gc/src/gc.rs:385:55 > | > 385 | let real_store_dir = store.layout.real_store_dir().clone(); > | ^^^^^^^^ > | > = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed > = note: `-D noop-method-call` implied by `-D warnings` > = help: to override `-D warnings` add `#[allow(noop_method_call)]` > help: remove this redundant call > | > 385 - let real_store_dir = store.layout.real_store_dir().clone(); > 385 + let real_store_dir = store.layout.real_store_dir(); > | > > error: could not compile `harmonia-store-gc` (lib) due to 8 previous errors > warning: build failed, waiting for other jobs to finish... > error: could not compile `harmonia-store-gc` (lib test) due to 8 previous errors For full logs, run: nix log /nix/store/58vfxd86iy0qr6rzbpwfrc7zimilimy0-harmonia-clippy-3.2.0.drv