this derivation will be built: /nix/store/2fgspvm7l3rl1fp60b9vf369d7niblbv-nix-grpc-store-clang-tidy-0.2.0.drv building '/nix/store/2fgspvm7l3rl1fp60b9vf369d7niblbv-nix-grpc-store-clang-tidy-0.2.0.drv' nix-grpc-store-clang-tidy-0.2.0> tribuchet: building on mac02 nix-grpc-store-clang-tidy-0.2.0> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.2.0> unpacking source archive /nix/store/42pk8s978pvi1cjyb9dwq7mwiwcsqi5s-source nix-grpc-store-clang-tidy-0.2.0> source root is source nix-grpc-store-clang-tidy-0.2.0> Running phase: patchPhase nix-grpc-store-clang-tidy-0.2.0> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.2.0> Running phase: configurePhase nix-grpc-store-clang-tidy-0.2.0> mesonConfigurePhase flags: --prefix=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0 --libdir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/lib --libexecdir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/libexec --bindir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/bin --sbindir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/sbin --includedir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/include --mandir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/man --infodir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/info --localedir=/nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false nix-grpc-store-clang-tidy-0.2.0> The Meson build system nix-grpc-store-clang-tidy-0.2.0> Version: 1.12.1 nix-grpc-store-clang-tidy-0.2.0> Source dir: /private/var/tb/3/scratch/b484b9905da928ec/build/source nix-grpc-store-clang-tidy-0.2.0> Build dir: /private/var/tb/3/scratch/b484b9905da928ec/build/source/build nix-grpc-store-clang-tidy-0.2.0> Build type: native build nix-grpc-store-clang-tidy-0.2.0> 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.2.0> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.2.0> Project version: 0.2.0 nix-grpc-store-clang-tidy-0.2.0> C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") nix-grpc-store-clang-tidy-0.2.0> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.2.0> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.2.0> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.2.0> Found pkg-config: YES (/nix/store/nhgylvj98klqggy54h7gbc3b2ia4a00y-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency grpc++ found: YES 1.83.1 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency protobuf found: YES 36.2.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libcrypto found: YES 3.5.8 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_flat_hash_map found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_hash found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency absl_synchronization found: YES 20260817 nix-grpc-store-clang-tidy-0.2.0> Compiler for C++ supports arguments -Werror=thread-safety: YES nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nix-store found: YES 2.36.0pre20261004_b010dc99 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nix-util found: YES 2.36.0pre20261004_b010dc99 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency jemalloc found: YES 5.3.1_0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency libcurl found: YES 8.22.0 nix-grpc-store-clang-tidy-0.2.0> Run-time dependency nlohmann_json found: YES 3.12.0 nix-grpc-store-clang-tidy-0.2.0> Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES nix-grpc-store-clang-tidy-0.2.0> Program protoc found: YES (/nix/store/829sb6226a37vass89i0ybxm1zik7kjy-protobuf-36.2/bin/protoc) nix-grpc-store-clang-tidy-0.2.0> Program grpc_cpp_plugin found: YES (/nix/store/8k628c8x6prnw4ibqnm28w8ahhwi6944-grpc-1.83.1/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.2.0> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.2.0> Program tests/farm-client-test.sh found: YES (/private/var/tb/3/scratch/b484b9905da928ec/build/source/tests/farm-client-test.sh) nix-grpc-store-clang-tidy-0.2.0> Program tests/oidc-test.sh found: YES (/private/var/tb/3/scratch/b484b9905da928ec/build/source/tests/oidc-test.sh) nix-grpc-store-clang-tidy-0.2.0> Build targets in project: 20 nix-grpc-store-clang-tidy-0.2.0> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.2.0> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store 0.2.0 nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> User defined options nix-grpc-store-clang-tidy-0.2.0> auto_features: enabled nix-grpc-store-clang-tidy-0.2.0> b_pch : false nix-grpc-store-clang-tidy-0.2.0> bindir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/bin nix-grpc-store-clang-tidy-0.2.0> buildtype : plain nix-grpc-store-clang-tidy-0.2.0> includedir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/include nix-grpc-store-clang-tidy-0.2.0> infodir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/info nix-grpc-store-clang-tidy-0.2.0> libdir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/lib nix-grpc-store-clang-tidy-0.2.0> libexecdir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/libexec nix-grpc-store-clang-tidy-0.2.0> localedir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/locale nix-grpc-store-clang-tidy-0.2.0> mandir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/share/man nix-grpc-store-clang-tidy-0.2.0> prefix : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0 nix-grpc-store-clang-tidy-0.2.0> sbindir : /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0/sbin nix-grpc-store-clang-tidy-0.2.0> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.2.0> nix-grpc-store-clang-tidy-0.2.0> Found ninja-1.13.2 at /nix/store/infm4vlx71q83bqz0k559w1gn4b0rq4i-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.2.0> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.2.0> Running phase: buildPhase nix-grpc-store-clang-tidy-0.2.0> [1/2] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.2.0> [2/2] Generating eds_proto with a custom command nix-grpc-store-clang-tidy-0.2.0> [0/1] /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/b484b9905da928ec/build/source /private/var/tb/3/scratch/b484b9905da928ec/build/source/build --color always nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/b484b9905da928ec/build/source/build /private/var/tb/3/scratch/b484b9905da928ec/build/source/tests/top-down-test.cc nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:34:15: error: redundant 'typename' [readability-redundant-typename,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 34 | using K = typename decltype(keys(std::declval()))::value_type; nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:46:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 46 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:53:31: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 53 | for (const auto & n : cur) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:54:29: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 54 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:68:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 68 | for (const auto & n : batch) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:69:25: error: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 69 | for (auto & k : keys(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:77:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 77 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:78:24: error: variable name 'ks' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 78 | auto const ks = keys(n); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:79:70: error: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:83:25: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 83 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:23:12: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 23 | Result r; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:25:14: error: no header providing "std::move" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 6 | std::move(roots), nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:29:21: error: use emplace_back instead of push_back [modernize-use-emplace,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 29 | r.calls.push_back({keys.begin(), keys.end()}); nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~~~~ ~ nix-grpc-store-clang-tidy-0.2.0> | emplace_back( nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:31:31: error: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 31 | for (const auto & k : keys) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:42:13: error: initialization of 'chain' with static storage duration may throw an exception that cannot be caught [bugprone-throwing-static-initialization,cert-err58-cpp,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 42 | const Graph chain{{"root", {"a"}}, {"a", {"b"}}, {"b", {"c"}}, {"c", {"d"}}, {"d", {}}}; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:985:25: note: possibly throwing constructor declared here nix-grpc-store-clang-tidy-0.2.0> 985 | _LIBCPP_HIDE_FROM_ABI map(initializer_list __il, const key_compare& __comp = key_compare()) nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:48:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 48 | auto const r = run(chain, {"root"}, {"root", "a", "b", "c", "d"}, 1); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:55:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 55 | auto const r = run(chain, {"root"}, {"a", "b", "c", "d"}, 1); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:62:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 62 | auto const r = run(chain, {"root"}, {}, 1); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:70:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 70 | auto const r = run(diamond, {"x"}, {}, 1); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:77:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 77 | auto const r = run(chain, {"root"}, {}, 3); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:85:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 85 | auto const r = run(fan, {"x"}, {}, 3); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:92:16: error: variable name 'r' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 92 | auto const r = run(chain, {"root"}, {"c", "d"}, 64); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:99:17: error: variable name 'g' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 99 | Graph const g{{"top", {"in"}}, {"in", {}}}; nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:131:6: 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.2.0> 131 | auto main() -> int nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/stdexcept:256:3: note: frame #0: unhandled exception of type 'out_of_range' may be thrown in function '__throw_out_of_range' here nix-grpc-store-clang-tidy-0.2.0> 256 | throw out_of_range(__msg); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> /nix/store/j5m4j3walnlw0wp6d89p0219xq5vyj7q-libcxx-21.1.6+apple-sdk-26.5/include/c++/v1/map:1456:5: note: frame #1: function 'at' calls function '__throw_out_of_range' here nix-grpc-store-clang-tidy-0.2.0> 1456 | std::__throw_out_of_range("map::at: key not found"); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:27:73: note: frame #2: function 'operator()' calls function 'at' here nix-grpc-store-clang-tidy-0.2.0> 27 | [&](const std::string & n) -> std::vector { return graph.at(n); }, nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:54:33: note: frame #3: function 'missingTopDown' calls function 'operator()' here nix-grpc-store-clang-tidy-0.2.0> 54 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:24:17: note: frame #4: function 'run' calls function 'missingTopDown' here nix-grpc-store-clang-tidy-0.2.0> 24 | r.missing = nixgrpc::missingTopDown( nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:48:20: note: frame #5: function 'aHeldRootIsQueriedAlone' calls function 'run' here nix-grpc-store-clang-tidy-0.2.0> 48 | auto const r = run(chain, {"root"}, {"root", "a", "b", "c", "d"}, 1); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../tests/top-down-test.cc:133:5: note: frame #6: function 'main' calls function 'aHeldRootIsQueriedAlone' here nix-grpc-store-clang-tidy-0.2.0> 133 | aHeldRootIsQueriedAlone(); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/b484b9905da928ec/build/source/build /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/daemon/sbpl.cc nix-grpc-store-clang-tidy-0.2.0> [1/1] (1/2) Processing file /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.0> [1/1] (2/2) Processing file /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/daemon/sbpl.cc. nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/b484b9905da928ec/build/source/build /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/client/channel.cc nix-grpc-store-clang-tidy-0.2.0> [1/1] (1/2) Processing file /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.0> [1/1] (2/2) Processing file /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/client/channel.cc. nix-grpc-store-clang-tidy-0.2.0> >>> /nix/store/rnf8scxrdas1whzavr379xi6r7aj2pbd-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /private/var/tb/3/scratch/b484b9905da928ec/build/source/build /private/var/tb/3/scratch/b484b9905da928ec/build/source/src/client/build.cc nix-grpc-store-clang-tidy-0.2.0> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.2.0> ../src/client/build.cc:69:28: error: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 69 | [](const StorePath & p) -> std::vector { return {p}; }, nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/client/build.cc:70:29: error: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 70 | [&](const StorePath & p) -> StorePathSet { return evalStore.queryPathInfo(p)->references; }, nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/client/build.cc:705:73: error: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 705 | nixcompat::forInputDrvs(drvs.at(drvPath), [&](const StorePath & in) -> void { inputs.push_back(in); }); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:31:6: error: function 'missingTopDown' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 31 | auto missingTopDown(std::vector roots, Keys keys, Children children, Query query, nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:40:5: note: +1, including nesting penalty of 0, nesting level increased to 1 nix-grpc-store-clang-tidy-0.2.0> 40 | for (;;) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:41:30: note: nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 41 | std::erase_if(level, [&](const N & n) -> bool { return !seen.insert(n).second; }); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:42:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 42 | if (level.empty()) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:46:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 46 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:47:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 47 | if (queried.insert(n).second) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:51:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 51 | for (auto cur = level; batch.size() < budget;) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:53:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 53 | for (const auto & n : cur) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:54:17: note: +4, including nesting penalty of 3, nesting level increased to 4 nix-grpc-store-clang-tidy-0.2.0> 54 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:55:21: note: +5, including nesting penalty of 4, nesting level increased to 5 nix-grpc-store-clang-tidy-0.2.0> 55 | if (!queried.contains(c)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:60:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 60 | if (below.empty() || batch.size() + below.size() > budget) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:60:31: note: +1 nix-grpc-store-clang-tidy-0.2.0> 60 | if (below.empty() || batch.size() + below.size() > budget) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:68:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 68 | for (const auto & n : batch) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:69:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 69 | for (auto & k : keys(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:73:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 73 | if (!keysToQuery.empty()) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:77:9: note: +2, including nesting penalty of 1, nesting level increased to 2 nix-grpc-store-clang-tidy-0.2.0> 77 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:79:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:79:29: note: +1 nix-grpc-store-clang-tidy-0.2.0> 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:79:56: note: nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:83:13: note: +3, including nesting penalty of 2, nesting level increased to 3 nix-grpc-store-clang-tidy-0.2.0> 83 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:34:15: error: redundant 'typename' [readability-redundant-typename,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 34 | using K = typename decltype(keys(std::declval()))::value_type; nix-grpc-store-clang-tidy-0.2.0> | ^~~~~~~~ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:46:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 46 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:53:31: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 53 | for (const auto & n : cur) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:54:29: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 54 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:68:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 68 | for (const auto & n : batch) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:69:25: error: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 69 | for (auto & k : keys(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:77:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 77 | for (const auto & n : level) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:78:24: error: variable name 'ks' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 78 | auto const ks = keys(n); nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:79:70: error: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> ../src/top-down.hh:83:25: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.2.0> 83 | for (auto & c : children(n)) { nix-grpc-store-clang-tidy-0.2.0> | ^ nix-grpc-store-clang-tidy-0.2.0> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.2.0> /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/b484b9905da928ec/build/source /private/var/tb/3/scratch/b484b9905da928ec/build/source/build --color always nix-grpc-store-clang-tidy-0.2.0> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/2fgspvm7l3rl1fp60b9vf369d7niblbv-nix-grpc-store-clang-tidy-0.2.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/q5pw7wagkcygsziwnzh1883x929d1324-nix-grpc-store-clang-tidy-0.2.0 Last 25 log lines: > | ^ > ../src/top-down.hh:54:29: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 54 | for (auto & c : children(n)) { > | ^ > ../src/top-down.hh:68:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 68 | for (const auto & n : batch) { > | ^ > ../src/top-down.hh:69:25: error: variable name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 69 | for (auto & k : keys(n)) { > | ^ > ../src/top-down.hh:77:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 77 | for (const auto & n : level) { > | ^ > ../src/top-down.hh:78:24: error: variable name 'ks' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 78 | auto const ks = keys(n); > | ^ > ../src/top-down.hh:79:70: error: parameter name 'k' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { > | ^ > ../src/top-down.hh:83:25: error: variable name 'c' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] > 83 | for (auto & c : children(n)) { > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/yjl5dwm08zmfsjrqyidrvcgm59qlgmxz-meson-1.12.1/bin/meson --internal clangtidy /private/var/tb/3/scratch/b484b9905da928ec/build/source /private/var/tb/3/scratch/b484b9905da928ec/build/source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/2fgspvm7l3rl1fp60b9vf369d7niblbv-nix-grpc-store-clang-tidy-0.2.0.drv