1this derivation will be built:2 /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv3building '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv' on 'ssh-ng://customer@mac02'4building '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'5treefmt-check> treefmt v2.4.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 16treefmt-check> 7treefmt-check> SIM108 Use ternary operator `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name` instead of `if`-`else`-block8treefmt-check> --> strace_macos/tracer.py:379:139treefmt-check> |10treefmt-check> 377 | comp_unit_list = self.lldb.SBFileSpecList()11treefmt-check> 378 | for syscall_def in self.registry.get_all_syscalls():12treefmt-check> 379 | / if "_nocancel" in syscall_def.name:13treefmt-check> 380 | | name = f"__{syscall_def.name}"14treefmt-check> 381 | | else:15treefmt-check> 382 | | name = syscall_def.name16treefmt-check> | |_______________________________________^17treefmt-check> 383 | target.BreakpointCreateByName(18treefmt-check> 384 | name,19treefmt-check> |20treefmt-check> help: Replace `if`-`else`-block with `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name`21treefmt-check> 22treefmt-check> Found 3 errors (2 fixed, 1 remaining).23treefmt-check> No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).24treefmt-check> 25treefmt-check> traversed 117 files26treefmt-check> emitted 89 files for processing27treefmt-check> formatted 2 files (1 changed) in 1.177s28treefmt-check> Error: failed to finalise formatting: formatting failures detected29error: build of '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'.30 Reason: builder failed with exit code 1.31 Output paths:32 /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check33 Last 24 log lines:34 > treefmt v2.4.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 135 >36 > SIM108 Use ternary operator `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name` instead of `if`-`else`-block37 > --> strace_macos/tracer.py:379:1338 > |39 > 377 | comp_unit_list = self.lldb.SBFileSpecList()40 > 378 | for syscall_def in self.registry.get_all_syscalls():41 > 379 | / if "_nocancel" in syscall_def.name:42 > 380 | | name = f"__{syscall_def.name}"43 > 381 | | else:44 > 382 | | name = syscall_def.name45 > | |_______________________________________^46 > 383 | target.BreakpointCreateByName(47 > 384 | name,48 > |49 > help: Replace `if`-`else`-block with `name = f"__{syscall_def.name}" if "_nocancel" in syscall_def.name else syscall_def.name`50 >51 > Found 3 errors (2 fixed, 1 remaining).52 > No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).53 >54 > traversed 117 files55 > emitted 89 files for processing56 > formatted 2 files (1 changed) in 1.177s57 > Error: failed to finalise formatting: formatting failures detected58 For full logs, run:59 nix log /nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv60error: Cannot build '/nix/store/p7pq6h1ksc3cn0cf1v7bwqr56lmfac96-treefmt-check.drv'.61 Reason: builder failed with exit code 1.62 Output paths:63 /nix/store/sjliskl79isc2zklja6mhp0dgjp4m97i-treefmt-check