tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/rabxxqzj01svzbqr2ldqfdk97g62190y-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-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/6/scratch/1ee8064b8e5b2a41/build/source Build dir: /private/var/tb/6/scratch/1ee8064b8e5b2a41/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 libssl 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 Library bz2 found: YES 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/6/scratch/1ee8064b8e5b2a41/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/tests/oidc-test.sh) Build targets in project: 31 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/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/bin buildtype : plain includedir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/include infodir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/info libdir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/lib libexecdir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/libexec localedir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/locale mandir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/man prefix : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3 sbindir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-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 nix_remote_proto with a custom command [2/2] Generating eds_proto with a custom command [0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build --color always >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/tests/tunnel-test.cc ../tests/tunnel-test.cc:233:43: error: an exception may be thrown in function '(lambda at ../tests/tunnel-test.cc:233:43)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen { | ^ /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/tunnel-test.cc:233:43: note: frame #7: function '(lambda at ../tests/tunnel-test.cc:233:43)' calls function 'basic_string' here 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen { | ^ ../tests/tunnel-test.cc:283:37: error: 50ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 283 | std::this_thread::sleep_for(50ms); | ^ ../tests/tunnel-test.cc:354:33: error: 100ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 354 | std::this_thread::sleep_for(100ms); | ^ ../tests/tunnel-test.cc:377:41: error: 50ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 377 | std::this_thread::sleep_for(50ms); | ^ ../tests/tunnel-test.cc:385:41: error: 200ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 385 | std::this_thread::sleep_for(200ms); | ^ ../tests/tunnel-test.cc:399:26: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors] 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0); | ^ ../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:295:22: note: Assuming the condition is false 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0; | ^~~~ ../tests/tunnel-test.cc:295:22: note: '?' condition is false ../tests/tunnel-test.cc:296:11: note: 'got' is <= 0 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); | ^~~ ../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); | ^ ../tests/tunnel-test.cc:298:23: note: Calling 'future::get' 298 | const auto seen = peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:298:23: note: Returning from 'future::get' 298 | const auto seen = peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer' 512 | a_refused_tunnel_reports_the_balancers_answer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:313:12: note: Calling 'future::get' 313 | (void) peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:313:12: note: Returning from 'future::get' 313 | (void) peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer' 512 | a_refused_tunnel_reports_the_balancers_answer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted' 513 | a_balancer_with_another_name_is_not_trusted(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:322:12: note: Calling 'future::get' 322 | (void) peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:322:12: note: Returning from 'future::get' 322 | (void) peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted' 513 | a_balancer_with_another_name_is_not_trusted(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends' 514 | the_watcher_sees_every_way_a_connection_ends(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:366:11: note: Calling 'watching' 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:366:11: note: Returning from 'watching' 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:368:9: note: Calling 'watching' 368 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 371 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:368:9: note: Returning from 'watching' 368 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 371 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:375:9: note: Calling 'watching' 375 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 377 | std::this_thread::sleep_for(50ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 379 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 380 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:375:9: note: Returning from 'watching' 375 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 377 | std::this_thread::sleep_for(50ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 379 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 380 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:383:9: note: Calling 'watching' 383 | watching([](Pair & pair, const Wake & stop) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | std::this_thread::sleep_for(200ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | stop.set(); | ~~~~~~~~~~~ 387 | }) == End::stopped, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:383:9: note: Returning from 'watching' 383 | watching([](Pair & pair, const Wake & stop) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | std::this_thread::sleep_for(200ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | stop.set(); | ~~~~~~~~~~~ 387 | }) == End::stopped, | ~~ ../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends' 514 | the_watcher_sees_every_way_a_connection_ends(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself' 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:478:11: note: Calling 'Tunnel::ended' 478 | check(any.ended(), "the tunnel for any builder is cut although it was in use"); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:399:26: note: Call to blocking function 'recv' inside of critical section 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:442:41: error: 10ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 442 | std::this_thread::sleep_for(10ms); | ^ ../tests/tunnel-test.cc:479:22: error: 700ms is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers,-warnings-as-errors] 479 | check(!held.next(700ms), "and not opened again"); | ^ ../tests/tunnel-test.cc:482:9: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors] 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN, | ^ ../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:295:22: note: Assuming the condition is false 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0; | ^~~~ ../tests/tunnel-test.cc:295:22: note: '?' condition is false ../tests/tunnel-test.cc:296:11: note: 'got' is <= 0 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); | ^~~ ../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); | ^ ../tests/tunnel-test.cc:298:23: note: Calling 'future::get' 298 | const auto seen = peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:298:23: note: Returning from 'future::get' 298 | const auto seen = peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer' 512 | a_refused_tunnel_reports_the_balancers_answer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:313:12: note: Calling 'future::get' 313 | (void) peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:313:12: note: Returning from 'future::get' 313 | (void) peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer' 512 | a_refused_tunnel_reports_the_balancers_answer(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted' 513 | a_balancer_with_another_name_is_not_trusted(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:322:12: note: Calling 'future::get' 322 | (void) peer.get(); | ^~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:322:12: note: Returning from 'future::get' 322 | (void) peer.get(); | ^~~~~~~~~~ ../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted' 513 | a_balancer_with_another_name_is_not_trusted(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends' 514 | the_watcher_sees_every_way_a_connection_ends(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:366:11: note: Calling 'watching' 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:366:11: note: Returning from 'watching' 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:368:9: note: Calling 'watching' 368 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 371 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:368:9: note: Returning from 'watching' 368 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 369 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 370 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 371 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:375:9: note: Calling 'watching' 375 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 377 | std::this_thread::sleep_for(50ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 379 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 380 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:375:9: note: Returning from 'watching' 375 | watching([](Pair & pair, const Wake &) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 377 | std::this_thread::sleep_for(50ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | shutdown(pair.ours.get(), SHUT_RDWR); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 379 | pair.ours.close(); | ~~~~~~~~~~~~~~~~~~ 380 | }) == End::closed, | ~~ ../tests/tunnel-test.cc:383:9: note: Calling 'watching' 383 | watching([](Pair & pair, const Wake & stop) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | std::this_thread::sleep_for(200ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | stop.set(); | ~~~~~~~~~~~ 387 | }) == End::stopped, | ~~ ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' 565 | unique_lock __lk(__mut_); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false 566 | if (__state_ & deferred) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch 566 | if (__state_ & deferred) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch 570 | if (__state_ & ready) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' 580 | return wait_until(chrono::steady_clock::now() + __rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' 959 | return __state_->wait_for(__rel_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:356:5: note: Taking false branch 356 | if (result.wait_for(2s) != std::future_status::ready) { | ^ ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here 40 | __m_->lock(); | ^~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' 637 | unique_lock __lk(this->__mut_); | ^~~~~~~~~~~~~~~~~~ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch 639 | if (this->__exception_ != nullptr) | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' 987 | return __s->move(); | ^~~~~~~~~~~ ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' 361 | return result.get(); | ^~~~~~~~~~~~ ../tests/tunnel-test.cc:383:9: note: Returning from 'watching' 383 | watching([](Pair & pair, const Wake & stop) -> void { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | std::this_thread::sleep_for(200ms); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 386 | stop.set(); | ~~~~~~~~~~~ 387 | }) == End::stopped, | ~~ ../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends' 514 | the_watcher_sees_every_way_a_connection_ends(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself' 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:482:9: note: Call to blocking function 'recv' inside of critical section 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc. [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc. ../src/daemon/tunnel.cc:403:5: error: variable 'queue' of type 'nix::AutoCloseFD' can be declared 'const' [misc-const-correctness,-warnings-as-errors] 403 | nix::AutoCloseFD queue{kqueue()}; | ^ | const ../src/daemon/tunnel.cc:408:12: error: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer,-warnings-as-errors] 408 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr); | ^~~~~~~ | add.data() /nix/store/svkkgla6ini4hg035ka7wb8idm301r1i-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/event.h:108:29: note: expanded from macro 'EV_SET' 108 | struct kevent *__kevp__ = (kevp); \ | ^ ../src/daemon/tunnel.cc:408:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 408 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr); | ^ /nix/store/svkkgla6ini4hg035ka7wb8idm301r1i-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/event.h:108:29: note: expanded from macro 'EV_SET' 108 | struct kevent *__kevp__ = (kevp); \ | ^~~~ ../src/daemon/tunnel.cc:409:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] 409 | EV_SET(&add[1], stop.fd(), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, nullptr); | ^ /nix/store/svkkgla6ini4hg035ka7wb8idm301r1i-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/event.h:108:29: note: expanded from macro 'EV_SET' 108 | struct kevent *__kevp__ = (kevp); \ | ^~~~ ../src/daemon/tunnel.cc:422:13: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] 38 | if (event.ident == static_cast(stop.fd())) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | std::cmp_equal( , ) >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc. [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc. >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc. [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc. >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc Errors encountered while running clang-tidy [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc. [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc. FAILED: [code=1] meson-internal__clang-tidy /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build --color always ninja: build stopped: subcommand failed.