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