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], []) 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