setup
checks.aarch64-darwin.treefmt
· build #260
· raw
1this derivation will be built:2 /nix/store/pg88mph7d2ipgf360n5llqk364q2x4jm-treefmt-check.drv3error: build of '/nix/store/pg88mph7d2ipgf360n5llqk364q2x4jm-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/pg88mph7d2ipgf360n5llqk364q2x4jm-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/mcr7qqpzwcayv7mihxihkfa6pk66lw59-treefmt-check7 Last 20 log lines:8 > treefmt v2.5.0ERRO formatter | ast-grep: failed to apply with options '[scan]': exit status 19 >10 > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path11 > ┌─ crates/netbench/src/ns.rs:208:4112 > │13 > 208 │ fn cgroup_dir(name: &str) -> io::Result<std::path::PathBuf> {14 > │ ^^^^^^^^^^^^^^^^^^15 >16 > Error: 1 error(s) found in code.17 > Help: Scan succeeded and found error level diagnostics in the codebase.18 >19 >20 > ERRO formatter | max-lines: failed to apply with options '[/nix/store/mykk4ksq5x130hpymgximc8qaydlr4bx-max-lines.sh]': exit status 121 >22 > error: crates/netbench/src/bench.rs has 609 lines (max 600); split it into submodules23 >24 > traversed 134 files25 > emitted 107 files for processing26 > formatted 40 files (0 changed) in 311ms27 > Error: failed to finalise formatting: formatting failures detected28 For full logs, run:29 nix log /nix/store/pg88mph7d2ipgf360n5llqk364q2x4jm-treefmt-check.drv30error: Cannot build '/nix/store/pg88mph7d2ipgf360n5llqk364q2x4jm-treefmt-check.drv'.31 Reason: builder failed with exit code 1.32 Output paths:33 /nix/store/mcr7qqpzwcayv7mihxihkfa6pk66lw59-treefmt-check