tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/gfavm5w66swc0kj5dxa836gg62929fi0-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase 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=false The Meson build system Version: 1.12.1 Source dir: /private/var/tb/8/scratch/32ad613ffbc5c817/build/source Build dir: /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: nix-grpc-store Project version: 0.2.3 C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") C++ linker for the host machine: clang++ ld64 956.6 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/8rqbivyzdx8xkj8k47b07f4089bz32pb-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.84.0 Run-time dependency protobuf found: YES 36.2.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.5.9 Run-time dependency prometheus-cpp-core found: YES 1.3.0 Run-time dependency prometheus-cpp-pull found: YES 1.3.0 Run-time dependency absl_flat_hash_map found: YES 20260817 Run-time dependency absl_hash found: YES 20260817 Run-time dependency absl_synchronization found: YES 20260817 Compiler for C++ supports arguments -Werror=thread-safety: YES Run-time dependency nix-store found: YES 2.36.0pre20261025_d99b7516 Run-time dependency nix-util found: YES 2.36.0pre20261025_d99b7516 Run-time dependency jemalloc found: YES 5.4.0_0 Run-time dependency libcurl found: YES 8.22.0 Run-time dependency nlohmann_json found: YES 3.12.0 Library bz2 found: YES Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES Program protoc found: YES (/nix/store/jxrris8n0dw7am1kzs3ygfqyd9l6s4l3-protobuf-36.2/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/hm4j3zqs3jvbg3gjgw33lc322yjb07f4-grpc-1.84.0/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/private/var/tb/8/scratch/32ad613ffbc5c817/build/source/tests/oidc-test.sh) Build targets in project: 26 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.2.3 User defined options auto_features: enabled b_pch : false bindir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/bin buildtype : plain includedir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/include infodir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/info 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 localedir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/locale mandir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/share/man prefix : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3 sbindir : /nix/store/lk4dg4n7nqch7yy80vxvsih17fwdc18r-nix-grpc-store-clang-tidy-0.2.3/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/ndfr0d2nizw172ppn99n505ikpsq9727-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [1/2] Generating nix_remote_proto with a custom command [2/2] Generating eds_proto with a custom command [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 always >>> /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.cc ../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] 111 | auto main() -> int | ^ /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' here 67 | throw bad_array_new_length(); | ^ /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' here 101 | std::__throw_bad_array_new_length(); | ^ /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' here 112 | return {allocate(__n), __n}; | ^ /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>' calls function 'allocate_at_least' here 280 | return __alloc.allocate_at_least(__n); | ^ /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>' calls function 'allocate_at_least>' here 26 | return std::allocator_traits<_Alloc>::allocate_at_least(__alloc, __n); | ^ /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>' here 2555 | auto __allocation = std::__allocate_at_least(__alloc_, __recommend(__sz) + 1); | ^ /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' here 1063 | __init(__s, traits_type::length(__s)); | ^ ../tests/dispatcher-test.cc:18:30: note: frame #7: function 'Farm' calls function 'basic_string<0>' here 18 | nixgrpc::Metrics metrics{""}; | ^ ../tests/dispatcher-test.cc:85:10: note: frame #8: function 'loopbackWorkerMayAnswerACommand' calls function 'Farm' here 85 | Farm farm; | ^ ../tests/dispatcher-test.cc:113:5: note: frame #9: function 'main' calls function 'loopbackWorkerMayAnswerACommand' here 113 | loopbackWorkerMayAnswerACommand(); | ^ >>> /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.cc [1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc. [1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/client/channel.cc. >>> /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.cc ../tests/http-test.cc:61:32: error: no header providing "htonl" is directly included [misc-include-cleaner,-warnings-as-errors] 12 | addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); | ^ ../tests/http-test.cc:62:9: error: no header providing "socklen_t" is directly included [misc-include-cleaner,-warnings-as-errors] 12 | socklen_t len = sizeof addr; | ^ ../tests/http-test.cc:69:53: error: no header providing "ntohs" is directly included [misc-include-cleaner,-warnings-as-errors] 69 | url_ = "http://127.0.0.1:" + std::to_string(ntohs(addr.sin_port)) + "/"; | ^ >>> /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.cc Errors encountered while running clang-tidy [1/1] (1/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc. [1/1] (2/2) Processing file /private/var/tb/8/scratch/32ad613ffbc5c817/build/source/src/daemon/sbpl.cc. FAILED: [code=1] meson-internal__clang-tidy /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 always ninja: build stopped: subcommand failed.