Running phase: unpackPhase unpacking source archive /nix/store/sznr1gznxd6k3cyj7csd3wqf0gccmvs8-pr35fls1xw463q8pxz0caqhbyg4z062r-source source root is pr35fls1xw463q8pxz0caqhbyg4z062r-source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-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: /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source Build dir: /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-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: clang++ (clang 21.1.8 "clang version 21.1.8") C++ linker for the host machine: clang++ ld64 956.6 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/xnfaxman2s69fzbiqg3xy9rmwrg49lwk-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/8f1k13sf9i5yw4vqn5m8yzn45r62fqp0-protobuf-35.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/8gka7k4q54k5zz51a9ngxv2iii5476ff-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/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/bin buildtype : plain includedir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/include infodir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/share/info libdir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/lib libexecdir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/libexec localedir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/share/locale mandir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/share/man prefix : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0 sbindir : /nix/store/qwki40mws6j1j3a1knn4q4hm4ryxz66b-nix-grpc-store-clang-tidy-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/7k28pkdms9i9bzm4aia91ykwlc5iv3f4-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/jhw4pzkn3ahb1jlcgwwax3vmfn2k45vm-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source/build --color always >>> /nix/store/di0x4z4h4zmhj54mvqs4l0k9inmzqxi9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source/build /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source/src/grpc-store.cc Errors encountered while running clang-tidy ../src/grpc-store.cc:221:21: error: no header providing "GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL" is directly included [misc-include-cleaner,-warnings-as-errors] 17 | args.SetInt(GRPC_ARG_USE_LOCAL_SUBCHANNEL_POOL, 1); | ^ ../src/grpc-store.cc:865:7: error: 'auto session' can be declared as 'auto *session' [readability-qualified-auto,-warnings-as-errors] 865 | auto session = std::ranges::min_element(narSessions, {}, [](const auto & s) -> uint64_t { | ^~~~ | auto * ../src/grpc-store.cc:865:80: error: parameter name 's' is too short, expected at least 3 characters [readability-identifier-length,-warnings-as-errors] 865 | auto session = std::ranges::min_element(narSessions, {}, [](const auto & s) -> uint64_t { | ^ FAILED: [code=1] meson-internal__clang-tidy /nix/store/jhw4pzkn3ahb1jlcgwwax3vmfn2k45vm-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source /nix/var/nix/builds/nix-9373-4204369996/pr35fls1xw463q8pxz0caqhbyg4z062r-source/build --color always ninja: build stopped: subcommand failed.