this derivation will be built: /nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv building '/nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv' nix-grpc-store-clang-tidy-0.2.3> tribuchet: building on mac02 nix-grpc-store-clang-tidy-0.2.3> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.3> unpacking source archive /nix/store/rabxxqzj01svzbqr2ldqfdk97g62190y-source nix-grpc-store-clang-tidy-0.2.3> source root is source nix-grpc-store-clang-tidy-0.2.3> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.3> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase flags: --prefix=/nix/store/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 nix-grpc-store-clang-tidy-0.2.3> The Meson build system nix-grpc-store-clang-tidy-0.2.3> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.3> Source dir: /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source nix-grpc-store-clang-tidy-0.2.3> Build dir: /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build nix-grpc-store-clang-tidy-0.2.3> Build type: native build nix-grpc-store-clang-tidy-0.2.3> WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead nix-grpc-store-clang-tidy-0.2.3> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.3> Project version: 0.2.3 nix-grpc-store-clang-tidy-0.2.3> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.3> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.2.3> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.2.3> Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency grpc++ found: YES 1.84.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcrypto found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libssl found: YES 3.5.9 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.3> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b7516 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b7516 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency jemalloc found: YES 5.4.0_0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.2.3> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.3> Library bz2 found: YES nix-grpc-store-clang-tidy-0.2.3> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.3> Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES nix-grpc-store-clang-tidy-0.2.3> Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.3> Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.3> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.3> Program tests/farm-client-test.sh found: YES (/private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.3> Program tests/oidc-test.sh found: YES (/private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.3> Build targets in project: 31 nix-grpc-store-clang-tidy-0.2.3> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.3> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store 0.2.3 nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> User defined options nix-grpc-store-clang-tidy-0.2.3> auto_features: enabled nix-grpc-store-clang-tidy-0.2.3> b_pch : false nix-grpc-store-clang-tidy-0.2.3> bindir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/bin nix-grpc-store-clang-tidy-0.2.3> buildtype : plain nix-grpc-store-clang-tidy-0.2.3> includedir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/include nix-grpc-store-clang-tidy-0.2.3> infodir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/info nix-grpc-store-clang-tidy-0.2.3> libdir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/lib nix-grpc-store-clang-tidy-0.2.3> libexecdir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/libexec nix-grpc-store-clang-tidy-0.2.3> localedir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/locale nix-grpc-store-clang-tidy-0.2.3> mandir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/share/man nix-grpc-store-clang-tidy-0.2.3> prefix : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3 nix-grpc-store-clang-tidy-0.2.3> sbindir : /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3/sbin nix-grpc-store-clang-tidy-0.2.3> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.3> nix-grpc-store-clang-tidy-0.2.3> Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.3> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.3> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.3> [1/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [2/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.3> [0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/tests/tunnel-test.cc nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__new/exceptions.h:67:3: note: frame #0: unhandled exception of type 'bad_array_new_length' may be thrown in function '__throw_bad_array_new_length' here nix-grpc-store-clang-tidy-0.2.3> 67 | throw bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:101:7: note: frame #1: function 'allocate' calls function '__throw_bad_array_new_length' here nix-grpc-store-clang-tidy-0.2.3> 101 | std::__throw_bad_array_new_length(); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator.h:112:13: note: frame #2: function 'allocate_at_least' calls function 'allocate' here nix-grpc-store-clang-tidy-0.2.3> 112 | return {allocate(__n), __n}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least>' calls function 'allocate_at_least' here nix-grpc-store-clang-tidy-0.2.3> 280 | return __alloc.allocate_at_least(__n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least>' calls function 'allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least>' here nix-grpc-store-clang-tidy-0.2.3> 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #6: function 'basic_string' calls function '__init_copy_ctor_external' here nix-grpc-store-clang-tidy-0.2.3> 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:233:43: note: frame #7: function '(lambda at ../tests/tunnel-test.cc:233:43)' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.2.3> 233 | return std::async(std::launch::async, [&lis, &pki, cert, status = std::move(status), after = std::move(after)] -> Seen { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 283 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 354 | std::this_thread::sleep_for(100ms); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 377 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 385 | std::this_thread::sleep_for(200ms); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:399:26: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' nix-grpc-store-clang-tidy-0.2.3> 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:295:22: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0; nix-grpc-store-clang-tidy-0.2.3> | ^~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:295:22: note: '?' condition is false nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:296:11: note: 'got' is <= 0 nix-grpc-store-clang-tidy-0.2.3> 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); nix-grpc-store-clang-tidy-0.2.3> | ^~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:298:23: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 298 | const auto seen = peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:298:23: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 298 | const auto seen = peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' nix-grpc-store-clang-tidy-0.2.3> 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer' nix-grpc-store-clang-tidy-0.2.3> 512 | a_refused_tunnel_reports_the_balancers_answer(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:313:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 313 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:313:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 313 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer' nix-grpc-store-clang-tidy-0.2.3> 512 | a_refused_tunnel_reports_the_balancers_answer(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted' nix-grpc-store-clang-tidy-0.2.3> 513 | a_balancer_with_another_name_is_not_trusted(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:322:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 322 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:322:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 322 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted' nix-grpc-store-clang-tidy-0.2.3> 513 | a_balancer_with_another_name_is_not_trusted(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends' nix-grpc-store-clang-tidy-0.2.3> 514 | the_watcher_sees_every_way_a_connection_ends(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:366:11: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:366:11: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:368:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 368 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 369 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 370 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 371 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:368:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 368 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 369 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 370 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 371 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:375:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 375 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 377 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 378 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 379 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 380 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:375:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 375 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 377 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 378 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 379 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 380 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:383:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 383 | watching([](Pair & pair, const Wake & stop) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 385 | std::this_thread::sleep_for(200ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 386 | stop.set(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 387 | }) == End::stopped, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:383:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 383 | watching([](Pair & pair, const Wake & stop) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 385 | std::this_thread::sleep_for(200ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 386 | stop.set(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 387 | }) == End::stopped, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends' nix-grpc-store-clang-tidy-0.2.3> 514 | the_watcher_sees_every_way_a_connection_ends(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself' nix-grpc-store-clang-tidy-0.2.3> 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:478:11: note: Calling 'Tunnel::ended' nix-grpc-store-clang-tidy-0.2.3> 478 | check(any.ended(), "the tunnel for any builder is cut although it was in use"); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:399:26: note: Call to blocking function 'recv' inside of critical section nix-grpc-store-clang-tidy-0.2.3> 399 | const auto got = recv(conn.get(), byte.data(), byte.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 442 | std::this_thread::sleep_for(10ms); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 479 | check(!held.next(700ms), "and not opened again"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:482:9: error: Call to blocking function 'recv' inside of critical section [clang-analyzer-unix.BlockInCriticalSection,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN, nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:511:9: note: Calling 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' nix-grpc-store-clang-tidy-0.2.3> 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:295:22: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 295 | const auto got = sock ? recv(sock.get(), buf.data(), buf.size(), 0) : 0; nix-grpc-store-clang-tidy-0.2.3> | ^~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:295:22: note: '?' condition is false nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:296:11: note: 'got' is <= 0 nix-grpc-store-clang-tidy-0.2.3> 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); nix-grpc-store-clang-tidy-0.2.3> | ^~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:296:19: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 296 | check(got > 0 && std::string_view(buf.data(), static_cast(got)) == hello, "the request's first bytes are left unread"); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:298:23: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 298 | const auto seen = peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:298:23: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 298 | const auto seen = peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:511:9: note: Returning from 'a_tunnel_is_handed_over_when_the_balancer_starts_a_request' nix-grpc-store-clang-tidy-0.2.3> 511 | a_tunnel_is_handed_over_when_the_balancer_starts_a_request(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:512:9: note: Calling 'a_refused_tunnel_reports_the_balancers_answer' nix-grpc-store-clang-tidy-0.2.3> 512 | a_refused_tunnel_reports_the_balancers_answer(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:313:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 313 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:313:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 313 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:512:9: note: Returning from 'a_refused_tunnel_reports_the_balancers_answer' nix-grpc-store-clang-tidy-0.2.3> 512 | a_refused_tunnel_reports_the_balancers_answer(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:513:9: note: Calling 'a_balancer_with_another_name_is_not_trusted' nix-grpc-store-clang-tidy-0.2.3> 513 | a_balancer_with_another_name_is_not_trusted(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:322:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 322 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:322:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 322 | (void) peer.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:513:9: note: Returning from 'a_balancer_with_another_name_is_not_trusted' nix-grpc-store-clang-tidy-0.2.3> 513 | a_balancer_with_another_name_is_not_trusted(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:514:9: note: Calling 'the_watcher_sees_every_way_a_connection_ends' nix-grpc-store-clang-tidy-0.2.3> 514 | the_watcher_sees_every_way_a_connection_ends(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:366:11: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:366:11: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 366 | check(watching([](Pair & pair, const Wake &) -> void { pair.peer.close(); }) == End::closed, "the peer closes"); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:368:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 368 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 369 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 370 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 371 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:368:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 368 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 369 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 370 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 371 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:375:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 375 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 377 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 378 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 379 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 380 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:375:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 375 | watching([](Pair & pair, const Wake &) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 376 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 377 | std::this_thread::sleep_for(50ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 378 | shutdown(pair.ours.get(), SHUT_RDWR); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 379 | pair.ours.close(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 380 | }) == End::closed, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:383:9: note: Calling 'watching' nix-grpc-store-clang-tidy-0.2.3> 383 | watching([](Pair & pair, const Wake & stop) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 385 | std::this_thread::sleep_for(200ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 386 | stop.set(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 387 | }) == End::stopped, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Calling 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Calling '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Calling '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:565:24: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 565 | unique_lock __lk(__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:9: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:566:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 566 | if (__state_ & deferred) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:12: note: Assuming the condition is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:32: note: Left side of '&&' is false nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:568:5: note: Loop condition is false. Execution continues on line 570 nix-grpc-store-clang-tidy-0.2.3> 568 | while (!(__state_ & ready) && _Clock::now() < __abs_time) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:570:5: note: Taking true branch nix-grpc-store-clang-tidy-0.2.3> 570 | if (__state_ & ready) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:580:10: note: Returning from '__assoc_sub_state::wait_until' nix-grpc-store-clang-tidy-0.2.3> 580 | return wait_until(chrono::steady_clock::now() + __rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:959:12: note: Returning from '__assoc_sub_state::wait_for' nix-grpc-store-clang-tidy-0.2.3> 959 | return __state_->wait_for(__rel_time); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:9: note: Returning from 'future::wait_for' nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:356:5: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 356 | if (result.wait_for(2s) != std::future_status::ready) { nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Calling 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Calling '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Calling constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__mutex/unique_lock.h:40:5: note: Entering critical section here nix-grpc-store-clang-tidy-0.2.3> 40 | __m_->lock(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:637:22: note: Returning from constructor for 'unique_lock' nix-grpc-store-clang-tidy-0.2.3> 637 | unique_lock __lk(this->__mut_); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:639:3: note: Taking false branch nix-grpc-store-clang-tidy-0.2.3> 639 | if (this->__exception_ != nullptr) nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/future:987:10: note: Returning from '__assoc_state::move' nix-grpc-store-clang-tidy-0.2.3> 987 | return __s->move(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:361:12: note: Returning from 'future::get' nix-grpc-store-clang-tidy-0.2.3> 361 | return result.get(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:383:9: note: Returning from 'watching' nix-grpc-store-clang-tidy-0.2.3> 383 | watching([](Pair & pair, const Wake & stop) -> void { nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 384 | (void) send(pair.peer.get(), unread.data(), unread.size(), 0); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 385 | std::this_thread::sleep_for(200ms); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 386 | stop.set(); nix-grpc-store-clang-tidy-0.2.3> | ~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> 387 | }) == End::stopped, nix-grpc-store-clang-tidy-0.2.3> | ~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:514:9: note: Returning from 'the_watcher_sees_every_way_a_connection_ends' nix-grpc-store-clang-tidy-0.2.3> 514 | the_watcher_sees_every_way_a_connection_ends(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:517:9: note: Calling 'a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself' nix-grpc-store-clang-tidy-0.2.3> 517 | a_builder_that_takes_no_work_only_keeps_the_tunnels_for_itself(); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> ../tests/tunnel-test.cc:482:9: note: Call to blocking function 'recv' inside of critical section nix-grpc-store-clang-tidy-0.2.3> 482 | recv(named.conn.get(), byte.data(), byte.size(), MSG_DONTWAIT) < 0 && errno == EAGAIN, nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnel.cc. nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/tunnel.cc:403:5: error: variable 'queue' of type 'nix::AutoCloseFD' can be declared 'const' [misc-const-correctness,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 403 | nix::AutoCloseFD queue{kqueue()}; nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> | const nix-grpc-store-clang-tidy-0.2.3> ../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] nix-grpc-store-clang-tidy-0.2.3> 408 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr); nix-grpc-store-clang-tidy-0.2.3> | ^~~~~~~ nix-grpc-store-clang-tidy-0.2.3> | add.data() nix-grpc-store-clang-tidy-0.2.3> /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' nix-grpc-store-clang-tidy-0.2.3> 108 | struct kevent *__kevp__ = (kevp); \ nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/tunnel.cc:408:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 408 | EV_SET(&add[0], sock, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR, 0, 0, nullptr); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /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' nix-grpc-store-clang-tidy-0.2.3> 108 | struct kevent *__kevp__ = (kevp); \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/tunnel.cc:409:16: error: possibly unsafe 'operator[]', consider bounds-safe alternatives [cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 409 | EV_SET(&add[1], stop.fd(), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, nullptr); nix-grpc-store-clang-tidy-0.2.3> | ^ nix-grpc-store-clang-tidy-0.2.3> /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' nix-grpc-store-clang-tidy-0.2.3> 108 | struct kevent *__kevp__ = (kevp); \ nix-grpc-store-clang-tidy-0.2.3> | ^~~~ nix-grpc-store-clang-tidy-0.2.3> ../src/daemon/tunnel.cc:422:13: error: comparison between 'signed' and 'unsigned' integers [modernize-use-integer-sign-comparison,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.3> 38 | if (event.ident == static_cast(stop.fd())) { nix-grpc-store-clang-tidy-0.2.3> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ nix-grpc-store-clang-tidy-0.2.3> | std::cmp_equal( , ) nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/tunnels.cc. nix-grpc-store-clang-tidy-0.2.3> >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc nix-grpc-store-clang-tidy-0.2.3> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.2.3> [1/1] (1/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.3> [1/1] (2/2) Processing file /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.3> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.2.3> /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source /private/var/tb/6/scratch/1ee8064b8e5b2a41/build/source/build --color always nix-grpc-store-clang-tidy-0.2.3> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/4vcz6yjnr6i59x98slp1v6s0njak4d0b-nix-grpc-store-clang-tidy-0.2.3 Last 25 log lines: > 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. For full logs, run: nix log /nix/store/3g8k35xsrkvy8ryxqn58lgs9skzs295s-nix-grpc-store-clang-tidy-0.2.3.drv