these 3 derivations will be built: /nix/store/lh6pifmcl15n247258fs1jrwia8229fd-treefmt.toml.drv /nix/store/skjz3kxd8haiabb98qyp8kvp2043b1hx-treefmt.drv /nix/store/xylmvgi7lyrd3q427cmggp33ff5mw7mj-treefmt-check.drv these 2 paths will be fetched (11.6 MiB download, 33.8 MiB unpacked): /nix/store/sxgxky670f3c80l5mnq8rjnflkywsbfm-ruff-0.16.1 /nix/store/lmjq69rm99p4jvhz21l1vnfbxdzi8i63-shfmt-3.13.1 error: Cannot build '/nix/store/xylmvgi7lyrd3q427cmggp33ff5mw7mj-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/ykzilr47gzlgfy1hc41wvqcmn7809l5r-treefmt-check Last 25 log lines: > > TRY002 Create your own exception > --> modules/nixos-wiki/update-extensions.py:173:11 > | > 171 | else: > 172 | return Extension(name=extension_name, hash=hash, url=mirror_url) > 173 | raise Exception("Failed to fetch extension, see above") > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > EXE001 Shebang is present but file is not executable > --> pkgs/wiki-user-search/wiki-user-search.py:1:1 > | > 1 | #!/usr/bin/env python3 > | ^^^^^^^^^^^^^^^^^^^^^^ > 2 | """ > 3 | MediaWiki User Search Tool > | > > Found 27 errors (17 fixed, 10 remaining). > No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option). > > traversed 71 files > emitted 55 files for processing > formatted 52 files (2 changed) in 677ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/xylmvgi7lyrd3q427cmggp33ff5mw7mj-treefmt-check.drv