this derivation will be built: /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv error: build of '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check Last 24 log lines: > treefmt v2.4.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 > > SIM108 Use ternary operator `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name` instead of `if`-`else`-block > --> strace_macos/tracer.py:379:13 > | > 377 | comp_unit_list = self.lldb.SBFileSpecList() > 378 | for syscall_def in self.registry.get_all_syscalls(): > 379 | / if "_nocancel" in syscall_def.name: > 380 | | name = f"__{syscall_def.name}" > 381 | | else: > 382 | | name = syscall_def.name > | |_______________________________________^ > 383 | target.BreakpointCreateByName( > 384 | name, > | > help: Replace `if`-`else`-block with `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name` > > Found 3 errors (2 fixed, 1 remaining). > No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option). > > traversed 117 files > emitted 89 files for processing > formatted 2 files (1 changed) in 27.89s > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv error: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check