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/bym0jfj7qwnr2qijbnn9w8kmwh86r319-tincd-test-0.1.0.drv error: Cannot build '/nix/store/bym0jfj7qwnr2qijbnn9w8kmwh86r319-tincd-test-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/1xl28f6ig9k57kw56s2lpy4qy84g8q82-tincd-test-0.1.0 Last 25 log lines: > warning: tinc-ffi@0.0.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. > warning: tinc-ffi@0.0.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. > warning: tinc-ffi@0.0.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. > warning: tinc-ffi@0.0.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-crypto v0.0.0 (/private/var/tb/6/scratch/e71e901fdc23fc59/build/source/crates/tinc-crypto) > Compiling rusty-fork v0.3.1 > Compiling tinc-sptps v0.0.0 (/private/var/tb/6/scratch/e71e901fdc23fc59/build/source/crates/tinc-sptps) > Compiling tinc-conf v0.0.0 (/private/var/tb/6/scratch/e71e901fdc23fc59/build/source/crates/tinc-conf) > Compiling crypto-primes v0.7.2 > Compiling ppv-lite86 v0.2.21 > Compiling rand_chacha v0.10.0 > 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` > > Compiling rand_chacha v0.9.0 > Compiling rsa v0.10.0-rc.18 > Compiling proptest v1.11.0 > Compiling tinc-tools v0.0.0 (/private/var/tb/6/scratch/e71e901fdc23fc59/build/source/crates/tinc-tools) > 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/bym0jfj7qwnr2qijbnn9w8kmwh86r319-tincd-test-0.1.0.drv