these 2 derivations will be built: /nix/store/v0azglb3b34k79djb2by5qhxbzjr0db0-treefmt.drv /nix/store/b9lxjhq0hzxmsm0hvzkm6da3nmzscfpw-treefmt-check.drv this path will be fetched (0.7 KiB download, 1.6 KiB unpacked): /nix/store/rpm8hyih9yhqnvjz897v8ndjzz32bzlv-treefmt.toml building '/nix/store/v0azglb3b34k79djb2by5qhxbzjr0db0-treefmt.drv' building '/nix/store/b9lxjhq0hzxmsm0hvzkm6da3nmzscfpw-treefmt-check.drv' treefmt-check> treefmt v2.4.0ERRO formatter | oxfmt: failed to apply with options '[]': exit status 2 treefmt-check> treefmt-check> treefmt-check> x Failed to format file with external formatter: /build/project/.github/workflows/qemu-image-release.yml treefmt-check> | JS formatFile promise rejected for file: 'qemu-image-release.yml', parser: 'yaml': GenericFailure, SyntaxError: Map keys must be unique; "permissions" is repeated (25:5) treefmt-check> | 23 | jobs: treefmt-check> | 24 | build: treefmt-check> | > 25 | permissions: treefmt-check> | | ^^^^^^^^^^^^ treefmt-check> | > 26 | contents: read treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 27 | id-token: write treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 28 | uses: $/.github/workflows/qemu-image-build.yml treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 29 | permissions: treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 30 | contents: read treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 31 | id-token: write treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 32 | secrets: treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 33 | DEV_AWS_ROLE: ${{ secrets.DEV_AWS_ROLE }} treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 34 | with: treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 35 | arch: ${{ inputs.arch || 'arm64' }} treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 36 | publish: true treefmt-check> | | ^^^^^^^^^^^^^^^^^^^^ treefmt-check> | > 37 | treefmt-check> | | ^ treefmt-check> | 38 | publish: treefmt-check> | 39 | needs: build treefmt-check> | 40 | runs-on: ${{ inputs.arch == 'amd64' && 'blacksmith-16vcpu-ubuntu-2404' || 'arm-native-runner' }} treefmt-check> Error occurred when checking code style in the above files. treefmt-check> treefmt-check> traversed 977 files treefmt-check> emitted 411 files for processing treefmt-check> formatted 243 files (1 changed) in 26.115s treefmt-check> Error: failed to finalise formatting: formatting failures detected error: Cannot build '/nix/store/b9lxjhq0hzxmsm0hvzkm6da3nmzscfpw-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/qz8bgza7xaj6vpmybs0yaib3v39b9x0n-treefmt-check Last 25 log lines: > | > 30 | contents: read > | | ^^^^^^^^^^^^^^^^^^^^ > | > 31 | id-token: write > | | ^^^^^^^^^^^^^^^^^^^^ > | > 32 | secrets: > | | ^^^^^^^^^^^^^^^^^^^^ > | > 33 | DEV_AWS_ROLE: ${{ secrets.DEV_AWS_ROLE }} > | | ^^^^^^^^^^^^^^^^^^^^ > | > 34 | with: > | | ^^^^^^^^^^^^^^^^^^^^ > | > 35 | arch: ${{ inputs.arch || 'arm64' }} > | | ^^^^^^^^^^^^^^^^^^^^ > | > 36 | publish: true > | | ^^^^^^^^^^^^^^^^^^^^ > | > 37 | > | | ^ > | 38 | publish: > | 39 | needs: build > | 40 | runs-on: ${{ inputs.arch == 'amd64' && 'blacksmith-16vcpu-ubuntu-2404' || 'arm-native-runner' }} > Error occurred when checking code style in the above files. > > traversed 977 files > emitted 411 files for processing > formatted 243 files (1 changed) in 26.115s > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/b9lxjhq0hzxmsm0hvzkm6da3nmzscfpw-treefmt-check.drv