nix-grpc-store-clang-tidy-0.2.3
checks.aarch64-darwin.clang-tidy
· build #800
· raw
1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/f4m59pl94zrfydfxy3prjfgirx9xvm7y-source3source root is sourceconfigurePhase
4mesonConfigurePhase 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=false5The Meson build system6Version: 1.12.17Source dir: /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source8Build dir: /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.2.313C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld64 956.615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.019Run-time dependency protobuf found: YES 36.2.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.5.923Run-time dependency prometheus-cpp-core found: YES 1.3.024Run-time dependency prometheus-cpp-pull found: YES 1.3.025Run-time dependency absl_flat_hash_map found: YES 2026081726Run-time dependency absl_hash found: YES 2026081727Run-time dependency absl_synchronization found: YES 2026081728Compiler for C++ supports arguments -Werror=thread-safety: YES 29Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b751630Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b751631Run-time dependency jemalloc found: YES 5.4.0_032Run-time dependency libcurl found: YES 8.22.033Run-time dependency nlohmann_json found: YES 3.12.034Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 35Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 36Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc)37Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin)38Run-time dependency dl found: YES39Program tests/farm-client-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/farm-client-test.sh)40Program tests/oidc-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/oidc-test.sh)41Program tests/reverse-gateway-test.sh found: YES (/private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/tests/reverse-gateway-test.sh)42Build targets in project: 3643WARNING: Project specifies no minimum version but uses features which were added in versions:44 * 1.1: {'meson.options file'}4546nix-grpc-store 0.2.34748 User defined options49 auto_features: enabled50 b_pch : false51 bindir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/bin52 buildtype : plain53 includedir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/include54 infodir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/info55 libdir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/lib56 libexecdir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/libexec57 localedir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/locale58 mandir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/share/man59 prefix : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.360 sbindir : /nix/store/n5h11xv7w5qr1z5cpsr7l4dzx3gdzzph-nix-grpc-store-clang-tidy-0.2.3/sbin61 wrap_mode : nodownload6263Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja64mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
65[1/2] Generating eds_proto with a custom command66[2/2] Generating nix_remote_proto with a custom command67[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 always68>>> /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.cc69../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]70 11 | auto main() -> int71 | ^72/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' here73 67 | throw bad_array_new_length();74 | ^75/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' here76 101 | std::__throw_bad_array_new_length();77 | ^78/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' here79 112 | return {allocate(__n), __n};80 | ^81/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<std::allocator<char>>' calls function 'allocate_at_least' here82 280 | return __alloc.allocate_at_least(__n);83 | ^84/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here85 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);86 | ^87/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<std::allocator<char>>' here88 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);89 | ^90/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1155:5: note: frame #6: function 'basic_string<std::string_view, 0>' calls function '__init' here91 1155 | __init(__sv.data(), __sv.size());92 | ^93../src/daemon/reverse-registry.hh:57:36: note: frame #7: function 'registerWorker' calls function 'basic_string<std::string_view, 0>' here94 57 | auto & slot = sessions[std::string(workerId)];95 | ^96../tests/reverse-registry-test.cc:16:13: note: frame #8: function 'main' calls function 'registerWorker' here97 16 | assert(!registry.registerWorker("worker", "worker", [] -> void {})); // standby98 | ^99>>> /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.cc100../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]101 11 | auto main() -> int102 | ^103/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' here104 67 | throw bad_array_new_length();105 | ^106/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' here107 101 | std::__throw_bad_array_new_length();108 | ^109/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' here110 112 | return {allocate(__n), __n};111 | ^112/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<std::allocator<char>>' calls function 'allocate_at_least' here113 280 | return __alloc.allocate_at_least(__n);114 | ^115/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here116 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);117 | ^118/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<std::allocator<char>>' here119 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1);120 | ^121/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' here122 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); }123 | ^124../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here125 47 | std::string key(keyBytes, '\0');126 | ^127../tests/reverse-inbound-test.cc:18:16: note: frame #8: function 'main' calls function 'newKey' here128 18 | auto key = ReverseCapability::newKey();129 | ^130>>> /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.cc131../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]132 11 | auto main() -> int133 | ^134/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' here135 256 | throw out_of_range(__msg);136 | ^137/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' here138 1692 | std::__throw_out_of_range("unordered_map::at: key not found");139 | ^140../src/daemon/reverse-frames.hh:61:54: note: frame #2: function 'data' calls function 'at' here141 61 | if (closed || !streams.contains(streamId) || streams.at(streamId)) {142 | ^143../tests/reverse-frames-test.cc:24:13: note: frame #3: function 'main' calls function 'data' here144 24 | assert(!frames.data(2, "not opened"));145 | ^146>>> /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.cc147../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]148 36 | auto main() -> int149 | ^150/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' here151 67 | throw bad_array_new_length();152 | ^153/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' here154 101 | std::__throw_bad_array_new_length();155 | ^156/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' here157 112 | return {allocate(__n), __n};158 | ^159/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<std::allocator<char>>' calls function 'allocate_at_least' here160 280 | return __alloc.allocate_at_least(__n);161 | ^162/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here163 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);164 | ^165/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<std::allocator<char>>' here166 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1);167 | ^168/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' here169 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); }170 | ^171../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here172 47 | std::string key(keyBytes, '\0');173 | ^174../tests/reverse-upload-test.cc:38:16: note: frame #8: function 'main' calls function 'newKey' here175 38 | auto key = nixgrpc::ReverseCapability::newKey();176 | ^177>>> /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.cc178../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]179 110 | ~Release() {180 | ^181/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' here182 256 | throw out_of_range(__msg);183 | ^184/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' here185 1692 | std::__throw_out_of_range("unordered_map::at: key not found");186 | ^187../src/daemon/reverse-frames.hh:229:65: note: frame #2: function 'terminal' calls function 'at' here188 229 | if (closed || !streams.contains(streamId) || (!abort && streams.at(streamId))) {189 | ^190../src/daemon/reverse-frames.hh:102:53: note: frame #3: function 'cancel' calls function 'terminal' here191 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }192 | ^193../src/daemon/reverse-relay.hh:114:28: note: frame #4: function '~Release' calls function 'cancel' here194 114 | (void) transport.outgoing.cancel(streamId);195 | ^196>>> /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.cc197[1/1] (1/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc.198[1/1] (2/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc.199[1/1] (3/3) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/auth.cc.200>>> /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.cc201../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]202 24 | auto main() -> int203 | ^204/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' here205 67 | throw bad_array_new_length();206 | ^207/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' here208 101 | std::__throw_bad_array_new_length();209 | ^210/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' here211 112 | return {allocate(__n), __n};212 | ^213/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' calls function 'allocate_at_least' here214 280 | return __alloc.allocate_at_least(__n);215 | ^216/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' calls function 'allocate_at_least<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' here217 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);218 | ^219/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' here220 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);221 | ^222/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' calls function '__split_buffer' here223 1128 | __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), this->__alloc_);224 | ^225/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' calls function '__emplace_back_slow_path<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' here226 1150 | __end = __emplace_back_slow_path(std::forward<_Args>(__args)...);227 | ^228/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' here229 457 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_back(value_type&& __x) { emplace_back(std::move(__x)); }230 | ^231../src/daemon/reverse-registry.hh:134:21: note: frame #9: function 'setActive' calls function 'push_back' here232 134 | previous.push_back(std::move(session));233 | ^234../tests/reverse-roundtrip-test.cc:35:5: note: frame #10: function 'main' calls function 'setActive' here235 35 | registry.setActive(true);236 | ^237>>> /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.cc238../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]239 110 | ~Release() {240 | ^241/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' here242 67 | throw bad_array_new_length();243 | ^244/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' here245 101 | std::__throw_bad_array_new_length();246 | ^247/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' here248 112 | return {allocate(__n), __n};249 | ^250/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here251 280 | return __alloc.allocate_at_least(__n);252 | ^253/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here254 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);255 | ^256/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here257 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);258 | ^259/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here260 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);261 | ^262/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<nix::remote::ReverseFarmMsg *&>' here263 2178 | __map_.emplace_back(__pt);264 | ^265/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' here266 1605 | __add_back_capacity();267 | ^268../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here269 217 | queue.push_back(std::move(msg));270 | ^271../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here272 252 | if (!enqueue(std::move(msg))) {273 | ^274../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here275 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }276 | ^277../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here278 114 | (void) transport.outgoing.cancel(streamId);279 | ^280../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]281 29 | auto main() -> int282 | ^283/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' here284 67 | throw bad_array_new_length();285 | ^286/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' here287 101 | std::__throw_bad_array_new_length();288 | ^289/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' here290 259 | return __a.allocate(__n);291 | ^292/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<std::allocator<std::mutex>>' calls function 'allocate' here293 55 | __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important294 | ^295/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<std::mutex, std::allocator<std::mutex>, 0>' calls function '__allocation_guard<std::allocator<std::mutex>>' here296 735 | __allocation_guard<_ControlBlockAllocator> __guard(__a, 1);297 | ^298/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<std::mutex, 0>' calls function 'allocate_shared<std::mutex, std::allocator<std::mutex>, 0>' here299 744 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);300 | ^301/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<std::mutex, 0>' here302 222 | inline condition_variable_any::condition_variable_any() : __mut_(make_shared<mutex>()) {}303 | ^304../src/daemon/reverse-worker.hh:24:7: note: frame #7: function 'ReverseWorkerOutbound' calls function 'condition_variable_any' here305 24 | class ReverseWorkerOutbound306 | ^307../tests/reverse-worker-test.cc:31:36: note: frame #8: function 'main' calls function 'ReverseWorkerOutbound' here308 31 | nixgrpc::ReverseWorkerOutbound replies;309 | ^310>>> /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.cc311../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]312 28 | auto main() -> int313 | ^314/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' here315 67 | throw bad_array_new_length();316 | ^317/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' here318 101 | std::__throw_bad_array_new_length();319 | ^320/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' here321 112 | return {allocate(__n), __n};322 | ^323/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<std::allocator<char>>' calls function 'allocate_at_least' here324 280 | return __alloc.allocate_at_least(__n);325 | ^326/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here327 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);328 | ^329/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<std::allocator<char>>' here330 2603 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__n) + 1);331 | ^332/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' here333 1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); }334 | ^335../src/daemon/reverse-capability.hh:47:21: note: frame #7: function 'newKey' calls function 'basic_string' here336 47 | std::string key(keyBytes, '\0');337 | ^338../tests/reverse-capability-test.cc:33:16: note: frame #8: function 'main' calls function 'newKey' here339 33 | auto key = ReverseCapability::newKey();340 | ^341>>> /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.cc342../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]343 15 | auto main() -> int344 | ^345/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' here346 67 | throw bad_array_new_length();347 | ^348/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' here349 101 | std::__throw_bad_array_new_length();350 | ^351/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' here352 112 | return {allocate(__n), __n};353 | ^354/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<std::allocator<char>>' calls function 'allocate_at_least' here355 280 | return __alloc.allocate_at_least(__n);356 | ^357/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here358 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);359 | ^360/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<std::allocator<char>>' here361 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);362 | ^363/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' here364 1063 | __init(__s, traits_type::length(__s));365 | ^366../tests/dispatcher-session-test.cc:17:30: note: frame #7: function 'main' calls function 'basic_string<0>' here367 17 | nixgrpc::Metrics metrics{""};368 | ^369>>> /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.cc370../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]371 198 | *deferredDone = [this, drvPath, assignId, outcome, outputs, reason] -> void {372 | ^373/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' here374 67 | throw bad_array_new_length();375 | ^376/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' here377 101 | std::__throw_bad_array_new_length();378 | ^379/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' here380 112 | return {allocate(__n), __n};381 | ^382/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<std::allocator<char>>' calls function 'allocate_at_least' here383 280 | return __alloc.allocate_at_least(__n);384 | ^385/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here386 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);387 | ^388/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<std::allocator<char>>' here389 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);390 | ^391/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' here392 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());393 | ^394../src/daemon/coordinator.cc:198:29: note: frame #7: function '(lambda at ../src/daemon/coordinator.cc:198:29)' calls function 'basic_string' here395 198 | *deferredDone = [this, drvPath, assignId, outcome, outputs, reason] -> void {396 | ^397../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]398 471 | Coordinator::~Coordinator()399 | ^400/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' here401 67 | throw bad_array_new_length();402 | ^403/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' here404 101 | std::__throw_bad_array_new_length();405 | ^406/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' here407 112 | return {allocate(__n), __n};408 | ^409/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' calls function 'allocate_at_least' here410 280 | return __alloc.allocate_at_least(__n);411 | ^412/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' calls function 'allocate_at_least<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' here413 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);414 | ^415/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<std::allocator<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>>' here416 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);417 | ^418/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' calls function '__split_buffer' here419 1128 | __split_buffer<value_type, allocator_type&> __v(__recommend(size() + 1), size(), this->__alloc_);420 | ^421/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' calls function '__emplace_back_slow_path<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' here422 1150 | __end = __emplace_back_slow_path(std::forward<_Args>(__args)...);423 | ^424/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<std::shared_ptr<const nixgrpc::ReverseRegistry::Session>>' here425 457 | _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void push_back(value_type&& __x) { emplace_back(std::move(__x)); }426 | ^427../src/daemon/reverse-registry.hh:134:21: note: frame #9: function 'setActive' calls function 'push_back' here428 134 | previous.push_back(std::move(session));429 | ^430../src/daemon/coordinator.cc:474:5: note: frame #10: function '~Coordinator' calls function 'setActive' here431 474 | reverseRegistry.setActive(false);432 | ^433../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]434 110 | ~Release() {435 | ^436/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' here437 67 | throw bad_array_new_length();438 | ^439/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' here440 101 | std::__throw_bad_array_new_length();441 | ^442/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' here443 112 | return {allocate(__n), __n};444 | ^445/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here446 280 | return __alloc.allocate_at_least(__n);447 | ^448/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here449 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);450 | ^451/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here452 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);453 | ^454/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here455 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);456 | ^457/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<nix::remote::ReverseFarmMsg *&>' here458 2178 | __map_.emplace_back(__pt);459 | ^460/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' here461 1605 | __add_back_capacity();462 | ^463../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here464 217 | queue.push_back(std::move(msg));465 | ^466../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here467 252 | if (!enqueue(std::move(msg))) {468 | ^469../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here470 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }471 | ^472../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here473 114 | (void) transport.outgoing.cancel(streamId);474 | ^475>>> /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.cc476../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]477 22 | auto main() -> int478 | ^479/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' here480 67 | throw bad_array_new_length();481 | ^482/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' here483 101 | std::__throw_bad_array_new_length();484 | ^485/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' here486 259 | return __a.allocate(__n);487 | ^488/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<std::allocator<std::mutex>>' calls function 'allocate' here489 55 | __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important490 | ^491/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<std::mutex, std::allocator<std::mutex>, 0>' calls function '__allocation_guard<std::allocator<std::mutex>>' here492 735 | __allocation_guard<_ControlBlockAllocator> __guard(__a, 1);493 | ^494/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<std::mutex, 0>' calls function 'allocate_shared<std::mutex, std::allocator<std::mutex>, 0>' here495 744 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);496 | ^497/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<std::mutex, 0>' here498 222 | inline condition_variable_any::condition_variable_any() : __mut_(make_shared<mutex>()) {}499 | ^500../src/daemon/reverse-responses.hh:25:7: note: frame #7: function 'ReverseResponses' calls function 'condition_variable_any' here501 25 | class ReverseResponses502 | ^503../tests/reverse-responses-test.cc:24:31: note: frame #8: function 'main' calls function 'ReverseResponses' here504 24 | nixgrpc::ReverseResponses replies;505 | ^506>>> /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.cc507[1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/client/channel.cc.508[1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/client/channel.cc.509>>> /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.cc510../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]511 89 | ~Release() {512 | ^513/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' here514 67 | throw bad_array_new_length();515 | ^516/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' here517 101 | std::__throw_bad_array_new_length();518 | ^519/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' here520 112 | return {allocate(__n), __n};521 | ^522/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here523 280 | return __alloc.allocate_at_least(__n);524 | ^525/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here526 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);527 | ^528/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here529 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);530 | ^531/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here532 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);533 | ^534/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<nix::remote::ReverseFarmMsg *&>' here535 2178 | __map_.emplace_back(__pt);536 | ^537/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' here538 1605 | __add_back_capacity();539 | ^540../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here541 217 | queue.push_back(std::move(msg));542 | ^543../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here544 252 | if (!enqueue(std::move(msg))) {545 | ^546../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here547 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }548 | ^549../src/daemon/reverse-upload-relay.hh:91:28: note: frame #12: function '~Release' calls function 'cancel' here550 91 | (void) transport.outgoing.cancel(streamId);551 | ^552../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]553 87 | return relay.call(*ctx, [&, drv, assignId](uint64_t streamId) -> nixgrpc::ReverseGateway::Result {554 | ^555/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' here556 67 | throw bad_array_new_length();557 | ^558/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' here559 101 | std::__throw_bad_array_new_length();560 | ^561/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' here562 112 | return {allocate(__n), __n};563 | ^564/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<std::allocator<char>>' calls function 'allocate_at_least' here565 280 | return __alloc.allocate_at_least(__n);566 | ^567/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<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here568 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);569 | ^570/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<std::allocator<char>>' here571 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);572 | ^573/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' here574 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());575 | ^576../tests/reverse-gateway-test.cc:87:33: note: frame #7: function '(lambda at ../tests/reverse-gateway-test.cc:87:33)' calls function 'basic_string' here577 87 | return relay.call(*ctx, [&, drv, assignId](uint64_t streamId) -> nixgrpc::ReverseGateway::Result {578 | ^579>>> /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.cc580../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]581 785 | auto const assigned = [this, pod = *pod, drv, assignment] -> bool {582 | ^583/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' here584 244 | throw length_error(__msg);585 | ^586/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' here587 2473 | std::__throw_length_error("basic_string");588 | ^589/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' here590 2579 | this->__throw_length_error();591 | ^592/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' here593 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());594 | ^595../src/daemon/main.cc:785:35: note: frame #4: function '(lambda at ../src/daemon/main.cc:785:35)' calls function 'basic_string' here596 785 | auto const assigned = [this, pod = *pod, drv, assignment] -> bool {597 | ^598../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]599 110 | ~Release() {600 | ^601/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' here602 67 | throw bad_array_new_length();603 | ^604/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' here605 101 | std::__throw_bad_array_new_length();606 | ^607/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' here608 112 | return {allocate(__n), __n};609 | ^610/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here611 280 | return __alloc.allocate_at_least(__n);612 | ^613/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here614 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);615 | ^616/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here617 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);618 | ^619/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here620 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);621 | ^622/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<nix::remote::ReverseFarmMsg *&>' here623 2178 | __map_.emplace_back(__pt);624 | ^625/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' here626 1605 | __add_back_capacity();627 | ^628../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here629 217 | queue.push_back(std::move(msg));630 | ^631../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here632 252 | if (!enqueue(std::move(msg))) {633 | ^634../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here635 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }636 | ^637../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here638 114 | (void) transport.outgoing.cancel(streamId);639 | ^640../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]641 150 | ~Cleanup()642 | ^643/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' here644 74 | throw bad_function_call();645 | ^646/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' here647 273 | std::__throw_bad_function_call();648 | ^649/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()' here650 772 | return __f_(std::forward<_ArgTypes>(__arg)...);651 | ^652../src/daemon/reverse-registry.hh:121:32: note: frame #3: function 'disconnected' calls function 'operator()' here653 121 | removed->cancel();654 | ^655../src/daemon/reverse-session.hh:153:17: note: frame #4: function '~Cleanup' calls function 'disconnected' here656 153 | registry.disconnected(handle, false);657 | ^658../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]659 89 | ~Release() {660 | ^661/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' here662 67 | throw bad_array_new_length();663 | ^664/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' here665 101 | std::__throw_bad_array_new_length();666 | ^667/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' here668 112 | return {allocate(__n), __n};669 | ^670/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here671 280 | return __alloc.allocate_at_least(__n);672 | ^673/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here674 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);675 | ^676/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here677 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);678 | ^679/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here680 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);681 | ^682/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<nix::remote::ReverseFarmMsg *&>' here683 2178 | __map_.emplace_back(__pt);684 | ^685/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' here686 1605 | __add_back_capacity();687 | ^688../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here689 217 | queue.push_back(std::move(msg));690 | ^691../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here692 252 | if (!enqueue(std::move(msg))) {693 | ^694../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here695 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }696 | ^697../src/daemon/reverse-upload-relay.hh:91:28: note: frame #12: function '~Release' calls function 'cancel' here698 91 | (void) transport.outgoing.cancel(streamId);699 | ^700>>> /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.cc701[1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/sbpl.cc.702[1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/sbpl.cc.703>>> /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.cc704../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]705 110 | ~Release() {706 | ^707/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' here708 67 | throw bad_array_new_length();709 | ^710/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' here711 101 | std::__throw_bad_array_new_length();712 | ^713/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' here714 112 | return {allocate(__n), __n};715 | ^716/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here717 280 | return __alloc.allocate_at_least(__n);718 | ^719/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here720 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);721 | ^722/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here723 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);724 | ^725/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here726 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);727 | ^728/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<nix::remote::ReverseFarmMsg *&>' here729 2178 | __map_.emplace_back(__pt);730 | ^731/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' here732 1605 | __add_back_capacity();733 | ^734../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here735 217 | queue.push_back(std::move(msg));736 | ^737../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here738 252 | if (!enqueue(std::move(msg))) {739 | ^740../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here741 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }742 | ^743../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here744 114 | (void) transport.outgoing.cancel(streamId);745 | ^746../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]747 150 | ~Cleanup()748 | ^749/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' here750 74 | throw bad_function_call();751 | ^752/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' here753 273 | std::__throw_bad_function_call();754 | ^755/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()' here756 772 | return __f_(std::forward<_ArgTypes>(__arg)...);757 | ^758../src/daemon/reverse-registry.hh:121:32: note: frame #3: function 'disconnected' calls function 'operator()' here759 121 | removed->cancel();760 | ^761../src/daemon/reverse-session.hh:153:17: note: frame #4: function '~Cleanup' calls function 'disconnected' here762 153 | registry.disconnected(handle, false);763 | ^764>>> /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.cc765Errors encountered while running clang-tidy766[1/1] (1/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/scheduler-service.cc.767[1/1] (2/2) Processing file /private/var/tb/3/scratch/37e3447bd6ae25b2/build/source/src/daemon/scheduler-service.cc.768../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]769 110 | ~Release() {770 | ^771/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' here772 67 | throw bad_array_new_length();773 | ^774/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' here775 101 | std::__throw_bad_array_new_length();776 | ^777/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' here778 112 | return {allocate(__n), __n};779 | ^780/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least' here781 280 | return __alloc.allocate_at_least(__n);782 | ^783/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<std::allocator<nix::remote::ReverseFarmMsg *>>' calls function 'allocate_at_least<std::allocator<nix::remote::ReverseFarmMsg *>>' here784 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);785 | ^786/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<std::allocator<nix::remote::ReverseFarmMsg *>>' here787 330 | auto __allocation = std::__allocate_at_least(__alloc_, __cap);788 | ^789/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__split_buffer:465:47: note: frame #6: function 'emplace_back<nix::remote::ReverseFarmMsg *&>' calls function '__split_buffer' here790 465 | __split_buffer<value_type, __alloc_rr&> __t(__c, __c / 4, __alloc_);791 | ^792/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<nix::remote::ReverseFarmMsg *&>' here793 2178 | __map_.emplace_back(__pt);794 | ^795/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' here796 1605 | __add_back_capacity();797 | ^798../src/daemon/reverse-frames.hh:217:9: note: frame #9: function 'enqueue' calls function 'push_back' here799 217 | queue.push_back(std::move(msg));800 | ^801../src/daemon/reverse-frames.hh:252:14: note: frame #10: function 'terminal' calls function 'enqueue' here802 252 | if (!enqueue(std::move(msg))) {803 | ^804../src/daemon/reverse-frames.hh:102:53: note: frame #11: function 'cancel' calls function 'terminal' here805 102 | auto cancel(uint64_t streamId) -> bool { return terminal(streamId, true); }806 | ^807../src/daemon/reverse-relay.hh:114:28: note: frame #12: function '~Release' calls function 'cancel' here808 114 | (void) transport.outgoing.cancel(streamId);809 | ^810FAILED: [code=1] meson-internal__clang-tidy 811/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 always812ninja: build stopped: subcommand failed.