nixbot

builds

failed nix-grpc-store-clang-tidy-0.2.1 checks.aarch64-darwin.clang-tidy · build #676 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/cf7mc3gxj40jcfpp806p2a4w7rad8ibs-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1 --libdir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/lib --libexecdir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/libexec --bindir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/bin --sbindir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/sbin --includedir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/include --mandir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/share/man --infodir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/share/info --localedir=/nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/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/45d92e588dd8eed5/build/source8Build dir: /private/var/tb/4/scratch/45d92e588dd8eed5/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.113C++ 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/nhgylvj98klqggy54h7gbc3b2ia4a00y-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.83.119Run-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.823Run-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.0pre20261011_651b0cd530Run-time dependency nix-util found: YES 2.36.0pre20261011_651b0cd531Run-time dependency jemalloc found: YES 5.3.1_032Run-time dependency libcurl found: YES 8.22.033Run-time dependency nlohmann_json found: YES 3.12.034Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 35Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 36Program protoc found: YES (/nix/store/829sb6226a37vass89i0ybxm1zik7kjy-protobuf-36.2/bin/protoc)37Program grpc_cpp_plugin found: YES (/nix/store/8k628c8x6prnw4ibqnm28w8ahhwi6944-grpc-1.83.1/bin/grpc_cpp_plugin)38Run-time dependency dl found: YES39Program tests/farm-client-test.sh found: YES (/private/var/tb/4/scratch/45d92e588dd8eed5/build/source/tests/farm-client-test.sh)40Program tests/oidc-test.sh found: YES (/private/var/tb/4/scratch/45d92e588dd8eed5/build/source/tests/oidc-test.sh)41Build targets in project: 2142WARNING: Project specifies no minimum version but uses features which were added in versions:43 * 1.1: {'meson.options file'}4445nix-grpc-store 0.2.14647 User defined options48 auto_features: enabled49 b_pch : false50 bindir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/bin51 buildtype : plain52 includedir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/include53 infodir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/share/info54 libdir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/lib55 libexecdir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/libexec56 localedir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/share/locale57 mandir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/share/man58 prefix : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.159 sbindir : /nix/store/cigl03vp6vgs8r4yp1nxg7g3sdbq7gf1-nix-grpc-store-clang-tidy-0.2.1/sbin60 wrap_mode : nodownload6162Found ninja-1.13.2 at /nix/store/infm4vlx71q83bqz0k559w1gn4b0rq4i-ninja-1.13.2/bin/ninja63mesonConfigurePhase: enabled\ parallel\ building
buildPhase
64[1/2] Generating nix_remote_proto with a custom command65[2/2] Generating eds_proto with a custom command66[0/1] /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/4/scratch/45d92e588dd8eed5/build/source /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build --color always67>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/client/channel.cc68[1/1] (1/2) Processing file /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/client/channel.cc.69[1/1] (2/2) Processing file /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/client/channel.cc.70>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/client/store.cc71../src/client/store.cc:5:1: error: included header algorithm is not used directly [misc-include-cleaner,-warnings-as-errors]72 5 | #include <algorithm>73 | ^~~~~~~~~~~~~~~~~~~~74 6 | #include <array>75../src/client/store.cc:6:1: error: included header array is not used directly [misc-include-cleaner,-warnings-as-errors]76 6 | #include <array>77 | ^~~~~~~~~~~~~~~~78 7 | #include <functional>79../src/client/store.cc:136:16: error: no header providing "nixgrpc::transportError" is directly included [misc-include-cleaner,-warnings-as-errors]80 40 | if (nixgrpc::transportError(msg)) {81 | ^82>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/tests/retry-test.cc83../tests/retry-test.cc:31:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]84 31 | auto main() -> int85 | ^86/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-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' here87 244 | throw length_error(__msg);88 | ^89/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-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' here90 2473 | std::__throw_length_error("basic_string");91 | ^92/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2549:5: note: frame #2: function '__init' calls function '__throw_length_error' here93 2549 | this->__throw_length_error();94 | ^95/nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1063:5: note: frame #3: function 'basic_string<0>' calls function '__init' here96 1063 | __init(__s, traits_type::length(__s));97 | ^98../tests/retry-test.cc:11:93: note: frame #4: function 'unavailable' calls function 'basic_string<0>' here99 11 | auto unavailable(const char * msg) -> grpc::Status { return {grpc::StatusCode::UNAVAILABLE, msg}; }100 | ^101../tests/retry-test.cc:16:30: note: frame #5: function 'classifiesFarmErrors' calls function 'unavailable' here102 16 | assert(nixgrpc::goneAway(unavailable(103 | ^104../tests/retry-test.cc:33:5: note: frame #6: function 'main' calls function 'classifiesFarmErrors' here105 33 | classifiesFarmErrors();106 | ^107>>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/daemon/sbpl.cc108Errors encountered while running clang-tidy109[1/1] (1/2) Processing file /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/daemon/sbpl.cc.110[1/1] (2/2) Processing file /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/src/daemon/sbpl.cc.111FAILED: [code=1] meson-internal__clang-tidy 112/nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/4/scratch/45d92e588dd8eed5/build/source /private/var/tb/4/scratch/45d92e588dd8eed5/build/source/build --color always113ninja: build stopped: subcommand failed.