setup
checks.x86_64-linux.clang-tidy
· build #618
· raw
1this derivation will be built:2 /nix/store/ih0sg1217ap558bd9126vmmwlicvxx1v-nix-grpc-store-clang-tidy-0.1.0.drv3error: Cannot build '/nix/store/ih0sg1217ap558bd9126vmmwlicvxx1v-nix-grpc-store-clang-tidy-0.1.0.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/kwnm74rf4psmbn3yvdl1pffszj15y2j0-nix-grpc-store-clang-tidy-0.1.07 Last 25 log lines:8 > ../tests/scheduler-test.cc:311:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]9 > 311 | assert(out.size() == 1 && out[0].worker == both);10 > | ^~~~~~11 > | static_assert12 > ../tests/scheduler-test.cc:324:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]13 > 324 | assert(shard.workersUp() == 1);14 > | ^~~~~~15 > | static_assert16 > ../tests/scheduler-test.cc:331:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]17 > 331 | assert(threw);18 > | ^~~~~~19 > | static_assert20 > >>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/build.cc21 > Errors encountered while running clang-tidy22 > ../src/client/build.cc:253:5: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]23 > 253 | assert(remaining > 0);24 > | ^~~~~~25 > | static_assert26 > ../src/client/build.cc:259:7: error: found assert() that could be replaced by static_assert() [cert-dcl03-c,misc-static-assert,-warnings-as-errors]27 > 259 | assert(dep->waiting > 0);28 > | ^~~~~~29 > | static_assert30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/r72868g8znkk4m8pmwsn3cf8v3h84mr0-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/ih0sg1217ap558bd9126vmmwlicvxx1v-nix-grpc-store-clang-tidy-0.1.0.drv