nix-grpc-store-clang-tidy-0.2.3
checks.aarch64-darwin.clang-tidy
· build #937
· raw
1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/vsvaajcmvff6p5p500xm4rj6n0i9szp1-source3source root is sourceconfigurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.12.17Source dir: /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source8Build dir: /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.2.313C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld64 956.615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.019Run-time dependency protobuf found: YES 36.2.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.5.923Run-time dependency libssl found: YES 3.5.924Run-time dependency prometheus-cpp-core found: YES 1.3.025Run-time dependency prometheus-cpp-pull found: YES 1.3.026Run-time dependency absl_flat_hash_map found: YES 2026081727Run-time dependency absl_hash found: YES 2026081728Run-time dependency absl_synchronization found: YES 2026081729Compiler for C++ supports arguments -Werror=thread-safety: YES 30Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b751631Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b751632Run-time dependency jemalloc found: YES 5.4.0_033Run-time dependency libcurl found: YES 8.22.034Run-time dependency nlohmann_json found: YES 3.12.035Library bz2 found: YES36Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 37Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 38Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc)39Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin)40Run-time dependency dl found: YES41Program tests/farm-client-test.sh found: YES (/private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/tests/farm-client-test.sh)42Program tests/oidc-test.sh found: YES (/private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/tests/oidc-test.sh)43Build targets in project: 3144WARNING: Project specifies no minimum version but uses features which were added in versions:45 * 1.1: {'meson.options file'}4647nix-grpc-store 0.2.34849 User defined options50 auto_features: enabled51 b_pch : false52 bindir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/bin53 buildtype : plain54 includedir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/include55 infodir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/info56 libdir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/lib57 libexecdir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/libexec58 localedir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/locale59 mandir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/share/man60 prefix : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.361 sbindir : /nix/store/8aqmqr7d1kvr83x16p03pxcgq62p5cx2-nix-grpc-store-clang-tidy-0.2.3/sbin62 wrap_mode : nodownload6364Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja65mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
66[1/2] Generating nix_remote_proto with a custom command67[2/2] Generating eds_proto with a custom command68[0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build --color always69>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/tests/tunnel-test.cc70../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]71 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen {72 | ^73/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' here74 67 | throw bad_array_new_length();75 | ^76/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' here77 101 | std::__throw_bad_array_new_length();78 | ^79/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' here80 112 | return {allocate(__n), __n};81 | ^82/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here83 280 | return __alloc.allocate_at_least(__n);84 | ^85/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here86 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);87 | ^88/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least<std::allocator<char>>' here89 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);90 | ^91/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' here92 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());93 | ^94../tests/tunnel-test.cc:233:43: note: frame #7: function '(lambda at ../tests/tunnel-test.cc:233:43)' calls function 'basic_string' here95 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen {96 | ^97../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]98 283 | std::this_thread::sleep_for(50ms);99 | ^100../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]101 354 | std::this_thread::sleep_for(100ms);102 | ^103../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]104 377 | std::this_thread::sleep_for(50ms);105 | ^106../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]107 385 | std::this_thread::sleep_for(200ms);108 | ^109../tests/tunnel-test.cc:399:26: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors]110 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0);111 | ^112../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request'113 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request();114 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~115../tests/tunnel-test.cc:295:22: note: Assuming the condition is false116 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0;117 | ^~~~118../tests/tunnel-test.cc:295:22: note: '?' condition is false119../tests/tunnel-test.cc:296:11: note: 'got' is <= 0120 296 | check(got > 0 && std::string_view(buf.data(), static_cast<size_t>(got)) == hello, "the request's first bytes are left unread");121 | ^~~122../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false123 296 | check(got > 0 && std::string_view(buf.data(), static_cast<size_t>(got)) == hello, "the request's first bytes are left unread");124 | ^125../tests/tunnel-test.cc:298:23: note: Calling 'future::get'126 298 | const auto seen = peer.get();127 | ^~~~~~~~~~128/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'129 987 | return __s->move();130 | ^~~~~~~~~~~131/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'132 637 | unique_lock<mutex> __lk(this->__mut_);133 | ^~~~~~~~~~~~~~~~~~134/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here135 40 | __m_->lock();136 | ^~~~~~~~~~~~137/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'138 637 | unique_lock<mutex> __lk(this->__mut_);139 | ^~~~~~~~~~~~~~~~~~140/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch141 639 | if (this->__exception_ != nullptr)142 | ^143/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'144 987 | return __s->move();145 | ^~~~~~~~~~~146../tests/tunnel-test.cc:298:23: note: Returning from 'future::get'147 298 | const auto seen = peer.get();148 | ^~~~~~~~~~149../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request'150 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request();151 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~152../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer'153 512 | a_refused_tunnel_reports_the_balancers_answer();154 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~155../tests/tunnel-test.cc:313:12: note: Calling 'future::get'156 313 | (void) peer.get();157 | ^~~~~~~~~~158/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'159 987 | return __s->move();160 | ^~~~~~~~~~~161/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'162 637 | unique_lock<mutex> __lk(this->__mut_);163 | ^~~~~~~~~~~~~~~~~~164/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here165 40 | __m_->lock();166 | ^~~~~~~~~~~~167/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'168 637 | unique_lock<mutex> __lk(this->__mut_);169 | ^~~~~~~~~~~~~~~~~~170/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch171 639 | if (this->__exception_ != nullptr)172 | ^173/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'174 987 | return __s->move();175 | ^~~~~~~~~~~176../tests/tunnel-test.cc:313:12: note: Returning from 'future::get'177 313 | (void) peer.get();178 | ^~~~~~~~~~179../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer'180 512 | a_refused_tunnel_reports_the_balancers_answer();181 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~182../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted'183 513 | a_balancer_with_another_name_is_not_trusted();184 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~185../tests/tunnel-test.cc:322:12: note: Calling 'future::get'186 322 | (void) peer.get();187 | ^~~~~~~~~~188/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'189 987 | return __s->move();190 | ^~~~~~~~~~~191/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'192 637 | unique_lock<mutex> __lk(this->__mut_);193 | ^~~~~~~~~~~~~~~~~~194/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here195 40 | __m_->lock();196 | ^~~~~~~~~~~~197/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'198 637 | unique_lock<mutex> __lk(this->__mut_);199 | ^~~~~~~~~~~~~~~~~~200/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch201 639 | if (this->__exception_ != nullptr)202 | ^203/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'204 987 | return __s->move();205 | ^~~~~~~~~~~206../tests/tunnel-test.cc:322:12: note: Returning from 'future::get'207 322 | (void) peer.get();208 | ^~~~~~~~~~209../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted'210 513 | a_balancer_with_another_name_is_not_trusted();211 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~212../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends'213 514 | the_watcher_sees_every_way_a_connection_ends();214 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~215../tests/tunnel-test.cc:366:11: note: Calling 'watching'216 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes");217 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~218../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'219 356 | if (result.wait_for(2s) != std::future_status::ready) {220 | ^~~~~~~~~~~~~~~~~~~221/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'222 959 | return __state_->wait_for(__rel_time);223 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~224/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'225 580 | return wait_until(chrono::steady_clock::now() + __rel_time);226 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~227/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'228 565 | unique_lock<mutex> __lk(__mut_);229 | ^~~~~~~~~~~~230/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here231 40 | __m_->lock();232 | ^~~~~~~~~~~~233/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'234 565 | unique_lock<mutex> __lk(__mut_);235 | ^~~~~~~~~~~~236/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false237 566 | if (__state_ & deferred)238 | ^~~~~~~~~~~~~~~~~~~239/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch240 566 | if (__state_ & deferred)241 | ^242/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false243 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)244 | ^~~~~~~~~~~~~~~~~~~245/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false246 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)247 | ^248/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 570249 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)250 | ^251/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch252 570 | if (__state_ & ready)253 | ^254/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'255 580 | return wait_until(chrono::steady_clock::now() + __rel_time);256 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~257/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'258 959 | return __state_->wait_for(__rel_time);259 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~260../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'261 356 | if (result.wait_for(2s) != std::future_status::ready) {262 | ^~~~~~~~~~~~~~~~~~~263../tests/tunnel-test.cc:356:5: note: Taking false branch264 356 | if (result.wait_for(2s) != std::future_status::ready) {265 | ^266../tests/tunnel-test.cc:361:12: note: Calling 'future::get'267 361 | return result.get();268 | ^~~~~~~~~~~~269/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'270 987 | return __s->move();271 | ^~~~~~~~~~~272/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'273 637 | unique_lock<mutex> __lk(this->__mut_);274 | ^~~~~~~~~~~~~~~~~~275/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here276 40 | __m_->lock();277 | ^~~~~~~~~~~~278/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'279 637 | unique_lock<mutex> __lk(this->__mut_);280 | ^~~~~~~~~~~~~~~~~~281/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch282 639 | if (this->__exception_ != nullptr)283 | ^284/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'285 987 | return __s->move();286 | ^~~~~~~~~~~287../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'288 361 | return result.get();289 | ^~~~~~~~~~~~290../tests/tunnel-test.cc:366:11: note: Returning from 'watching'291 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes");292 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~293../tests/tunnel-test.cc:368:9: note: Calling 'watching'294 368 | watching([](Pair & pair, const Wake &) -> void {295 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~296 369 | shutdown(pair.ours.get(), SHUT_RDWR);297 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~298 370 | pair.ours.close();299 | ~~~~~~~~~~~~~~~~~~300 371 | }) == End::closed,301 | ~~302../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'303 356 | if (result.wait_for(2s) != std::future_status::ready) {304 | ^~~~~~~~~~~~~~~~~~~305/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'306 959 | return __state_->wait_for(__rel_time);307 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~308/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'309 580 | return wait_until(chrono::steady_clock::now() + __rel_time);310 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'312 565 | unique_lock<mutex> __lk(__mut_);313 | ^~~~~~~~~~~~314/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here315 40 | __m_->lock();316 | ^~~~~~~~~~~~317/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'318 565 | unique_lock<mutex> __lk(__mut_);319 | ^~~~~~~~~~~~320/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false321 566 | if (__state_ & deferred)322 | ^~~~~~~~~~~~~~~~~~~323/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch324 566 | if (__state_ & deferred)325 | ^326/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false327 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)328 | ^~~~~~~~~~~~~~~~~~~329/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false330 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)331 | ^332/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 570333 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)334 | ^335/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch336 570 | if (__state_ & ready)337 | ^338/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'339 580 | return wait_until(chrono::steady_clock::now() + __rel_time);340 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~341/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'342 959 | return __state_->wait_for(__rel_time);343 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~344../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'345 356 | if (result.wait_for(2s) != std::future_status::ready) {346 | ^~~~~~~~~~~~~~~~~~~347../tests/tunnel-test.cc:356:5: note: Taking false branch348 356 | if (result.wait_for(2s) != std::future_status::ready) {349 | ^350../tests/tunnel-test.cc:361:12: note: Calling 'future::get'351 361 | return result.get();352 | ^~~~~~~~~~~~353/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'354 987 | return __s->move();355 | ^~~~~~~~~~~356/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'357 637 | unique_lock<mutex> __lk(this->__mut_);358 | ^~~~~~~~~~~~~~~~~~359/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here360 40 | __m_->lock();361 | ^~~~~~~~~~~~362/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'363 637 | unique_lock<mutex> __lk(this->__mut_);364 | ^~~~~~~~~~~~~~~~~~365/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch366 639 | if (this->__exception_ != nullptr)367 | ^368/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'369 987 | return __s->move();370 | ^~~~~~~~~~~371../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'372 361 | return result.get();373 | ^~~~~~~~~~~~374../tests/tunnel-test.cc:368:9: note: Returning from 'watching'375 368 | watching([](Pair & pair, const Wake &) -> void {376 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~377 369 | shutdown(pair.ours.get(), SHUT_RDWR);378 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~379 370 | pair.ours.close();380 | ~~~~~~~~~~~~~~~~~~381 371 | }) == End::closed,382 | ~~383../tests/tunnel-test.cc:375:9: note: Calling 'watching'384 375 | watching([](Pair & pair, const Wake &) -> void {385 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~386 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);387 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~388 377 | std::this_thread::sleep_for(50ms);389 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~390 378 | shutdown(pair.ours.get(), SHUT_RDWR);391 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~392 379 | pair.ours.close();393 | ~~~~~~~~~~~~~~~~~~394 380 | }) == End::closed,395 | ~~396../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'397 356 | if (result.wait_for(2s) != std::future_status::ready) {398 | ^~~~~~~~~~~~~~~~~~~399/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'400 959 | return __state_->wait_for(__rel_time);401 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~402/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'403 580 | return wait_until(chrono::steady_clock::now() + __rel_time);404 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~405/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'406 565 | unique_lock<mutex> __lk(__mut_);407 | ^~~~~~~~~~~~408/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here409 40 | __m_->lock();410 | ^~~~~~~~~~~~411/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'412 565 | unique_lock<mutex> __lk(__mut_);413 | ^~~~~~~~~~~~414/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false415 566 | if (__state_ & deferred)416 | ^~~~~~~~~~~~~~~~~~~417/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch418 566 | if (__state_ & deferred)419 | ^420/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false421 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)422 | ^~~~~~~~~~~~~~~~~~~423/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false424 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)425 | ^426/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 570427 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)428 | ^429/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch430 570 | if (__state_ & ready)431 | ^432/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'433 580 | return wait_until(chrono::steady_clock::now() + __rel_time);434 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~435/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'436 959 | return __state_->wait_for(__rel_time);437 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~438../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'439 356 | if (result.wait_for(2s) != std::future_status::ready) {440 | ^~~~~~~~~~~~~~~~~~~441../tests/tunnel-test.cc:356:5: note: Taking false branch442 356 | if (result.wait_for(2s) != std::future_status::ready) {443 | ^444../tests/tunnel-test.cc:361:12: note: Calling 'future::get'445 361 | return result.get();446 | ^~~~~~~~~~~~447/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'448 987 | return __s->move();449 | ^~~~~~~~~~~450/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'451 637 | unique_lock<mutex> __lk(this->__mut_);452 | ^~~~~~~~~~~~~~~~~~453/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here454 40 | __m_->lock();455 | ^~~~~~~~~~~~456/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'457 637 | unique_lock<mutex> __lk(this->__mut_);458 | ^~~~~~~~~~~~~~~~~~459/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch460 639 | if (this->__exception_ != nullptr)461 | ^462/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'463 987 | return __s->move();464 | ^~~~~~~~~~~465../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'466 361 | return result.get();467 | ^~~~~~~~~~~~468../tests/tunnel-test.cc:375:9: note: Returning from 'watching'469 375 | watching([](Pair & pair, const Wake &) -> void {470 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~471 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);472 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~473 377 | std::this_thread::sleep_for(50ms);474 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~475 378 | shutdown(pair.ours.get(), SHUT_RDWR);476 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~477 379 | pair.ours.close();478 | ~~~~~~~~~~~~~~~~~~479 380 | }) == End::closed,480 | ~~481../tests/tunnel-test.cc:383:9: note: Calling 'watching'482 383 | watching([](Pair & pair, const Wake & stop) -> void {483 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~484 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);485 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~486 385 | std::this_thread::sleep_for(200ms);487 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~488 386 | stop.set();489 | ~~~~~~~~~~~490 387 | }) == End::stopped,491 | ~~492../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'493 356 | if (result.wait_for(2s) != std::future_status::ready) {494 | ^~~~~~~~~~~~~~~~~~~495/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'496 959 | return __state_->wait_for(__rel_time);497 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~498/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'499 580 | return wait_until(chrono::steady_clock::now() + __rel_time);500 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~501/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'502 565 | unique_lock<mutex> __lk(__mut_);503 | ^~~~~~~~~~~~504/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here505 40 | __m_->lock();506 | ^~~~~~~~~~~~507/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'508 565 | unique_lock<mutex> __lk(__mut_);509 | ^~~~~~~~~~~~510/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false511 566 | if (__state_ & deferred)512 | ^~~~~~~~~~~~~~~~~~~513/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch514 566 | if (__state_ & deferred)515 | ^516/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false517 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)518 | ^~~~~~~~~~~~~~~~~~~519/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false520 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)521 | ^522/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 570523 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)524 | ^525/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch526 570 | if (__state_ & ready)527 | ^528/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'529 580 | return wait_until(chrono::steady_clock::now() + __rel_time);530 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~531/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'532 959 | return __state_->wait_for(__rel_time);533 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~534../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'535 356 | if (result.wait_for(2s) != std::future_status::ready) {536 | ^~~~~~~~~~~~~~~~~~~537../tests/tunnel-test.cc:356:5: note: Taking false branch538 356 | if (result.wait_for(2s) != std::future_status::ready) {539 | ^540../tests/tunnel-test.cc:361:12: note: Calling 'future::get'541 361 | return result.get();542 | ^~~~~~~~~~~~543/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'544 987 | return __s->move();545 | ^~~~~~~~~~~546/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'547 637 | unique_lock<mutex> __lk(this->__mut_);548 | ^~~~~~~~~~~~~~~~~~549/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here550 40 | __m_->lock();551 | ^~~~~~~~~~~~552/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'553 637 | unique_lock<mutex> __lk(this->__mut_);554 | ^~~~~~~~~~~~~~~~~~555/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch556 639 | if (this->__exception_ != nullptr)557 | ^558/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'559 987 | return __s->move();560 | ^~~~~~~~~~~561../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'562 361 | return result.get();563 | ^~~~~~~~~~~~564../tests/tunnel-test.cc:383:9: note: Returning from 'watching'565 383 | watching([](Pair & pair, const Wake & stop) -> void {566 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~567 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);568 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~569 385 | std::this_thread::sleep_for(200ms);570 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~571 386 | stop.set();572 | ~~~~~~~~~~~573 387 | }) == End::stopped,574 | ~~575../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends'576 514 | the_watcher_sees_every_way_a_connection_ends();577 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~578../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself'579 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself();580 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~581../tests/tunnel-test.cc:478:11: note: Calling 'Tunnel::ended'582 478 | check(any.ended(), "the tunnel for any builder is cut although it was in use");583 | ^~~~~~~~~~~584../tests/tunnel-test.cc:399:26: note: Call to blocking function 'recv' inside of critical section585 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0);586 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~587../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]588 442 | std::this_thread::sleep_for(10ms);589 | ^590../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]591 479 | check(!held.next(700ms), "and not opened again");592 | ^593../tests/tunnel-test.cc:482:9: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors]594 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN,595 | ^596../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request'597 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request();598 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~599../tests/tunnel-test.cc:295:22: note: Assuming the condition is false600 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0;601 | ^~~~602../tests/tunnel-test.cc:295:22: note: '?' condition is false603../tests/tunnel-test.cc:296:11: note: 'got' is <= 0604 296 | check(got > 0 && std::string_view(buf.data(), static_cast<size_t>(got)) == hello, "the request's first bytes are left unread");605 | ^~~606../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false607 296 | check(got > 0 && std::string_view(buf.data(), static_cast<size_t>(got)) == hello, "the request's first bytes are left unread");608 | ^609../tests/tunnel-test.cc:298:23: note: Calling 'future::get'610 298 | const auto seen = peer.get();611 | ^~~~~~~~~~612/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'613 987 | return __s->move();614 | ^~~~~~~~~~~615/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'616 637 | unique_lock<mutex> __lk(this->__mut_);617 | ^~~~~~~~~~~~~~~~~~618/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here619 40 | __m_->lock();620 | ^~~~~~~~~~~~621/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'622 637 | unique_lock<mutex> __lk(this->__mut_);623 | ^~~~~~~~~~~~~~~~~~624/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch625 639 | if (this->__exception_ != nullptr)626 | ^627/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'628 987 | return __s->move();629 | ^~~~~~~~~~~630../tests/tunnel-test.cc:298:23: note: Returning from 'future::get'631 298 | const auto seen = peer.get();632 | ^~~~~~~~~~633../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request'634 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request();635 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~636../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer'637 512 | a_refused_tunnel_reports_the_balancers_answer();638 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~639../tests/tunnel-test.cc:313:12: note: Calling 'future::get'640 313 | (void) peer.get();641 | ^~~~~~~~~~642/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'643 987 | return __s->move();644 | ^~~~~~~~~~~645/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'646 637 | unique_lock<mutex> __lk(this->__mut_);647 | ^~~~~~~~~~~~~~~~~~648/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here649 40 | __m_->lock();650 | ^~~~~~~~~~~~651/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'652 637 | unique_lock<mutex> __lk(this->__mut_);653 | ^~~~~~~~~~~~~~~~~~654/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch655 639 | if (this->__exception_ != nullptr)656 | ^657/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'658 987 | return __s->move();659 | ^~~~~~~~~~~660../tests/tunnel-test.cc:313:12: note: Returning from 'future::get'661 313 | (void) peer.get();662 | ^~~~~~~~~~663../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer'664 512 | a_refused_tunnel_reports_the_balancers_answer();665 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~666../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted'667 513 | a_balancer_with_another_name_is_not_trusted();668 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~669../tests/tunnel-test.cc:322:12: note: Calling 'future::get'670 322 | (void) peer.get();671 | ^~~~~~~~~~672/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'673 987 | return __s->move();674 | ^~~~~~~~~~~675/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'676 637 | unique_lock<mutex> __lk(this->__mut_);677 | ^~~~~~~~~~~~~~~~~~678/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here679 40 | __m_->lock();680 | ^~~~~~~~~~~~681/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'682 637 | unique_lock<mutex> __lk(this->__mut_);683 | ^~~~~~~~~~~~~~~~~~684/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch685 639 | if (this->__exception_ != nullptr)686 | ^687/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'688 987 | return __s->move();689 | ^~~~~~~~~~~690../tests/tunnel-test.cc:322:12: note: Returning from 'future::get'691 322 | (void) peer.get();692 | ^~~~~~~~~~693../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted'694 513 | a_balancer_with_another_name_is_not_trusted();695 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~696../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends'697 514 | the_watcher_sees_every_way_a_connection_ends();698 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~699../tests/tunnel-test.cc:366:11: note: Calling 'watching'700 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes");701 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~702../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'703 356 | if (result.wait_for(2s) != std::future_status::ready) {704 | ^~~~~~~~~~~~~~~~~~~705/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'706 959 | return __state_->wait_for(__rel_time);707 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~708/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'709 580 | return wait_until(chrono::steady_clock::now() + __rel_time);710 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~711/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'712 565 | unique_lock<mutex> __lk(__mut_);713 | ^~~~~~~~~~~~714/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here715 40 | __m_->lock();716 | ^~~~~~~~~~~~717/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'718 565 | unique_lock<mutex> __lk(__mut_);719 | ^~~~~~~~~~~~720/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false721 566 | if (__state_ & deferred)722 | ^~~~~~~~~~~~~~~~~~~723/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch724 566 | if (__state_ & deferred)725 | ^726/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false727 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)728 | ^~~~~~~~~~~~~~~~~~~729/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false730 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)731 | ^732/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 570733 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)734 | ^735/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch736 570 | if (__state_ & ready)737 | ^738/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'739 580 | return wait_until(chrono::steady_clock::now() + __rel_time);740 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~741/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'742 959 | return __state_->wait_for(__rel_time);743 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~744../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'745 356 | if (result.wait_for(2s) != std::future_status::ready) {746 | ^~~~~~~~~~~~~~~~~~~747../tests/tunnel-test.cc:356:5: note: Taking false branch748 356 | if (result.wait_for(2s) != std::future_status::ready) {749 | ^750../tests/tunnel-test.cc:361:12: note: Calling 'future::get'751 361 | return result.get();752 | ^~~~~~~~~~~~753/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'754 987 | return __s->move();755 | ^~~~~~~~~~~756/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'757 637 | unique_lock<mutex> __lk(this->__mut_);758 | ^~~~~~~~~~~~~~~~~~759/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here760 40 | __m_->lock();761 | ^~~~~~~~~~~~762/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'763 637 | unique_lock<mutex> __lk(this->__mut_);764 | ^~~~~~~~~~~~~~~~~~765/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch766 639 | if (this->__exception_ != nullptr)767 | ^768/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'769 987 | return __s->move();770 | ^~~~~~~~~~~771../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'772 361 | return result.get();773 | ^~~~~~~~~~~~774../tests/tunnel-test.cc:366:11: note: Returning from 'watching'775 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes");776 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~777../tests/tunnel-test.cc:368:9: note: Calling 'watching'778 368 | watching([](Pair & pair, const Wake &) -> void {779 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~780 369 | shutdown(pair.ours.get(), SHUT_RDWR);781 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~782 370 | pair.ours.close();783 | ~~~~~~~~~~~~~~~~~~784 371 | }) == End::closed,785 | ~~786../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'787 356 | if (result.wait_for(2s) != std::future_status::ready) {788 | ^~~~~~~~~~~~~~~~~~~789/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'790 959 | return __state_->wait_for(__rel_time);791 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~792/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'793 580 | return wait_until(chrono::steady_clock::now() + __rel_time);794 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~795/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'796 565 | unique_lock<mutex> __lk(__mut_);797 | ^~~~~~~~~~~~798/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here799 40 | __m_->lock();800 | ^~~~~~~~~~~~801/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'802 565 | unique_lock<mutex> __lk(__mut_);803 | ^~~~~~~~~~~~804/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false805 566 | if (__state_ & deferred)806 | ^~~~~~~~~~~~~~~~~~~807/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch808 566 | if (__state_ & deferred)809 | ^810/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false811 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)812 | ^~~~~~~~~~~~~~~~~~~813/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false814 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)815 | ^816/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 570817 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)818 | ^819/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch820 570 | if (__state_ & ready)821 | ^822/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'823 580 | return wait_until(chrono::steady_clock::now() + __rel_time);824 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~825/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'826 959 | return __state_->wait_for(__rel_time);827 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~828../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'829 356 | if (result.wait_for(2s) != std::future_status::ready) {830 | ^~~~~~~~~~~~~~~~~~~831../tests/tunnel-test.cc:356:5: note: Taking false branch832 356 | if (result.wait_for(2s) != std::future_status::ready) {833 | ^834../tests/tunnel-test.cc:361:12: note: Calling 'future::get'835 361 | return result.get();836 | ^~~~~~~~~~~~837/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'838 987 | return __s->move();839 | ^~~~~~~~~~~840/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'841 637 | unique_lock<mutex> __lk(this->__mut_);842 | ^~~~~~~~~~~~~~~~~~843/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here844 40 | __m_->lock();845 | ^~~~~~~~~~~~846/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'847 637 | unique_lock<mutex> __lk(this->__mut_);848 | ^~~~~~~~~~~~~~~~~~849/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch850 639 | if (this->__exception_ != nullptr)851 | ^852/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'853 987 | return __s->move();854 | ^~~~~~~~~~~855../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'856 361 | return result.get();857 | ^~~~~~~~~~~~858../tests/tunnel-test.cc:368:9: note: Returning from 'watching'859 368 | watching([](Pair & pair, const Wake &) -> void {860 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~861 369 | shutdown(pair.ours.get(), SHUT_RDWR);862 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~863 370 | pair.ours.close();864 | ~~~~~~~~~~~~~~~~~~865 371 | }) == End::closed,866 | ~~867../tests/tunnel-test.cc:375:9: note: Calling 'watching'868 375 | watching([](Pair & pair, const Wake &) -> void {869 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~870 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);871 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~872 377 | std::this_thread::sleep_for(50ms);873 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~874 378 | shutdown(pair.ours.get(), SHUT_RDWR);875 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~876 379 | pair.ours.close();877 | ~~~~~~~~~~~~~~~~~~878 380 | }) == End::closed,879 | ~~880../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'881 356 | if (result.wait_for(2s) != std::future_status::ready) {882 | ^~~~~~~~~~~~~~~~~~~883/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'884 959 | return __state_->wait_for(__rel_time);885 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~886/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'887 580 | return wait_until(chrono::steady_clock::now() + __rel_time);888 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~889/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'890 565 | unique_lock<mutex> __lk(__mut_);891 | ^~~~~~~~~~~~892/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here893 40 | __m_->lock();894 | ^~~~~~~~~~~~895/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'896 565 | unique_lock<mutex> __lk(__mut_);897 | ^~~~~~~~~~~~898/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false899 566 | if (__state_ & deferred)900 | ^~~~~~~~~~~~~~~~~~~901/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch902 566 | if (__state_ & deferred)903 | ^904/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false905 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)906 | ^~~~~~~~~~~~~~~~~~~907/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false908 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)909 | ^910/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 570911 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)912 | ^913/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch914 570 | if (__state_ & ready)915 | ^916/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'917 580 | return wait_until(chrono::steady_clock::now() + __rel_time);918 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~919/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'920 959 | return __state_->wait_for(__rel_time);921 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~922../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'923 356 | if (result.wait_for(2s) != std::future_status::ready) {924 | ^~~~~~~~~~~~~~~~~~~925../tests/tunnel-test.cc:356:5: note: Taking false branch926 356 | if (result.wait_for(2s) != std::future_status::ready) {927 | ^928../tests/tunnel-test.cc:361:12: note: Calling 'future::get'929 361 | return result.get();930 | ^~~~~~~~~~~~931/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'932 987 | return __s->move();933 | ^~~~~~~~~~~934/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'935 637 | unique_lock<mutex> __lk(this->__mut_);936 | ^~~~~~~~~~~~~~~~~~937/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here938 40 | __m_->lock();939 | ^~~~~~~~~~~~940/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'941 637 | unique_lock<mutex> __lk(this->__mut_);942 | ^~~~~~~~~~~~~~~~~~943/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch944 639 | if (this->__exception_ != nullptr)945 | ^946/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'947 987 | return __s->move();948 | ^~~~~~~~~~~949../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'950 361 | return result.get();951 | ^~~~~~~~~~~~952../tests/tunnel-test.cc:375:9: note: Returning from 'watching'953 375 | watching([](Pair & pair, const Wake &) -> void {954 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~955 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);956 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~957 377 | std::this_thread::sleep_for(50ms);958 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~959 378 | shutdown(pair.ours.get(), SHUT_RDWR);960 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~961 379 | pair.ours.close();962 | ~~~~~~~~~~~~~~~~~~963 380 | }) == End::closed,964 | ~~965../tests/tunnel-test.cc:383:9: note: Calling 'watching'966 383 | watching([](Pair & pair, const Wake & stop) -> void {967 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~968 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);969 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~970 385 | std::this_thread::sleep_for(200ms);971 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~972 386 | stop.set();973 | ~~~~~~~~~~~974 387 | }) == End::stopped,975 | ~~976../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for'977 356 | if (result.wait_for(2s) != std::future_status::ready) {978 | ^~~~~~~~~~~~~~~~~~~979/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for'980 959 | return __state_->wait_for(__rel_time);981 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~982/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until'983 580 | return wait_until(chrono::steady_clock::now() + __rel_time);984 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~985/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock<std::mutex>'986 565 | unique_lock<mutex> __lk(__mut_);987 | ^~~~~~~~~~~~988/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here989 40 | __m_->lock();990 | ^~~~~~~~~~~~991/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock<std::mutex>'992 565 | unique_lock<mutex> __lk(__mut_);993 | ^~~~~~~~~~~~994/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false995 566 | if (__state_ & deferred)996 | ^~~~~~~~~~~~~~~~~~~997/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch998 566 | if (__state_ & deferred)999 | ^1000/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false1001 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)1002 | ^~~~~~~~~~~~~~~~~~~1003/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false1004 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)1005 | ^1006/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 5701007 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time)1008 | ^1009/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch1010 570 | if (__state_ & ready)1011 | ^1012/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'1013 580 | return wait_until(chrono::steady_clock::now() + __rel_time);1014 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1015/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'1016 959 | return __state_->wait_for(__rel_time);1017 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1018../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for'1019 356 | if (result.wait_for(2s) != std::future_status::ready) {1020 | ^~~~~~~~~~~~~~~~~~~1021../tests/tunnel-test.cc:356:5: note: Taking false branch1022 356 | if (result.wait_for(2s) != std::future_status::ready) {1023 | ^1024../tests/tunnel-test.cc:361:12: note: Calling 'future::get'1025 361 | return result.get();1026 | ^~~~~~~~~~~~1027/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move'1028 987 | return __s->move();1029 | ^~~~~~~~~~~1030/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock<std::mutex>'1031 637 | unique_lock<mutex> __lk(this->__mut_);1032 | ^~~~~~~~~~~~~~~~~~1033/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here1034 40 | __m_->lock();1035 | ^~~~~~~~~~~~1036/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock<std::mutex>'1037 637 | unique_lock<mutex> __lk(this->__mut_);1038 | ^~~~~~~~~~~~~~~~~~1039/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch1040 639 | if (this->__exception_ != nullptr)1041 | ^1042/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move'1043 987 | return __s->move();1044 | ^~~~~~~~~~~1045../tests/tunnel-test.cc:361:12: note: Returning from 'future::get'1046 361 | return result.get();1047 | ^~~~~~~~~~~~1048../tests/tunnel-test.cc:383:9: note: Returning from 'watching'1049 383 | watching([](Pair & pair, const Wake & stop) -> void {1050 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1051 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0);1052 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1053 385 | std::this_thread::sleep_for(200ms);1054 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1055 386 | stop.set();1056 | ~~~~~~~~~~~1057 387 | }) == End::stopped,1058 | ~~1059../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends'1060 514 | the_watcher_sees_every_way_a_connection_ends();1061 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1062../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself'1063 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself();1064 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1065../tests/tunnel-test.cc:482:9: note: Call to blocking function 'recv' inside of critical section1066 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN,1067 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1068>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnel.cc1069[1/1] (1/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnel.cc.1070[1/1] (2/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnel.cc.1071../src/daemon/tunnel.cc:442:5: error: variable 'queue' of type 'nix::AutoCloseFD' can be declared 'const' [misc-const-correctness,-warnings-as-errors]1072 442 | nix::AutoCloseFD queue{kqueue()};1073 | ^1074 | const 1075../src/daemon/tunnel.cc:447: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]1076 447 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr);1077 | ^~~~~~~1078 | add.data()1079/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'1080 108 | struct kevent *__kevp__ = (kevp); \1081 | ^1082../src/daemon/tunnel.cc:447:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1083 447 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr);1084 | ^1085/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'1086 108 | struct kevent *__kevp__ = (kevp); \1087 | ^~~~1088../src/daemon/tunnel.cc:448:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors]1089 448 | EV_SET(&add[1], stop.fd(), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, nullptr);1090 | ^1091/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'1092 108 | struct kevent *__kevp__ = (kevp); \1093 | ^~~~1094../src/daemon/tunnel.cc:461:13: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors]1095 38 | if (event.ident == static_cast<uintptr_t>(stop.fd())) {1096 | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~1097 | std::cmp_equal( , )1098>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnels.cc1099[1/1] (1/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnels.cc.1100[1/1] (2/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/tunnels.cc.1101>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/client/channel.cc1102[1/1] (1/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/client/channel.cc.1103[1/1] (2/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/client/channel.cc.1104>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/sbpl.cc1105Errors encountered while running clang-tidy1106[1/1] (1/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/sbpl.cc.1107[1/1] (2/2) Processing file /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/src/daemon/sbpl.cc.1108FAILED: [code=1] meson-internal__clang-tidy 1109/nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source /private/var/tb/1/scratch/e9560ee5fed8bd28/build/source/build --color always1110ninja: build stopped: subcommand failed.