these 5 derivations will be built: /nix/store/sfailhi2mc3j024n08vd78pvyd823qlr-vendor-registry.drv /nix/store/52l4w517mj7f55p93cjf7glcasicg1jb-vendor-cargo-deps.drv /nix/store/v123g1g4mdnbzafh0l9hvlhkl3r36nzw-source.drv /nix/store/8alqfrsas40f4yxpqfz9v0p6ipygl06c-tincd-deps-0.1.0.drv /nix/store/2bnpachs7mhgl28xmdpvwvzpwhlhdb3n-tincd-0.1.0.drv error: Cannot build '/nix/store/2bnpachs7mhgl28xmdpvwvzpwhlhdb3n-tincd-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/ryxmd2vhg7jgq2bwcsnh2pgvf73ssh7i-tincd-0.1.0 Last 25 log lines: > Running phase: configurePhase > will append /private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/.cargo-home/config.toml with contents of /nix/store/xz8aplwl81rslz88wxgba45d4d826928-vendor-cargo-deps/config.toml > default configurePhase, nothing to do > Running phase: buildPhase > +++ command cargo --version > cargo 1.97.0 (c980f4866 2026-06-30) > +++ command cargo build --release --message-format json-render-diagnostics -p tincd -p tinc-tools > Compiling tinc-proto v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-proto) > Compiling tincd v0.1.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tincd) > Compiling tinc-device v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-device) > Compiling tinc-crypto v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-crypto) > Compiling tinc-sptps v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-sptps) > Compiling tinc-conf v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-conf) > warning: tincd@0.1.0: Warning: supplying the --target arm64-apple-macosx != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead. > Compiling tinc-tools v0.0.0 (/private/var/tb/2/scratch/307fb4b5b57f72a9/build/source/crates/tinc-tools) > error[E0425]: cannot find function `daemon` in crate `libc` > --> crates/tincd/src/platform.rs:231:33 > | > 231 | let rc = unsafe { libc::daemon(1, 0) }; > | ^^^^^^ not found in `libc` > > For more information about this error, try `rustc --explain E0425`. > warning: tincd@0.1.0: Warning: supplying the --target arm64-apple-macosx != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead. > error: could not compile `tincd` (lib) due to 1 previous error > warning: build failed, waiting for other jobs to finish... For full logs, run: nix log /nix/store/2bnpachs7mhgl28xmdpvwvzpwhlhdb3n-tincd-0.1.0.drv