nixbot

builds

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

unpackPhase
1unpacking source archive /nix/store/vnkc960dmlbydfi89ayhwlnil34s14hb-source2source root is source
configurePhase
3mesonConfigurePhase flags: --prefix=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4 --libdir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/lib --libexecdir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec --bindir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin --sbindir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin --includedir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/include --mandir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man --infodir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info --localedir=/nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/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-33170-698824128/source7Build dir: /nix/var/nix/builds/nix-33170-698824128/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.0-beta.412C++ 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/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-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 36.1.019Run-time dependency libzstd found: YES 1.5.720Run-time dependency threads found: YES21Run-time dependency libcrypto found: YES 3.6.422Run-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 absl_synchronization found: YES 2026010727Compiler for C++ supports arguments -Werror=thread-safety: YES 28Run-time dependency jemalloc found: YES 5.3.1_029Run-time dependency nix-store found: YES 2.36.0pre20260920_5711f8fe30Run-time dependency nix-util found: YES 2.36.0pre20260920_5711f8fe31Run-time dependency libcurl found: YES 8.22.032Run-time dependency nlohmann_json found: YES 3.12.033Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 34Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc)35Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin)36Run-time dependency dl found: YES37Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-33170-698824128/source/tests/farm-client-test.sh)38Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-33170-698824128/source/tests/oidc-test.sh)39Build targets in project: 1440WARNING: Project specifies no minimum version but uses features which were added in versions:41 * 1.1: {'meson.options file'}4243nix-grpc-store 0.1.0-beta.44445 User defined options46 auto_features: enabled47 b_pch : false48 bindir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin49 buildtype : plain50 includedir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/include51 infodir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info52 libdir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/lib53 libexecdir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec54 localedir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale55 mandir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man56 prefix : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.457 sbindir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin58 wrap_mode : nodownload5960Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja61mesonConfigurePhase: enabled\ parallel\ building
buildPhase
62[2/2] Generating eds_proto with a custom command63[0/1] /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-33170-698824128/source /nix/var/nix/builds/nix-33170-698824128/source/build --color always64>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-33170-698824128/source/build /nix/var/nix/builds/nix-33170-698824128/source/tests/upload-claims-test.cc65../src/daemon/upload-claims.hh:30:9: error: an exception may be thrown in function '~Claim' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]66 30 | ~Claim()67 | ^68/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here69 256 | throw out_of_range(__msg);70 | ^71/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:1447:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here72 1447 | std::__throw_out_of_range("map::at: key not found");73 | ^74../src/daemon/upload-claims.hh:98:13: note: frame #2: function 'finish' calls function 'at' here75 98 | active_.at(path) = outcome;76 | ^77../src/daemon/upload-claims.hh:33:17: note: frame #3: function '~Claim' calls function 'finish' here78 33 | table_->finish(path_, Outcome::failed);79 | ^80../src/daemon/upload-claims.hh:60:9: error: an exception may be thrown in function '~Waiter' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]81 60 | ~Waiter()82 | ^83/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here84 256 | throw out_of_range(__msg);85 | ^86/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:1447:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here87 1447 | std::__throw_out_of_range("map::at: key not found");88 | ^89../src/daemon/upload-claims.hh:115:15: note: frame #2: function 'leave' calls function 'at' here90 115 | if (--waiters_.at(path) == 0) {91 | ^92../src/daemon/upload-claims.hh:63:17: note: frame #3: function '~Waiter' calls function 'leave' here93 63 | table_->leave(path_);94 | ^95../src/daemon/upload-claims.hh:68:9: error: function 'wait' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]96 68 | auto wait() const -> Outcome { return table_->await(path_); }97 | ^98 | [[nodiscard]] 99../tests/upload-claims-test.cc:26:23: error: no header providing "std::make_optional" is directly included [misc-include-cleaner,-warnings-as-errors]100 3 | auto owner = std::make_optional(claims.enter("p"));101 | ^102../tests/upload-claims-test.cc:29:12: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]103 29 | assert(other.waiter->wait() == Outcome::failed);104 | ^105/nix/store/rq88pmfxfl98jhzfhb46jvl0rl8nyd6g-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/assert.h:99:25: note: expanded from macro 'assert'106 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0)107 | ^108../tests/upload-claims-test.cc:38:9: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]109 38 | owner.owner->done();110 | ^~~~~~~~~~~111../tests/upload-claims-test.cc:51:24: error: use a trailing return type for this lambda [modernize-use-trailing-return-type,-warnings-as-errors]112 51 | std::thread thread([&] { seen = other.waiter->wait(); });113 | ^114 | -> void115../tests/upload-claims-test.cc:52:59: error: 100 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors]116 52 | std::this_thread::sleep_for(std::chrono::milliseconds(100));117 | ^118../tests/upload-claims-test.cc:54:5: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors]119 54 | owner.owner->done();120 | ^~~~~~~~~~~121../tests/upload-claims-test.cc:62:10: error: variable name 'a' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]122 62 | auto a = claims.enter("a");123 | ^124../tests/upload-claims-test.cc:63:10: error: variable name 'b' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]125 63 | auto b = claims.enter("b");126 | ^127../tests/upload-claims-test.cc:71:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]128 71 | auto main() -> int129 | ^130/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__new/exceptions.h:67:3: note: frame #0: unhandled exception of type 'bad_array_new_length' may be thrown in function '__throw_bad_array_new_length' here131 67 | throw bad_array_new_length();132 | ^133/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:101:7: note: frame #1: function 'allocate' calls function '__throw_bad_array_new_length' here134 101 | std::__throw_bad_array_new_length();135 | ^136/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:112:13: note: frame #2: function 'allocate_at_least' calls function 'allocate' here137 112 | return {allocate(__n), __n};138 | ^139/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here140 280 | return __alloc.allocate_at_least(__n);141 | ^142/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here143 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);144 | ^145/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2555:25: note: frame #5: function '__init' calls function '__allocate_at_least<std::allocator<char>>' here146 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);147 | ^148/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1063:5: note: frame #6: function 'basic_string<0>' calls function '__init' here149 1063 | __init(__s, traits_type::length(__s));150 | ^151../tests/upload-claims-test.cc:15:31: note: frame #7: function 'firstEntrantOwnsAndTheRestWait' calls function 'basic_string<0>' here152 15 | auto first = claims.enter("p");153 | ^154../tests/upload-claims-test.cc:73:5: note: frame #8: function 'main' calls function 'firstEntrantOwnsAndTheRestWait' here155 73 | firstEntrantOwnsAndTheRestWait();156 | ^157>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-33170-698824128/source/build /nix/var/nix/builds/nix-33170-698824128/source/src/client/channel.cc158[1/1] (1/2) Processing file /nix/var/nix/builds/nix-33170-698824128/source/src/client/channel.cc.159[1/1] (2/2) Processing file /nix/var/nix/builds/nix-33170-698824128/source/src/client/channel.cc.160>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-33170-698824128/source/build /nix/var/nix/builds/nix-33170-698824128/source/src/daemon/main.cc161Errors encountered while running clang-tidy162../src/daemon/main.cc:363:20: error: an exception may be thrown in function 'Received' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]163 363 | struct Received164 | ^165/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__new/exceptions.h:67:3: note: frame #0: unhandled exception of type 'bad_array_new_length' may be thrown in function '__throw_bad_array_new_length' here166 67 | throw bad_array_new_length();167 | ^168/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:101:7: note: frame #1: function 'allocate' calls function '__throw_bad_array_new_length' here169 101 | std::__throw_bad_array_new_length();170 | ^171/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:112:13: note: frame #2: function 'allocate_at_least' calls function 'allocate' here172 112 | return {allocate(__n), __n};173 | ^174/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here175 280 | return __alloc.allocate_at_least(__n);176 | ^177/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here178 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);179 | ^180/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least<std::allocator<char>>' here181 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);182 | ^183/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #6: function 'basic_string' calls function '__init_copy_ctor_external' here184 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());185 | ^186/nix/store/a8sc8chx2c5cn0agywqg29p7g65yfbs6-nix-store-2.36.0pre20260920_5711f8fe-dev/include/nix/store/path-info.hh:120:5: note: frame #7: function 'UnkeyedValidPathInfo' calls function 'basic_string' here187 120 | UnkeyedValidPathInfo(const UnkeyedValidPathInfo & other) = default;188 | ^189/nix/store/a8sc8chx2c5cn0agywqg29p7g65yfbs6-nix-store-2.36.0pre20260920_5711f8fe-dev/include/nix/store/path-info.hh:158:8: note: frame #8: function 'ValidPathInfo' calls function 'UnkeyedValidPathInfo' here190 158 | struct ValidPathInfo : virtual UnkeyedValidPathInfo191 | ^192../src/daemon/main.cc:363:20: note: frame #9: function 'Received' calls function 'ValidPathInfo' here193 363 | struct Received194 | ^195../src/daemon/main.cc:376:29: error: use designated initializer list to initialize 'value_type' (aka 'Received') [modernize-use-designated-initializers,-warnings-as-errors]196 376 | {info, std::move(ticket.owner), std::nullopt, nixgrpc::SpooledNar::spool(nar, info.narSize)});197 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~198 | .info=.owner= .waiter= .nar=199../src/daemon/main.cc:363:13: note: aggregate type is defined here200 363 | struct Received201 | ^202../src/daemon/main.cc:379:44: error: use designated initializer list to initialize 'value_type' (aka 'Received') [modernize-use-designated-initializers,-warnings-as-errors]203 379 | received.push_back({info, std::nullopt, std::move(ticket.waiter), std::nullopt});204 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~205 | .info=.owner= .waiter= .nar=206../src/daemon/main.cc:363:13: note: aggregate type is defined here207 363 | struct Received208 | ^209../src/daemon/upload-claims.hh:30:9: error: an exception may be thrown in function '~Claim' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]210 30 | ~Claim()211 | ^212/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here213 256 | throw out_of_range(__msg);214 | ^215/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:1447:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here216 1447 | std::__throw_out_of_range("map::at: key not found");217 | ^218../src/daemon/upload-claims.hh:98:13: note: frame #2: function 'finish' calls function 'at' here219 98 | active_.at(path) = outcome;220 | ^221../src/daemon/upload-claims.hh:33:17: note: frame #3: function '~Claim' calls function 'finish' here222 33 | table_->finish(path_, Outcome::failed);223 | ^224../src/daemon/upload-claims.hh:60:9: error: an exception may be thrown in function '~Waiter' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]225 60 | ~Waiter()226 | ^227/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here228 256 | throw out_of_range(__msg);229 | ^230/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:1447:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here231 1447 | std::__throw_out_of_range("map::at: key not found");232 | ^233../src/daemon/upload-claims.hh:115:15: note: frame #2: function 'leave' calls function 'at' here234 115 | if (--waiters_.at(path) == 0) {235 | ^236../src/daemon/upload-claims.hh:63:17: note: frame #3: function '~Waiter' calls function 'leave' here237 63 | table_->leave(path_);238 | ^239../src/daemon/upload-claims.hh:68:9: error: function 'wait' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]240 68 | auto wait() const -> Outcome { return table_->await(path_); }241 | ^242 | [[nodiscard]] 243../src/daemon/upload-spool.hh:53:65: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors]244 53 | throw nix::Error("cannot write the spool file: %s", std::strerror(writeErrno));245 | ^246../src/daemon/upload-spool.hh:55:16: error: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list,-warnings-as-errors]247 55 | return SpooledNar(std::move(file), size);248 | ^~~~~~~~~~~ ~249 | { }250../src/daemon/upload-spool.hh:85:100: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors]251 85 | throw nix::Error("cannot read the spool file: %s", count == 0 ? "short file" : std::strerror(errno));252 | ^253../src/daemon/upload-spool.hh:106:30: error: parameter name 'fd' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors]254 106 | static auto writeAll(int fd, std::span<const char> data, std::uint64_t offset) -> bool255 | ^256FAILED: [code=1] meson-internal__clang-tidy 257/nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-33170-698824128/source /nix/var/nix/builds/nix-33170-698824128/source/build --color always258ninja: build stopped: subcommand failed.