setup
checks.x86_64-linux.treefmt
· build #13
· raw
1these 3 derivations will be built:2 /nix/store/7xp197xq53gj2bmcyg0vnz3mx92irn62-treefmt.toml.drv3 /nix/store/iy4yxqx762gyb4xbmsc88lv32qir8j4i-treefmt.drv4 /nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv5error: Cannot build '/nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv'.6 Reason: builder failed with exit code 1.7 Output paths:8 /nix/store/rv89kza11lhy53p357habrzq8jfd5gbj-treefmt-check9 Last 25 log lines:10 > 178 | def _create_command(self, command: str, args: list[str] = []) -> bytes:11 > | ^^12 > 179 | # XXX: this function should be generalized in future. There exists13 > 180 | # almost identical code in ``MPDClient._write_command``, with the14 > |15 > help: Replace with `None`; initialize within function16 >17 > B006 Do not use mutable data structures for argument defaults18 > --> mpd/twisted.py:195:6219 > |20 > 193 | return " ".join(parts).encode("utf-8")21 > 194 |22 > 195 | def _write_command(self, command: str, args: list[str] = []) -> None:23 > | ^^24 > 196 | self.sendLine(self._create_command(command, args))25 > |26 > help: Replace with `None`; initialize within function27 >28 > Found 298 errors (242 fixed, 56 remaining).29 > No fixes available (33 hidden fixes can be enabled with the `--unsafe-fixes` option).30 >31 > traversed 45 files32 > emitted 18 files for processing33 > formatted 0 files (14 changed) in 208ms34 > Error: failed to finalise formatting: formatting failures detected35 For full logs, run:36 nix log /nix/store/3ah20nhnwjn74pn9i92zzgmwbv4p0wih-treefmt-check.drv