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