nixbot

builds

failed nix-grpc-store-clang-tidy-0.2.3 checks.x86_64-linux.clang-tidy · build #1000 · raw

1tribuchet: building on irene
unpackPhase
2unpacking source archive /nix/store/azxi3vik59m245clbywb4f20lklsk838-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.12.17Source dir: /build/source8Build dir: /build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.2.313C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld.bfd 2.4615Host machine cpu family: x86_6416Host machine cpu: x86_6417Found pkg-config: YES (/nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.119Run-time dependency protobuf found: YES 36.2.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.5.923Run-time dependency libssl found: YES 3.5.924Run-time dependency prometheus-cpp-core found: YES 1.3.025Run-time dependency prometheus-cpp-pull found: YES 1.3.026Run-time dependency absl_flat_hash_map found: YES 2026081727Run-time dependency absl_hash found: YES 2026081728Run-time dependency absl_synchronization found: YES 2026081729Compiler for C++ supports arguments -Werror=thread-safety: YES 30Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e31Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e32Run-time dependency jemalloc found: YES 5.4.0_033Run-time dependency libcurl found: YES 8.23.034Run-time dependency nlohmann_json found: YES 3.12.035Library bz2 found: YES36Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 37Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 38Program protoc found: YES (/nix/store/3qq4ndghh42vfbyr5g4c899x5xxgmvbb-protobuf-36.2/bin/protoc)39Program grpc_cpp_plugin found: YES (/nix/store/ny4qbhbr6j0kqdk2xil6b36928cnc1qr-grpc-1.84.1/bin/grpc_cpp_plugin)40Program mold found: YES (/nix/store/wdmb8pg04g5rahhsnw6yr6khj889mld1-mold-unwrapped-wrapper-3.0.0/bin/mold)41Run-time dependency dl found: YES42Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)43Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)44Build targets in project: 3245WARNING: Project specifies no minimum version but uses features which were added in versions:46 * 1.1: {'meson.options file'}4748nix-grpc-store 0.2.34950 User defined options51 auto_features: enabled52 b_pch : false53 bindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin54 buildtype : plain55 includedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include56 infodir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info57 libdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib58 libexecdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec59 localedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale60 mandir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man61 prefix : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.362 sbindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin63 wrap_mode : nodownload6465Found ninja-1.13.2 at /nix/store/qkf85h13rwxf7yyjgqnlz4fipphwv0jy-ninja-1.13.2/bin/ninja66mesonConfigurePhase: enabled\ parallel\ building
buildPhase
67[1/2] Generating eds_proto with a custom command68[2/2] Generating nix_remote_proto with a custom command69[0/1] /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always70>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc71tribuchet: building on polly
unpackPhase
72unpacking source archive /nix/store/azxi3vik59m245clbywb4f20lklsk838-source73source root is source
configurePhase
74mesonConfigurePhase flags: --prefix=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false75The Meson build system76Version: 1.12.177Source dir: /build/source78Build dir: /build/source/build79Build type: native build80WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead81Project name: nix-grpc-store82Project version: 0.2.383C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")84C++ linker for the host machine: clang++ ld.bfd 2.4685Host machine cpu family: x86_6486Host machine cpu: x86_6487Found pkg-config: YES (/nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.288Run-time dependency grpc++ found: YES 1.84.189Run-time dependency protobuf found: YES 36.2.090Run-time dependency libzstd found: YES 1.5.791Run-time dependency threads found: YES92Run-time dependency libcrypto found: YES 3.5.993Run-time dependency libssl found: YES 3.5.994Run-time dependency prometheus-cpp-core found: YES 1.3.095Run-time dependency prometheus-cpp-pull found: YES 1.3.096Run-time dependency absl_flat_hash_map found: YES 2026081797Run-time dependency absl_hash found: YES 2026081798Run-time dependency absl_synchronization found: YES 2026081799Compiler for C++ supports arguments -Werror=thread-safety: YES 100Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e101Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e102Run-time dependency jemalloc found: YES 5.4.0_0103Run-time dependency libcurl found: YES 8.23.0104Run-time dependency nlohmann_json found: YES 3.12.0105Library bz2 found: YES106Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 107Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 108Program protoc found: YES (/nix/store/3qq4ndghh42vfbyr5g4c899x5xxgmvbb-protobuf-36.2/bin/protoc)109Program grpc_cpp_plugin found: YES (/nix/store/ny4qbhbr6j0kqdk2xil6b36928cnc1qr-grpc-1.84.1/bin/grpc_cpp_plugin)110Program mold found: YES (/nix/store/wdmb8pg04g5rahhsnw6yr6khj889mld1-mold-unwrapped-wrapper-3.0.0/bin/mold)111Run-time dependency dl found: YES112Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)113Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)114Build targets in project: 32115WARNING: Project specifies no minimum version but uses features which were added in versions:116 * 1.1: {'meson.options file'}117118nix-grpc-store 0.2.3119120 User defined options121 auto_features: enabled122 b_pch : false123 bindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin124 buildtype : plain125 includedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include126 infodir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info127 libdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib128 libexecdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec129 localedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale130 mandir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man131 prefix : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3132 sbindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin133 wrap_mode : nodownload134135Found ninja-1.13.2 at /nix/store/qkf85h13rwxf7yyjgqnlz4fipphwv0jy-ninja-1.13.2/bin/ninja136mesonConfigurePhase: enabled\ parallel\ building
buildPhase
137[1/2] Generating eds_proto with a custom command138[2/2] Generating nix_remote_proto with a custom command139[0/1] /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always140>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc141[1/1] (1/2) Processing file /build/source/src/client/channel.cc.142[1/1] (2/2) Processing file /build/source/src/client/channel.cc.143>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc144[1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc.145[1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc.146>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnels.cc147[1/1] (1/2) Processing file /build/source/src/daemon/tunnels.cc.148[1/1] (2/2) Processing file /build/source/src/daemon/tunnels.cc.149>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnel.cc150[1/1] (1/2) Processing file /build/source/src/daemon/tunnel.cc.151[1/1] (2/2) Processing file /build/source/src/daemon/tunnel.cc.152>>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/scheduler-test.cc153Errors encountered while running clang-tidy154../tests/scheduler-test.cc:590:6: error: function 'testLeastServedClientFirst' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage,-warnings-as-errors]155 590 | void testLeastServedClientFirst()156 | ^157 | static 158../tests/scheduler-test.cc:600:105: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]159 600 | shard.want(2, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);160 | ^161../tests/scheduler-test.cc:601:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]162 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {});163 | ^~~~~~~~~~~~~~~~~~~~~~~164../tests/scheduler-test.cc:601:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]165 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {});166 | ^~~167../tests/scheduler-test.cc:603:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]168 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv");169 | ^170/nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'171 138 | ((__VA_ARGS__) \172 | ^~~~~~~~~~~173../tests/scheduler-test.cc:603:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]174 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv");175 | ^176/nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'177 138 | ((__VA_ARGS__) \178 | ^~~~~~~~~~~179../tests/scheduler-test.cc:607:105: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]180 607 | shard.want(1, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);181 | ^182../tests/scheduler-test.cc:608:104: error: 1000 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]183 608 | shard.want(2, {.drvPath = "more.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000);184 | ^185../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]186 609 | shard.want(3, {.drvPath = "late.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 2000);187 | ^188../tests/scheduler-test.cc:610:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]189 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {});190 | ^~~~~~~~~~~~~~~~~~~~~~~191../tests/scheduler-test.cc:610:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]192 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {});193 | ^~~194../tests/scheduler-test.cc:612:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]195 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv");196 | ^197/nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'198 138 | ((__VA_ARGS__) \199 | ^~~~~~~~~~~200../tests/scheduler-test.cc:612:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]201 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv");202 | ^203/nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert'204 138 | ((__VA_ARGS__) \205 | ^~~~~~~~~~~206FAILED: [code=1] meson-internal__clang-tidy 207/nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always208ninja: build stopped: subcommand failed.