harmonia-clippy-3.2.0
checks.aarch64-darwin.clippy
· build #210
· raw
unpackPhase
1unpacking source archive /nix/store/s3yz9d6llzx07whdzqc0z4jwcc3pjxpx-source2source root is sourcepatchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/zz2rkf7kqq4rka5va4s6zifzpkkhccvh-harmonia-deps-3.2.0/target.tar.zst to targetconfigurePhase
5will append /nix/var/nix/builds/nix-32266-3244931723/source/.cargo-home/config.toml with contents of /nix/store/2a1wbxqfgkj4ng9s3ghkw73j4sah48vq-vendor-cargo-deps/config.toml6default configurePhase, nothing to dobuildPhase
7+++ command cargo --version8cargo 1.97.0 (c980f4866 2026-06-30)9+++ command cargo clippy --release --locked --all-targets --all-features -- -D warnings10 Checking harmonia-utils-base-encoding v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-utils-base-encoding)11 Checking harmonia-utils-test v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-utils-test)12 Checking harmonia-file-core v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-file-core)13 Checking harmonia-utils-io v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-utils-io)14 Compiling harmonia-protocol-derive v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-protocol-derive)15 Checking harmonia-ssh-store v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-ssh-store)16 Checking harmonia-client v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-client)17 Checking harmonia-utils-hash v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-utils-hash)18 Checking harmonia-utils-signature v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-utils-signature)19 Checking harmonia-file-nar v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-file-nar)20 Checking harmonia-store-path v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-path)21 Checking harmonia-store-content-address v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-content-address)22 Checking harmonia-store-ref-scan v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-ref-scan)23 Checking harmonia-bench v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-bench)24 Checking harmonia-store-derivation v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-derivation)25 Checking harmonia-store-path-info v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-path-info)26 Checking harmonia-store-nar-info v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-nar-info)27 Checking harmonia-store-db v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-db)28 Checking harmonia-store-aterm v0.0.0-alpha.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-aterm)29 Checking harmonia-store-build-result v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-build-result)30 Checking harmonia-protocol v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-protocol)31 Checking harmonia-store-gc v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-store-gc)32 Checking harmonia-cache v3.2.0 (/nix/var/nix/builds/nix-32266-3244931723/source/harmonia-cache)33error: unused variable: `idrv`34 --> harmonia-store-db/tests/graph.rs:183:1635 |36183 | let (iout, idrv) = (idx_of(&g, "-pkg"), idx_of(&g, ".drv"));37 | ^^^^ help: if this is intentional, prefix it with an underscore: `_idrv`38 |39 = note: `-D unused-variables` implied by `-D warnings`40 = help: to override `-D warnings` add `#[allow(unused_variables)]`4142error: could not compile `harmonia-store-db` (test "graph") due to 1 previous error43warning: build failed, waiting for other jobs to finish...44error: this `if` statement can be collapsed45 --> harmonia-store-gc/src/roots/runtime_roots.rs:109:546 |47109 | / if n > 0 {48110 | | if let Ok(s) = std::str::from_utf8(&buf[..n as usize]) {49111 | | add_unchecked(store_prefix, s, unchecked);50112 | | }51113 | | }52 | |_____^53 |54 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if55 = note: `-D clippy::collapsible-if` implied by `-D warnings`56 = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]`57help: collapse nested if block58 |59109 ~ if n > 060110 ~ && let Ok(s) = std::str::from_utf8(&buf[..n as usize]) {61111 | add_unchecked(store_prefix, s, unchecked);62112 ~ }63 |6465error: this `if` statement can be collapsed66 --> harmonia-store-gc/src/roots/runtime_roots.rs:187:967 |68187 | / if r > 0 {69188 | | if let Some(p) = extract_cstr_path(&buf) {70189 | | add_unchecked(store_prefix, &p, unchecked);71190 | | }72191 | | }73 | |_________^74 |75 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if76help: collapse nested if block77 |78187 ~ if r > 079188 ~ && let Some(p) = extract_cstr_path(&buf) {80189 | add_unchecked(store_prefix, &p, unchecked);81190 ~ }82 |8384error: could not compile `harmonia-store-gc` (lib) due to 2 previous errors85error: could not compile `harmonia-store-gc` (lib test) due to 2 previous errors