tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/bfzli95ywmhijma8s2ffc3nbjwnl86wv-h3wxg85ali7zyibxmqxfy90nlryf5qa1-source source root is h3wxg85ali7zyibxmqxfy90nlryf5qa1-source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain The Meson build system Version: 1.10.2 Source dir: /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source Build dir: /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build Build type: native build WARNING: Project does not target a minimum version but uses feature introduced in '1.1': meson.options file. Use meson_options.txt instead Project name: nix-grpc-store Project version: 0.1.0 C++ compiler for the host machine: g++ (gcc 15.3.0 "g++ (GCC) 15.3.0") C++ linker for the host machine: g++ ld.bfd 2.46 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/2l3a3fhc1nyp69mlq5ifb4mkb9mryb98-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.82.1 Run-time dependency protobuf found: YES 35.1.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency prometheus-cpp-core found: YES 1.3.0 Run-time dependency prometheus-cpp-pull found: YES 1.3.0 Run-time dependency nix-store found: YES 2.36.0pre Run-time dependency nix-util found: YES 2.36.0pre Program protoc found: YES (/nix/store/627hivwhnbmkgj71z5af0gfqdm03s408-protobuf-35.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/fdh84s0f3jx5lb34ip2iwq9ysghylm1f-grpc-1.82.1/bin/grpc_cpp_plugin) Run-time dependency dl found: YES Build targets in project: 4 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.1.0 User defined options auto_features: enabled bindir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/bin buildtype : plain includedir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/include infodir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/info libdir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/lib libexecdir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/libexec localedir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/locale mandir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/share/man prefix : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0 sbindir : /nix/store/2zca3hxwkf2045bkwb5wilzy65lff30d-nix-grpc-store-clang-tidy-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/vqnp9w33c613xl7ism88wx69rqaabamn-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase [1/1] Generating nix_remote_proto with a custom command [0/1] /nix/store/7hhzs4aal2v8ydl7fnads45fcblc36xx-meson-1.10.2/bin/meson --internal clangtidy /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build --color always >>> /nix/store/i68q60qzfadnn5rgn6w6i1spynhqcqf4-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/grpc-store.cc ../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) >>> /nix/store/i68q60qzfadnn5rgn6w6i1spynhqcqf4-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/build /build/h3wxg85ali7zyibxmqxfy90nlryf5qa1-source/src/nix-grpc-daemon.cc Errors encountered while running clang-tidy ../src/acl.hh:71:20: error: variable name 'eq' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 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.