tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/8rnggv1hbx49jhb9fr5xjg7ihyb9arng-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false The Meson build system Version: 1.12.1 Source dir: /private/var/tb/4/scratch/3db57524ef582555/build/source Build dir: /private/var/tb/4/scratch/3db57524ef582555/build/source/build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: nix-grpc-store Project version: 0.2.3 C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") C++ linker for the host machine: clang++ ld64 956.6 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.84.0 Run-time dependency protobuf found: YES 36.2.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.5.9 Run-time dependency prometheus-cpp-core found: YES 1.3.0 Run-time dependency prometheus-cpp-pull found: YES 1.3.0 Run-time dependency absl_flat_hash_map found: YES 20260817 Run-time dependency absl_hash found: YES 20260817 Run-time dependency absl_synchronization found: YES 20260817 Compiler for C++ supports arguments -Werror=thread-safety: YES Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b7516 Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b7516 Run-time dependency jemalloc found: YES 5.4.0_0 Run-time dependency libcurl found: YES 8.22.0 Run-time dependency nlohmann_json found: YES 3.12.0 Library bz2 found: YES Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/private/var/tb/4/scratch/3db57524ef582555/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/private/var/tb/4/scratch/3db57524ef582555/build/source/tests/oidc-test.sh) Build targets in project: 27 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.2.3 User defined options auto_features: enabled b_pch : false bindir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/bin buildtype : plain includedir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/include infodir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/info libdir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/lib libexecdir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/libexec localedir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/locale mandir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/man prefix : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3 sbindir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [1/2] Generating eds_proto with a custom command [2/2] Generating nix_remote_proto with a custom command [0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/4/scratch/3db57524ef582555/build/source /private/var/tb/4/scratch/3db57524ef582555/build/source/build --color always >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/3db57524ef582555/build/source/build /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/sbpl.cc [1/1] (1/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/sbpl.cc. [1/1] (2/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/sbpl.cc. >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/3db57524ef582555/build/source/build /private/var/tb/4/scratch/3db57524ef582555/build/source/tests/farm-sim-test.cc ../tests/farm-sim-test.cc:229:66: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:229:66)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] 229 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void { | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here 244 | throw length_error(__msg); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here 2473 | std::__throw_length_error("basic_string"); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2579:7: note: frame #2: function '__init_copy_ctor_external' calls function '__throw_length_error' here 2579 | this->__throw_length_error(); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #3: function 'basic_string' calls function '__init_copy_ctor_external' here 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); | ^ ../tests/farm-sim-test.cc:229:66: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:229:66)' calls function 'basic_string' here 229 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void { | ^ ../tests/farm-sim-test.cc:249:34: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:249:34)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); }); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here 244 | throw length_error(__msg); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here 2473 | std::__throw_length_error("basic_string"); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2579:7: note: frame #2: function '__init_copy_ctor_external' calls function '__throw_length_error' here 2579 | this->__throw_length_error(); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #3: function 'basic_string' calls function '__init_copy_ctor_external' here 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); | ^ ../tests/farm-sim-test.cc:249:34: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:249:34)' calls function 'basic_string' here 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); }); | ^ ../tests/farm-sim-test.cc:317:51: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:317:51)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); }); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:244:3: note: frame #0: unhandled exception of type 'length_error' may be thrown in function '__throw_length_error' here 244 | throw length_error(__msg); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2473:5: note: frame #1: function '__throw_length_error' calls function '__throw_length_error' here 2473 | std::__throw_length_error("basic_string"); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2579:7: note: frame #2: function '__init_copy_ctor_external' calls function '__throw_length_error' here 2579 | this->__throw_length_error(); | ^ /nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1007:7: note: frame #3: function 'basic_string' calls function '__init_copy_ctor_external' here 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size()); | ^ ../tests/farm-sim-test.cc:317:51: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:317:51)' calls function 'basic_string' here 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); }); | ^ ../tests/farm-sim-test.cc:420:24: error: no header providing "open" is directly included [misc-include-cleaner,-warnings-as-errors] 26 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC); | ^ ../tests/farm-sim-test.cc:420:42: error: no header providing "O_WRONLY" is directly included [misc-include-cleaner,-warnings-as-errors] 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC); | ^ ../tests/farm-sim-test.cc:420:53: error: no header providing "O_CLOEXEC" is directly included [misc-include-cleaner,-warnings-as-errors] 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC); | ^ >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/3db57524ef582555/build/source/build /private/var/tb/4/scratch/3db57524ef582555/build/source/src/client/channel.cc [1/1] (1/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/client/channel.cc. [1/1] (2/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/client/channel.cc. >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/3db57524ef582555/build/source/build /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/coordinator.cc ../src/daemon/coordinator.cc:178:9: error: no header providing "nixgrpc::Builder" is directly included [misc-include-cleaner,-warnings-as-errors] 2 | Builder::Config self{.advertise = options.advertise, .systems = {nix::settings.thisSystem.get()}, .features = {}, .maxJobs = options.maxJobs}; | ^ >>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/3db57524ef582555/build/source/build /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/main.cc Errors encountered while running clang-tidy ../src/daemon/main.cc:798:64: error: no header providing "nixgrpc::Expected" is directly included [misc-include-cleaner,-warnings-as-errors] 80 | static auto attach(grpc::ServerContext & context, nixgrpc::Expected::Shared & shared, const nixgrpc::BuildEventSink & log) | ^ FAILED: [code=1] meson-internal__clang-tidy /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/4/scratch/3db57524ef582555/build/source /private/var/tb/4/scratch/3db57524ef582555/build/source/build --color always ninja: build stopped: subcommand failed.