this derivation will be built: /nix/store/1y9jim9lf3q1hmcxv4khfnp85ldarvlj-nix-grpc-store-clang-tidy-0.2.3.drv building '/nix/store/1y9jim9lf3q1hmcxv4khfnp85ldarvlj-nix-grpc-store-clang-tidy-0.2.3.drv' nix-grpc-store-clang-tidy-0.2.3> tribuchet: building on mac02 nix-grpc-store-clang-tidy-0.2.3> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.3> unpacking source archive /nix/store/f4m59pl94zrfydfxy3prjfgirx9xvm7y-source nix-grpc-store-clang-tidy-0.2.3> source root is source nix-grpc-store-clang-tidy-0.2.3> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase flags: --prefix=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false nix-grpc-store-clang-tidy-0.2.3> The Meson build system nix-grpc-store-clang-tidy-0.2.3> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.3> Source dir: /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source nix-grpc-store-clang-tidy-0.2.3> Build dir: /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build nix-grpc-store-clang-tidy-0.2.3> Build type: native build nix-grpc-store-clang-tidy-0.2.3> 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.2.3> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.3> Project version: 0.2.3 nix-grpc-store-clang-tidy-0.2.3> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.3> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.2.3> Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency grpc++ found: YES 1.84.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcrypto found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b7516 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b7516 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency jemalloc found: YES 5.4.0_0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.3> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.3> Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES nix-grpc-store-clang-tidy-0.2.3> Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.3> Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.3> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.3> Program tests/farm-client-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.3> Program tests/oidc-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.3> Program tests/reverse-gateway-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-gateway-test.sh) nix-grpc-store-clang-tidy-0.2.3> Build targets in project: 36 nix-grpc-store-clang-tidy-0.2.3> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.3> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store 0.2.3 nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> User defined options nix-grpc-store-clang-tidy-0.2.3> auto_features: enabled nix-grpc-store-clang-tidy-0.2.3> b_pch : false nix-grpc-store-clang-tidy-0.2.3> bindir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/bin nix-grpc-store-clang-tidy-0.2.3> buildtype : plain nix-grpc-store-clang-tidy-0.2.3> includedir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/include nix-grpc-store-clang-tidy-0.2.3> infodir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/info nix-grpc-store-clang-tidy-0.2.3> libdir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/lib nix-grpc-store-clang-tidy-0.2.3> libexecdir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/libexec nix-grpc-store-clang-tidy-0.2.3> localedir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/locale nix-grpc-store-clang-tidy-0.2.3> mandir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/man nix-grpc-store-clang-tidy-0.2.3> prefix : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3 nix-grpc-store-clang-tidy-0.2.3> sbindir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/sbin nix-grpc-store-clang-tidy-0.2.3> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.3> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.3> [1/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [2/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-registry-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-registry-test.cc:11: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.2.3> 11 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1155:5: note: frame #6: function 'basic_string' calls function '__init' here nix-grpc-store-clang-tidy-0.2.3> 1155 | __init(__sv.data(), __sv.size()); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-registry.hh:57:36: note: frame #7: function 'registerWorker' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 57 | auto & slot = sessions[std::string(workerId)]; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-registry-test.cc:16:13: note: frame #8: function 'main' calls function 'registerWorker' here nix-grpc-store-clang-tidy-0.2.3> 16 | assert(!registry.registerWorker("worker", "worker", [] -> void {})); // standby nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-inbound-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-inbound-test.cc:11: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.2.3> 11 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2603:25: note: frame #5: function '__init' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1090:97: note: frame #6: function 'basic_string' calls function '__init' here nix-grpc-store-clang-tidy-0.2.3> 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 47 | std::string key(keyBytes, '\0'); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-inbound-test.cc:18:16: note: frame #8: function 'main' calls function 'newKey' here nix-grpc-store-clang-tidy-0.2.3> 18 | auto key = ReverseCapability::newKey(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-frames-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-frames-test.cc:11: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.2.3> 11 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/unordered_map:1692:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here nix-grpc-store-clang-tidy-0.2.3> 1692 | std::__throw_out_of_range("unordered_map::at: key not found"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:61:54: note: frame #2: function 'data' calls function 'at' here nix-grpc-store-clang-tidy-0.2.3> 61 | if (closed || !streams.contains(streamId) || streams.at(streamId)) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-frames-test.cc:24:13: note: frame #3: function 'main' calls function 'data' here nix-grpc-store-clang-tidy-0.2.3> 24 | assert(!frames.data(2, "not opened")); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-upload-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-upload-test.cc:36: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.2.3> 36 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2603:25: note: frame #5: function '__init' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1090:97: note: frame #6: function 'basic_string' calls function '__init' here nix-grpc-store-clang-tidy-0.2.3> 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 47 | std::string key(keyBytes, '\0'); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-upload-test.cc:38:16: note: frame #8: function 'main' calls function 'newKey' here nix-grpc-store-clang-tidy-0.2.3> 38 | auto key = nixgrpc::ReverseCapability::newKey(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-request-test.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/unordered_map:1692:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here nix-grpc-store-clang-tidy-0.2.3> 1692 | std::__throw_out_of_range("unordered_map::at: key not found"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:229:65: note: frame #2: function 'terminal' calls function 'at' here nix-grpc-store-clang-tidy-0.2.3> 229 | if (closed || !streams.contains(streamId) || (!abort && streams.at(streamId))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #3: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #4: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (3/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-roundtrip-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-roundtrip-test.cc:24: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.2.3> 24 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:1128:47: note: frame #6: function '__emplace_back_slow_path>' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 1128 | __split_buffer __v(__recommend(size() + 1), size(), this->__alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:1150:13: note: frame #7: function 'emplace_back>' calls function '__emplace_back_slow_path>' here nix-grpc-store-clang-tidy-0.2.3> 1150 | __end = __emplace_back_slow_path(std::forward<_Args>(__args)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:457:90: note: frame #8: function 'push_back' calls function 'emplace_back>' here nix-grpc-store-clang-tidy-0.2.3> 457 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_back(value_type&& __x) { emplace_back(std::move(__x)); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-registry.hh:134:21: note: frame #9: function 'setActive' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 134 | previous.push_back(std::move(session)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-roundtrip-test.cc:35:5: note: frame #10: function 'main' calls function 'setActive' here nix-grpc-store-clang-tidy-0.2.3> 35 | registry.setActive(true); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-worker-test.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-worker-test.cc:29: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.2.3> 29 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:259:12: note: frame #2: function 'allocate' calls function 'allocate' here nix-grpc-store-clang-tidy-0.2.3> 259 | return __a.allocate(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocation_guard.h:55:16: note: frame #3: function '__allocation_guard>' calls function 'allocate' here nix-grpc-store-clang-tidy-0.2.3> 55 | __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/shared_ptr.h:735:46: note: frame #4: function 'allocate_shared, 0>' calls function '__allocation_guard>' here nix-grpc-store-clang-tidy-0.2.3> 735 | __allocation_guard<_ControlBlockAllocator> __guard(__a, 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/shared_ptr.h:744:10: note: frame #5: function 'make_shared' calls function 'allocate_shared, 0>' here nix-grpc-store-clang-tidy-0.2.3> 744 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/condition_variable:222:66: note: frame #6: function 'condition_variable_any' calls function 'make_shared' here nix-grpc-store-clang-tidy-0.2.3> 222 | inline condition_variable_any::condition_variable_any() : __mut_(make_shared()) {} nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-worker.hh:24:7: note: frame #7: function 'ReverseWorkerOutbound' calls function 'condition_variable_any' here nix-grpc-store-clang-tidy-0.2.3> 24 | class ReverseWorkerOutbound nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-worker-test.cc:31:36: note: frame #8: function 'main' calls function 'ReverseWorkerOutbound' here nix-grpc-store-clang-tidy-0.2.3> 31 | nixgrpc::ReverseWorkerOutbound replies; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-capability-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-capability-test.cc:28: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.2.3> 28 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2603:25: note: frame #5: function '__init' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1090:97: note: frame #6: function 'basic_string' calls function '__init' here nix-grpc-store-clang-tidy-0.2.3> 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 47 | std::string key(keyBytes, '\0'); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-capability-test.cc:33:16: note: frame #8: function 'main' calls function 'newKey' here nix-grpc-store-clang-tidy-0.2.3> 33 | auto key = ReverseCapability::newKey(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/dispatcher-session-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/dispatcher-session-test.cc:15: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.2.3> 15 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 1063 | __init(__s, traits_type::length(__s)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/dispatcher-session-test.cc:17:30: note: frame #7: function 'main' calls function 'basic_string<0>' here nix-grpc-store-clang-tidy-0.2.3> 17 | nixgrpc::Metrics metrics{""}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/coordinator.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/coordinator.cc:198:29: error: an exception may be thrown in function '(lambda at ../src/daemon/coordinator.cc:198:29)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 198 | *deferredDone = [this, drvPath, assignId, outcome, outputs, reason] -> void { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/coordinator.cc:198:29: note: frame #7: function '(lambda at ../src/daemon/coordinator.cc:198:29)' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 198 | *deferredDone = [this, drvPath, assignId, outcome, outputs, reason] -> void { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/coordinator.cc:471:14: error: an exception may be thrown in function '~Coordinator' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 471 | Coordinator::~Coordinator() nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:1128:47: note: frame #6: function '__emplace_back_slow_path>' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 1128 | __split_buffer __v(__recommend(size() + 1), size(), this->__alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:1150:13: note: frame #7: function 'emplace_back>' calls function '__emplace_back_slow_path>' here nix-grpc-store-clang-tidy-0.2.3> 1150 | __end = __emplace_back_slow_path(std::forward<_Args>(__args)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__vector/vector.h:457:90: note: frame #8: function 'push_back' calls function 'emplace_back>' here nix-grpc-store-clang-tidy-0.2.3> 457 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_back(value_type&& __x) { emplace_back(std::move(__x)); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-registry.hh:134:21: note: frame #9: function 'setActive' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 134 | previous.push_back(std::move(session)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/coordinator.cc:474:5: note: frame #10: function '~Coordinator' calls function 'setActive' here nix-grpc-store-clang-tidy-0.2.3> 474 | reverseRegistry.setActive(false); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-responses-test.cc nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-responses-test.cc:22: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.2.3> 22 | auto main() -> int nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:259:12: note: frame #2: function 'allocate' calls function 'allocate' here nix-grpc-store-clang-tidy-0.2.3> 259 | return __a.allocate(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocation_guard.h:55:16: note: frame #3: function '__allocation_guard>' calls function 'allocate' here nix-grpc-store-clang-tidy-0.2.3> 55 | __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/shared_ptr.h:735:46: note: frame #4: function 'allocate_shared, 0>' calls function '__allocation_guard>' here nix-grpc-store-clang-tidy-0.2.3> 735 | __allocation_guard<_ControlBlockAllocator> __guard(__a, 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/shared_ptr.h:744:10: note: frame #5: function 'make_shared' calls function 'allocate_shared, 0>' here nix-grpc-store-clang-tidy-0.2.3> 744 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/condition_variable:222:66: note: frame #6: function 'condition_variable_any' calls function 'make_shared' here nix-grpc-store-clang-tidy-0.2.3> 222 | inline condition_variable_any::condition_variable_any() : __mut_(make_shared()) {} nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-responses.hh:25:7: note: frame #7: function 'ReverseResponses' calls function 'condition_variable_any' here nix-grpc-store-clang-tidy-0.2.3> 25 | class ReverseResponses nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-responses-test.cc:24:31: note: frame #8: function 'main' calls function 'ReverseResponses' here nix-grpc-store-clang-tidy-0.2.3> 24 | nixgrpc::ReverseResponses replies; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-gateway-test.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-upload-relay.hh:89:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 89 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-upload-relay.hh:91:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 91 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-gateway-test.cc:87:33: error: an exception may be thrown in function '(lambda at ../tests/reverse-gateway-test.cc:87:33)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 87 | return relay.call(*ctx, [&, drv, assignId](uint64_t streamId) -> nixgrpc::ReverseGateway::Result { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/reverse-gateway-test.cc:87:33: note: frame #7: function '(lambda at ../tests/reverse-gateway-test.cc:87:33)' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 87 | return relay.call(*ctx, [&, drv, assignId](uint64_t streamId) -> nixgrpc::ReverseGateway::Result { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/main.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/main.cc:785:35: error: an exception may be thrown in function '(lambda at ../src/daemon/main.cc:785:35)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 785 | auto const assigned = [this, pod = *pod, drv, assignment] -> bool { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here nix-grpc-store-clang-tidy-0.2.3> 244 | throw length_error(__msg); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here nix-grpc-store-clang-tidy-0.2.3> 2473 | std::__throw_length_error("basic_string"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2579:7: note: frame #2: function '__init_copy_ctor_external' calls function '__throw_length_error' here nix-grpc-store-clang-tidy-0.2.3> 2579 | this->__throw_length_error(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #3: function 'basic_string' calls function '__init_copy_ctor_external' here nix-grpc-store-clang-tidy-0.2.3> 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/main.cc:785:35: note: frame #4: function '(lambda at ../src/daemon/main.cc:785:35)' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 785 | auto const assigned = [this, pod = *pod, drv, assignment] -> bool { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-session.hh:150:13: error: an exception may be thrown in function '~Cleanup' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 150 | ~Cleanup() nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 74 | throw bad_function_call(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 273 | std::__throw_bad_function_call(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 772 | return __f_(std::forward<_ArgTypes>(__arg)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-registry.hh:121:32: note: frame #3: function 'disconnected' calls function 'operator()' here nix-grpc-store-clang-tidy-0.2.3> 121 | removed->cancel(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-session.hh:153:17: note: frame #4: function '~Cleanup' calls function 'disconnected' here nix-grpc-store-clang-tidy-0.2.3> 153 | registry.disconnected(handle, false); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-upload-relay.hh:89:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 89 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-upload-relay.hh:91:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 91 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/sbpl.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/oidc-test.cc nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-session.hh:150:13: error: an exception may be thrown in function '~Cleanup' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 150 | ~Cleanup() nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 74 | throw bad_function_call(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 273 | std::__throw_bad_function_call(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 772 | return __f_(std::forward<_ArgTypes>(__arg)...); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-registry.hh:121:32: note: frame #3: function 'disconnected' calls function 'operator()' here nix-grpc-store-clang-tidy-0.2.3> 121 | removed->cancel(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-session.hh:153:17: note: frame #4: function '~Cleanup' calls function 'disconnected' here nix-grpc-store-clang-tidy-0.2.3> 153 | registry.disconnected(handle, false); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/scheduler-service.cc nix-grpc-store-clang-tidy-0.2.3> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/scheduler-service.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/scheduler-service.cc. nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:110:13: error: an exception may be thrown in function '~Release' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 110 | ~Release() { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-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.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:330:25: note: frame #5: function '__split_buffer' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here nix-grpc-store-clang-tidy-0.2.3> 465 | __split_buffer __t(__c, __c / 4, __alloc_); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here nix-grpc-store-clang-tidy-0.2.3> 2178 | __map_.emplace_back(__pt); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here nix-grpc-store-clang-tidy-0.2.3> 1605 | __add_back_capacity(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here nix-grpc-store-clang-tidy-0.2.3> 217 | queue.push_back(std::move(msg)); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here nix-grpc-store-clang-tidy-0.2.3> 252 | if (!enqueue(std::move(msg))) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here nix-grpc-store-clang-tidy-0.2.3> 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here nix-grpc-store-clang-tidy-0.2.3> 114 | (void) transport.outgoing.cancel(streamId); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.2.3> /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/1y9jim9lf3q1hmcxv4khfnp85ldarvlj-nix-grpc-store-clang-tidy-0.2.3.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3 Last 25 log lines: > | ^ > /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back' calls function '__split_buffer' here > 465 | __split_buffer __t(__c, __c / 4, __alloc_); > | ^ > /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:2178:5: note: frame #7: function '__add_back_capacity' calls function 'emplace_back' here > 2178 | __map_.emplace_back(__pt); > | ^ > /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/deque:1605:5: note: frame #8: function 'push_back' calls function '__add_back_capacity' here > 1605 | __add_back_capacity(); > | ^ > ../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here > 217 | queue.push_back(std::move(msg)); > | ^ > ../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here > 252 | if (!enqueue(std::move(msg))) { > | ^ > ../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here > 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); } > | ^ > ../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here > 114 | (void) transport.outgoing.cancel(streamId); > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/1y9jim9lf3q1hmcxv4khfnp85ldarvlj-nix-grpc-store-clang-tidy-0.2.3.drv