nixbot

builds

failed nix-grpc-store-clang-tidy-0.2.3 checks.aarch64-darwin.clang-tidy · build #877 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/wmmdl6v83cjvjsglz2fjjdcyb4aax58d-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-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/8/scratch/b2dc868df80f3a3e/build/source8Build dir: /private/var/tb/8/scratch/b2dc868df80f3a3e/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/8/scratch/b2dc868df80f3a3e/build/source/tests/farm-client-test.sh)41Program tests/oidc-test.sh found: YES (/private/var/tb/8/scratch/b2dc868df80f3a3e/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/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/bin52 buildtype : plain53 includedir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/include54 infodir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/share/info55 libdir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/lib56 libexecdir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/libexec57 localedir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/share/locale58 mandir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.3/share/man59 prefix : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-nix-grpc-store-clang-tidy-0.2.360 sbindir : /nix/store/1g06lv9fk89nwc8wx2pxqnn8bhf4kldy-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\ building
buildPhase
65[1/2] Generating nix_remote_proto with a custom command66[2/2] Generating eds_proto with a custom command67[0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build --color always68>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/client/channel.cc69[1/1] (1/2) Processing file /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/client/channel.cc.70[1/1] (2/2) Processing file /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/client/channel.cc.71>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build /private/var/tb/8/scratch/b2dc868df80f3a3e/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/__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' here76 67 | throw bad_array_new_length();77 | ^78/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' here79 101 | std::__throw_bad_array_new_length();80 | ^81/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' here82 112 | return {allocate(__n), __n};83 | ^84/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here85 280 | return __alloc.allocate_at_least(__n);86 | ^87/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here88 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);89 | ^90/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least<std::allocator<char>>' here91 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);92 | ^93/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' here94 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());95 | ^96../tests/farm-sim-test.cc:229:66: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:229:66)' calls function 'basic_string' here97 229 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void {98 | ^99../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]100 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });101 | ^102/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' here103 67 | throw bad_array_new_length();104 | ^105/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' here106 101 | std::__throw_bad_array_new_length();107 | ^108/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' here109 112 | return {allocate(__n), __n};110 | ^111/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here112 280 | return __alloc.allocate_at_least(__n);113 | ^114/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here115 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);116 | ^117/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least<std::allocator<char>>' here118 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);119 | ^120/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' here121 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());122 | ^123../tests/farm-sim-test.cc:249:34: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:249:34)' calls function 'basic_string' here124 249 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });125 | ^126../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]127 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });128 | ^129/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' here130 67 | throw bad_array_new_length();131 | ^132/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' here133 101 | std::__throw_bad_array_new_length();134 | ^135/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' here136 112 | return {allocate(__n), __n};137 | ^138/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocator_traits.h:280:14: note: frame #3: function 'allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least' here139 280 | return __alloc.allocate_at_least(__n);140 | ^141/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/__memory/allocate_at_least.h:26:10: note: frame #4: function '__allocate_at_least<std::allocator<char>>' calls function 'allocate_at_least<std::allocator<char>>' here142 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);143 | ^144/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2580:25: note: frame #5: function '__init_copy_ctor_external' calls function '__allocate_at_least<std::allocator<char>>' here145 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);146 | ^147/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' here148 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());149 | ^150../tests/farm-sim-test.cc:317:51: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:317:51)' calls function 'basic_string' here151 317 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });152 | ^153../tests/farm-sim-test.cc:420:24: error: no header providing "open" is directly included [misc-include-cleaner,-warnings-as-errors]154 26 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);155 | ^156../tests/farm-sim-test.cc:420:42: error: no header providing "O_WRONLY" is directly included [misc-include-cleaner,-warnings-as-errors]157 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);158 | ^159../tests/farm-sim-test.cc:420:53: error: no header providing "O_CLOEXEC" is directly included [misc-include-cleaner,-warnings-as-errors]160 420 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);161 | ^162>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/daemon/sbpl.cc163[1/1] (1/2) Processing file /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/daemon/sbpl.cc.164[1/1] (2/2) Processing file /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/daemon/sbpl.cc.165>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/daemon/coordinator.cc166../src/daemon/coordinator.cc:178:9: error: no header providing "nixgrpc::Builder" is directly included [misc-include-cleaner,-warnings-as-errors]167 2 | Builder::Config self{.advertise = options.advertise, .systems = {nix::settings.thisSystem.get()}, .features = {}, .maxJobs = options.maxJobs};168 | ^169>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/src/daemon/main.cc170Errors encountered while running clang-tidy171../src/daemon/main.cc:798:64: error: no header providing "nixgrpc::Expected" is directly included [misc-include-cleaner,-warnings-as-errors]172 80 | static auto attach(grpc::ServerContext & context, nixgrpc::Expected::Shared & shared, const nixgrpc::BuildEventSink & log)173 | ^174FAILED: [code=1] meson-internal__clang-tidy 175/nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source /private/var/tb/8/scratch/b2dc868df80f3a3e/build/source/build --color always176ninja: build stopped: subcommand failed.