Running phase: unpackPhase unpacking source archive /nix/store/wazhy9b63pmqsaidbr4i9497jv54vayz-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0 --libdir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/lib --libexecdir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/libexec --bindir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/bin --sbindir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/sbin --includedir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/include --mandir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/share/man --infodir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/share/info --localedir=/nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-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-41250-1147263943/source Build dir: /nix/var/nix/builds/nix-41250-1147263943/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/y3kq99w9rf07m43pggj5g596yy1qkvps-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency grpc++ found: YES 1.83.0 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 libcrypto found: YES 3.6.3 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.0pre20260901_72385de1+1 Run-time dependency nix-util found: YES 2.36.0pre20260901_72385de1+1 Program protoc found: YES (/nix/store/wylvda2p4ab62dzzsgppbclpmh4j2f8r-protobuf-35.1/bin/protoc) Program grpc_cpp_plugin found: YES (/nix/store/y1545dr7vy81bimhbk824p01rvzvj987-grpc-1.83.0/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/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/bin buildtype : plain includedir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/include infodir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/share/info libdir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/lib libexecdir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/libexec localedir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/share/locale mandir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/share/man prefix : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0 sbindir : /nix/store/60dfp1dcbq8xc7vmxg6drqcy5vwxchcv-nix-grpc-store-clang-tidy-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/qqid6lbkgb6ihf048ypbc2na5s97hy1d-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/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-41250-1147263943/source /nix/var/nix/builds/nix-41250-1147263943/source/build --color always >>> /nix/store/d8f8g6pnqn4rn18ma7341afkdk0hbj07-clang-tools-22.1.8/bin/clang-tidy --use-color -quiet -p /nix/var/nix/builds/nix-41250-1147263943/source/build /nix/var/nix/builds/nix-41250-1147263943/source/src/nix-grpc-daemon.cc Errors encountered while running clang-tidy Error while processing /nix/var/nix/builds/nix-41250-1147263943/source/src/nix-grpc-daemon.cc. ../src/socket-activation.hh:81:36: error: no member named 'accept4' in the global namespace; did you mean 'accept'? [clang-diagnostic-error] 81 | int const conn = ::accept4(pollFds.at(idx).fd, nullptr, nullptr, SOCK_CLOEXEC | SOCK_NONBLOCK); | ^~~~~~~ | accept /nix/store/52kwxj456mb1ygjn9nkgm93a17si3ks4-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:720:9: note: 'accept' declared here 720 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ../src/socket-activation.hh:81:82: error: use of undeclared identifier 'SOCK_CLOEXEC' [clang-diagnostic-error] 81 | int const conn = ::accept4(pollFds.at(idx).fd, nullptr, nullptr, SOCK_CLOEXEC | SOCK_NONBLOCK); | ^~~~~~~~~~~~ ../src/socket-activation.hh:81:97: error: use of undeclared identifier 'SOCK_NONBLOCK' [clang-diagnostic-error] 81 | int const conn = ::accept4(pollFds.at(idx).fd, nullptr, nullptr, SOCK_CLOEXEC | SOCK_NONBLOCK); | ^~~~~~~~~~~~~ FAILED: [code=1] meson-internal__clang-tidy /nix/store/735yy09gy9j1wzwrsd1v1xrgf6izyr5d-meson-1.10.2/bin/meson --internal clangtidy /nix/var/nix/builds/nix-41250-1147263943/source /nix/var/nix/builds/nix-41250-1147263943/source/build --color always ninja: build stopped: subcommand failed.