this derivation will be built: /nix/store/xv6qzs5df0gdxxfsm95fdyjgh4sjypkx-nix-grpc-store-clang-tidy-0.1.0.drv Failed to find a machine for remote build! derivation: xv6qzs5df0gdxxfsm95fdyjgh4sjypkx-nix-grpc-store-clang-tidy-0.1.0.drv required (system, features): (aarch64-linux, []) 1 available machines: (systems, maxjobs, supportedFeatures, mandatoryFeatures) ([aarch64-darwin, x86_64-darwin], 8, [big-parallel, recursive-nix], []) building '/nix/store/xv6qzs5df0gdxxfsm95fdyjgh4sjypkx-nix-grpc-store-clang-tidy-0.1.0.drv' nix-grpc-store-clang-tidy-0.1.0> tribuchet: building on eliza 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/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-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: /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source nix-grpc-store-clang-tidy-0.1.0> Build dir: /build/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: g++ (gcc 15.3.0 "g++ (GCC) 15.3.0") nix-grpc-store-clang-tidy-0.1.0> C++ linker for the host machine: g++ ld.bfd 2.46 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/47viyl08bzj7863dvcr8j08wcaiwjaf4-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/g4fdwv4yvw5dbmbixbsxvdazw2ndp1qc-protobuf-35.1/bin/protoc) nix-grpc-store-clang-tidy-0.1.0> Program grpc_cpp_plugin found: YES (/nix/store/y67cszd8qm18k1c8rb80b84ivx1512wy-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/i1da5gd8191xzr8n0xbysk7644lsgqib-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/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/include nix-grpc-store-clang-tidy-0.1.0> infodir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/share/info nix-grpc-store-clang-tidy-0.1.0> libdir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/lib nix-grpc-store-clang-tidy-0.1.0> libexecdir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/libexec nix-grpc-store-clang-tidy-0.1.0> localedir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/share/locale nix-grpc-store-clang-tidy-0.1.0> mandir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0/share/man nix-grpc-store-clang-tidy-0.1.0> prefix : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0 nix-grpc-store-clang-tidy-0.1.0> sbindir : /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-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/pfc9h7fcyig6zx1f8k8ngf69kzbzbbpi-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/77agpk9cjqzhs7v8mvaaagy6r4kkrp2l-meson-1.10.2/bin/meson --internal clangtidy /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always nix-grpc-store-clang-tidy-0.1.0> >>> /nix/store/h0yfgknx05cppvhjwwmlwccr2vf45781-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/grpc-store.cc 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> >>> /nix/store/h0yfgknx05cppvhjwwmlwccr2vf45781-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/nix-grpc-daemon.cc nix-grpc-store-clang-tidy-0.1.0> Errors encountered while running clang-tidy 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> FAILED: [code=1] meson-internal__clang-tidy nix-grpc-store-clang-tidy-0.1.0> /nix/store/77agpk9cjqzhs7v8mvaaagy6r4kkrp2l-meson-1.10.2/bin/meson --internal clangtidy /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always nix-grpc-store-clang-tidy-0.1.0> ninja: build stopped: subcommand failed. error: Cannot build '/nix/store/xv6qzs5df0gdxxfsm95fdyjgh4sjypkx-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/i1da5gd8191xzr8n0xbysk7644lsgqib-nix-grpc-store-clang-tidy-0.1.0 Last 25 log lines: > 71 | auto const eq = spec.rfind('='); > | ^ > ../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] > 75 | rules.push_back({std::string(spec.substr(0, eq)), parseRole(spec.substr(eq + 1))}); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | .pattern= .role= > ../src/acl.hh:53:5: note: aggregate type is defined here > 53 | struct Rule > | ^ > ../src/acl.hh:102:25: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors] > 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 > | ^ > FAILED: [code=1] meson-internal__clang-tidy > /nix/store/77agpk9cjqzhs7v8mvaaagy6r4kkrp2l-meson-1.10.2/bin/meson --internal clangtidy /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/xv6qzs5df0gdxxfsm95fdyjgh4sjypkx-nix-grpc-store-clang-tidy-0.1.0.drv