this derivation will be built: /nix/store/a6hjnqcbpv8s5844yrj3pnvydbnpmxm5-nix-grpc-store-clang-tidy-0.2.3.drv building '/nix/store/a6hjnqcbpv8s5844yrj3pnvydbnpmxm5-nix-grpc-store-clang-tidy-0.2.3.drv' nix-grpc-store-clang-tidy-0.2.3> tribuchet: building on irene nix-grpc-store-clang-tidy-0.2.3> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.3> unpacking source archive /nix/store/azxi3vik59m245clbywb4f20lklsk838-source nix-grpc-store-clang-tidy-0.2.3> source root is source nix-grpc-store-clang-tidy-0.2.3> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase 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=false nix-grpc-store-clang-tidy-0.2.3> The Meson build system nix-grpc-store-clang-tidy-0.2.3> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.3> Source dir: /build/source nix-grpc-store-clang-tidy-0.2.3> Build dir: /build/source/build nix-grpc-store-clang-tidy-0.2.3> Build type: native build nix-grpc-store-clang-tidy-0.2.3> WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead nix-grpc-store-clang-tidy-0.2.3> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.3> Project version: 0.2.3 nix-grpc-store-clang-tidy-0.2.3> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.3> C++ linker for the host machine: clang++ ld.bfd 2.46 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu family: x86_64 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu: x86_64 nix-grpc-store-clang-tidy-0.2.3> Found pkg-config: YES (/nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency grpc++ found: YES 1.84.1 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcrypto found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libssl found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e nix-grpc-store-clang-tidy-0.2.3> Run-time dependency jemalloc found: YES 5.4.0_0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcurl found: YES 8.23.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.3> Library bz2 found: YES nix-grpc-store-clang-tidy-0.2.3> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.3> Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES nix-grpc-store-clang-tidy-0.2.3> Program protoc found: YES (/nix/store/3qq4ndghh42vfbyr5g4c899x5xxgmvbb-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.3> Program grpc_cpp_plugin found: YES (/nix/store/ny4qbhbr6j0kqdk2xil6b36928cnc1qr-grpc-1.84.1/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.3> Program mold found: YES (/nix/store/wdmb8pg04g5rahhsnw6yr6khj889mld1-mold-unwrapped-wrapper-3.0.0/bin/mold) nix-grpc-store-clang-tidy-0.2.3> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.3> Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.3> Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.3> Build targets in project: 32 nix-grpc-store-clang-tidy-0.2.3> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.3> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store 0.2.3 nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> User defined options nix-grpc-store-clang-tidy-0.2.3> auto_features: enabled nix-grpc-store-clang-tidy-0.2.3> b_pch : false nix-grpc-store-clang-tidy-0.2.3> bindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin nix-grpc-store-clang-tidy-0.2.3> buildtype : plain nix-grpc-store-clang-tidy-0.2.3> includedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include nix-grpc-store-clang-tidy-0.2.3> infodir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info nix-grpc-store-clang-tidy-0.2.3> libdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib nix-grpc-store-clang-tidy-0.2.3> libexecdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec nix-grpc-store-clang-tidy-0.2.3> localedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale nix-grpc-store-clang-tidy-0.2.3> mandir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man nix-grpc-store-clang-tidy-0.2.3> prefix : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3 nix-grpc-store-clang-tidy-0.2.3> sbindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin nix-grpc-store-clang-tidy-0.2.3> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> Found ninja-1.13.2 at /nix/store/qkf85h13rwxf7yyjgqnlz4fipphwv0jy-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.3> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.3> [1/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [2/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [0/1] /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.3> tribuchet: building on polly nix-grpc-store-clang-tidy-0.2.3> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.3> unpacking source archive /nix/store/azxi3vik59m245clbywb4f20lklsk838-source nix-grpc-store-clang-tidy-0.2.3> source root is source nix-grpc-store-clang-tidy-0.2.3> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase 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=false nix-grpc-store-clang-tidy-0.2.3> The Meson build system nix-grpc-store-clang-tidy-0.2.3> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.3> Source dir: /build/source nix-grpc-store-clang-tidy-0.2.3> Build dir: /build/source/build nix-grpc-store-clang-tidy-0.2.3> Build type: native build nix-grpc-store-clang-tidy-0.2.3> WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead nix-grpc-store-clang-tidy-0.2.3> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.3> Project version: 0.2.3 nix-grpc-store-clang-tidy-0.2.3> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.3> C++ linker for the host machine: clang++ ld.bfd 2.46 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu family: x86_64 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu: x86_64 nix-grpc-store-clang-tidy-0.2.3> Found pkg-config: YES (/nix/store/mhq8zg6nwlv2fjhqac0ikvl9f541irp3-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency grpc++ found: YES 1.84.1 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcrypto found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libssl found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e nix-grpc-store-clang-tidy-0.2.3> Run-time dependency jemalloc found: YES 5.4.0_0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcurl found: YES 8.23.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.3> Library bz2 found: YES nix-grpc-store-clang-tidy-0.2.3> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.3> Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES nix-grpc-store-clang-tidy-0.2.3> Program protoc found: YES (/nix/store/3qq4ndghh42vfbyr5g4c899x5xxgmvbb-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.3> Program grpc_cpp_plugin found: YES (/nix/store/ny4qbhbr6j0kqdk2xil6b36928cnc1qr-grpc-1.84.1/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.3> Program mold found: YES (/nix/store/wdmb8pg04g5rahhsnw6yr6khj889mld1-mold-unwrapped-wrapper-3.0.0/bin/mold) nix-grpc-store-clang-tidy-0.2.3> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.3> Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.3> Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.3> Build targets in project: 32 nix-grpc-store-clang-tidy-0.2.3> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.3> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store 0.2.3 nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> User defined options nix-grpc-store-clang-tidy-0.2.3> auto_features: enabled nix-grpc-store-clang-tidy-0.2.3> b_pch : false nix-grpc-store-clang-tidy-0.2.3> bindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/bin nix-grpc-store-clang-tidy-0.2.3> buildtype : plain nix-grpc-store-clang-tidy-0.2.3> includedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/include nix-grpc-store-clang-tidy-0.2.3> infodir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/info nix-grpc-store-clang-tidy-0.2.3> libdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/lib nix-grpc-store-clang-tidy-0.2.3> libexecdir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/libexec nix-grpc-store-clang-tidy-0.2.3> localedir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/locale nix-grpc-store-clang-tidy-0.2.3> mandir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/share/man nix-grpc-store-clang-tidy-0.2.3> prefix : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3 nix-grpc-store-clang-tidy-0.2.3> sbindir : /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-nix-grpc-store-clang-tidy-0.2.3/sbin nix-grpc-store-clang-tidy-0.2.3> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> Found ninja-1.13.2 at /nix/store/qkf85h13rwxf7yyjgqnlz4fipphwv0jy-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.3> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.3> [1/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [2/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [0/1] /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnels.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /build/source/src/daemon/tunnels.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /build/source/src/daemon/tunnels.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnel.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /build/source/src/daemon/tunnel.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /build/source/src/daemon/tunnel.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/wsck1gn49yij9yllnhcf7k6ccmhaj75z-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/scheduler-test.cc nix-grpc-store-clang-tidy-0.2.3> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 590 | void testLeastServedClientFirst() nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> | static nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 600 | shard.want(2, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:601:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {}); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:601:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 601 | shard.done(lease(shard, wid, shard.entry(out[0].drv)->drvPath), {}); nix-grpc-store-clang-tidy-0.2.3> | ^~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:603:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' nix-grpc-store-clang-tidy-0.2.3> 138 | ((__VA_ARGS__) \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:603:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 603 | assert(out.size() == 3 && shard.entry(out[2].drv)->drvPath == "small.drv"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' nix-grpc-store-clang-tidy-0.2.3> 138 | ((__VA_ARGS__) \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 607 | shard.want(1, {.drvPath = "small.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 608 | shard.want(2, {.drvPath = "more.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 1000); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 609 | shard.want(3, {.drvPath = "late.drv", .inputs = {}, .system = "x", .features = {}, .cpHintMs = 0}, 2000); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:610:34: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:610:49: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 610 | shard.done(lease(shard, wid, shard.entry(out[1].drv)->drvPath), {}); nix-grpc-store-clang-tidy-0.2.3> | ^~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:612:31: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' nix-grpc-store-clang-tidy-0.2.3> 138 | ((__VA_ARGS__) \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/scheduler-test.cc:612:46: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 612 | assert(out.size() == 4 && shard.entry(out[3].drv)->drvPath == "late.drv"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' nix-grpc-store-clang-tidy-0.2.3> 138 | ((__VA_ARGS__) \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.2.3> /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/a6hjnqcbpv8s5844yrj3pnvydbnpmxm5-nix-grpc-store-clang-tidy-0.2.3.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/r3555mmn08shq5ldsnivnyf1nn27zv62-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/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' > 138 | ((__VA_ARGS__) \ > | ^~~~~~~~~~~ > ../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/2f69qaci676cq5kr8svry3gbf6i6iqzi-glibc-2.44-57-dev/include/assert.h:138:8: note: expanded from macro 'assert' > 138 | ((__VA_ARGS__) \ > | ^~~~~~~~~~~ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/ngk0r7y1lcakcrkmx0nbflzd5dc7n5ha-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/a6hjnqcbpv8s5844yrj3pnvydbnpmxm5-nix-grpc-store-clang-tidy-0.2.3.drv