setup
default.checks.x86_64-linux.treefmt
· build #72
· raw
1this derivation will be built:2 /nix/store/6n8lcivjvh9vf054bc6n1m92pv19dmrm-treefmt-check.drv3error: Cannot build '/nix/store/6n8lcivjvh9vf054bc6n1m92pv19dmrm-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/8ar18zpkvzwzgqw8nh6yh4xhnkknd2kd-treefmt-check7 Last 25 log lines:8 > --> packages/simplex-phone/phone.py:135:129 > |10 > 134 | async def _cmd_send_file(args: argparse.Namespace) -> int:11 > 135 | path = Path(args.path).resolve()12 > | ^^^^^^^^^^^^^^^^^^^^^^^13 > 136 | composed = [14 > 137 | {15 > |16 >17 > ASYNC240 Async functions should not use pathlib.Path methods, use trio.Path or anyio.path18 > --> packages/simplex-phone/phone.py:146:1219 > |20 > 145 | async def _cmd_send_voice(args: argparse.Namespace) -> int:21 > 146 | path = Path(args.path).resolve()22 > | ^^^^^^^^^^^^^^^^^^^^^^^23 > 147 | composed = [24 > 148 | {25 > |26 >27 > Found 5 errors (1 fixed, 4 remaining).28 >29 > traversed 486 files30 > emitted 342 files for processing31 > formatted 207 files (1 changed) in 930ms32 > Error: failed to finalise formatting: formatting failures detected33 For full logs, run:34 nix log /nix/store/6n8lcivjvh9vf054bc6n1m92pv19dmrm-treefmt-check.drv