this derivation will be built: /nix/store/kjabp4qm7d9d7v70bzrxfrrxv7jqw97w-tincd-test-0.1.0.drv error: Cannot build '/nix/store/kjabp4qm7d9d7v70bzrxfrrxv7jqw97w-tincd-test-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/11i4jplijj2l1bhxr0z6yssn0agk0wdz-tincd-test-0.1.0 Last 25 log lines: > Compiling tinc-conf v0.0.0 (/private/var/tb/8/scratch/def0024c77718682/build/source/crates/tinc-conf) > Compiling crypto-primes v0.7.2 > Compiling ppv-lite86 v0.2.21 > Compiling rand_chacha v0.10.0 > Compiling rand_chacha v0.9.0 > error: usage of an `unsafe extern` block > --> crates/tincd/src/platform.rs:229:9 > | > 229 | / unsafe extern "C" { > 230 | | fn daemon(nochdir: libc::c_int, noclose: libc::c_int) -> libc::c_int; > 231 | | } > | |_________^ > | > note: the lint level is defined here > --> crates/tincd/src/lib.rs:13:9 > | > 13 | #![deny(unsafe_code)] > | ^^^^^^^^^^^ > > Compiling proptest v1.11.0 > Compiling rsa v0.10.0-rc.19 > Compiling tinc-tools v0.0.0 (/private/var/tb/8/scratch/def0024c77718682/build/source/crates/tinc-tools) > 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/kjabp4qm7d9d7v70bzrxfrrxv7jqw97w-tincd-test-0.1.0.drv