this derivation will be built: /nix/store/rg0fk04yaj7fiy6sdspg9k69j5b1ys02-nix-grpc-store-clang-tidy-0.2.3.drv error: Cannot build '/nix/store/rg0fk04yaj7fiy6sdspg9k69j5b1ys02-nix-grpc-store-clang-tidy-0.2.3.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/k84zxs4qyl7vyz7zbfdhfbgangqs9wz4-nix-grpc-store-clang-tidy-0.2.3 Last 25 log lines: > | ^ > ../tests/scheduler-test.cc:609:104: error: 2000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] > 609 | shard.want(3, {.drvPath = "late.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 2000); > | ^ > ../tests/scheduler-test.cc:610:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] > 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); > | ^~~~~~~~~~~~~~~~~~~~~~~ > ../tests/scheduler-test.cc:610:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] > 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); > | ^~~ > ../tests/scheduler-test.cc:612:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] > 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); > | ^ > /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' > 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) > | ^ > ../tests/scheduler-test.cc:612:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] > 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); > | ^ > /nix/store/dv782zq7nhscr843jljak8fvcqvv9a9a-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert' > 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/fdlkhxbbdz9x3dv4rnqaa4x85ya1k0nq-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/5/scratch/5d2913fa80795750/build/source /private/var/tb/5/scratch/5d2913fa80795750/build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/rg0fk04yaj7fiy6sdspg9k69j5b1ys02-nix-grpc-store-clang-tidy-0.2.3.drv