nixbot

builds

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

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/gfavm5w66swc0kj5dxa836gg62929fi0-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-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/32ad613ffbc5c817/build/source8Build dir: /private/var/tb/8/scratch/32ad613ffbc5c817/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/32ad613ffbc5c817/build/source/tests/farm-client-test.sh)41Program tests/oidc-test.sh found: YES (/private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/oidc-test.sh)42Build targets in project: 2643WARNING: 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/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/bin52 buildtype : plain53 includedir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/include54 infodir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/info55 libdir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/lib56 libexecdir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/libexec57 localedir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/locale58 mandir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/man59 prefix : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.360 sbindir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-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/32ad613ffbc5c817/build/source /private/var/tb/8/scratch/32ad613ffbc5c817/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/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/dispatcher-test.cc69../tests/dispatcher-test.cc:111:6: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors]70 111 | auto main() -> int71 | ^72/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' here73 67 | throw bad_array_new_length();74 | ^75/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' here76 101 | std::__throw_bad_array_new_length();77 | ^78/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' here79 112 | return {allocate(__n), __n};80 | ^81/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' here82 280 | return __alloc.allocate_at_least(__n);83 | ^84/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>>' here85 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n);86 | ^87/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2555:25: note: frame #5: function '__init' calls function '__allocate_at_least<std::allocator<char>>' here88 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1);89 | ^90/nix/store/x1x1gm4vkysqvi93wndbzskipgqy0nc0-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1063:5: note: frame #6: function 'basic_string<0>' calls function '__init' here91 1063 | __init(__s, traits_type::length(__s));92 | ^93../tests/dispatcher-test.cc:18:30: note: frame #7: function 'Farm' calls function 'basic_string<0>' here94 18 | nixgrpc::Metrics metrics{""};95 | ^96../tests/dispatcher-test.cc:85:10: note: frame #8: function 'loopbackWorkerMayAnswerACommand' calls function 'Farm' here97 85 | Farm farm;98 | ^99../tests/dispatcher-test.cc:113:5: note: frame #9: function 'main' calls function 'loopbackWorkerMayAnswerACommand' here100 113 | loopbackWorkerMayAnswerACommand();101 | ^102>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc103[1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc.104[1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc.105>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/http-test.cc106../tests/http-test.cc:61:32: error: no header providing "htonl" is directly included [misc-include-cleaner,-warnings-as-errors]107 12 | addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);108 | ^109../tests/http-test.cc:62:9: error: no header providing "socklen_t" is directly included [misc-include-cleaner,-warnings-as-errors]110 12 | socklen_t len = sizeof addr;111 | ^112../tests/http-test.cc:69:53: error: no header providing "ntohs" is directly included [misc-include-cleaner,-warnings-as-errors]113 69 | url_ = "http://127.0.0.1:" + std::to_string(ntohs(addr.sin_port)) + "/";114 | ^115>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc116Errors encountered while running clang-tidy117[1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc.118[1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc.119FAILED: [code=1] meson-internal__clang-tidy 120/nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/8/scratch/32ad613ffbc5c817/build/source /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build --color always121ninja: build stopped: subcommand failed.