Running phase: unpackPhase unpacking source archive /nix/store/z86qkmvrrrhzmfz4zffiy7bcp2cgilr9-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4 --libdir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/lib --libexecdir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec --bindir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin --sbindir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin --includedir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/include --mandir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man --infodir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info --localedir=/nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false The Meson build system Version: 1.10.2 Source dir: /nix/var/nix/builds/nix-4997-3275984672/source Build dir: /nix/var/nix/builds/nix-4997-3275984672/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.1.0-beta.4 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/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.83.0 Run-time dependency protobuf found: YES 36.1.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.6.4 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 20260107 Run-time dependency absl_hash found: YES 20260107 Run-time dependency absl_synchronization found: YES 20260107 Compiler for C++ supports arguments -Werror=thread-safety: YES Run-time dependency jemalloc found: YES 5.3.1_0 Run-time dependency nix-store found: YES 2.36.0pre20260927_c621c2b3 Run-time dependency nix-util found: YES 2.36.0pre20260927_c621c2b3 Run-time dependency libcurl found: YES 8.22.0 Run-time dependency nlohmann_json found: YES 3.12.0 Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/oidc-test.sh) Build targets in project: 16 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.1.0-beta.4 User defined options auto_features: enabled b_pch : false bindir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin buildtype : plain includedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/include infodir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info libdir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/lib libexecdir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec localedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale mandir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man prefix : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4 sbindir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [2/2] Generating eds_proto with a custom command [0/1] /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-4997-3275984672/source /nix/var/nix/builds/nix-4997-3275984672/source/build --color always >>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4997-3275984672/source/build /nix/var/nix/builds/nix-4997-3275984672/source/tests/plugin-loader-test.cc ../src/client/plugin-loader-path.hh:8:41: error: 2 adjacent parameters of 'darwinNixStoreOutputMatches' of similar type ('std::string_view') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors] 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | std::string_view soversion) -> bool { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName' 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, | ^~~~~~~~~~ ../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion' 9 | std::string_view soversion) -> bool { | ^~~~~~~~~ ../tests/plugin-loader-test.cc:5:5: error: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape,-warnings-as-errors] 5 | int main() { | ^ /nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-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' here 244 | throw length_error(__msg); | ^ /nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-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' here 2473 | std::__throw_length_error("basic_string"); | ^ /nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:2549:5: note: frame #2: function '__init' calls function '__throw_length_error' here 2549 | this->__throw_length_error(); | ^ /nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1155:5: note: frame #3: function 'basic_string' calls function '__init' here 1155 | __init(__sv.data(), __sv.size()); | ^ ../src/client/plugin-loader-path.hh:10:39: note: frame #4: function 'darwinNixStoreOutputMatches' calls function 'basic_string' here 10 | const auto marker = "-nix-store-" + std::string(soversion); | ^ ../tests/plugin-loader-test.cc:8:10: note: frame #5: function 'main' calls function 'darwinNixStoreOutputMatches' here 8 | assert(darwinNixStoreOutputMatches("hash-nix-store-2.31.5", "2.31.5")); | ^ ../tests/plugin-loader-test.cc:5:5: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] 5 | int main() { | ~~~ ^ | auto -> int >>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4997-3275984672/source/build /nix/var/nix/builds/nix-4997-3275984672/source/src/client/plugin-loader.cc ../src/client/plugin-loader-path.hh:8:41: error: 2 adjacent parameters of 'darwinNixStoreOutputMatches' of similar type ('std::string_view') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors] 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | std::string_view soversion) -> bool { | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName' 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, | ^~~~~~~~~~ ../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion' 9 | std::string_view soversion) -> bool { | ^~~~~~~~~ >>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-4997-3275984672/source/build /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc Errors encountered while running clang-tidy [1/1] (1/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc. [1/1] (2/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc. FAILED: [code=1] meson-internal__clang-tidy /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-4997-3275984672/source /nix/var/nix/builds/nix-4997-3275984672/source/build --color always ninja: build stopped: subcommand failed.