pre-commit-run
checks.aarch64-linux.pre-commit
· build #31
· raw
1tribuchet: building on eliza2Sourcing pytest-check-hook3Using pytestCheckPhase
unpackPhase
4unpacking source archive /nix/store/4w6c2k1h0pd7dsjynz3nnfczsm9rmhdb-source5source root is sourceconfigurePhase
6no configure script, doing nothingbuildPhase
7Running: $ pre-commit run --all-files8check-merge-conflicts....................................................Passed9check-merge-conflicts-2..................................................Passed10clang-format.............................................................Failed11- hook id: clang-format12- files were modified by this hook13meson-format.............................................................Passed14nixfmt...................................................................Passed15shellcheck...............................................................Passed16zizmor...................................................................Failed17- hook id: zizmor18- exit code: 121920INFO zizmor: 🌈 zizmor v1.30.021 WARN audit: zizmor: zizmor is running in offline mode by default; some audits and auto-fixes will not be available. see https://docs.zizmor.sh/usage/#operating-modes for details22 INFO audit: zizmor: 🌈 completed .github/workflows/backport.yml23 INFO audit: zizmor: 🌈 completed .github/workflows/ci.yml24 INFO audit: zizmor: 🌈 completed .github/workflows/labels.yml25 INFO audit: zizmor: 🌈 completed .github/workflows/upload-release.yml26help[self-repository]: use GitHub's dedicated self-repository syntax27 --> .github/workflows/ci.yml:32:1328 |2932 | - uses: ./.github/actions/install-nix-action30 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'31 | _______|32 | |3333 | | with:3434 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}3535 | | extra_nix_config:3636 | | experimental-features = nix-command flakes3737 | | github_token: ${{ secrets.GITHUB_TOKEN }}3838 | | use_cache: false39 | |________________________- this step40 |41 = note: audit confidence → High42 = note: this finding has an auto-fix43 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository4445help[self-repository]: use GitHub's dedicated self-repository syntax46 --> .github/workflows/ci.yml:48:1547 |4848 | - uses: ./.github/actions/install-nix-action49 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'50 | _________|51 | |5249 | | with:5350 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}5451 | | extra_nix_config: experimental-features = nix-command flakes5552 | | github_token: ${{ secrets.GITHUB_TOKEN }}56 | |___________________________________________________- this step57 |58 = note: audit confidence → High59 = note: this finding has an auto-fix60 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository6162help[self-repository]: use GitHub's dedicated self-repository syntax63 --> .github/workflows/ci.yml:98:1364 |65 98 | - uses: ./.github/actions/install-nix-action66 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'67 | _______|68 | |69 99 | | with:70100 | | github_token: ${{ secrets.GITHUB_TOKEN }}71101 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}72... |73104 | | # Since ubuntu 22.30, unprivileged usernamespaces are no longer allowed to map to the root user:74105 | | # https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces75 | |__________________________________________________________________________________- this step76 |77 = note: audit confidence → High78 = note: this finding has an auto-fix79 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository8081help[self-repository]: use GitHub's dedicated self-repository syntax82 --> .github/workflows/ci.yml:156:1383 |84156 | - uses: ./.github/actions/install-nix-action85 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'86 | _______|87 | |88157 | | with:89158 | | github_token: ${{ secrets.GITHUB_TOKEN }}90159 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}91 | |______________________________________________________________________________________________________________________________- this step92 |93 = note: audit confidence → High94 = note: this finding has an auto-fix95 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository9697help[self-repository]: use GitHub's dedicated self-repository syntax98 --> .github/workflows/ci.yml:232:1399 |100232 | - uses: ./.github/actions/install-nix-action101 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'102 | _______|103 | |104233 | | with:105234 | | github_token: ${{ secrets.GITHUB_TOKEN }}106235 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}107236 | | extra_nix_config: "sandbox = true"108 | |__________________________________________- this step109 |110 = note: audit confidence → High111 = note: this finding has an auto-fix112 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository113114help[self-repository]: use GitHub's dedicated self-repository syntax115 --> .github/workflows/ci.yml:292:13116 |117292 | - uses: ./.github/actions/install-nix-action118 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'119 | _______|120 | |121293 | | with:122294 | | github_token: ${{ secrets.GITHUB_TOKEN }}123295 | | dogfood: ${{ github.event_name == 'workflow_dispatch' && inputs.dogfood || github.event_name != 'workflow_dispatch' }}124296 | | extra_nix_config: |125297 | | experimental-features = flakes nix-command ca-derivations impure-derivations126298 | | max-jobs = 1127 | |______________________- this step128 |129 = note: audit confidence → High130 = note: this finding has an auto-fix131 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository132133help[self-repository]: use GitHub's dedicated self-repository syntax134 --> .github/workflows/upload-release.yml:26:15135 |13626 | - uses: ./.github/actions/install-nix-action137 | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use '$/...' instead of './...'138 | _________|139 | |14027 | | with:14128 | | dogfood: false # Use stable version14229 | | use_cache: false # Don't want any cache injection shenanigans14330 | | extra_nix_config: |14431 | | experimental-features = nix-command flakes145 | |______________________________________________________- this step146 |147 = note: audit confidence → High148 = note: this finding has an auto-fix149 = help: audit documentation → https://docs.zizmor.sh/audits/#self-repository15015135 findings (3 ignored, 25 suppressed, 7 safe fixes): 0 informational, 7 low, 0 medium, 0 high152153diff --git a/src/libstore/build/derivation-building-goal.cc b/src/libstore/build/derivation-building-goal.cc154index 5792cec..92d8e69 100644155--- a/src/libstore/build/derivation-building-goal.cc156+++ b/src/libstore/build/derivation-building-goal.cc157@@ -1069,8 +1069,7 @@ Goal::Co DerivationBuildingGoal::buildLocally(158 || settings.extraPlatforms.get().count(drv->platform) || drv->isBuiltin();159 auto required = drvOptions.getRequiredSystemFeatures(*drv);160 auto & available = worker.store.config.systemFeatures.get();161- bool featuresOk =162- std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });163+ bool featuresOk = std::ranges::all_of(required, [&](const std::string & f) { return available.count(f); });164 if (worker.settings.maxBuildJobs.get() != 0 && platformOk && featuresOk) {165 debug(166 "external builder declined '%s'; falling back to a local build",