nixbot

builds

failed aarch64-darwin.treefmt build #34 · raw · ·

1this derivation will be built:2  /nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv3building '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv' on 'ssh-ng://customer@mac02'4building '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv'5treefmt-check> treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 16treefmt-check> 7treefmt-check> B006 Do not use mutable data structures for argument defaults8treefmt-check>   --> nix_update/version/http.py:19:319treefmt-check>    |10treefmt-check> 17 |     url: str,11treefmt-check> 18 |     timeout: int = DEFAULT_TIMEOUT,12treefmt-check> 19 |     headers: dict[str, str] = {},13treefmt-check>    |                               ^^14treefmt-check> 20 | ) -> Any:  # noqa: ANN40115treefmt-check> 21 |     """Fetch JSON data from a URL with proper timeout and error handling."""16treefmt-check>    |17treefmt-check> help: Replace with `None`; initialize within function18treefmt-check> 19treefmt-check> Found 1 error.20treefmt-check> No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).21treefmt-check> 22treefmt-check> traversed 151 files23treefmt-check> emitted 136 files for processing24treefmt-check> formatted 64 files (0 changed) in 144ms25treefmt-check> Error: failed to finalise formatting: formatting failures detected26error: build of '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv'.27       Reason: builder failed with exit code 1.28       Output paths:29         /nix/store/p1x34hgm90jy3lvfn58v41rrmzi1p63w-treefmt-check30       Last 21 log lines:31       > treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 132       >33       > B006 Do not use mutable data structures for argument defaults34       >   --> nix_update/version/http.py:19:3135       >    |36       > 17 |     url: str,37       > 18 |     timeout: int = DEFAULT_TIMEOUT,38       > 19 |     headers: dict[str, str] = {},39       >    |                               ^^40       > 20 | ) -> Any:  # noqa: ANN40141       > 21 |     """Fetch JSON data from a URL with proper timeout and error handling."""42       >    |43       > help: Replace with `None`; initialize within function44       >45       > Found 1 error.46       > No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).47       >48       > traversed 151 files49       > emitted 136 files for processing50       > formatted 64 files (0 changed) in 144ms51       > Error: failed to finalise formatting: formatting failures detected52       For full logs, run:53         nix log /nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv54error: Cannot build '/nix/store/qp00g5nlcvlhzb5g3df2gakm38fw00sn-treefmt-check.drv'.55       Reason: builder failed with exit code 1.56       Output paths:57         /nix/store/p1x34hgm90jy3lvfn58v41rrmzi1p63w-treefmt-check