this derivation will be built: /nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv building '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv' on 'ssh-ng://customer@mac02' building '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv' treefmt-check> treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 treefmt-check> treefmt-check> B006 Do not use mutable data structures for argument defaults treefmt-check> --> nix_update/version/http.py:19:31 treefmt-check> | treefmt-check> 17 | url: str, treefmt-check> 18 | timeout: int = DEFAULT_TIMEOUT, treefmt-check> 19 | headers: dict[str, str] = {}, treefmt-check> | ^^ treefmt-check> 20 | ) -> Any: # noqa: ANN401 treefmt-check> 21 | """Fetch JSON data from a URL with proper timeout and error handling.""" treefmt-check> | treefmt-check> help: Replace with `None`; initialize within function treefmt-check> treefmt-check> Found 1 error. treefmt-check> No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option). treefmt-check> treefmt-check> traversed 151 files treefmt-check> emitted 136 files for processing treefmt-check> formatted 64 files (0 changed) in 144ms treefmt-check> Error: failed to finalise formatting: formatting failures detected error: build of '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p1x34hgm90jy3lvfn58v41rrmzi1p63w-treefmt-check Last 21 log lines: > treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 1 > > B006 Do not use mutable data structures for argument defaults > --> nix_update/version/http.py:19:31 > | > 17 | url: str, > 18 | timeout: int = DEFAULT_TIMEOUT, > 19 | headers: dict[str, str] = {}, > | ^^ > 20 | ) -> Any: # noqa: ANN401 > 21 | """Fetch JSON data from a URL with proper timeout and error handling.""" > | > help: Replace with `None`; initialize within function > > Found 1 error. > No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option). > > traversed 151 files > emitted 136 files for processing > formatted 64 files (0 changed) in 144ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv error: Cannot build '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p1x34hgm90jy3lvfn58v41rrmzi1p63w-treefmt-check