this derivation will be built: /nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv building '/nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' on 'ssh-ng://customer@mac02' building '/nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> unpacking source archive /nix/store/z86qkmvrrrhzmfz4zffiy7bcp2cgilr9-source nix-grpc-store-clang-tidy-0.1.0-beta.4> source root is source nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: patchPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: configurePhase nix-grpc-store-clang-tidy-0.1.0-beta.4> 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 nix-grpc-store-clang-tidy-0.1.0-beta.4> The Meson build system nix-grpc-store-clang-tidy-0.1.0-beta.4> Version: 1.10.2 nix-grpc-store-clang-tidy-0.1.0-beta.4> Source dir: /nix/var/nix/builds/nix-4997-3275984672/source nix-grpc-store-clang-tidy-0.1.0-beta.4> Build dir: /nix/var/nix/builds/nix-4997-3275984672/source/build nix-grpc-store-clang-tidy-0.1.0-beta.4> Build type: native build nix-grpc-store-clang-tidy-0.1.0-beta.4> WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead nix-grpc-store-clang-tidy-0.1.0-beta.4> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.1.0-beta.4> Project version: 0.1.0-beta.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.1.0-beta.4> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.1.0-beta.4> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.1.0-beta.4> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.1.0-beta.4> Found pkg-config: YES (/nix/store/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency grpc++ found: YES 1.83.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency protobuf found: YES 36.1.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libcrypto found: YES 3.6.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_flat_hash_map found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_hash found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency absl_synchronization found: YES 20260107 nix-grpc-store-clang-tidy-0.1.0-beta.4> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency jemalloc found: YES 5.3.1_0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nix-store found: YES 2.36.0pre20260927_c621c2b3 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nix-util found: YES 2.36.0pre20260927_c621c2b3 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.1.0-beta.4> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0-beta.4> Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.1.0-beta.4> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.1.0-beta.4> Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.1.0-beta.4> Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.1.0-beta.4> Build targets in project: 16 nix-grpc-store-clang-tidy-0.1.0-beta.4> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.1.0-beta.4> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store 0.1.0-beta.4 nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> User defined options nix-grpc-store-clang-tidy-0.1.0-beta.4> auto_features: enabled nix-grpc-store-clang-tidy-0.1.0-beta.4> b_pch : false nix-grpc-store-clang-tidy-0.1.0-beta.4> bindir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin nix-grpc-store-clang-tidy-0.1.0-beta.4> buildtype : plain nix-grpc-store-clang-tidy-0.1.0-beta.4> includedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/include nix-grpc-store-clang-tidy-0.1.0-beta.4> infodir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info 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 nix-grpc-store-clang-tidy-0.1.0-beta.4> libexecdir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec nix-grpc-store-clang-tidy-0.1.0-beta.4> localedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale nix-grpc-store-clang-tidy-0.1.0-beta.4> mandir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man nix-grpc-store-clang-tidy-0.1.0-beta.4> prefix : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4 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 nix-grpc-store-clang-tidy-0.1.0-beta.4> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.1.0-beta.4> nix-grpc-store-clang-tidy-0.1.0-beta.4> Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.1.0-beta.4> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.1.0-beta.4> Running phase: buildPhase nix-grpc-store-clang-tidy-0.1.0-beta.4> [2/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.1.0-beta.4> [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-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> 9 | std::string_view soversion) -> bool { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName' nix-grpc-store-clang-tidy-0.1.0-beta.4> 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion' nix-grpc-store-clang-tidy-0.1.0-beta.4> 9 | std::string_view soversion) -> bool { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 5 | int main() { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> 244 | throw length_error(__msg); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> 2473 | std::__throw_length_error("basic_string"); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> 2549 | this->__throw_length_error(); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> 1155 | __init(__sv.data(), __sv.size()); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/client/plugin-loader-path.hh:10:39: note: frame #4: function 'darwinNixStoreOutputMatches' calls function 'basic_string' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 10 | const auto marker = "-nix-store-" + std::string(soversion); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/plugin-loader-test.cc:8:10: note: frame #5: function 'main' calls function 'darwinNixStoreOutputMatches' here nix-grpc-store-clang-tidy-0.1.0-beta.4> 8 | assert(darwinNixStoreOutputMatches("hash-nix-store-2.31.5", "2.31.5")); nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../tests/plugin-loader-test.cc:5:5: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0-beta.4> 5 | int main() { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ~~~ ^ nix-grpc-store-clang-tidy-0.1.0-beta.4> | auto -> int nix-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> ../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] nix-grpc-store-clang-tidy-0.1.0-beta.4> 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> 9 | std::string_view soversion) -> bool { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName' nix-grpc-store-clang-tidy-0.1.0-beta.4> 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName, nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> ../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion' nix-grpc-store-clang-tidy-0.1.0-beta.4> 9 | std::string_view soversion) -> bool { nix-grpc-store-clang-tidy-0.1.0-beta.4> | ^~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0-beta.4> >>> /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 nix-grpc-store-clang-tidy-0.1.0-beta.4> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.1.0-beta.4> [1/1] (1/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.1.0-beta.4> [1/1] (2/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.1.0-beta.4> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.1.0-beta.4> /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-grpc-store-clang-tidy-0.1.0-beta.4> ninja: build stopped: subcommand failed. error: build of '/nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4 Last 25 log lines: > 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. For full logs, run: nix log /nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv error: Cannot build '/nix/store/c9v33wynaxcvx1pl0ayd5clri2724as5-nix-grpc-store-clang-tidy-0.1.0-beta.4.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4