setup
checks.aarch64-darwin.treefmt
· build #10
· raw
1this derivation will be built:2 /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv3error: build of '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check7 Last 24 log lines:8 > treefmt v2.4.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 19 >10 > SIM108 Use ternary operator `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name` instead of `if`-`else`-block11 > --> strace_macos/tracer.py:379:1312 > |13 > 377 | comp_unit_list = self.lldb.SBFileSpecList()14 > 378 | for syscall_def in self.registry.get_all_syscalls():15 > 379 | / if "_nocancel" in syscall_def.name:16 > 380 | | name = f"__{syscall_def.name}"17 > 381 | | else:18 > 382 | | name = syscall_def.name19 > | |_______________________________________^20 > 383 | target.BreakpointCreateByName(21 > 384 | name,22 > |23 > help: Replace `if`-`else`-block with `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name`24 >25 > Found 3 errors (2 fixed, 1 remaining).26 > No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).27 >28 > traversed 117 files29 > emitted 89 files for processing30 > formatted 2 files (1 changed) in 27.89s31 > Error: failed to finalise formatting: formatting failures detected32 For full logs, run:33 nix log /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv34error: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'.35 Reason: builder failed with exit code 1.36 Output paths:37 /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check