this derivation will be built: /nix/store/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv error: Cannot build '/nix/store/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-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/7hhzs4aal2v8ydl7fnads45fcblc36xx-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/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv