nixbot

builds
1this derivation will be built:2 /nix/store/b6dhsjsg2zq4jhz2pk96l829i5rd7wi3-treefmt-check.drv3error: build of '/nix/store/b6dhsjsg2zq4jhz2pk96l829i5rd7wi3-treefmt-check.drv' on 'grpc://farm.numtide.com:50051?connect-timeout=22&restart-grace=900&system=aarch64-darwin&token-file=/run/nix-farm-client/farm-token' failed: Cannot build '/nix/store/b6dhsjsg2zq4jhz2pk96l829i5rd7wi3-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/p2abg1w6svf0k9ckzjdza1zaaxqhf497-treefmt-check7 Last 25 log lines:8 > ┌─ packages/apm-bin/package.nix:82:89 > │10 > 82 │ "x86_64-darwin"11 > │ ^^^^^^^^^^^^^12 >13 > error[use-formatelf]: Use the in-repo `formatelf` hook, not nixpkgs' `autoPatchelfHook`. Declare `formatelf` as a package.nix argument (the callPackage scope provides it) and add it to nativeBuildInputs; it is a drop-in replacement.14 > ┌─ packages/apm-bin/package.nix:6:315 > │16 > 6 │ autoPatchelfHook,17 > │ ^^^^^^^^^^^^^^^^18 >19 > error[use-formatelf]: Use the in-repo `formatelf` hook, not nixpkgs' `autoPatchelfHook`. Declare `formatelf` as a package.nix argument (the callPackage scope provides it) and add it to nativeBuildInputs; it is a drop-in replacement.20 > ┌─ packages/apm-bin/package.nix:34:6721 > │22 > 34 │ nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];23 > │ ^^^^^^^^^^^^^^^^24 >25 > Error: 3 error(s) found in code.26 > Help: Scan succeeded and found error level diagnostics in the codebase.27 >28 >29 > traversed 595 files30 > emitted 396 files for processing31 > formatted 113 files (0 changed) in 3.375s32 > Error: failed to finalise formatting: formatting failures detected33 For full logs, run:34 nix log /nix/store/b6dhsjsg2zq4jhz2pk96l829i5rd7wi3-treefmt-check.drv35error: Cannot build '/nix/store/b6dhsjsg2zq4jhz2pk96l829i5rd7wi3-treefmt-check.drv'.36 Reason: builder failed with exit code 1.37 Output paths:38 /nix/store/p2abg1w6svf0k9ckzjdza1zaaxqhf497-treefmt-check