this derivation will be built: /nix/store/kjlv7k43yv4zqw7n5xik8mbd7bhw6cch-nix-grpc-store-clang-tidy-0.1.0.drv building '/nix/store/kjlv7k43yv4zqw7n5xik8mbd7bhw6cch-nix-grpc-store-clang-tidy-0.1.0.drv' nix-grpc-store-clang-tidy-0.1.0> tribuchet: building on jamie nix-grpc-store-clang-tidy-0.1.0> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.1.0> unpacking source archive /nix/store/yqs19g7ifm5pc3fkg6rl45sxn7bdlb53-source nix-grpc-store-clang-tidy-0.1.0> source root is source nix-grpc-store-clang-tidy-0.1.0> Running phase: patchPhase nix-grpc-store-clang-tidy-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.1.0> Running phase: configurePhase nix-grpc-store-clang-tidy-0.1.0> mesonConfigurePhase flags: --prefix=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false nix-grpc-store-clang-tidy-0.1.0> The Meson build system nix-grpc-store-clang-tidy-0.1.0> Version: 1.10.2 nix-grpc-store-clang-tidy-0.1.0> Source dir: /build/source nix-grpc-store-clang-tidy-0.1.0> Build dir: /build/source/build nix-grpc-store-clang-tidy-0.1.0> Build type: native build nix-grpc-store-clang-tidy-0.1.0> 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.1.0> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.1.0> Project version: 0.1.0 nix-grpc-store-clang-tidy-0.1.0> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.1.0> C++ linker for the host machine: clang++ ld.bfd 2.46 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu family: x86_64 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu: x86_64 nix-grpc-store-clang-tidy-0.1.0> Found pkg-config: YES (/nix/store/7fx93fz9c809w8yjxb0934zw6xcjis58-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency grpc++ found: YES 1.83.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency protobuf found: YES 35.1.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.1.0> Run-time dependency libcrypto found: YES 3.6.3 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency absl_flat_hash_map found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency absl_hash found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency jemalloc found: YES 5.3.1_0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency nix-store found: YES 2.36.0pre20260914_920f6956 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency nix-util found: YES 2.36.0pre20260914_920f6956 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency libcurl found: YES 8.21.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.1.0> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.1.0> Program protoc found: YES (/nix/store/9d8d0spap5fb4d4hkxliag8zlfhjcg67-protobuf-35.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0> Program grpc_cpp_plugin found: YES (/nix/store/4lxivxcksx5xbnfx2wsgspqlrpfirn3m-grpc-1.83.0/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.1.0> Program mold found: YES (/nix/store/4qlkb64qf364lsygwadiiyjjbc0hcq6i-mold-unwrapped-wrapper-2.42.0/bin/mold) nix-grpc-store-clang-tidy-0.1.0> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.1.0> Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.1.0> Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.1.0> Build targets in project: 11 nix-grpc-store-clang-tidy-0.1.0> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.1.0> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store 0.1.0 nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> User defined options nix-grpc-store-clang-tidy-0.1.0> auto_features: enabled nix-grpc-store-clang-tidy-0.1.0> b_pch : false nix-grpc-store-clang-tidy-0.1.0> bindir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/bin nix-grpc-store-clang-tidy-0.1.0> buildtype : plain nix-grpc-store-clang-tidy-0.1.0> includedir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/include nix-grpc-store-clang-tidy-0.1.0> infodir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/info nix-grpc-store-clang-tidy-0.1.0> libdir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/lib nix-grpc-store-clang-tidy-0.1.0> libexecdir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/libexec nix-grpc-store-clang-tidy-0.1.0> localedir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/locale nix-grpc-store-clang-tidy-0.1.0> mandir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/share/man nix-grpc-store-clang-tidy-0.1.0> prefix : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0 nix-grpc-store-clang-tidy-0.1.0> sbindir : /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0/sbin nix-grpc-store-clang-tidy-0.1.0> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> Found ninja-1.13.2 at /nix/store/6ji6bq0si2j8ibdrxqgcmh1cw0wmdiyk-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.1.0> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.1.0> Running phase: buildPhase nix-grpc-store-clang-tidy-0.1.0> [1/1] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.1.0> [0/1] /nix/store/azf6s3lpx8f53si93y8135mpyykjj72b-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/ck7w6mnxgy91d7kl1l3c531904k2nhk1-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/coordinator.cc nix-grpc-store-clang-tidy-0.1.0> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:353:19: error: function 'runRemoteSession' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 353 | void Coordinator::runRemoteSession(Builder & bld, const std::stop_token & stop) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:358:5: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 358 | if (options.schedulerCA.empty()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:360:7: note: +1, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 360 | } else { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:363:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 363 | if (!options.tlsCert.empty()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:374:5: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 374 | while (!stop.stop_requested()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:381:21: note: nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 381 | bld.setSend([raw, writeMutex, live](const WorkerMsg & msg) -> bool { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:385:26: note: +1 nix-grpc-store-clang-tidy-0.1.0> 385 | return *live && raw->Write(one); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:388:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 388 | if (helloed) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:392:47: note: nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 392 | const std::stop_callback onStop(stop, [&ctx]() -> void { ctx.TryCancel(); }); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:395:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 395 | while (helloed && stream->Read(&cmds)) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:395:24: note: +1 nix-grpc-store-clang-tidy-0.1.0> 395 | while (helloed && stream->Read(&cmds)) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:396:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 396 | for (const auto & cmd : cmds.msgs()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:397:17: note: +4, including nesting penalty of 3, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 397 | if (cmd.has_expect()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:399:24: note: +1, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 399 | } else if (cmd.has_revoke()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:401:24: note: +1, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 401 | } else if (cmd.has_restarting()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:405:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 405 | if (restarting) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:412:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 412 | if (stop.stop_requested()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:415:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 415 | if (restarting) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:419:11: note: +1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 419 | } else { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.1.0> /nix/store/azf6s3lpx8f53si93y8135mpyykjj72b-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always nix-grpc-store-clang-tidy-0.1.0> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/kjlv7k43yv4zqw7n5xik8mbd7bhw6cch-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/lcp8ghsbp7djfz86d3bfflk3rprffbyx-nix-grpc-store-clang-tidy-0.1.0 Last 25 log lines: > | ^ > ../src/daemon/coordinator.cc:397:17: note: +4, including nesting penalty of 3, nesting level increased to 4 > 397 | if (cmd.has_expect()) { > | ^ > ../src/daemon/coordinator.cc:399:24: note: +1, nesting level increased to 4 > 399 | } else if (cmd.has_revoke()) { > | ^ > ../src/daemon/coordinator.cc:401:24: note: +1, nesting level increased to 4 > 401 | } else if (cmd.has_restarting()) { > | ^ > ../src/daemon/coordinator.cc:405:13: note: +3, including nesting penalty of 2, nesting level increased to 3 > 405 | if (restarting) { > | ^ > ../src/daemon/coordinator.cc:412:9: note: +2, including nesting penalty of 1, nesting level increased to 2 > 412 | if (stop.stop_requested()) { > | ^ > ../src/daemon/coordinator.cc:415:9: note: +2, including nesting penalty of 1, nesting level increased to 2 > 415 | if (restarting) { > | ^ > ../src/daemon/coordinator.cc:419:11: note: +1, nesting level increased to 2 > 419 | } else { > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/azf6s3lpx8f53si93y8135mpyykjj72b-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/kjlv7k43yv4zqw7n5xik8mbd7bhw6cch-nix-grpc-store-clang-tidy-0.1.0.drv