nix-grpc-store-clang-tidy-0.1.0-beta.3
checks.aarch64-darwin.clang-tidy
· build #519
· raw
unpackPhase
1unpacking source archive /nix/store/2iw3srf3py4530w1hp78kvln0h6ja33p-source2source root is sourceconfigurePhase
3mesonConfigurePhase flags: --prefix=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3 --libdir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/lib --libexecdir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/libexec --bindir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/bin --sbindir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/sbin --includedir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/include --mandir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/man --infodir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/info --localedir=/nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/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-12824-4142853305/source7Build dir: /nix/var/nix/builds/nix-12824-4142853305/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.312C++ 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.0pre20260920_5711f8fe30Run-time dependency nix-util found: YES 2.36.0pre20260920_5711f8fe31Run-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-12824-4142853305/source/tests/farm-client-test.sh)38Program tests/oidc-test.sh found: YES (/nix/var/nix/builds/nix-12824-4142853305/source/tests/oidc-test.sh)39Build targets in project: 1240WARNING: 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.34445 User defined options46 auto_features: enabled47 b_pch : false48 bindir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/bin49 buildtype : plain50 includedir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/include51 infodir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/info52 libdir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/lib53 libexecdir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/libexec54 localedir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/locale55 mandir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/share/man56 prefix : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.357 sbindir : /nix/store/21w0qcdb0j3gpn4yrh8k518nz7xmwj2k-nix-grpc-store-clang-tidy-0.1.0-beta.3/sbin58 wrap_mode : nodownload5960Found ninja-1.13.2 at /nix/store/kalf64hrn0zrxlacfvgymwbck77qvsr9-ninja-1.13.2/bin/ninja61mesonConfigurePhase: enabled\ parallel\ buildingbuildPhase
62[1/1] Generating nix_remote_proto with a custom command63[0/1] /nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-12824-4142853305/source /nix/var/nix/builds/nix-12824-4142853305/source/build --color always64>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-12824-4142853305/source/build /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/eds.cc65Error while processing /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/eds.cc.66../src/daemon/eds.cc:13:1: error: included header set is not used directly [misc-include-cleaner,-warnings-as-errors]67 13 | #include <set>68 | ^~~~~~~~~~~~~~69 14 | #include <string>70../src/daemon/eds.cc:17:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]71 17 | #include <vector>72 | ^~~~~~~~~~~~~~~~~73 18 | 74../src/daemon/eds.cc:24:1: error: included header server_callback.h is not used directly [misc-include-cleaner,-warnings-as-errors]75 24 | #include <grpcpp/support/server_callback.h>76 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~77 25 | #include <grpcpp/support/status.h>78../src/daemon/eds.cc:32:1: error: included header sched-reactor.hh is not used directly [misc-include-cleaner,-warnings-as-errors]79 32 | #include "sched-reactor.hh"80 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~81 33 | 82../src/daemon/eds.cc:129:16: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]83 128 | if (std::cmp_greater(req.resource_names_size(), maxNames)) {84 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~85 | return !static_cast<bool>(std::cmp_greater(req.resource_names_size(), maxNames))86 129 | return false;87 | ~~~~~~~^~~~~~88 130 | }89 | ~90 131 | for (const auto & name : req.resource_names()) {91 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~92 132 | if (name.empty() || name.size() > maxNameLen) {93 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~94 133 | return false;95 | ~~~~~~~~~~~~~96 134 | }97 | ~98 135 | names.insert(name);99 | ~~~~~~~~~~~~~~~~~~~100 136 | }101 | ~102 137 | return true;103 | ~~~~~~~~~~~104../src/daemon/eds.cc:156:5: error: constructor does not initialize these fields: in, out, names [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]105 156 | EdsReactor(grpc::CallbackServerContext * ctx, Dispatcher & disp, EdsService & svc)106 | ^107../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]108 159 | , svc(svc)109 | 110 160 | , stream(std::make_shared<Stream>())111 161 | {112 162 | {113 163 | const absl::MutexLock lock(stream->mutex);114 164 | stream->reactor = this;115 165 | }116 166 | watch = disp.watchMembership([stream = stream] -> void {117 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~118 167 | EdsReactor * run = nullptr;119 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~120 168 | {121 | ~122 169 | const absl::MutexLock lock(stream->mutex);123 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~124 170 | if (stream->reactor != nullptr && stream->reactor->beginWake()) {125 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~126 171 | run = stream->reactor;127 | ~~~~~~~~~~~~~~~~~~~~~~128 172 | }129 | ~130 173 | }131 | ~132 174 | if (run != nullptr) {133 | ~~~~~~~~~~~~~~~~~~~~~134../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]135 293 | std::string_view failure;136 | ^137 | const 138../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]139 326 | void finish(grpc::Status fin)140 | ^141 | const &142../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]143 354 | Dispatcher & disp;144 | ^145../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]146 355 | EdsService & svc;147 | ^148../src/daemon/eds.cc:370:1: error: constructor does not initialize these fields: rendered [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]149 370 | EdsService::EdsService(Dispatcher & dispatcher, Auth & auth)150 | ^151/nix/var/nix/builds/nix-12824-4142853305/source/build/../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]152 17 | #include "eds.grpc.pb.h"153 | ^~~~~~~~~~~~~~~154../src/daemon/sched-reactor.hh:28:8: error: constructor does not initialize these fields: queue [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]155 28 | struct SendQueue156 | ^157 29 | {158 30 | // About a minute of Expects at full rate. Beyond it the peer is stuck.159 31 | static constexpr size_t limit = 1U << 16U;160 32 | // Messages per Write.161 33 | static constexpr int maxBatch = 1024;162 34 | 163 35 | // Leaf lock, may be taken inside Dispatcher::mutex.164 36 | absl::Mutex mutex;165 37 | std::deque<Msg> queue ABSL_GUARDED_BY(mutex);166 | {}167../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]168 169 | void finish(grpc::Status fin)169 | ^170 | const &171../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]172 226 | Dispatcher & disp;173 | ^174../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]175 255 | Dispatcher & disp;176 | ^177>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-12824-4142853305/source/build /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/coordinator.cc178Error while processing /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/coordinator.cc.179../src/client/channel.hh:46:3: error: constructor does not initialize these fields: headers [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]180 46 | explicit StaticHeaders(std::shared_ptr<const Headers> headers) : headers(std::move(headers)) {}181 | ^182../src/client/channel.hh:62:5: error: constructor does not initialize these fields: headers [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]183 62 | explicit Factory(Headers hdrs) : headers(std::make_shared<const Headers>(std::move(hdrs))) {}184 | ^185 63 | auto CreateClientInterceptor(grpc::experimental::ClientRpcInfo * /*info*/)186 64 | -> grpc::experimental::Interceptor * override {187 65 | return new StaticHeaders(headers); // NOLINT(cppcoreguidelines-owning-memory): gRPC deletes it188 66 | }189 67 | private:190 68 | std::shared_ptr<const Headers> headers;191 | 192 | {}193../src/client/channel.hh:87:64: error: pointer parameter 'metadata' can be pointer to const [readability-non-const-parameter,-warnings-as-errors]194 87 | std::multimap<grpc::string, grpc::string> * metadata) -> grpc::Status override {195 | ^196 | const 197../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]198 79 | auto toChunk(BuildEvent event) -> Chunk199 | ^200 | const &201../src/daemon/coordinator.cc:8:1: error: included header functional is not used directly [misc-include-cleaner,-warnings-as-errors]202 8 | #include <functional>203 | ^~~~~~~~~~~~~~~~~~~~~204 9 | #include <initializer_list>205../src/daemon/coordinator.cc:9:1: error: included header initializer_list is not used directly [misc-include-cleaner,-warnings-as-errors]206 9 | #include <initializer_list>207 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~208 10 | #include <memory>209../src/daemon/coordinator.cc:17:1: error: included header unordered_set is not used directly [misc-include-cleaner,-warnings-as-errors]210 17 | #include <unordered_set>211 | ^~~~~~~~~~~~~~~~~~~~~~~~212 18 | #include <utility>213../src/daemon/coordinator.cc:19:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]214 19 | #include <vector>215 | ^~~~~~~~~~~~~~~~~216 20 | 217../src/daemon/coordinator.cc:35:1: error: included header sync_stream.h is not used directly [misc-include-cleaner,-warnings-as-errors]218 35 | #include <grpcpp/support/sync_stream.h>219 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~220 36 | 221../src/daemon/coordinator.cc:47:1: error: included header nix_remote.grpc.pb.h is not used directly [misc-include-cleaner,-warnings-as-errors]222 47 | #include "nix_remote.grpc.pb.h"223 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~224 48 | #include "nix_remote.pb.h"225../src/daemon/coordinator.cc:70:1: error: constructor does not initialize these fields: state, sendFn [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]226 70 | Builder::Builder(const Options & options, Metrics & metrics)227 | ^228../src/daemon/coordinator.cc:91:15: error: method 'onRevoke' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]229 91 | void Builder::onRevoke(const nix::remote::Revoke & rev)230 | ^231../src/daemon/coordinator.cc:112:15: error: method 'admit' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]232 112 | auto Builder::admit(const std::string & drvPath) -> std::optional<Admission>233 | ^234../src/daemon/coordinator.cc:125:15: error: method 'finished' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]235 125 | void Builder::finished(236 | ^237 | static 238../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]239 129 | std::string resultWire)240 | ^241 | const &242../src/daemon/coordinator.cc:210:15: error: method 'send' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]243 210 | auto Builder::send(const WorkerMsg & msg) const -> bool244 | ^ ~~~~~245../src/daemon/coordinator.cc:216:15: error: method 'tick' can be made static [readability-convert-member-functions-to-static,-warnings-as-errors]246 216 | void Builder::tick()247 | ^248../src/daemon/coordinator.cc:296:24: error: no header providing "nix::Error" is directly included [misc-include-cleaner,-warnings-as-errors]249 12 | throw nix::Error("loading CA certificates: %s", status.ToString());250 | ^251../src/daemon/coordinator.cc:322:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors]252 322 | if (active) {253 | ^254../src/daemon/coordinator.cc:324:7: note: else branch starts here255 324 | } else {256 | ^257../src/daemon/coordinator.cc:341:1: error: constructor does not initialize these fields: scheduler, eds [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]258 341 | Coordinator::Coordinator(const Options & options, Auth & auth, Metrics & metrics)259 | ^260../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]261 350 | Dispatcher::PresentFn present;262 | ^263 | const 264../src/daemon/coordinator.cc:409:20: error: variable 'elect' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]265 409 | const bool elect = options.niks3.enabled() && (!builder || !options.schedulerAddr.empty());266 | ^ 267 | = false268../src/daemon/coordinator.cc:458:9: error: variable 'restarting' of type 'bool' can be declared 'const' [misc-const-correctness,-warnings-as-errors]269 458 | bool restarting = false;270 | ^271 | const 272/nix/var/nix/builds/nix-12824-4142853305/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]273 112 | const Options & options;274 | ^275/nix/var/nix/builds/nix-12824-4142853305/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]276 113 | Metrics & metrics;277 | ^278/nix/var/nix/builds/nix-12824-4142853305/source/build/../src/daemon/coordinator.hh:115:12: error: constructor does not initialize these fields: expected [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]279 115 | struct State280 | ^281 116 | {282 117 | std::unordered_map<std::string, Expected> expected;283 | 284 | {}285../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]286 17 | #include "eds.grpc.pb.h"287 | ^~~~~~~~~~~~~~~288../src/daemon/sched-reactor.hh:28:8: error: constructor does not initialize these fields: queue [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]289 28 | struct SendQueue290 | ^291 29 | {292 30 | // About a minute of Expects at full rate. Beyond it the peer is stuck.293 31 | static constexpr size_t limit = 1U << 16U;294 32 | // Messages per Write.295 33 | static constexpr int maxBatch = 1024;296 34 | 297 35 | // Leaf lock, may be taken inside Dispatcher::mutex.298 36 | absl::Mutex mutex;299 37 | std::deque<Msg> queue ABSL_GUARDED_BY(mutex);300 | {}301../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]302 169 | void finish(grpc::Status fin)303 | ^304 | const &305../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]306 226 | Dispatcher & disp;307 | ^308../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]309 255 | Dispatcher & disp;310 | ^311>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-12824-4142853305/source/build /nix/var/nix/builds/nix-12824-4142853305/source/src/client/channel.cc312[1/1] (1/2) Processing file /nix/var/nix/builds/nix-12824-4142853305/source/src/client/channel.cc.313[1/1] (2/2) Processing file /nix/var/nix/builds/nix-12824-4142853305/source/src/client/channel.cc.314>>> /nix/store/l8sbl3yky84xqxj3a5hazrjdx52avnf2-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-12824-4142853305/source/build /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/main.cc315Errors encountered while running clang-tidy316Error while processing /nix/var/nix/builds/nix-12824-4142853305/source/src/daemon/main.cc.317../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]318 112 | const Options & options;319 | ^320../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]321 113 | Metrics & metrics;322 | ^323../src/daemon/coordinator.hh:115:12: error: constructor does not initialize these fields: expected [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]324 115 | struct State325 | ^326 116 | {327 117 | std::unordered_map<std::string, Expected> expected;328 | 329 | {}330../src/daemon/eds.hh:17:10: error: 'eds.grpc.pb.h' file not found [clang-diagnostic-error]331 17 | #include "eds.grpc.pb.h"332 | ^~~~~~~~~~~~~~~333../src/daemon/main.cc:21:1: error: included header filesystem is not used directly [misc-include-cleaner,-warnings-as-errors]334 21 | #include <filesystem>335 | ^~~~~~~~~~~~~~~~~~~~~336 22 | #include <map>337../src/daemon/main.cc:22:1: error: included header map is not used directly [misc-include-cleaner,-warnings-as-errors]338 22 | #include <map>339 | ^~~~~~~~~~~~~~340 23 | #include <memory>341../src/daemon/main.cc:26:1: error: included header ranges is not used directly [misc-include-cleaner,-warnings-as-errors]342 26 | #include <ranges>343 | ^~~~~~~~~~~~~~~~~344 27 | #include <span>345../src/daemon/main.cc:32:1: error: included header vector is not used directly [misc-include-cleaner,-warnings-as-errors]346 32 | #include <vector>347 | ^~~~~~~~~~~~~~~~~348 33 | 349../src/daemon/main.cc:77:1: error: included header path-info-wire.hh is not used directly [misc-include-cleaner,-warnings-as-errors]350 77 | #include "path-info-wire.hh"351 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~352 78 | #include "metrics.hh"353../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]354 231 | std::string socketPath,355 | ^~~~~~~~~~~~~~~~~~~~~~~356 232 | std::string storeUri,357 | ~~~~~~~~~~~~~~~~~~~~~358 233 | std::string workerName,359 | ~~~~~~~~~~~~~~~~~~~~~~360../src/daemon/main.cc:231:21: note: the first parameter in the range is 'socketPath'361 231 | std::string socketPath,362 | ^~~~~~~~~~363../src/daemon/main.cc:233:21: note: the last parameter in the range is 'workerName'364 233 | std::string workerName,365 | ^~~~~~~~~~366../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]367 231 | std::string socketPath,368 | ^369 | const &370../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]371 260 | } catch (nix::Error & err) {372 | ^373../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]374 297 | nix::StorePathSet paths;375 | ^376 | const 377../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]378 669 | auto const sendLogLine = [&](nixgrpc::BuildEvent event) -> void {379 | ^380 | const &381../src/path-info-wire.hh:35:5: error: variable 'path' of type 'nix::StorePath' can be declared 'const' [misc-const-correctness,-warnings-as-errors]382 35 | nix::StorePath path(entry.path());383 | ^384 | const 385../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]386 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t387 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~388../src/pump.hh:65:31: note: the first parameter in the range is 'sourceFd'389 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t390 | ^~~~~~~~391../src/pump.hh:65:57: note: the last parameter in the range is 'buf'392 65 | inline auto readCoalesced(int sourceFd, std::span<char> buf) -> ssize_t393 | ^~~394../src/pump.hh:159:23: error: variable 'count' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]395 159 | ssize_t const count = readCoalesced(sourceFd, input);396 | ^ 397 | = 0398../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]399 276 | static auto makeInitialMsg(std::string initial) -> Msg400 | ^401 | const &402FAILED: [code=1] meson-internal__clang-tidy 403/nix/store/j2s018h6gc2q0z3sw002br2zas3m1l9d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-12824-4142853305/source /nix/var/nix/builds/nix-12824-4142853305/source/build --color always404ninja: build stopped: subcommand failed.