nixbot

builds

failed nix-grpc-store-clang-tidy-0.1.0 checks.aarch64-darwin.clang-tidy · build #197 · raw

unpackPhase
1unpacking source archive /nix/store/yqs19g7ifm5pc3fkg6rl45sxn7bdlb53-source2source root is source
configurePhase
3mesonConfigurePhase flags: --prefix=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false4The Meson build system5Version: 1.10.26Source dir: /nix/var/nix/builds/nix-4353-3138551491/source7Build dir: /nix/var/nix/builds/nix-4353-3138551491/source/build8Build type: native build9WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead10Project name: nix-grpc-store11Project version: 0.1.012C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")13C++ linker for the host machine: clang++ ld64 956.614Host machine cpu family: aarch6415Host machine cpu: aarch6416Found pkg-config: YES (/nix/store/y3kq99w9rf07m43pggj5g596yy1qkvps-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.217Run-time dependency grpc++ found: YES 1.83.018Run-time dependency protobuf found: YES 35.1.019Run-time dependency libzstd found: YES 1.5.720Run-time dependency threads found: YES21Run-time dependency libcrypto found: YES 3.6.322Run-time dependency prometheus-cpp-core found: YES 1.3.023Run-time dependency prometheus-cpp-pull found: YES 1.3.024Run-time dependency absl_flat_hash_map found: YES 2026010725Run-time dependency absl_hash found: YES 2026010726Run-time dependency jemalloc found: YES 5.3.1_027Run-time dependency nix-store found: YES 2.36.0pre20260914_920f695628Run-time dependency nix-util found: YES 2.36.0pre20260914_920f695629Run-time dependency libcurl found: YES 8.21.030Run-time dependency nlohmann_json found: YES 3.12.031Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 32Program protoc found: YES (/nix/store/wylvda2p4ab62dzzsgppbclpmh4j2f8r-protobuf-35.1/bin/protoc)33Program grpc_cpp_plugin found: YES (/nix/store/y1545dr7vy81bimhbk824p01rvzvj987-grpc-1.83.0/bin/grpc_cpp_plugin)34Run-time dependency dl found: YES35Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-4353-3138551491/source/tests/farm-client-test.sh)36Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-4353-3138551491/source/tests/oidc-test.sh)37Build targets in project: 1138WARNING: Project specifies no minimum version but uses features which were added in versions:39 * 1.1: {'meson.options file'}4041nix-grpc-store 0.1.04243 User defined options44 auto_features: enabled45 b_pch : false46 bindir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/bin47 buildtype : plain48 includedir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/include49 infodir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/info50 libdir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/lib51 libexecdir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/libexec52 localedir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/locale53 mandir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/share/man54 prefix : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.055 sbindir : /nix/store/da332g16z5dc0wd50y1vbx3grmwbmwa5-nix-grpc-store-clang-tidy-0.1.0/sbin56 wrap_mode : nodownload5758Found ninja-1.13.2 at /nix/store/qqid6lbkgb6ihf048ypbc2na5s97hy1d-ninja-1.13.2/bin/ninja59mesonConfigurePhase: enabled\ parallel\ building
buildPhase
60[1/1] Generating nix_remote_proto with a custom command61[0/1] /nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-4353-3138551491/source /nix/var/nix/builds/nix-4353-3138551491/source/build --color always62>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4353-3138551491/source/build /nix/var/nix/builds/nix-4353-3138551491/source/tests/farm-client-test.cc63Error while processing /nix/var/nix/builds/nix-4353-3138551491/source/tests/farm-client-test.cc.64../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]65 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec66 | ~~~~ ^67../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]68 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) {69 | ~~~~ ^70../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]71 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino};72 | ~~~~ ^73>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4353-3138551491/source/build /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/main.cc74Error while processing /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/main.cc.75../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]76 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec77 | ~~~~ ^78../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]79 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) {80 | ~~~~ ^81../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]82 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino};83 | ~~~~ ^84>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4353-3138551491/source/build /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/options.cc85Error while processing /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/options.cc.86../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]87 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec88 | ~~~~ ^89../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]90 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) {91 | ~~~~ ^92../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]93 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino};94 | ~~~~ ^95>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4353-3138551491/source/build /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/coordinator.cc96Error while processing /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/coordinator.cc.97../src/daemon/coordinator.cc:353:19: error: function 'runRemoteSession' has cognitive complexity of 28 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors]98 353 | void Coordinator::runRemoteSession(Builder & bld, const std::stop_token & stop)99 | ^100../src/daemon/coordinator.cc:358:5: note: +1, including nesting penalty of 0, nesting level increased to 1101 358 | if (options.schedulerCA.empty()) {102 | ^103../src/daemon/coordinator.cc:360:7: note: +1, nesting level increased to 1104 360 | } else {105 | ^106../src/daemon/coordinator.cc:363:9: note: +2, including nesting penalty of 1, nesting level increased to 2107 363 | if (!options.tlsCert.empty()) {108 | ^109../src/daemon/coordinator.cc:374:5: note: +1, including nesting penalty of 0, nesting level increased to 1110 374 | while (!stop.stop_requested()) {111 | ^112../src/daemon/coordinator.cc:381:21: note: nesting level increased to 2113 381 | bld.setSend([raw, writeMutex, live](const WorkerMsg & msg) -> bool {114 | ^115../src/daemon/coordinator.cc:385:26: note: +1116 385 | return *live && raw->Write(one);117 | ^118../src/daemon/coordinator.cc:388:9: note: +2, including nesting penalty of 1, nesting level increased to 2119 388 | if (helloed) {120 | ^121../src/daemon/coordinator.cc:392:47: note: nesting level increased to 2122 392 | const std::stop_callback onStop(stop, [&ctx]() -> void { ctx.TryCancel(); });123 | ^124../src/daemon/coordinator.cc:395:9: note: +2, including nesting penalty of 1, nesting level increased to 2125 395 | while (helloed && stream->Read(&cmds)) {126 | ^127../src/daemon/coordinator.cc:395:24: note: +1128 395 | while (helloed && stream->Read(&cmds)) {129 | ^130../src/daemon/coordinator.cc:396:13: note: +3, including nesting penalty of 2, nesting level increased to 3131 396 | for (const auto & cmd : cmds.msgs()) {132 | ^133../src/daemon/coordinator.cc:397:17: note: +4, including nesting penalty of 3, nesting level increased to 4134 397 | if (cmd.has_expect()) {135 | ^136../src/daemon/coordinator.cc:399:24: note: +1, nesting level increased to 4137 399 | } else if (cmd.has_revoke()) {138 | ^139../src/daemon/coordinator.cc:401:24: note: +1, nesting level increased to 4140 401 | } else if (cmd.has_restarting()) {141 | ^142../src/daemon/coordinator.cc:405:13: note: +3, including nesting penalty of 2, nesting level increased to 3143 405 | if (restarting) {144 | ^145../src/daemon/coordinator.cc:412:9: note: +2, including nesting penalty of 1, nesting level increased to 2146 412 | if (stop.stop_requested()) {147 | ^148../src/daemon/coordinator.cc:415:9: note: +2, including nesting penalty of 1, nesting level increased to 2149 415 | if (restarting) {150 | ^151../src/daemon/coordinator.cc:419:11: note: +1, nesting level increased to 2152 419 | } else {153 | ^154../src/daemon/token-file.hh:44:67: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]155 44 | if (cur->token.empty() || info.st_ino != cur->ino || info.st_mtim.tv_sec != cur->mtime.tv_sec156 | ~~~~ ^157../src/daemon/token-file.hh:45:21: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]158 45 | || info.st_mtim.tv_nsec != cur->mtime.tv_nsec) {159 | ~~~~ ^160../src/daemon/token-file.hh:50:62: error: no member named 'st_mtim' in 'stat' [clang-diagnostic-error]161 50 | *cur = {.token = std::move(token), .mtime = info.st_mtim, .ino = info.st_ino};162 | ~~~~ ^163>>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4353-3138551491/source/build /nix/var/nix/builds/nix-4353-3138551491/source/src/daemon/dispatcher.cc164Errors encountered while running clang-tidy165../src/daemon/dispatcher.cc:85:19: error: an exception may be thrown in function '~Lock' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]166 85 | Dispatcher::Lock::~Lock()167 | ^168/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' here169 74 | throw bad_function_call();170 | ^171/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' here172 273 | std::__throw_bad_function_call();173 | ^174/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()' here175 772 | return __f_(std::forward<_ArgTypes>(__arg)...);176 | ^177../src/daemon/dispatcher.cc:91:13: note: frame #3: function '~Lock' calls function 'operator()' here178 91 | func();179 | ^180FAILED: [code=1] meson-internal__clang-tidy 181/nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-4353-3138551491/source /nix/var/nix/builds/nix-4353-3138551491/source/build --color always182ninja: build stopped: subcommand failed.