nixbot

builds

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

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/vwhrrjym6m41s4z88zs2vwby4xlswdqv-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/lfl61laf033civxa006fw89yyl4rpzhr-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/8fef973cacdc0793/build/source8Build dir: /private/var/tb/4/scratch/8fef973cacdc0793/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/8fef973cacdc0793/build/source/tests/farm-client-test.sh)41Program tests/oidc-test.sh found: YES (/private/var/tb/4/scratch/8fef973cacdc0793/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/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/bin52 buildtype : plain53 includedir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/include54 infodir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/share/info55 libdir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/lib56 libexecdir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/libexec57 localedir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/share/locale58 mandir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.3/share/man59 prefix : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-nix-grpc-store-clang-tidy-0.2.360 sbindir : /nix/store/lfl61laf033civxa006fw89yyl4rpzhr-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 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/8fef973cacdc0793/build/source /private/var/tb/4/scratch/8fef973cacdc0793/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/8fef973cacdc0793/build/source/build /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/client/channel.cc69[1/1] (1/2) Processing file /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/client/channel.cc.70[1/1] (2/2) Processing file /private/var/tb/4/scratch/8fef973cacdc0793/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/4/scratch/8fef973cacdc0793/build/source/build /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/daemon/coordinator.cc72../src/daemon/coordinator.cc:178:9: error: no header providing "nixgrpc::Builder" is directly included [misc-include-cleaner,-warnings-as-errors]73 2 | Builder::Config self{.advertise = options.advertise, .systems = {nix::settings.thisSystem.get()}, .features = {}, .maxJobs = options.maxJobs};74 | ^75>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/8fef973cacdc0793/build/source/build /private/var/tb/4/scratch/8fef973cacdc0793/build/source/tests/farm-sim-test.cc76../tests/farm-sim-test.cc:313:66: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:313:66)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]77 313 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void {78 | ^79/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' here80 67 | throw bad_array_new_length();81 | ^82/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' here83 101 | std::__throw_bad_array_new_length();84 | ^85/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' here86 112 | return {allocate(__n), __n};87 | ^88/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' here89 280 | return __alloc.allocate_at_least(__n);90 | ^91/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>>' here92 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);93 | ^94/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>>' here95 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);96 | ^97/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' here98 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());99 | ^100../tests/farm-sim-test.cc:313:66: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:313:66)' calls function 'basic_string' here101 313 | add(steps, std::format("{} wants {}", who, drv), [&cli, drv] -> void {102 | ^103../tests/farm-sim-test.cc:333:34: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:333:34)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]104 333 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });105 | ^106/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' here107 67 | throw bad_array_new_length();108 | ^109/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' here110 101 | std::__throw_bad_array_new_length();111 | ^112/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' here113 112 | return {allocate(__n), __n};114 | ^115/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' here116 280 | return __alloc.allocate_at_least(__n);117 | ^118/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>>' here119 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);120 | ^121/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>>' here122 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);123 | ^124/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' here125 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());126 | ^127../tests/farm-sim-test.cc:333:34: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:333:34)' calls function 'basic_string' here128 333 | [this, &cli, &job, drv] -> void { call(cli, job, drv); });129 | ^130../tests/farm-sim-test.cc:401:51: error: an exception may be thrown in function '(lambda at ../tests/farm-sim-test.cc:401:51)' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]131 401 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });132 | ^133/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' here134 67 | throw bad_array_new_length();135 | ^136/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' here137 101 | std::__throw_bad_array_new_length();138 | ^139/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' here140 112 | return {allocate(__n), __n};141 | ^142/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' here143 280 | return __alloc.allocate_at_least(__n);144 | ^145/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>>' here146 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);147 | ^148/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>>' here149 2580 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);150 | ^151/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' here152 1007 | __init_copy_ctor_external(std::__to_address(__str.__get_long_pointer()), __str.__get_long_size());153 | ^154../tests/farm-sim-test.cc:401:51: note: frame #7: function '(lambda at ../tests/farm-sim-test.cc:401:51)' calls function 'basic_string' here155 401 | add(steps, wkr.addr + " ends " + drv, [this, idx, drv] -> void { buildEnds(idx, drv); });156 | ^157../tests/farm-sim-test.cc:519:24: error: no header providing "open" is directly included [misc-include-cleaner,-warnings-as-errors]158 29 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);159 | ^160../tests/farm-sim-test.cc:519:42: error: no header providing "O_WRONLY" is directly included [misc-include-cleaner,-warnings-as-errors]161 519 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);162 | ^163../tests/farm-sim-test.cc:519:53: error: no header providing "O_CLOEXEC" is directly included [misc-include-cleaner,-warnings-as-errors]164 519 | int const null = ::open("/dev/null", O_WRONLY | O_CLOEXEC);165 | ^166>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/8fef973cacdc0793/build/source/build /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/daemon/sbpl.cc167[1/1] (1/2) Processing file /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/daemon/sbpl.cc.168[1/1] (2/2) Processing file /private/var/tb/4/scratch/8fef973cacdc0793/build/source/src/daemon/sbpl.cc.169>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/8fef973cacdc0793/build/source/build /private/var/tb/4/scratch/8fef973cacdc0793/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/4/scratch/8fef973cacdc0793/build/source /private/var/tb/4/scratch/8fef973cacdc0793/build/source/build --color always176ninja: build stopped: subcommand failed.