nixbot

builds

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

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/a7irn9f0h1q8dnm4812gymlmsf2k61ln-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-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/6/scratch/b14abb2f0b872c8a/build/source8Build dir: /private/var/tb/6/scratch/b14abb2f0b872c8a/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 libssl found: YES 3.5.924Run-time dependency prometheus-cpp-core found: YES 1.3.025Run-time dependency prometheus-cpp-pull found: YES 1.3.026Run-time dependency absl_flat_hash_map found: YES 2026081727Run-time dependency absl_hash found: YES 2026081728Run-time dependency absl_synchronization found: YES 2026081729Compiler for C++ supports arguments -Werror=thread-safety: YES 30Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e31Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e32Run-time dependency jemalloc found: YES 5.4.0_033Run-time dependency libcurl found: YES 8.22.034Run-time dependency nlohmann_json found: YES 3.12.035Library bz2 found: YES36Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 37Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES 38Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc)39Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin)40Run-time dependency dl found: YES41Program tests/farm-client-test.sh found: YES (/private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/tests/farm-client-test.sh)42Program tests/oidc-test.sh found: YES (/private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/tests/oidc-test.sh)43Build targets in project: 3144WARNING: Project specifies no minimum version but uses features which were added in versions:45 * 1.1: {'meson.options file'}4647nix-grpc-store 0.2.34849 User defined options50 auto_features: enabled51 b_pch : false52 bindir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/bin53 buildtype : plain54 includedir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/include55 infodir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/share/info56 libdir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/lib57 libexecdir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/libexec58 localedir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/share/locale59 mandir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/share/man60 prefix : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.361 sbindir : /nix/store/06jqf1l5rjldrkasmn7gr9xxnjbgngiq-nix-grpc-store-clang-tidy-0.2.3/sbin62 wrap_mode : nodownload6364Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja65mesonConfigurePhase: enabled\ parallel\ building
buildPhase
66[1/2] Generating eds_proto with a custom command67[2/2] Generating nix_remote_proto with a custom command68[0/1] /nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build --color always69>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/tests/tunnel-test.cc70../tests/tunnel-test.cc:138:13: error: The 1st argument to 'bind' is -1 but should be >= 0 [clang-analyzer-unix.StdCLibraryFunctions,-warnings-as-errors]71 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 072 | ^73../tests/tunnel-test.cc:558:10: note: Calling implicit default constructor for 'Held'74 558 | Held held;75 | ^~~~76../tests/tunnel-test.cc:558:10: note: Calling default constructor for 'Listener'77 558 | Held held;78 | ^~~~79../tests/tunnel-test.cc:125:16: note: Assuming that 'socket' fails80 125 | : sock(socket(family, SOCK_STREAM, 0))81 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~82../tests/tunnel-test.cc:125:16: note: Passing value via 1st parameter 'fd'83 125 | : sock(socket(family, SOCK_STREAM, 0))84 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~85../tests/tunnel-test.cc:125:11: note: Calling constructor for 'AutoCloseFD'86 125 | : sock(socket(family, SOCK_STREAM, 0))87 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~88/nix/store/naw6hxwix5w748ixb05gj93q593bpqnb-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:274:11: note: The value -1 is assigned to 'held.lis.sock.fd'89 274 | : fd(fd)90 | ^91../tests/tunnel-test.cc:125:11: note: Returning from constructor for 'AutoCloseFD'92 125 | : sock(socket(family, SOCK_STREAM, 0))93 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~94../tests/tunnel-test.cc:132:13: note: 'family' is not equal to AF_INET695 132 | if (family == AF_INET6) {96 | ^~~~~~97../tests/tunnel-test.cc:132:9: note: Taking false branch98 132 | if (family == AF_INET6) {99 | ^100../tests/tunnel-test.cc:138:18: note: Calling 'AutoCloseFD::get'101 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0102 | ^~~~~~~~~~103/nix/store/naw6hxwix5w748ixb05gj93q593bpqnb-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:287:9: note: Returning the value -1104 287 | return fd;105 | ^~~~~~~~~106../tests/tunnel-test.cc:138:18: note: Returning from 'AutoCloseFD::get'107 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0108 | ^~~~~~~~~~109../tests/tunnel-test.cc:138:13: note: The 1st argument to 'bind' is -1 but should be >= 0110 138 | if (bind(sock.get(), reinterpret_cast<sockaddr *>(&addr), len) != 0 || listen(sock.get(), 4) != 0111 | ^ ~~~~~~~~~~112>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/tests/local-store-test.cc113../tests/local-store-test.cc:25:1: error: included header error.hh is not used directly [misc-include-cleaner,-warnings-as-errors]114 25 | #include <nix/util/error.hh>115 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~116 26 | #include <nix/util/serialise.hh>117>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/main.cc118Error while processing /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/main.cc.119../src/daemon/main.cc:597:44: error: no member named 'get' in 'boost::outcome_v2::basic_result<nix::AutoCloseFD, int, boost::outcome_v2::policy::all_narrow>' [clang-diagnostic-error]120 597 | nix::FdSource(file.get()).drainInto(sink);121 | ~~~~ ^122../src/daemon/main.cc:598:46: error: no member named 'get' in 'boost::outcome_v2::basic_result<nix::AutoCloseFD, int, boost::outcome_v2::policy::all_narrow>' [clang-diagnostic-error]123 598 | } else if (!bunzip2(file.get(), sink)) {124 | ~~~~ ^125>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/client/channel.cc126[1/1] (1/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/client/channel.cc.127[1/1] (2/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/client/channel.cc.128>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnel.cc129[1/1] (1/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnel.cc.130[1/1] (2/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnel.cc.131>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/sbpl.cc132[1/1] (1/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/sbpl.cc.133[1/1] (2/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/sbpl.cc.134>>> /nix/store/pn43pdiv5xl5sjvlm9mw7w61zxjr8lmn-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnels.cc135Errors encountered while running clang-tidy136[1/1] (1/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnels.cc.137[1/1] (2/2) Processing file /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/src/daemon/tunnels.cc.138FAILED: [code=1] meson-internal__clang-tidy 139/nix/store/sn59lgid7r01w49nyz81hcp1rjmpby3m-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source /private/var/tb/6/scratch/b14abb2f0b872c8a/build/source/build --color always140ninja: build stopped: subcommand failed.