tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/vrz6w19b7bx4x1v9rmdxm92hnmv2mgcz-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0 --libdir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/lib --libexecdir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/libexec --bindir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/bin --sbindir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/sbin --includedir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/include --mandir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/man --infodir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/info --localedir=/nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false The Meson build system Version: 1.12.1 Source dir: /build/source Build dir: /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.0 C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") C++ linker for the host machine: clang++ ld.bfd 2.46 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/b9izmrfjp0qnnyahdwwrzdwi87s1h179-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.83.1 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.8 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.0pre20261004_b010dc99 Run-time dependency nix-util found: YES 2.36.0pre20261004_b010dc99 Run-time dependency jemalloc found: YES 5.3.1_0 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/icm7gdscsdcbkf1rmnyqhf5vmrdhl6d4-protobuf-36.2/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/5ajs0p0ysy8hynsf1g0b1ggaf1ah3ynj-grpc-1.83.1/bin/grpc_cpp_plugin) Program mold found: YES (/nix/store/9dcddrfxlfl9n3wfibi5jkmp22bjkvkh-mold-unwrapped-wrapper-2.42.1/bin/mold) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) Build targets in project: 21 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.2.0 User defined options auto_features: enabled b_pch : false bindir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/bin buildtype : plain includedir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/include infodir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/info libdir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/lib libexecdir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/libexec localedir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/locale mandir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/share/man prefix : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0 sbindir : /nix/store/wjf0kwys6qv62817nvmfzky4ayz1458r-nix-grpc-store-clang-tidy-0.2.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/4nsdla28c4177ssp0hlyv5l2yzj8wcba-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [1/2] Generating eds_proto with a custom command [2/2] Generating nix_remote_proto with a custom command [0/1] /nix/store/r72868g8znkk4m8pmwsn3cf8v3h84mr0-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always >>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/top-down-test.cc ../src/top-down.hh:34:15: error: redundant 'typename' [readability-redundant-typename,-warnings-as-errors] 34 | using K = typename decltype(keys(std::declval()))::value_type; | ^~~~~~~~ ../src/top-down.hh:46:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 46 | for (const auto & n : level) { | ^ ../src/top-down.hh:53:31: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 53 | for (const auto & n : cur) { | ^ ../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 : ask) { | ^ ../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)) { | ^ ../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] 23 | Result r; | ^ ../tests/top-down-test.cc:25:14: error: no header providing "std::move" is directly included [misc-include-cleaner,-warnings-as-errors] 6 | std::move(roots), | ^ ../tests/top-down-test.cc:29:21: error: use emplace_back instead of push_back [modernize-use-emplace,-warnings-as-errors] 29 | r.calls.push_back({keys.begin(), keys.end()}); | ^~~~~~~~~~~ ~ | emplace_back( ../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] 31 | for (const auto & k : keys) { | ^ ../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] 42 | const Graph chain{{"root", {"a"}}, {"a", {"b"}}, {"b", {"c"}}, {"c", {"d"}}, {"d", {}}}; | ^ /nix/store/5q6bdxkp7lc70gn9mnf4yiybrx8ry5xq-gcc-16.2.0/include/c++/16.2.0/bits/stl_map.h:244:7: note: possibly throwing constructor declared here 244 | map(initializer_list __l, | ^ ../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] 48 | auto const r = run(chain, {"root"}, {"root", "a", "b", "c", "d"}, 1); | ^ ../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] 55 | auto const r = run(chain, {"root"}, {"a", "b", "c", "d"}, 1); | ^ ../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] 62 | auto const r = run(chain, {"root"}, {}, 1); | ^ ../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] 70 | auto const r = run(diamond, {"x"}, {}, 1); | ^ ../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] 77 | auto const r = run(chain, {"root"}, {}, 3); | ^ ../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] 85 | auto const r = run(fan, {"x"}, {}, 3); | ^ ../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] 92 | auto const r = run(chain, {"root"}, {"c", "d"}, 64); | ^ ../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] 99 | Graph const g{{"top", {"in"}}, {"in", {}}}; | ^ >>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc [1/1] (1/2) Processing file /build/source/src/client/channel.cc. [1/1] (2/2) Processing file /build/source/src/client/channel.cc. >>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc [1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc. [1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc. >>> /nix/store/f9hs9r4kcnics2v0l9dbd1b1arx09gza-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/build.cc Errors encountered while running clang-tidy ../src/client/build.cc:69:28: error: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 69 | [](const StorePath & p) -> std::vector { return {p}; }, | ^ ../src/client/build.cc:70:29: error: parameter name 'p' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 70 | [&](const StorePath & p) -> StorePathSet { return evalStore.queryPathInfo(p)->references; }, | ^ ../src/client/build.cc:705:73: error: parameter name 'in' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 705 | nixcompat::forInputDrvs(drvs.at(drvPath), [&](const StorePath & in) -> void { inputs.push_back(in); }); | ^ ../src/top-down.hh:31:6: error: function 'missingTopDown' has cognitive complexity of 42 (threshold 25) [readability-function-cognitive-complexity,-warnings-as-errors] 31 | auto missingTopDown(std::vector roots, Keys keys, Children children, Query query, | ^ ../src/top-down.hh:40:5: note: +1, including nesting penalty of 0, nesting level increased to 1 40 | for (;;) { | ^ ../src/top-down.hh:41:30: note: nesting level increased to 2 41 | std::erase_if(level, [&](const N & n) -> bool { return !seen.insert(n).second; }); | ^ ../src/top-down.hh:42:9: note: +2, including nesting penalty of 1, nesting level increased to 2 42 | if (level.empty()) { | ^ ../src/top-down.hh:46:9: note: +2, including nesting penalty of 1, nesting level increased to 2 46 | for (const auto & n : level) { | ^ ../src/top-down.hh:47:13: note: +3, including nesting penalty of 2, nesting level increased to 3 47 | if (asked.insert(n).second) { | ^ ../src/top-down.hh:51:9: note: +2, including nesting penalty of 1, nesting level increased to 2 51 | for (auto cur = level; ask.size() < budget;) { | ^ ../src/top-down.hh:53:13: note: +3, including nesting penalty of 2, nesting level increased to 3 53 | for (const auto & n : cur) { | ^ ../src/top-down.hh:54:17: note: +4, including nesting penalty of 3, nesting level increased to 4 54 | for (auto & c : children(n)) { | ^ ../src/top-down.hh:55:21: note: +5, including nesting penalty of 4, nesting level increased to 5 55 | if (!asked.contains(c)) { | ^ ../src/top-down.hh:60:13: note: +3, including nesting penalty of 2, nesting level increased to 3 60 | if (below.empty() || ask.size() + below.size() > budget) { | ^ ../src/top-down.hh:60:31: note: +1 60 | if (below.empty() || ask.size() + below.size() > budget) { | ^ ../src/top-down.hh:68:9: note: +2, including nesting penalty of 1, nesting level increased to 2 68 | for (const auto & n : ask) { | ^ ../src/top-down.hh:69:13: note: +3, including nesting penalty of 2, nesting level increased to 3 69 | for (auto & k : keys(n)) { | ^ ../src/top-down.hh:73:9: note: +2, including nesting penalty of 1, nesting level increased to 2 73 | if (!toAsk.empty()) { | ^ ../src/top-down.hh:77:9: note: +2, including nesting penalty of 1, nesting level increased to 2 77 | for (const auto & n : level) { | ^ ../src/top-down.hh:79:13: note: +3, including nesting penalty of 2, nesting level increased to 3 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { | ^ ../src/top-down.hh:79:29: note: +1 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { | ^ ../src/top-down.hh:79:56: note: nesting level increased to 3 79 | if (!ks.empty() && std::ranges::all_of(ks, [&](const K & k) -> bool { return valid.contains(k); })) { | ^ ../src/top-down.hh:83:13: note: +3, including nesting penalty of 2, nesting level increased to 3 83 | for (auto & c : children(n)) { | ^ ../src/top-down.hh:34:15: error: redundant 'typename' [readability-redundant-typename,-warnings-as-errors] 34 | using K = typename decltype(keys(std::declval()))::value_type; | ^~~~~~~~ ../src/top-down.hh:46:27: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 46 | for (const auto & n : level) { | ^ ../src/top-down.hh:53:31: error: variable name 'n' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 53 | for (const auto & n : cur) { | ^ ../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 : ask) { | ^ ../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/r72868g8znkk4m8pmwsn3cf8v3h84mr0-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always ninja: build stopped: subcommand failed.