nixbot

builds

failed nix-grpc-store-clang-tidy-0.1.0-beta.3 checks.aarch64-linux.clang-tidy · build #519 · raw

1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/2iw3srf3py4530w1hp78kvln0h6ja33p-source3source root is source
configurePhase
4mesonConfigurePhase flags: --prefix=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3 --libdir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/lib --libexecdir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/libexec --bindir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/bin --sbindir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/sbin --includedir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/include --mandir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/man --infodir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/info --localedir=/nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false5The Meson build system6Version: 1.10.27Source dir: /build/source8Build dir: /build/source/build9Build type: native build10WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead11Project name: nix-grpc-store12Project version: 0.1.0-beta.313C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8")14C++ linker for the host machine: clang++ ld.bfd 2.4615Host machine cpu family: aarch6416Host machine cpu: aarch6417Found pkg-config: YES (/nix/store/96rqsbg8z242724qy85sbld7dbf4hipr-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.218Run-time dependency grpc++ found: YES 1.83.019Run-time dependency protobuf found: YES 36.1.020Run-time dependency libzstd found: YES 1.5.721Run-time dependency threads found: YES22Run-time dependency libcrypto found: YES 3.6.423Run-time dependency prometheus-cpp-core found: YES 1.3.024Run-time dependency prometheus-cpp-pull found: YES 1.3.025Run-time dependency absl_flat_hash_map found: YES 2026010726Run-time dependency absl_hash found: YES 2026010727Run-time dependency absl_synchronization found: YES 2026010728Compiler for C++ supports arguments -Werror=thread-safety: YES 29Run-time dependency jemalloc found: YES 5.3.1_030Run-time dependency nix-store found: YES 2.36.0pre20260920_5711f8fe31Run-time dependency nix-util found: YES 2.36.0pre20260920_5711f8fe32Run-time dependency libcurl found: YES 8.22.033Run-time dependency nlohmann_json found: YES 3.12.034Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES 35Program protoc found: YES (/nix/store/nxlmb8lkbnzwcj46mmsvn1gjrgzap7sw-protobuf-36.1/bin/protoc)36Program grpc_cpp_plugin found: YES (/nix/store/zsbcm1brz7v8ilrz6w8ij11yhbf8fyiv-grpc-1.83.0/bin/grpc_cpp_plugin)37Program mold found: YES (/nix/store/463q48w7fn9s93amh1y7jsyrws5sh8rm-mold-unwrapped-wrapper-2.42.1/bin/mold)38Run-time dependency dl found: YES39Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh)40Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh)41Build targets in project: 1242WARNING: Project specifies no minimum version but uses features which were added in versions:43 * 1.1: {'meson.options file'}4445nix-grpc-store 0.1.0-beta.34647 User defined options48 auto_features: enabled49 b_pch : false50 bindir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/bin51 buildtype : plain52 includedir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/include53 infodir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/info54 libdir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/lib55 libexecdir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/libexec56 localedir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/locale57 mandir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/man58 prefix : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.359 sbindir : /nix/store/q5z86fdpx4pcrc56v2fdn3kf48caldbh-nix-grpc-store-clang-tidy-0.1.0-beta.3/sbin60 wrap_mode : nodownload6162Found ninja-1.13.2 at /nix/store/ijbipgac9wyp1n5smvkd8fczs9jyr26g-ninja-1.13.2/bin/ninja63mesonConfigurePhase: enabled\ parallel\ building
buildPhase
64[1/1] Generating nix_remote_proto with a custom command65[0/1] /nix/store/sc7hggvmvma7m8bbgmp8gsa1q1x37aq8-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always66>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/eds.cc67Error while processing /build/source/src/daemon/eds.cc.68../src/daemon/eds.cc:13:1: error: included header set is not used directly [misc-include-cleaner,-warnings-as-errors]69 13 | #include <set>70 | ^~~~~~~~~~~~~~71 14 | #include <string>72../src/daemon/eds.cc:17:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]73 17 | #include <vector>74 | ^~~~~~~~~~~~~~~~~75 18 | 76../src/daemon/eds.cc:24:1: error: included header server_callback.h is not used directly [misc-include-cleaner,-warnings-as-errors]77 24 | #include <grpcpp/support/server_callback.h>78 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~79 25 | #include <grpcpp/support/status.h>80../src/daemon/eds.cc:32:1: error: included header sched-reactor.hh is not used directly [misc-include-cleaner,-warnings-as-errors]81 32 | #include "sched-reactor.hh"82 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~83 33 | 84../src/daemon/eds.cc:129:16: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]85 128 | if (std::cmp_greater(req.resource_names_size(), maxNames)) {86 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~87 | return !static_cast<bool>(std::cmp_greater(req.resource_names_size(), maxNames))88 129 | return false;89 | ~~~~~~~^~~~~~90 130 | }91 | ~92 131 | for (const auto & name : req.resource_names()) {93 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~94 132 | if (name.empty() || name.size() > maxNameLen) {95 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~96 133 | return false;97 | ~~~~~~~~~~~~~98 134 | }99 | ~100 135 | names.insert(name);101 | ~~~~~~~~~~~~~~~~~~~102 136 | }103 | ~104 137 | return true;105 | ~~~~~~~~~~~106../src/daemon/eds.cc:156:5: error: constructor does not initialize these fields: in, out, names [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]107 156 | EdsReactor(grpc::CallbackServerContext * ctx, Dispatcher & disp, EdsService & svc)108 | ^109../src/daemon/eds.cc:166:9: error: 'watch' should be initialized in a member initializer of the constructor [cppcoreguidelines-prefer-member-initializer,-warnings-as-errors]110 159 | , svc(svc)111 | 112 160 | , stream(std::make_shared<Stream>())113 161 | {114 162 | {115 163 | const absl::MutexLock lock(stream->mutex);116 164 | stream->reactor = this;117 165 | }118 166 | watch = disp.watchMembership([stream = stream] -> void {119 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~120 167 | EdsReactor * run = nullptr;121 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~122 168 | {123 | ~124 169 | const absl::MutexLock lock(stream->mutex);125 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~126 170 | if (stream->reactor != nullptr && stream->reactor->beginWake()) {127 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~128 171 | run = stream->reactor;129 | ~~~~~~~~~~~~~~~~~~~~~~130 172 | }131 | ~132 173 | }133 | ~134 174 | if (run != nullptr) {135 | ~~~~~~~~~~~~~~~~~~~~~136../src/daemon/eds.cc:293:13: error: variable 'failure' of type 'std::string_view' (aka 'basic_string_view<char>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]137 293 | std::string_view failure;138 | ^139 | const 140../src/daemon/eds.cc:326:30: error: the parameter 'fin' of type 'grpc::Status' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]141 326 | void finish(grpc::Status fin)142 | ^143 | const &144../src/daemon/eds.cc:354:18: error: member 'disp' of type 'Dispatcher &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]145 354 | Dispatcher & disp;146 | ^147../src/daemon/eds.cc:355:18: error: member 'svc' of type 'EdsService &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]148 355 | EdsService & svc;149 | ^150../src/daemon/eds.cc:370:1: error: constructor does not initialize these fields: rendered [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]151 370 | EdsService::EdsService(Dispatcher & dispatcher, Auth & auth)152 | ^153/build/source/build/../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]154 17 | #include "eds.grpc.pb.h"155 | ^~~~~~~~~~~~~~~156../src/daemon/sched-reactor.hh:28:8: error: constructor does not initialize these fields: queue [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]157 28 | struct SendQueue158 | ^159 29 | {160 30 | // About a minute of Expects at full rate. Beyond it the peer is stuck.161 31 | static constexpr size_t limit = 1U << 16U;162 32 | // Messages per Write.163 33 | static constexpr int maxBatch = 1024;164 34 | 165 35 | // Leaf lock, may be taken inside Dispatcher::mutex.166 36 | absl::Mutex mutex;167 37 | std::deque<Msg> queue ABSL_GUARDED_BY(mutex);168 | {}169../src/daemon/sched-reactor.hh:169:30: error: the parameter 'fin' of type 'grpc::Status' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]170 169 | void finish(grpc::Status fin)171 | ^172 | const &173../src/daemon/sched-reactor.hh:226:18: error: member 'disp' of type 'Dispatcher &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]174 226 | Dispatcher & disp;175 | ^176../src/daemon/sched-reactor.hh:255:18: error: member 'disp' of type 'Dispatcher &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]177 255 | Dispatcher & disp;178 | ^179>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/coordinator.cc180Error while processing /build/source/src/daemon/coordinator.cc.181../src/client/channel.hh:46:3: error: constructor does not initialize these fields: headers [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]182 46 | explicit StaticHeaders(std::shared_ptr<const Headers> headers) : headers(std::move(headers)) {}183 | ^184../src/client/channel.hh:62:5: error: constructor does not initialize these fields: headers [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]185 62 | explicit Factory(Headers hdrs) : headers(std::make_shared<const Headers>(std::move(hdrs))) {}186 | ^187 63 | auto CreateClientInterceptor(grpc::experimental::ClientRpcInfo * /*info*/)188 64 | -> grpc::experimental::Interceptor * override {189 65 | return new StaticHeaders(headers); // NOLINT(cppcoreguidelines-owning-memory): gRPC deletes it190 66 | }191 67 | private:192 68 | std::shared_ptr<const Headers> headers;193 | 194 | {}195../src/client/channel.hh:87:64: error: pointer parameter 'metadata' can be pointer to const [readability-non-const-parameter,-warnings-as-errors]196 87 | std::multimap<grpc::string, grpc::string> * metadata) -> grpc::Status override {197 | ^198 | const 199../src/daemon/backend.hh:79:25: error: the parameter 'event' of type 'BuildEvent' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]200 79 | auto toChunk(BuildEvent event) -> Chunk201 | ^202 | const &203../src/daemon/coordinator.cc:8:1: error: included header functional is not used directly [misc-include-cleaner,-warnings-as-errors]204 8 | #include <functional>205 | ^~~~~~~~~~~~~~~~~~~~~206 9 | #include <initializer_list>207../src/daemon/coordinator.cc:9:1: error: included header initializer_list is not used directly [misc-include-cleaner,-warnings-as-errors]208 9 | #include <initializer_list>209 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~210 10 | #include <memory>211../src/daemon/coordinator.cc:17:1: error: included header unordered_set is not used directly [misc-include-cleaner,-warnings-as-errors]212 17 | #include <unordered_set>213 | ^~~~~~~~~~~~~~~~~~~~~~~~214 18 | #include <utility>215../src/daemon/coordinator.cc:19:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]216 19 | #include <vector>217 | ^~~~~~~~~~~~~~~~~218 20 | 219../src/daemon/coordinator.cc:35:1: error: included header sync_stream.h is not used directly [misc-include-cleaner,-warnings-as-errors]220 35 | #include <grpcpp/support/sync_stream.h>221 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~222 36 | 223../src/daemon/coordinator.cc:47:1: error: included header nix_remote.grpc.pb.h is not used directly [misc-include-cleaner,-warnings-as-errors]224 47 | #include "nix_remote.grpc.pb.h"225 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~226 48 | #include "nix_remote.pb.h"227../src/daemon/coordinator.cc:70:1: error: constructor does not initialize these fields: state, sendFn [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]228 70 | Builder::Builder(const Options & options, Metrics & metrics)229 | ^230../src/daemon/coordinator.cc:91:15: error: method 'onRevoke' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]231 91 | void Builder::onRevoke(const nix::remote::Revoke & rev)232 | ^233../src/daemon/coordinator.cc:112:15: error: method 'admit' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]234 112 | auto Builder::admit(const std::string & drvPath) -> std::optional<Admission>235 | ^236../src/daemon/coordinator.cc:125:15: error: method 'finished' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]237 125 | void Builder::finished(238 | ^239 | static 240../src/daemon/coordinator.cc:129:17: error: the parameter 'resultWire' of type 'std::string' (aka 'basic_string<char>') is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]241 129 | std::string resultWire)242 | ^243 | const &244../src/daemon/coordinator.cc:210:15: error: method 'send' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]245 210 | auto Builder::send(const WorkerMsg & msg) const -> bool246 | ^ ~~~~~247../src/daemon/coordinator.cc:216:15: error: method 'tick' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]248 216 | void Builder::tick()249 | ^250../src/daemon/coordinator.cc:296:24: error: no header providing "nix::Error" is directly included [misc-include-cleaner,-warnings-as-errors]251 12 | throw nix::Error("loading CA certificates: %s", status.ToString());252 | ^253../src/daemon/coordinator.cc:322:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors]254 322 | if (active) {255 | ^256../src/daemon/coordinator.cc:324:7: note: else branch starts here257 324 | } else {258 | ^259../src/daemon/coordinator.cc:341:1: error: constructor does not initialize these fields: scheduler, eds [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]260 341 | Coordinator::Coordinator(const Options & options, Auth & auth, Metrics & metrics)261 | ^262../src/daemon/coordinator.cc:350:9: error: variable 'present' of type 'Dispatcher::PresentFn' (aka 'std::function<std::unordered_set<basic_string<char>> (const std::vector<basic_string<char>> &)>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]263 350 | Dispatcher::PresentFn present;264 | ^265 | const 266../src/daemon/coordinator.cc:409:20: error: variable 'elect' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]267 409 | const bool elect = options.niks3.enabled() && (!builder || !options.schedulerAddr.empty());268 | ^ 269 | = false270../src/daemon/coordinator.cc:458:9: error: variable 'restarting' of type 'bool' can be declared 'const' [misc-const-correctness,-warnings-as-errors]271 458 | bool restarting = false;272 | ^273 | const 274/build/source/build/../src/daemon/coordinator.hh:96:5: error: function 'hello' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]275 96 | auto hello() const -> nix::remote::WorkerMsg;276 | ^277 | [[nodiscard]] 278/build/source/build/../src/daemon/coordinator.hh:109:5: error: function 'send' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]279 109 | auto send(const nix::remote::WorkerMsg & msg) const -> bool;280 | ^281 | [[nodiscard]] 282/build/source/build/../src/daemon/coordinator.hh:112:21: error: member 'options' of type 'const Options &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]283 112 | const Options & options;284 | ^285/build/source/build/../src/daemon/coordinator.hh:113:15: error: member 'metrics' of type 'Metrics &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]286 113 | Metrics & metrics;287 | ^288/build/source/build/../src/daemon/coordinator.hh:115:12: error: constructor does not initialize these fields: expected [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]289 115 | struct State290 | ^291 116 | {292 117 | std::unordered_map<std::string, Expected> expected;293 | 294 | {}295../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]296 17 | #include "eds.grpc.pb.h"297 | ^~~~~~~~~~~~~~~298../src/daemon/sched-reactor.hh:28:8: error: constructor does not initialize these fields: queue [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]299 28 | struct SendQueue300 | ^301 29 | {302 30 | // About a minute of Expects at full rate. Beyond it the peer is stuck.303 31 | static constexpr size_t limit = 1U << 16U;304 32 | // Messages per Write.305 33 | static constexpr int maxBatch = 1024;306 34 | 307 35 | // Leaf lock, may be taken inside Dispatcher::mutex.308 36 | absl::Mutex mutex;309 37 | std::deque<Msg> queue ABSL_GUARDED_BY(mutex);310 | {}311../src/daemon/sched-reactor.hh:169:30: error: the parameter 'fin' of type 'grpc::Status' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]312 169 | void finish(grpc::Status fin)313 | ^314 | const &315../src/daemon/sched-reactor.hh:226:18: error: member 'disp' of type 'Dispatcher &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]316 226 | Dispatcher & disp;317 | ^318../src/daemon/sched-reactor.hh:255:18: error: member 'disp' of type 'Dispatcher &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]319 255 | Dispatcher & disp;320 | ^321>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc322Error while processing /build/source/src/daemon/main.cc.323../src/daemon/coordinator.hh:96:5: error: function 'hello' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]324 96 | auto hello() const -> nix::remote::WorkerMsg;325 | ^326 | [[nodiscard]] 327../src/daemon/coordinator.hh:109:5: error: function 'send' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]328 109 | auto send(const nix::remote::WorkerMsg & msg) const -> bool;329 | ^330 | [[nodiscard]] 331../src/daemon/coordinator.hh:112:21: error: member 'options' of type 'const Options &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]332 112 | const Options & options;333 | ^334../src/daemon/coordinator.hh:113:15: error: member 'metrics' of type 'Metrics &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]335 113 | Metrics & metrics;336 | ^337../src/daemon/coordinator.hh:115:12: error: constructor does not initialize these fields: expected [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]338 115 | struct State339 | ^340 116 | {341 117 | std::unordered_map<std::string, Expected> expected;342 | 343 | {}344../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]345 17 | #include "eds.grpc.pb.h"346 | ^~~~~~~~~~~~~~~347../src/daemon/main.cc:21:1: error: included header filesystem is not used directly [misc-include-cleaner,-warnings-as-errors]348 21 | #include <filesystem>349 | ^~~~~~~~~~~~~~~~~~~~~350 22 | #include <map>351../src/daemon/main.cc:22:1: error: included header map is not used directly [misc-include-cleaner,-warnings-as-errors]352 22 | #include <map>353 | ^~~~~~~~~~~~~~354 23 | #include <memory>355../src/daemon/main.cc:26:1: error: included header ranges is not used directly [misc-include-cleaner,-warnings-as-errors]356 26 | #include <ranges>357 | ^~~~~~~~~~~~~~~~~358 27 | #include <span>359../src/daemon/main.cc:32:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]360 32 | #include <vector>361 | ^~~~~~~~~~~~~~~~~362 33 | 363../src/daemon/main.cc:77:1: error: included header path-info-wire.hh is not used directly [misc-include-cleaner,-warnings-as-errors]364 77 | #include "path-info-wire.hh"365 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~366 78 | #include "metrics.hh"367../src/daemon/main.cc:231:9: error: 3 adjacent parameters of 'NixRemoteService' of similar type ('std::string') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors]368 231 | std::string socketPath,369 | ^~~~~~~~~~~~~~~~~~~~~~~370 232 | std::string storeUri,371 | ~~~~~~~~~~~~~~~~~~~~~372 233 | std::string workerName,373 | ~~~~~~~~~~~~~~~~~~~~~~374../src/daemon/main.cc:231:21: note: the first parameter in the range is 'socketPath'375 231 | std::string socketPath,376 | ^~~~~~~~~~377../src/daemon/main.cc:233:21: note: the last parameter in the range is 'workerName'378 233 | std::string workerName,379 | ^~~~~~~~~~380../src/daemon/main.cc:231:21: error: the parameter 'socketPath' of type 'std::string' (aka 'basic_string<char>') is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]381 231 | std::string socketPath,382 | ^383 | const &384../src/daemon/main.cc:260:15: error: empty catch statements hide issues; to handle exceptions appropriately, consider re-throwing, handling, or avoiding catch altogether [bugprone-empty-catch,-warnings-as-errors]385 260 | } catch (nix::Error & err) {386 | ^387../src/daemon/main.cc:297:13: error: variable 'paths' of type 'nix::StorePathSet' (aka 'std::set<StorePath>') can be declared 'const' [misc-const-correctness,-warnings-as-errors]388 297 | nix::StorePathSet paths;389 | ^390 | const 391../src/daemon/main.cc:669:62: error: the parameter 'event' of type 'nixgrpc::BuildEvent' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]392 669 | auto const sendLogLine = [&](nixgrpc::BuildEvent event) -> void {393 | ^394 | const &395../src/path-info-wire.hh:35:5: error: variable 'path' of type 'nix::StorePath' can be declared 'const' [misc-const-correctness,-warnings-as-errors]396 35 | nix::StorePath path(entry.path());397 | ^398 | const 399../src/pump.hh:65:27: error: 2 adjacent parameters of 'readCoalesced' of similar type ('int') are easily swapped by mistake [bugprone-easily-swappable-parameters,-warnings-as-errors]400 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t401 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~402../src/pump.hh:65:31: note: the first parameter in the range is 'sourceFd'403 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t404 | ^~~~~~~~405../src/pump.hh:65:57: note: the last parameter in the range is 'buf'406 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t407 | ^~~408../src/pump.hh:159:23: error: variable 'count' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]409 159 | ssize_t const count = readCoalesced(sourceFd, input);410 | ^ 411 | = 0412../src/pump.hh:276:44: error: the parameter 'initial' of type 'std::string' (aka 'basic_string<char>') is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]413 276 | static auto makeInitialMsg(std::string initial) -> Msg414 | ^415 | const &416>>> /nix/store/7wgbxsfygsdmgsai483p205pkcpy6ls8-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc417Errors encountered while running clang-tidy418[1/1] (1/2) Processing file /build/source/src/client/channel.cc.419[1/1] (2/2) Processing file /build/source/src/client/channel.cc.420FAILED: [code=1] meson-internal__clang-tidy 421/nix/store/sc7hggvmvma7m8bbgmp8gsa1q1x37aq8-meson-1.10.2/bin/meson --internal clangtidy /build/source /build/source/build --color always422ninja: build stopped: subcommand failed.