nix-grpc-store-clang-tidy-0.1.0-beta.4
checks.aarch64-darwin.clang-tidy
· build #578
· raw
unpackPhase
1unpacking source archive /nix/store/z86qkmvrrrhzmfz4zffiy7bcp2cgilr9-source2source root is sourceconfigurePhase
3mesonConfigurePhase 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=false4The Meson build system5Version: 1.10.26Source dir: /nix/var/nix/builds/nix-4997-3275984672/source7Build dir: /nix/var/nix/builds/nix-4997-3275984672/source/build8Build type: native build9WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead10Project name: nix-grpc-store11Project version: 0.1.0-beta.412C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")13C++ linker for the host machine: clang++ ld64 956.614Host machine cpu family: aarch6415Host machine cpu: aarch6416Found pkg-config: YES (/nix/store/kd2x1bj3gwfh2hb69fk5ym043h2qavxc-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.217Run-time dependency grpc++ found: YES 1.83.018Run-time dependency protobuf found: YES 36.1.019Run-time dependency libzstd found: YES 1.5.720Run-time dependency threads found: YES21Run-time dependency libcrypto found: YES 3.6.422Run-time dependency prometheus-cpp-core found: YES 1.3.023Run-time dependency prometheus-cpp-pull found: YES 1.3.024Run-time dependency absl_flat_hash_map found: YES 2026010725Run-time dependency absl_hash found: YES 2026010726Run-time dependency absl_synchronization found: YES 2026010727Compiler for C++ supports arguments -Werror=thread-safety: YES 28Run-time dependency jemalloc found: YES 5.3.1_029Run-time dependency nix-store found: YES 2.36.0pre20260927_c621c2b330Run-time dependency nix-util found: YES 2.36.0pre20260927_c621c2b331Run-time dependency libcurl found: YES 8.22.032Run-time dependency nlohmann_json found: YES 3.12.033Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 34Program protoc found: YES (/nix/store/r1npr0vx8d17c0fhh9gvg9mpaiphn62a-protobuf-36.1/bin/protoc)35Program grpc_cpp_plugin found: YES (/nix/store/0mm81ldgq4ssz7gnh8589gx9zfcxpdhq-grpc-1.83.0/bin/grpc_cpp_plugin)36Run-time dependency dl found: YES37Program tests/farm-client-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/farm-client-test.sh)38Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-4997-3275984672/source/tests/oidc-test.sh)39Build targets in project: 1640WARNING: Project specifies no minimum version but uses features which were added in versions:41 * 1.1: {'meson.options file'}4243nix-grpc-store 0.1.0-beta.44445 User defined options46 auto_features: enabled47 b_pch : false48 bindir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/bin49 buildtype : plain50 includedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/include51 infodir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/info52 libdir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/lib53 libexecdir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/libexec54 localedir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/locale55 mandir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/share/man56 prefix : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.457 sbindir : /nix/store/d7h7fdg3nndh5iw6156bgsiyj0s2xczc-nix-grpc-store-clang-tidy-0.1.0-beta.4/sbin58 wrap_mode : nodownload5960Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja61mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
62[2/2] Generating eds_proto with a custom command63[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 always64>>> /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.cc65../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]66 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName,67 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~68 9 | std::string_view soversion) -> bool {69 | ~~~~~~~~~~~~~~~~~~~~~~~~~~70../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName'71 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName,72 | ^~~~~~~~~~73../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion'74 9 | std::string_view soversion) -> bool {75 | ^~~~~~~~~76../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]77 5 | int main() {78 | ^79/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' here80 244 | throw length_error(__msg);81 | ^82/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' here83 2473 | std::__throw_length_error("basic_string");84 | ^85/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' here86 2549 | this->__throw_length_error();87 | ^88/nix/store/9z187ss3liak3pngakax2ip7nb1dc7z5-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/string:1155:5: note: frame #3: function 'basic_string<std::string_view, 0>' calls function '__init' here89 1155 | __init(__sv.data(), __sv.size());90 | ^91../src/client/plugin-loader-path.hh:10:39: note: frame #4: function 'darwinNixStoreOutputMatches' calls function 'basic_string<std::string_view, 0>' here92 10 | const auto marker = "-nix-store-" + std::string(soversion);93 | ^94../tests/plugin-loader-test.cc:8:10: note: frame #5: function 'main' calls function 'darwinNixStoreOutputMatches' here95 8 | assert(darwinNixStoreOutputMatches("hash-nix-store-2.31.5", "2.31.5"));96 | ^97../tests/plugin-loader-test.cc:5:5: error: use a trailing return type for this function [modernize-use-trailing-return-type,-warnings-as-errors]98 5 | int main() {99 | ~~~ ^100 | auto -> int101>>> /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.cc102../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]103 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName,104 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~105 9 | std::string_view soversion) -> bool {106 | ~~~~~~~~~~~~~~~~~~~~~~~~~~107../src/client/plugin-loader-path.hh:8:58: note: the first parameter in the range is 'outputName'108 8 | inline auto darwinNixStoreOutputMatches(std::string_view outputName,109 | ^~~~~~~~~~110../src/client/plugin-loader-path.hh:9:58: note: the last parameter in the range is 'soversion'111 9 | std::string_view soversion) -> bool {112 | ^~~~~~~~~113>>> /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.cc114Errors encountered while running clang-tidy115[1/1] (1/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc.116[1/1] (2/2) Processing file /nix/var/nix/builds/nix-4997-3275984672/source/src/client/channel.cc.117FAILED: [code=1] meson-internal__clang-tidy 118/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 always119ninja: build stopped: subcommand failed.