setup
checks.aarch64-darwin.clippy
· build #221
· raw
1this derivation will be built:2 /nix/store/yiva2ja74h66dix66h2abqcc9ibcbf2w-harmonia-clippy-3.2.0.drv3error: build of '/nix/store/yiva2ja74h66dix66h2abqcc9ibcbf2w-harmonia-clippy-3.2.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/yiva2ja74h66dix66h2abqcc9ibcbf2w-harmonia-clippy-3.2.0.drv'.4 Reason: builder failed with exit code 101.5 Output paths:6 /nix/store/5jyfh21f1ncfs964wcswar8g26796fd8-harmonia-clippy-3.2.07 Last 25 log lines:8 > 112 ~ }9 > |10 >11 > error: this `if` statement can be collapsed12 > --> harmonia-store-gc/src/roots/runtime_roots.rs:187:913 > |14 > 187 | / if r > 0 {15 > 188 | | if let Some(p) = extract_cstr_path(&buf) {16 > 189 | | add_unchecked(store_prefix, &p, unchecked);17 > 190 | | }18 > 191 | | }19 > | |_________^20 > |21 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if22 > help: collapse nested if block23 > |24 > 187 ~ if r > 025 > 188 ~ && let Some(p) = extract_cstr_path(&buf) {26 > 189 | add_unchecked(store_prefix, &p, unchecked);27 > 190 ~ }28 > |29 >30 > error: could not compile `harmonia-store-gc` (lib) due to 2 previous errors31 > warning: build failed, waiting for other jobs to finish...32 > error: could not compile `harmonia-store-gc` (lib test) due to 2 previous errors33 For full logs, run:34 nix log /nix/store/yiva2ja74h66dix66h2abqcc9ibcbf2w-harmonia-clippy-3.2.0.drv35error: Cannot build '/nix/store/yiva2ja74h66dix66h2abqcc9ibcbf2w-harmonia-clippy-3.2.0.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/5jyfh21f1ncfs964wcswar8g26796fd8-harmonia-clippy-3.2.0