nixbot

builds

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

1this derivation will be built:2  /nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv3building '/nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv' on 'ssh-ng://customer@mac02'4building '/nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-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> TRY300 Consider moving this statement to an `else` block8treefmt-check>    --> nix_update/options.py:124:99treefmt-check>     |10treefmt-check> 122 |         if dir_params:11treefmt-check> 123 |             path = str(Path(path) / dir_params[0])12treefmt-check> 124 |         return path13treefmt-check>     |         ^^^^^^^^^^^14treefmt-check> 125 |     except (subprocess.CalledProcessError, json.JSONDecodeError, KeyError):15treefmt-check> 126 |         return None16treefmt-check>     |17treefmt-check> 18treefmt-check> Found 6 errors (5 fixed, 1 remaining).19treefmt-check> 20treefmt-check> traversed 152 files21treefmt-check> emitted 137 files for processing22treefmt-check> formatted 64 files (1 changed) in 194ms23treefmt-check> Error: failed to finalise formatting: formatting failures detected24error: build of '/nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv'.25       Reason: builder failed with exit code 1.26       Output paths:27         /nix/store/zb0dv1mhi842p1q8sjxb76qbp32f9imc-treefmt-check28       Last 19 log lines:29       > treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 130       >31       > TRY300 Consider moving this statement to an `else` block32       >    --> nix_update/options.py:124:933       >     |34       > 122 |         if dir_params:35       > 123 |             path = str(Path(path) / dir_params[0])36       > 124 |         return path37       >     |         ^^^^^^^^^^^38       > 125 |     except (subprocess.CalledProcessError, json.JSONDecodeError, KeyError):39       > 126 |         return None40       >     |41       >42       > Found 6 errors (5 fixed, 1 remaining).43       >44       > traversed 152 files45       > emitted 137 files for processing46       > formatted 64 files (1 changed) in 194ms47       > Error: failed to finalise formatting: formatting failures detected48       For full logs, run:49         nix log /nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv50error: Cannot build '/nix/store/1by8n0ar8kmxz0i2fp2z0qqdlws3gjbb-treefmt-check.drv'.51       Reason: builder failed with exit code 1.52       Output paths:53         /nix/store/zb0dv1mhi842p1q8sjxb76qbp32f9imc-treefmt-check