this derivation will be built: /nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv building '/nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' on 'ssh-ng://customer@mac02' building '/nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> unpacking source archive /nix/store/vnkc960dmlbydfi89ayhwlnil34s14hb-source nix-grpc-store-clang-tidy-0.1.0-beta.4> source root is source nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: patchPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: configurePhase nix-grpc-store-clang-tidy-0.1.0-beta.4> mesonConfigurePhase 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=false nix-grpc-store-clang-tidy-0.1.0-beta.4> The Meson build system nix-grpc-store-clang-tidy-0.1.0-beta.4> Version: 1.10.2 nix-grpc-store-clang-tidy-0.1.0-beta.4> Source dir: /nix/var/nix/builds/nix-33170-698824128/source nix-grpc-store-clang-tidy-0.1.0-beta.4> Build dir: /nix/var/nix/builds/nix-33170-698824128/source/build nix-grpc-store-clang-tidy-0.1.0-beta.4> Build type: native build nix-grpc-store-clang-tidy-0.1.0-beta.4> 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-beta.4> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.1.0-beta.4> Project version: 0.1.0-beta.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.1.0-beta.4> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.1.0-beta.4> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.1.0-beta.4> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.1.0-beta.4> Found pkg-config: YES (/nix/store/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency grpc++ found: YES 1.83.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency protobuf found: YES 36.1.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libcrypto found: YES 3.6.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_flat_hash_map found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_hash found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_synchronization found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency jemalloc found: YES 5.3.1_0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nix-store found: YES 2.36.0pre20260920_5711f8fe nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nix-util found: YES 2.36.0pre20260920_5711f8fe nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0-beta.4> Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-33170-698824128/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.1.0-beta.4> Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-33170-698824128/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.1.0-beta.4> Build targets in project: 14 nix-grpc-store-clang-tidy-0.1.0-beta.4> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.1.0-beta.4> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store 0.1.0-beta.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> User defined options nix-grpc-store-clang-tidy-0.1.0-beta.4> auto_features: enabled nix-grpc-store-clang-tidy-0.1.0-beta.4> b_pch : false nix-grpc-store-clang-tidy-0.1.0-beta.4> bindir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin nix-grpc-store-clang-tidy-0.1.0-beta.4> buildtype : plain nix-grpc-store-clang-tidy-0.1.0-beta.4> includedir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/include nix-grpc-store-clang-tidy-0.1.0-beta.4> infodir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info 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 nix-grpc-store-clang-tidy-0.1.0-beta.4> libexecdir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec nix-grpc-store-clang-tidy-0.1.0-beta.4> localedir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale nix-grpc-store-clang-tidy-0.1.0-beta.4> mandir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man nix-grpc-store-clang-tidy-0.1.0-beta.4> prefix : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> sbindir : /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin nix-grpc-store-clang-tidy-0.1.0-beta.4> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.1.0-beta.4> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: buildPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> [2/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.1.0-beta.4> [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 always nix-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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.cc nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 30 | ~Claim() nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1447 | std::__throw_out_of_range("map::at: key not found"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:98:13: note: frame #2: function 'finish' calls function 'at' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 98 | active_.at(path) = outcome; nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:33:17: note: frame #3: function '~Claim' calls function 'finish' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 33 | table_->finish(path_, Outcome::failed); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 60 | ~Waiter() nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1447 | std::__throw_out_of_range("map::at: key not found"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:115:15: note: frame #2: function 'leave' calls function 'at' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 115 | if (--waiters_.at(path) == 0) { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:63:17: note: frame #3: function '~Waiter' calls function 'leave' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 63 | table_->leave(path_); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:68:9: error: function 'wait' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 68 | auto wait() const -> Outcome { return table_->await(path_); } nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> | [[nodiscard]] nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:26:23: error: no header providing "std::make_optional" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 3 | auto owner = std::make_optional(claims.enter("p")); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:29:12: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 29 | assert(other.waiter->wait() == Outcome::failed); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' nix-grpc-store-clang-tidy-0.1.0-beta.4> 99 | (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __ASSERT_FILE_NAME, __LINE__, #e) : (void)0) nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:38:9: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 38 | owner.owner->done(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:51:24: error: use a trailing return type for this lambda [modernize-use-trailing-return-type,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 51 | std::thread thread([&] { seen = other.waiter->wait(); }); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> | -> void nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 52 | std::this_thread::sleep_for(std::chrono::milliseconds(100)); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:54:5: error: unchecked access to optional value [bugprone-unchecked-optional-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 54 | owner.owner->done(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 62 | auto a = claims.enter("a"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 63 | auto b = claims.enter("b"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 71 | auto main() -> int nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' calls function 'allocate_at_least' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' calls function 'allocate_at_least>' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1063 | __init(__s, traits_type::length(__s)); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:15:31: note: frame #7: function 'firstEntrantOwnsAndTheRestWait' calls function 'basic_string<0>' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 15 | auto first = claims.enter("p"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/upload-claims-test.cc:73:5: note: frame #8: function 'main' calls function 'firstEntrantOwnsAndTheRestWait' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 73 | firstEntrantOwnsAndTheRestWait(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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.cc nix-grpc-store-clang-tidy-0.1.0-beta.4> [1/1] (1/2) Processing file /nix/var/nix/builds/nix-33170-698824128/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.1.0-beta.4> [1/1] (2/2) Processing file /nix/var/nix/builds/nix-33170-698824128/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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.cc nix-grpc-store-clang-tidy-0.1.0-beta.4> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 363 | struct Received nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' calls function 'allocate_at_least' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' calls function 'allocate_at_least>' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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>' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 120 | UnkeyedValidPathInfo(const UnkeyedValidPathInfo & other) = default; nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 158 | struct ValidPathInfo : virtual UnkeyedValidPathInfo nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/main.cc:363:20: note: frame #9: function 'Received' calls function 'ValidPathInfo' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 363 | struct Received nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/main.cc:376:29: error: use designated initializer list to initialize 'value_type' (aka 'Received') [modernize-use-designated-initializers,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 376 | {info, std::move(ticket.owner), std::nullopt, nixgrpc::SpooledNar::spool(nar, info.narSize)}); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> | .info=.owner= .waiter= .nar= nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/main.cc:363:13: note: aggregate type is defined here nix-grpc-store-clang-tidy-0.1.0-beta.4> 363 | struct Received nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/main.cc:379:44: error: use designated initializer list to initialize 'value_type' (aka 'Received') [modernize-use-designated-initializers,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 379 | received.push_back({info, std::nullopt, std::move(ticket.waiter), std::nullopt}); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> | .info=.owner= .waiter= .nar= nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/main.cc:363:13: note: aggregate type is defined here nix-grpc-store-clang-tidy-0.1.0-beta.4> 363 | struct Received nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 30 | ~Claim() nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1447 | std::__throw_out_of_range("map::at: key not found"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:98:13: note: frame #2: function 'finish' calls function 'at' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 98 | active_.at(path) = outcome; nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:33:17: note: frame #3: function '~Claim' calls function 'finish' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 33 | table_->finish(path_, Outcome::failed); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 60 | ~Waiter() nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 1447 | std::__throw_out_of_range("map::at: key not found"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:115:15: note: frame #2: function 'leave' calls function 'at' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 115 | if (--waiters_.at(path) == 0) { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:63:17: note: frame #3: function '~Waiter' calls function 'leave' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 63 | table_->leave(path_); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-claims.hh:68:9: error: function 'wait' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 68 | auto wait() const -> Outcome { return table_->await(path_); } nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> | [[nodiscard]] nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-spool.hh:53:65: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 53 | throw nix::Error("cannot write the spool file: %s", std::strerror(writeErrno)); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 55 | return SpooledNar(std::move(file), size); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~ ~ nix-grpc-store-clang-tidy-0.1.0-beta.4> | { } nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/daemon/upload-spool.hh:85:100: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 85 | throw nix::Error("cannot read the spool file: %s", count == 0 ? "short file" : std::strerror(errno)); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 106 | static auto writeAll(int fd, std::span data, std::uint64_t offset) -> bool nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.1.0-beta.4> /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 always nix-grpc-store-clang-tidy-0.1.0-beta.4> ninja: build stopped: subcommand failed. error: build of '/nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4 Last 25 log lines: > 115 | if (--waiters_.at(path) == 0) { > | ^ > ../src/daemon/upload-claims.hh:63:17: note: frame #3: function '~Waiter' calls function 'leave' here > 63 | table_->leave(path_); > | ^ > ../src/daemon/upload-claims.hh:68:9: error: function 'wait' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors] > 68 | auto wait() const -> Outcome { return table_->await(path_); } > | ^ > | [[nodiscard]] > ../src/daemon/upload-spool.hh:53:65: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors] > 53 | throw nix::Error("cannot write the spool file: %s", std::strerror(writeErrno)); > | ^ > ../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] > 55 | return SpooledNar(std::move(file), size); > | ^~~~~~~~~~~ ~ > | { } > ../src/daemon/upload-spool.hh:85:100: error: function is not thread safe [concurrency-mt-unsafe,-warnings-as-errors] > 85 | throw nix::Error("cannot read the spool file: %s", count == 0 ? "short file" : std::strerror(errno)); > | ^ > ../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] > 106 | static auto writeAll(int fd, std::span data, std::uint64_t offset) -> bool > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /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 always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv error: Cannot build '/nix/store/xpg2v2ibhcjl066pm2xzsdv7vgncskv0-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6h9y6ggag04q0cf9rybm8b1drx26h1d0-nix-grpc-store-clang-tidy-0.1.0-beta.4