this derivation will be built: /nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv building '/nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv' on 'ssh-ng://customer@mac02' building '/nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv' nix-grpc-store-clang-tidy-0.1.0> Running phase: unpackPhase nix-grpc-store-clang-tidy-0.1.0> unpacking source archive /nix/store/bfzli95ywmhijma8s2ffc3nbjwnl86wv-h3wxg85ali7zyibxmqxfy90nlryf5qa1-source nix-grpc-store-clang-tidy-0.1.0> source root is h3wxg85ali7zyibxmqxfy90nlryf5qa1-source nix-grpc-store-clang-tidy-0.1.0> Running phase: patchPhase nix-grpc-store-clang-tidy-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-grpc-store-clang-tidy-0.1.0> Running phase: configurePhase nix-grpc-store-clang-tidy-0.1.0> mesonConfigurePhase flags: --prefix=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain nix-grpc-store-clang-tidy-0.1.0> The Meson build system nix-grpc-store-clang-tidy-0.1.0> Version: 1.10.2 nix-grpc-store-clang-tidy-0.1.0> Source dir: /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source nix-grpc-store-clang-tidy-0.1.0> Build dir: /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build nix-grpc-store-clang-tidy-0.1.0> Build type: native build nix-grpc-store-clang-tidy-0.1.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.1.0> Project name: nix-grpc-store nix-grpc-store-clang-tidy-0.1.0> Project version: 0.1.0 nix-grpc-store-clang-tidy-0.1.0> C++ compiler for the host machine: clang++ (clang 21.1.8 "clang version 21.1.8") nix-grpc-store-clang-tidy-0.1.0> C++ linker for the host machine: clang++ ld64 956.6 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu family: aarch64 nix-grpc-store-clang-tidy-0.1.0> Host machine cpu: aarch64 nix-grpc-store-clang-tidy-0.1.0> Found pkg-config: YES (/nix/store/xnfaxman2s69fzbiqg3xy9rmwrg49lwk-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency grpc++ found: YES 1.82.1 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency protobuf found: YES 35.1.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency libzstd found: YES 1.5.7 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency threads found: YES nix-grpc-store-clang-tidy-0.1.0> Run-time dependency prometheus-cpp-core found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency prometheus-cpp-pull found: YES 1.3.0 nix-grpc-store-clang-tidy-0.1.0> Run-time dependency nix-store found: YES 2.36.0pre nix-grpc-store-clang-tidy-0.1.0> Run-time dependency nix-util found: YES 2.36.0pre nix-grpc-store-clang-tidy-0.1.0> Program protoc found: YES (/nix/store/8f1k13sf9i5yw4vqn5m8yzn45r62fqp0-protobuf-35.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0> Program grpc_cpp_plugin found: YES (/nix/store/8gka7k4q54k5zz51a9ngxv2iii5476ff-grpc-1.82.1/bin/grpc_cpp_plugin) nix-grpc-store-clang-tidy-0.1.0> Run-time dependency dl found: YES nix-grpc-store-clang-tidy-0.1.0> Build targets in project: 4 nix-grpc-store-clang-tidy-0.1.0> WARNING: Project specifies no minimum version but uses features which were added in versions: nix-grpc-store-clang-tidy-0.1.0> * 1.1: {'meson.options file'} nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store 0.1.0 nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> User defined options nix-grpc-store-clang-tidy-0.1.0> auto_features: enabled nix-grpc-store-clang-tidy-0.1.0> bindir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/bin nix-grpc-store-clang-tidy-0.1.0> buildtype : plain nix-grpc-store-clang-tidy-0.1.0> includedir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/include nix-grpc-store-clang-tidy-0.1.0> infodir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/info nix-grpc-store-clang-tidy-0.1.0> libdir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/lib nix-grpc-store-clang-tidy-0.1.0> libexecdir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/libexec nix-grpc-store-clang-tidy-0.1.0> localedir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/locale nix-grpc-store-clang-tidy-0.1.0> mandir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/share/man nix-grpc-store-clang-tidy-0.1.0> prefix : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0 nix-grpc-store-clang-tidy-0.1.0> sbindir : /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0/sbin nix-grpc-store-clang-tidy-0.1.0> wrap_mode : nodownload nix-grpc-store-clang-tidy-0.1.0> nix-grpc-store-clang-tidy-0.1.0> Found ninja-1.13.2 at /nix/store/7k28pkdms9i9bzm4aia91ykwlc5iv3f4-ninja-1.13.2/bin/ninja nix-grpc-store-clang-tidy-0.1.0> mesonConfigurePhase: enabled\ parallel\ building nix-grpc-store-clang-tidy-0.1.0> Running phase: buildPhase nix-grpc-store-clang-tidy-0.1.0> [1/1] Generating nix_remote_proto with a custom command nix-grpc-store-clang-tidy-0.1.0> [0/1] /nix/store/jhw4pzkn3ahb1jlcgwwax3vmfn2k45vm-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/di0x4z4h4zmhj54mvqs4l0k9inmzqxi9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/nix-grpc-daemon.cc nix-grpc-store-clang-tidy-0.1.0> ../src/acl.hh:71:20: error: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 71 | auto const eq = spec.rfind('='); nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/acl.hh:75:25: error: use designated initializer list to initialize 'value_type' (aka 'nixgrpc::Acl::Rule') [modernize-use-designated-initializers,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 75 | rules.push_back({std::string(spec.substr(0, eq)), parseRole(spec.substr(eq + 1))}); nix-grpc-store-clang-tidy-0.1.0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0> | .pattern= .role= nix-grpc-store-clang-tidy-0.1.0> ../src/acl.hh:53:5: note: aggregate type is defined here nix-grpc-store-clang-tidy-0.1.0> 53 | struct Rule nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/acl.hh:102:25: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 102 | if (commonName->find('\0') != std::string::npos) { nix-grpc-store-clang-tidy-0.1.0> | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0> | contains '\0') nix-grpc-store-clang-tidy-0.1.0> ../src/nix-grpc-daemon.cc:124:36: error: no header providing "std::optional" is directly included [misc-include-cleaner,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 21 | auto authorizeBuild(const std::optional & cert, std::string_view method, uint32_t buildMode) nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/nix-grpc-daemon.cc:788:11: error: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 788 | : options.acl.anonymousRole() ? GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> ../src/nix-grpc-daemon.cc:787:9: note: parent conditional operator here nix-grpc-store-clang-tidy-0.1.0> 787 | options.clientCA.empty() ? GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE nix-grpc-store-clang-tidy-0.1.0> | ^ nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/di0x4z4h4zmhj54mvqs4l0k9inmzqxi9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/grpc-store.cc nix-grpc-store-clang-tidy-0.1.0> Errors encountered while running clang-tidy nix-grpc-store-clang-tidy-0.1.0> ../src/grpc-store.cc:290:16: error: qualified name 'Store::queryMissing' refers to a member overridden in subclass; did you mean 'nix::RemoteStore'? [bugprone-parent-virtual-call,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 290 | return Store::queryMissing(targets); nix-grpc-store-clang-tidy-0.1.0> | ^~~~~~~ nix-grpc-store-clang-tidy-0.1.0> | nix::RemoteStore:: nix-grpc-store-clang-tidy-0.1.0> ../src/grpc-store.cc:310:52: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors] nix-grpc-store-clang-tidy-0.1.0> 310 | return queryValidPaths({path}, NoSubstitute).count(path) != 0; nix-grpc-store-clang-tidy-0.1.0> | ^~~~~ ~~~~~~~~~~ nix-grpc-store-clang-tidy-0.1.0> | contains path) nix-grpc-store-clang-tidy-0.1.0> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.1.0> /nix/store/jhw4pzkn3ahb1jlcgwwax3vmfn2k45vm-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always nix-grpc-store-clang-tidy-0.1.0> ninja: build stopped: subcommand failed. error: build of '/nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0 Last 25 log lines: > 102 | if (commonName->find('\0') != std::string::npos) { > | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ > | contains '\0') > ../src/nix-grpc-daemon.cc:124:36: error: no header providing "std::optional" is directly included [misc-include-cleaner,-warnings-as-errors] > 21 | auto authorizeBuild(const std::optional & cert, std::string_view method, uint32_t buildMode) > | ^ > ../src/nix-grpc-daemon.cc:788:11: error: conditional operator is used as sub-expression of parent conditional operator, refrain from using nested conditional operators [readability-avoid-nested-conditional-operator,-warnings-as-errors] > 788 | : options.acl.anonymousRole() ? GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY > | ^ > ../src/nix-grpc-daemon.cc:787:9: note: parent conditional operator here > 787 | options.clientCA.empty() ? GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE > | ^ > >>> /nix/store/di0x4z4h4zmhj54mvqs4l0k9inmzqxi9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/grpc-store.cc > Errors encountered while running clang-tidy > ../src/grpc-store.cc:290:16: error: qualified name 'Store::queryMissing' refers to a member overridden in subclass; did you mean 'nix::RemoteStore'? [bugprone-parent-virtual-call,-warnings-as-errors] > 290 | return Store::queryMissing(targets); > | ^~~~~~~ > | nix::RemoteStore:: > ../src/grpc-store.cc:310:52: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors] > 310 | return queryValidPaths({path}, NoSubstitute).count(path) != 0; > | ^~~~~ ~~~~~~~~~~ > | contains path) > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/jhw4pzkn3ahb1jlcgwwax3vmfn2k45vm-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /nix/var/nix/builds/nix-91566-1414632591/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv error: Cannot build '/nix/store/jgxd7xz8k4csbs121hy28impnfvsrkmi-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/5ihgnpay9sbkn5ycmsnlkrr86jj62bmi-nix-grpc-store-clang-tidy-0.1.0