this derivation will be built: /nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv error: build of '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0 Last 25 log lines: > 76 | assert(fdatasync(fileno(f)) == 0); > | ^~~~~~~~~ > 1 error generated. > [3/14] Compiling C++ object nar_test.p/meson-generated_nar_test-unity0.cpp.o > [4/14] Compiling C++ object gc_test.p/meson-generated_gc_test-unity0.cpp.o > [5/14] Compiling C++ object model_test.p/meson-generated_model_test-unity0.cpp.o > [6/14] Compiling C++ object bench.p/meson-generated_bench-unity0.cpp.o > In file included from bench.p/bench-unity0.cpp:1: > /nix/var/nix/builds/nix-73845-1154997751/source/build/../bench/bench.cpp:28:64: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] > 28 | printf("ingest %8lu files in %6.2fs (%.0f files/s)\n", res.files, dt, > | ~~~~ ^~~~~~~~~ > | %8llu > 1 warning generated. > [7/14] Compiling C++ object libcore.a.p/meson-generated_core-unity0.cpp.o > FAILED: [code=1] libcore.a.p/meson-generated_core-unity0.cpp.o > clang++ -Ilibcore.a.p -I. -I.. -I/nix/store/s2khzh16d11lalsdx354m3bxarp4yxv5-lmdb-0.9.35-dev/include -I/nix/store/fvrhgzqqrz92jl22xjhq3zlrhar71gkx-libblake3-1.8.5-dev/include -I/nix/store/1xpll2l2agmavm213zaq4vhnl7nj1d1s-onetbb-2022.3.0-dev/include -I/nix/store/hk4vnhvmwkvjkpgn1lmad6a401mciwsn-libarchive-3.8.8-dev/include -I/nix/store/96wff033gycd74w12jixli5g2m5nzigj-openssl-3.6.3-dev/include -I/nix/store/synxnk9jnv3fngx7lxpf1q8gbm10hiv6-lz4-1.10.0-dev/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c++23 -fvisibility=hidden -fvisibility-inlines-hidden -D_GNU_SOURCE -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wshadow -Wnon-virtual-dtor -DBLAKE3_DLL -DBLAKE3_USE_TBB -MD -MQ libcore.a.p/meson-generated_core-unity0.cpp.o -MF libcore.a.p/meson-generated_core-unity0.cpp.o.d -o libcore.a.p/meson-generated_core-unity0.cpp.o -c libcore.a.p/core-unity0.cpp > In file included from libcore.a.p/core-unity0.cpp:1: > /nix/var/nix/builds/nix-73845-1154997751/source/build/../src/pack_cas.cpp:430:9: error: use of undeclared identifier 'fdatasync' > 430 | if (fdatasync(mapping->pack_fd) < 0) { > | ^~~~~~~~~ > /nix/var/nix/builds/nix-73845-1154997751/source/build/../src/pack_cas.cpp:735:9: error: use of undeclared identifier 'fdatasync' > 735 | if (fdatasync(new_fd) < 0) { > | ^~~~~~~~~ > 2 errors generated. > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv error: Cannot build '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0