nixbot

builds

failed harmonia-clippy-3.2.0 checks.aarch64-darwin.clippy · build #205 · raw

unpackPhase
1unpacking source archive /nix/store/pwsj28kn1bg19l4n6qk9k8lxfz3bz04l-source2source root is source
patchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/zz2rkf7kqq4rka5va4s6zifzpkkhccvh-harmonia-deps-3.2.0/target.tar.zst to target
configurePhase
5will append /nix/var/nix/builds/nix-11773-3512590070/source/.cargo-home/config.toml with contents of /nix/store/2a1wbxqfgkj4ng9s3ghkw73j4sah48vq-vendor-cargo-deps/config.toml6default configurePhase, nothing to do
buildPhase
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-11773-3512590070/source/harmonia-utils-base-encoding)11 Checking harmonia-utils-test v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-utils-test)12 Checking harmonia-file-core v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-file-core)13 Checking harmonia-utils-io v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-utils-io)14 Compiling harmonia-protocol-derive v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-protocol-derive)15 Checking harmonia-ssh-store v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-ssh-store)16 Checking harmonia-client v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-client)17 Checking harmonia-utils-hash v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-utils-hash)18 Checking harmonia-utils-signature v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-utils-signature)19 Checking harmonia-file-nar v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-file-nar)20 Checking harmonia-store-path v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-path)21 Checking harmonia-store-content-address v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-content-address)22 Checking harmonia-store-ref-scan v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-ref-scan)23 Checking harmonia-bench v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-bench)24 Checking harmonia-store-derivation v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-derivation)25 Checking harmonia-store-path-info v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-path-info)26 Checking harmonia-store-nar-info v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-nar-info)27 Checking harmonia-store-db v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-db)28 Checking harmonia-store-aterm v0.0.0-alpha.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-aterm)29 Checking harmonia-store-build-result v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-build-result)30 Checking harmonia-store-gc v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-store-gc)31 Checking harmonia-cache v3.2.0 (/nix/var/nix/builds/nix-11773-3512590070/source/harmonia-cache)32error: this `if` statement can be collapsed33 --> harmonia-store-gc/src/roots/runtime_roots.rs:109:534 |35109 | / if n > 0 {36110 | | if let Ok(s) = std::str::from_utf8(&buf[..n as usize]) {37111 | | add_unchecked(store_prefix, s, unchecked);38112 | | }39113 | | }40 | |_____^41 |42 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if43 = note: `-D clippy::collapsible-if` implied by `-D warnings`44 = help: to override `-D warnings` add `#[allow(clippy::collapsible_if)]`45help: collapse nested if block46 |47109 ~ if n > 048110 ~ && let Ok(s) = std::str::from_utf8(&buf[..n as usize]) {49111 | add_unchecked(store_prefix, s, unchecked);50112 ~ }51 |5253error: this `if` statement can be collapsed54 --> harmonia-store-gc/src/roots/runtime_roots.rs:187:955 |56187 | / if r > 0 {57188 | | if let Some(p) = extract_cstr_path(&buf) {58189 | | add_unchecked(store_prefix, &p, unchecked);59190 | | }60191 | | }61 | |_________^62 |63 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if64help: collapse nested if block65 |66187 ~ if r > 067188 ~ && let Some(p) = extract_cstr_path(&buf) {68189 | add_unchecked(store_prefix, &p, unchecked);69190 ~ }70 |7172error: could not compile `harmonia-store-gc` (lib) due to 2 previous errors73warning: build failed, waiting for other jobs to finish...74error: could not compile `harmonia-store-gc` (lib test) due to 2 previous errors