these 3 derivations will be built: /nix/store/7xp197xq53gj2bmcyg0vnz3mx92irn62-treefmt.toml.drv /nix/store/iy4yxqx762gyb4xbmsc88lv32qir8j4i-treefmt.drv /nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv error: Cannot build '/nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/rv89kza11lhy53p357habrzq8jfd5gbj-treefmt-check Last 25 log lines: > 178 | def _create_command(self, command: str, args: list[str] = []) -> bytes: > | ^^ > 179 | # XXX: this function should be generalized in future. There exists > 180 | # almost identical code in ``MPDClient._write_command``, with the > | > help: Replace with `None`; initialize within function > > B006 Do not use mutable data structures for argument defaults > --> mpd/twisted.py:195:62 > | > 193 | return " ".join(parts).encode("utf-8") > 194 | > 195 | def _write_command(self, command: str, args: list[str] = []) -> None: > | ^^ > 196 | self.sendLine(self._create_command(command, args)) > | > help: Replace with `None`; initialize within function > > Found 298 errors (242 fixed, 56 remaining). > No fixes available (33 hidden fixes can be enabled with the `--unsafe-fixes` option). > > traversed 45 files > emitted 18 files for processing > formatted 0 files (14 changed) in 208ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv