nixbot

builds
1this derivation will be built:2 /nix/store/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv3error: Cannot build '/nix/store/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.07 Last 25 log lines:8 > 71 | auto const eq = spec.rfind('=');9 > | ^10 > ../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]11 > 75 | rules.push_back({std::string(spec.substr(0, eq)), parseRole(spec.substr(eq + 1))});12 > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~13 > | .pattern= .role=14 > ../src/acl.hh:53:5: note: aggregate type is defined here15 > 53 | struct Rule16 > | ^17 > ../src/acl.hh:102:25: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors]18 > 102 | if (commonName->find('\0') != std::string::npos) {19 > | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~20 > | contains '\0')21 > ../src/nix-grpc-daemon.cc:124:36: error: no header providing "std::optional" is directly included [misc-include-cleaner,-warnings-as-errors]22 > 21 | auto authorizeBuild(const std::optional<std::string> & cert, std::string_view method, uint32_t buildMode)23 > | ^24 > ../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]25 > 788 | : options.acl.anonymousRole() ? GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY26 > | ^27 > ../src/nix-grpc-daemon.cc:787:9: note: parent conditional operator here28 > 787 | options.clientCA.empty() ? GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE29 > | ^30 > FAILED: [code=1] meson-internal__clang-tidy31 > /nix/store/7hhzs4aal2v8ydl7fnads45fcblc36xx-meson-1.10.2/bin/meson --internal clangtidy /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always32 > ninja: build stopped: subcommand failed.33 For full logs, run:34 nix log /nix/store/p1svl4s4726ybqysgyks635ml9lzpm5b-nix-grpc-store-clang-tidy-0.1.0.drv