nix-grpc-store-clang-tidy-0.2.3
checks.aarch64-darwin.clang-tidy
· build #878
· raw
1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/8rnggv1hbx49jhb9fr5xjg7ihyb9arng-source3source root is sourceconfigurePhase
4mesonConfigurePhase 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=false5The Meson build system6Version: 1.12.17Source dir: /private/var/tb/4/scratch/3db57524ef582555/build/source8Build dir: /private/var/tb/4/scratch/3db57524ef582555/build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.2.313C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld64 956.615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.84.019Run-time dependency protobuf found: YES 36.2.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.5.923Run-time dependency prometheus-cpp-core found: YES 1.3.024Run-time dependency prometheus-cpp-pull found: YES 1.3.025Run-time dependency absl_flat_hash_map found: YES 2026081726Run-time dependency absl_hash found: YES 2026081727Run-time dependency absl_synchronization found: YES 2026081728Compiler for C++ supports arguments -Werror=thread-safety: YES 29Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b751630Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b751631Run-time dependency jemalloc found: YES 5.4.0_032Run-time dependency libcurl found: YES 8.22.033Run-time dependency nlohmann_json found: YES 3.12.034Library bz2 found: YES35Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 36Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 37Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc)38Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin)39Run-time dependency dl found: YES40Program tests/farm-client-test.sh found: YES (/private/var/tb/4/scratch/3db57524ef582555/build/source/tests/farm-client-test.sh)41Program tests/oidc-test.sh found: YES (/private/var/tb/4/scratch/3db57524ef582555/build/source/tests/oidc-test.sh)42Build targets in project: 2743WARNING: Project specifies no minimum version but uses features which were added in versions:44 * 1.1: {'meson.options file'}4546nix-grpc-store 0.2.34748 User defined options49 auto_features: enabled50 b_pch : false51 bindir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/bin52 buildtype : plain53 includedir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/include54 infodir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/info55 libdir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/lib56 libexecdir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/libexec57 localedir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/locale58 mandir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/share/man59 prefix : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.360 sbindir : /nix/store/bhm17arapqj8kq5l09mwfngmr8h9kml0-nix-grpc-store-clang-tidy-0.2.3/sbin61 wrap_mode : nodownload6263Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja64mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
65[1/2] Generating eds_proto with a custom command66[2/2] Generating nix_remote_proto with a custom command67[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 always68>>> /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.cc69[1/1] (1/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/sbpl.cc.70[1/1] (2/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/daemon/sbpl.cc.71>>> /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.cc72../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]73 229 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void {74 | ^75/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' here76 244 | throw length_error(__msg);77 | ^78/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' here79 2473 | std::__throw_length_error("basic_string");80 | ^81/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' here82 2579 | this->__throw_length_error();83 | ^84/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' here85 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());86 | ^87../tests/farm-sim-test.cc:229:66: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:229:66)' calls function 'basic_string' here88 229 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void {89 | ^90../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]91 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });92 | ^93/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' here94 244 | throw length_error(__msg);95 | ^96/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' here97 2473 | std::__throw_length_error("basic_string");98 | ^99/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' here100 2579 | this->__throw_length_error();101 | ^102/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' here103 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());104 | ^105../tests/farm-sim-test.cc:249:34: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:249:34)' calls function 'basic_string' here106 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });107 | ^108../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]109 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });110 | ^111/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' here112 244 | throw length_error(__msg);113 | ^114/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' here115 2473 | std::__throw_length_error("basic_string");116 | ^117/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' here118 2579 | this->__throw_length_error();119 | ^120/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' here121 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());122 | ^123../tests/farm-sim-test.cc:317:51: note: frame #4: function '(lambda at ../tests/farm-sim-test.cc:317:51)' calls function 'basic_string' here124 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });125 | ^126../tests/farm-sim-test.cc:420:24: error: no header providing "open" is directly included [misc-include-cleaner,-warnings-as-errors]127 26 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);128 | ^129../tests/farm-sim-test.cc:420:42: error: no header providing "O_WRONLY" is directly included [misc-include-cleaner,-warnings-as-errors]130 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);131 | ^132../tests/farm-sim-test.cc:420:53: error: no header providing "O_CLOEXEC" is directly included [misc-include-cleaner,-warnings-as-errors]133 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);134 | ^135>>> /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.cc136[1/1] (1/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/client/channel.cc.137[1/1] (2/2) Processing file /private/var/tb/4/scratch/3db57524ef582555/build/source/src/client/channel.cc.138>>> /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.cc139../src/daemon/coordinator.cc:178:9: error: no header providing "nixgrpc::Builder" is directly included [misc-include-cleaner,-warnings-as-errors]140 2 | Builder::Config self{.advertise = options.advertise, .systems = {nix::settings.thisSystem.get()}, .features = {}, .maxJobs = options.maxJobs};141 | ^142>>> /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.cc143Errors encountered while running clang-tidy144../src/daemon/main.cc:798:64: error: no header providing "nixgrpc::Expected" is directly included [misc-include-cleaner,-warnings-as-errors]145 80 | static auto attach(grpc::ServerContext & context, nixgrpc::Expected::Shared & shared, const nixgrpc::BuildEventSink & log)146 | ^147FAILED: [code=1] meson-internal__clang-tidy 148/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 always149ninja: build stopped: subcommand failed.