this derivation will be built: /nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv building '/nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv' on 'ssh-ng://customer@mac02' building '/nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv' nix-grpc-store-clang-tidy-0.1.0> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.1.0> unpacking source archive /nix/store/hs2226k3894cis5wy4j6y5gs6l0m93ms-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/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-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: /nix/var/nix/builds/nix-65669-602803120/source nix-grpc-store-clang-tidy-0.1.0> Build dir: /nix/var/nix/builds/nix-65669-602803120/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++ ld64 956.6 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.1.0> Found pkg-config: YES (/nix/store/y3kq99w9rf07m43pggj5g596yy1qkvps-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/wylvda2p4ab62dzzsgppbclpmh4j2f8r-protobuf-35.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0> Program grpc_cpp_plugin found: YES (/nix/store/y1545dr7vy81bimhbk824p01rvzvj987-grpc-1.83.0/bin/grpc_cpp_plugin) 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 (/nix/var/nix/builds/nix-65669-602803120/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.1.0> Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-65669-602803120/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/5lsfg9ddndyklhp5r53l0wgg08mxz97f-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/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/include nix-grpc-store-clang-tidy-0.1.0> infodir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/share/info nix-grpc-store-clang-tidy-0.1.0> libdir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/lib nix-grpc-store-clang-tidy-0.1.0> libexecdir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/libexec nix-grpc-store-clang-tidy-0.1.0> localedir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/share/locale nix-grpc-store-clang-tidy-0.1.0> mandir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0/share/man nix-grpc-store-clang-tidy-0.1.0> prefix : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0 nix-grpc-store-clang-tidy-0.1.0> sbindir : /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-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/qqid6lbkgb6ihf048ypbc2na5s97hy1d-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/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-65669-602803120/source /nix/var/nix/builds/nix-65669-602803120/source/build --color always nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/tests/farm-client-test.cc nix-grpc-store-clang-tidy-0.1.0> Error while processing /nix/var/nix/builds/nix-65669-602803120/source/tests/farm-client-test.cc. nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) { nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino}; nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/options.cc nix-grpc-store-clang-tidy-0.1.0> Error while processing /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/options.cc. nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) { nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino}; nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/coordinator.cc nix-grpc-store-clang-tidy-0.1.0> Error while processing /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/coordinator.cc. nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:273:59: error: 200 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.1.0> 273 | std::this_thread::sleep_for(std::chrono::milliseconds(200)); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:352: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> 352 | 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:357:5: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 357 | if (options.schedulerCA.empty()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:359:7: note: +1, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 359 | } else { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:362:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 362 | if (!options.tlsCert.empty()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:373:5: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 373 | while (!stop.stop_requested()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:380:21: note: nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 380 | 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:384:26: note: +1 nix-grpc-store-clang-tidy-0.1.0> 384 | 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:387:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 387 | if (helloed) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:391:47: note: nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 391 | 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:394:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 394 | 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:394:24: note: +1 nix-grpc-store-clang-tidy-0.1.0> 394 | 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:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 395 | 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:396:17: note: +4, including nesting penalty of 3, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 396 | if (cmd.has_expect()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:398:24: note: +1, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 398 | } 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:400:24: note: +1, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 400 | } 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:404:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 404 | if (restarting) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:411:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 411 | if (stop.stop_requested()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:414:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 414 | if (restarting) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/coordinator.cc:418:11: note: +1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 418 | } else { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) { nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino}; nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/main.cc nix-grpc-store-clang-tidy-0.1.0> Error while processing /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/main.cc. nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) { nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error] nix-grpc-store-clang-tidy-0.1.0> 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino}; nix-grpc-store-clang-tidy-0.1.0> | ~~~~ ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/src/daemon/dispatcher.cc nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/dispatcher.cc:84:19: error: an exception may be thrown in function '~Lock' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 84 | Dispatcher::Lock::~Lock() nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/klydx0x6ay8islhglaxarjg4c6j2m8y3-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__functional/function.h:74:3: note: frame #0: unhandled exception of type 'bad_function_call' may be thrown in function '__throw_bad_function_call' here nix-grpc-store-clang-tidy-0.1.0> 74 | throw bad_function_call(); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/klydx0x6ay8islhglaxarjg4c6j2m8y3-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__functional/function.h:273:7: note: frame #1: function 'operator()' calls function '__throw_bad_function_call' here nix-grpc-store-clang-tidy-0.1.0> 273 | std::__throw_bad_function_call(); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/klydx0x6ay8islhglaxarjg4c6j2m8y3-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__functional/function.h:772:10: note: frame #2: function 'operator()' calls function 'operator()' here nix-grpc-store-clang-tidy-0.1.0> 772 | return __f_(std::forward<_ArgTypes>(__arg)...); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/dispatcher.cc:90:13: note: frame #3: function '~Lock' calls function 'operator()' here nix-grpc-store-clang-tidy-0.1.0> 90 | func(); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/dispatcher.cc:238:10: error: no header providing "std::unordered_set" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 16 | std::unordered_set told; nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/dispatcher.cc:239:18: error: variable name '_' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 239 | for (auto & [_, shs] : shards) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/daemon/dispatcher.cc:245:22: error: variable name '_' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 245 | for (auto & [_, send] : shs.workers) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-65669-602803120/source/build /nix/var/nix/builds/nix-65669-602803120/source/src/client/build.cc nix-grpc-store-clang-tidy-0.1.0> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:424:17: error: function 'scheduleUntilDone' has cognitive complexity of 36 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 424 | auto GrpcStore::scheduleUntilDone(Run & run, const Metadata & headers, nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:429:3: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.1.0> 429 | for (;;) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:435:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 435 | debug("grpc: Schedule stream open, %d jobs", run.jobs.size()); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:369:24: note: expanded from macro 'debug' nix-grpc-store-clang-tidy-0.1.0> 369 | #define debug(args...) printMsg(lvlDebug, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:357:5: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 357 | do { \ nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:435:5: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 435 | debug("grpc: Schedule stream open, %d jobs", run.jobs.size()); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:369:24: note: expanded from macro 'debug' nix-grpc-store-clang-tidy-0.1.0> 369 | #define debug(args...) printMsg(lvlDebug, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:359:9: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 359 | if (__lvl <= nix::verbosity) { \ nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:439:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 439 | while (stream->Read(&msgs)) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:442:7: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 442 | if (std::ranges::any_of(msgs.msgs(), &remote::SchedMsg::has_restarting)) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:450:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 450 | if (run.detach() == 0 || isInterrupted() || !(restarting || schedulerGone(status))) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:450:46: note: +1 nix-grpc-store-clang-tidy-0.1.0> 450 | if (run.detach() == 0 || isInterrupted() || !(restarting || schedulerGone(status))) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:454:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 454 | if (answered || giveUp == std::chrono::steady_clock::time_point::max()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:454:18: note: +1 nix-grpc-store-clang-tidy-0.1.0> 454 | if (answered || giveUp == std::chrono::steady_clock::time_point::max()) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:458:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 458 | if (now + pause > giveUp) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:461:5: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 461 | if (restarting) { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:463:7: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 463 | debug("grpc: scheduler at %s restarting, reconnecting", config->authority.to_string()); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:369:24: note: expanded from macro 'debug' nix-grpc-store-clang-tidy-0.1.0> 369 | #define debug(args...) printMsg(lvlDebug, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:357:5: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 357 | do { \ nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:463:7: note: +4, including nesting penalty of 3, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 463 | debug("grpc: scheduler at %s restarting, reconnecting", config->authority.to_string()); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:369:24: note: expanded from macro 'debug' nix-grpc-store-clang-tidy-0.1.0> 369 | #define debug(args...) printMsg(lvlDebug, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:359:9: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 359 | if (__lvl <= nix::verbosity) { \ nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:464:7: note: +1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.1.0> 464 | } else { nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:465:7: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.1.0> 465 | printError("scheduler at %s: %s, reconnecting", config->authority.to_string(), firstLine(status.error_message())); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:365:29: note: expanded from macro 'printError' nix-grpc-store-clang-tidy-0.1.0> 365 | #define printError(args...) printMsg(lvlError, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:357:5: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 357 | do { \ nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/client/build.cc:465:7: note: +4, including nesting penalty of 3, nesting level increased to 4 nix-grpc-store-clang-tidy-0.1.0> 465 | printError("scheduler at %s: %s, reconnecting", config->authority.to_string(), firstLine(status.error_message())); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:365:29: note: expanded from macro 'printError' nix-grpc-store-clang-tidy-0.1.0> 365 | #define printError(args...) printMsg(lvlError, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' nix-grpc-store-clang-tidy-0.1.0> 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:359:9: note: expanded from macro 'printMsgUsing' nix-grpc-store-clang-tidy-0.1.0> 359 | if (__lvl <= nix::verbosity) { \ 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/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-65669-602803120/source /nix/var/nix/builds/nix-65669-602803120/source/build --color always nix-grpc-store-clang-tidy-0.1.0> ninja: build stopped: subcommand failed. error: build of '/nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0 Last 25 log lines: > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:365:29: note: expanded from macro 'printError' > 365 | #define printError(args...) printMsg(lvlError, args) > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' > 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:357:5: note: expanded from macro 'printMsgUsing' > 357 | do { \ > | ^ > ../src/client/build.cc:465:7: note: +4, including nesting penalty of 3, nesting level increased to 4 > 465 | printError("scheduler at %s: %s, reconnecting", config->authority.to_string(), firstLine(status.error_message())); > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:365:29: note: expanded from macro 'printError' > 365 | #define printError(args...) printMsg(lvlError, args) > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:363:34: note: expanded from macro 'printMsg' > 363 | #define printMsg(level, args...) printMsgUsing(logger, level, args) > | ^ > /nix/store/77if9j7m3xkg4r6b1l9pnji871yyhif3-nix-util-2.36.0pre20260914_920f6956-dev/include/nix/util/logging.hh:359:9: note: expanded from macro 'printMsgUsing' > 359 | if (__lvl <= nix::verbosity) { \ > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-65669-602803120/source /nix/var/nix/builds/nix-65669-602803120/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv error: Cannot build '/nix/store/6hp5nw0nnyn5swhz412sl7zbv3ddqxvs-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/5lsfg9ddndyklhp5r53l0wgg08mxz97f-nix-grpc-store-clang-tidy-0.1.0