Running phase: unpackPhase unpacking source archive /nix/store/a7irn9f0h1q8dnm4812gymlmsf2k61ln-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3 --libdir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/lib --libexecdir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/libexec --bindir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/bin --sbindir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/sbin --includedir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/include --mandir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/man --infodir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/info --localedir=/nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Db_pch=false The Meson build system Version: 1.12.1 Source dir: /build/source Build dir: /build/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.2.3 C++ compiler for the host machine: clang++ (clang 22.1.8 "clang version 22.1.8") C++ linker for the host machine: clang++ ld.bfd 2.46 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.84.0 Run-time dependency protobuf found: YES 36.2.0 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Run-time dependency libcrypto found: YES 3.5.9 Run-time dependency libssl found: YES 3.5.9 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 absl_flat_hash_map found: YES 20260817 Run-time dependency absl_hash found: YES 20260817 Run-time dependency absl_synchronization found: YES 20260817 Compiler for C++ supports arguments -Werror=thread-safety: YES Run-time dependency nix-store found: YES 2.36.0pre20261115_48c45c9e Run-time dependency nix-util found: YES 2.36.0pre20261115_48c45c9e Run-time dependency jemalloc found: YES 5.4.0_0 Run-time dependency libcurl found: YES 8.22.0 Run-time dependency nlohmann_json found: YES 3.12.0 Library bz2 found: YES Check usable header "jwt-cpp/traits/nlohmann-json/defaults.h" : YES Checking if "Store::addTempRoots" with dependencies nix-store, nix-util compiles: YES Program protoc found: YES (/nix/store/hjz0cvp9c6vi3mpsnhrnh2qjyhwb1db0-protobuf-36.2/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/g10pynzgwpqnf66hi8ynryisg6l616h8-grpc-1.84.0/bin/grpc_cpp_plugin) Program mold found: YES (/nix/store/1nlnb8sahkixcfy6v3wcmg7yir8a0npr-mold-unwrapped-wrapper-3.0.0/bin/mold) Run-time dependency dl found: YES Program tests/farm-client-test.sh found: YES (/build/source/tests/farm-client-test.sh) Program tests/oidc-test.sh found: YES (/build/source/tests/oidc-test.sh) Build targets in project: 32 WARNING: Project specifies no minimum version but uses features which were added in versions: * 1.1: {'meson.options file'} nix-grpc-store 0.2.3 User defined options auto_features: enabled b_pch : false bindir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/bin buildtype : plain includedir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/include infodir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/info libdir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/lib libexecdir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/libexec localedir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/locale mandir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/share/man prefix : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3 sbindir : /nix/store/fp5gnwkisvhvpry80w7sdjl6sdqkykvd-nix-grpc-store-clang-tidy-0.2.3/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/nyjr5b3ib747yls4n9jq5ijr6wqg6wdc-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building configurePhase completed in 30 seconds Running phase: buildPhase [2/2] Generating nix_remote_proto with a custom command [0/1] /nix/store/aznm4kx8p4br84x9zdqb5spww7m4bknp-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/sandbox-test.cc ../tests/sandbox-test.cc:55:12: error: The 1st argument to 'bind' is -1 but should be >= 0 [clang-analyzer-unix.StdCLibraryFunctions,-warnings-as-errors] 55 | return ::bind(sock.get(), reinterpret_cast(&addr), sizeof(addr)) == 0; | ^ ../tests/sandbox-test.cc:96:9: note: Assuming 'pid' is equal to 0 96 | if (pid == 0) { | ^~~~~~~~ ../tests/sandbox-test.cc:96:5: note: Taking true branch 96 | if (pid == 0) { | ^ ../tests/sandbox-test.cc:103:17: note: Calling 'operator()' 103 | ::_exit(body() ? 0 : 1); | ^~~~~~ ../tests/sandbox-test.cc:208:17: note: Calling 'canBind' 208 | return !canBind(deniedPort) && !canBind6(deniedPort) && canBind(allowedPort) && canBind6(0); | ^~~~~~~~~~~~~~~~~~~ ../tests/sandbox-test.cc:82:33: note: Assuming that 'socket' fails 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/sandbox-test.cc:82:33: note: Passing value via 1st parameter 'fd' 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/sandbox-test.cc:82:28: note: Calling constructor for 'AutoCloseFD' 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/y0lrhd9s9cqqjp38xy0w6gfszjy341fs-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:274:11: note: The value -1 is assigned to 'sock.fd' 274 | : fd(fd) | ^ ../tests/sandbox-test.cc:82:28: note: Returning from constructor for 'AutoCloseFD' 82 | nix::AutoCloseFD const sock(::socket(AF_INET, SOCK_STREAM, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/sandbox-test.cc:87:12: note: Calling 'bindTo' 87 | return bindTo(sock, addr); | ^~~~~~~~~~~~~~~~~~ ../tests/sandbox-test.cc:55:19: note: Calling 'AutoCloseFD::get' 55 | return ::bind(sock.get(), reinterpret_cast(&addr), sizeof(addr)) == 0; | ^~~~~~~~~~ /nix/store/y0lrhd9s9cqqjp38xy0w6gfszjy341fs-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:287:9: note: Returning the value -1 287 | return fd; | ^~~~~~~~~ ../tests/sandbox-test.cc:55:19: note: Returning from 'AutoCloseFD::get' 55 | return ::bind(sock.get(), reinterpret_cast(&addr), sizeof(addr)) == 0; | ^~~~~~~~~~ ../tests/sandbox-test.cc:55:12: note: The 1st argument to 'bind' is -1 but should be >= 0 55 | return ::bind(sock.get(), reinterpret_cast(&addr), sizeof(addr)) == 0; | ^ ~~~~~~~~~~ >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/client/channel.cc [1/1] (1/2) Processing file /build/source/src/client/channel.cc. [1/1] (2/2) Processing file /build/source/src/client/channel.cc. >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/main.cc Error while processing /build/source/src/daemon/main.cc. ../src/daemon/main.cc:597:44: error: no member named 'get' in 'boost::outcome_v2::basic_result' [clang-diagnostic-error] 597 | nix::FdSource(file.get()).drainInto(sink); | ~~~~ ^ ../src/daemon/main.cc:598:46: error: no member named 'get' in 'boost::outcome_v2::basic_result' [clang-diagnostic-error] 598 | } else if (!bunzip2(file.get(), sink)) { | ~~~~ ^ >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/local-store-test.cc ../tests/local-store-test.cc:25:1: error: included header error.hh is not used directly [misc-include-cleaner,-warnings-as-errors] 25 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | #include >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/tests/tunnel-test.cc ../tests/tunnel-test.cc:138:13: error: The 1st argument to 'bind' is -1 but should be >= 0 [clang-analyzer-unix.StdCLibraryFunctions,-warnings-as-errors] 138 | if (bind(sock.get(), reinterpret_cast(&addr), len) != 0 || listen(sock.get(), 4) != 0 | ^ ../tests/tunnel-test.cc:558:10: note: Calling implicit default constructor for 'Held' 558 | Held held; | ^~~~ ../tests/tunnel-test.cc:558:10: note: Calling default constructor for 'Listener' 558 | Held held; | ^~~~ ../tests/tunnel-test.cc:125:16: note: Assuming that 'socket' fails 125 | : sock(socket(family, SOCK_STREAM, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:125:16: note: Passing value via 1st parameter 'fd' 125 | : sock(socket(family, SOCK_STREAM, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:125:11: note: Calling constructor for 'AutoCloseFD' 125 | : sock(socket(family, SOCK_STREAM, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/y0lrhd9s9cqqjp38xy0w6gfszjy341fs-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:274:11: note: The value -1 is assigned to 'held.lis.sock.fd' 274 | : fd(fd) | ^ ../tests/tunnel-test.cc:125:11: note: Returning from constructor for 'AutoCloseFD' 125 | : sock(socket(family, SOCK_STREAM, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../tests/tunnel-test.cc:132:13: note: 'family' is not equal to AF_INET6 132 | if (family == AF_INET6) { | ^~~~~~ ../tests/tunnel-test.cc:132:9: note: Taking false branch 132 | if (family == AF_INET6) { | ^ ../tests/tunnel-test.cc:138:18: note: Calling 'AutoCloseFD::get' 138 | if (bind(sock.get(), reinterpret_cast(&addr), len) != 0 || listen(sock.get(), 4) != 0 | ^~~~~~~~~~ /nix/store/y0lrhd9s9cqqjp38xy0w6gfszjy341fs-nix-util-2.36.0pre20261115_48c45c9e-dev/include/nix/util/file-descriptor.hh:287:9: note: Returning the value -1 287 | return fd; | ^~~~~~~~~ ../tests/tunnel-test.cc:138:18: note: Returning from 'AutoCloseFD::get' 138 | if (bind(sock.get(), reinterpret_cast(&addr), len) != 0 || listen(sock.get(), 4) != 0 | ^~~~~~~~~~ ../tests/tunnel-test.cc:138:13: note: The 1st argument to 'bind' is -1 but should be >= 0 138 | if (bind(sock.get(), reinterpret_cast(&addr), len) != 0 || listen(sock.get(), 4) != 0 | ^ ~~~~~~~~~~ >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnel.cc [1/1] (1/2) Processing file /build/source/src/daemon/tunnel.cc. [1/1] (2/2) Processing file /build/source/src/daemon/tunnel.cc. >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/tunnels.cc [1/1] (1/2) Processing file /build/source/src/daemon/tunnels.cc. [1/1] (2/2) Processing file /build/source/src/daemon/tunnels.cc. >>> /nix/store/qg4sgs5my0jin1z9frysyc4qr3pw5gm9-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /build/source/build /build/source/src/daemon/sandbox-linux.cc Errors encountered while running clang-tidy [1/1] (1/2) Processing file /build/source/src/daemon/sandbox-linux.cc. [1/1] (2/2) Processing file /build/source/src/daemon/sandbox-linux.cc. FAILED: [code=1] meson-internal__clang-tidy /nix/store/aznm4kx8p4br84x9zdqb5spww7m4bknp-meson-1.12.1/bin/meson --internal clangtidy /build/source /build/source/build --color always ninja: build stopped: subcommand failed.