Running phase: unpackPhase unpacking source archive /nix/store/yhygfs2l73cx577kvfai02w609ry8l14-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/56k1qmdpzbcgmj82pd5k78k2j91ajvkl-tincd-deps-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /nix/var/nix/builds/nix-41577-266699758/source/.cargo-home/config.toml with contents of /nix/store/g5prfdkfxz1rigv13hmj53m67abn8sii-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 clippy --release --workspace --all-targets -- -D warnings Compiling num-traits v0.2.19 Compiling rustix v1.1.4 Checking errno v0.3.14 Checking fastrand v2.4.0 Checking once_cell v1.21.4 Compiling zerocopy v0.8.48 Checking tinc-proto v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-proto) Checking tinc-device v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-device) Compiling tincd v0.1.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tincd) Compiling getrandom v0.3.4 Checking wait-timeout v0.2.1 Checking bit-vec v0.8.0 Checking fnv v1.0.7 Checking quick-error v1.2.3 Checking regex-syntax v0.8.11 Checking unarray v0.1.4 Compiling tinc-ffi v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-ffi) Checking rand_core v0.9.5 Checking inout v0.2.2 Checking bit-set v0.8.0 Checking hex v0.4.3 Checking rand_xorshift v0.4.0 Checking rand v0.9.2 Checking cipher v0.5.2 Checking chacha20 v0.10.2 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. Checking module-lattice v0.2.3 Checking crypto-bigint v0.7.5 Checking ml-kem v0.3.2 Checking tempfile v3.27.0 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. 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. 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. 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. Checking rusty-fork v0.3.1 Checking tinc-crypto v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-crypto) Checking tinc-sptps v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-sptps) Checking tinc-conf v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-conf) Checking crypto-primes v0.7.2 Checking ppv-lite86 v0.2.21 Checking rand_chacha v0.10.0 Checking rand_chacha v0.9.0 Checking proptest v1.11.0 Checking rsa v0.10.0-rc.18 Checking tinc-tools v0.0.0 (/nix/var/nix/builds/nix-41577-266699758/source/crates/tinc-tools) error[E0432]: unresolved import `chacha20::ChaCha20Legacy` --> crates/tinc-sptps/tests/vs_c.rs:9:5 | 9 | use chacha20::ChaCha20Legacy; | ^^^^^^^^^^^^^^^^^^^^^^^^ no `ChaCha20Legacy` in the root | note: found an item that was configured out --> /nix/store/g5prfdkfxz1rigv13hmj53m67abn8sii-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/chacha20-0.10.2/src/lib.rs:28:18 | 27 | #[cfg(feature = "legacy")] | ------------------ the item is gated behind the `legacy` feature 28 | pub use legacy::{ChaCha20Legacy, ChaCha20LegacyCore, LegacyNonce}; | ^^^^^^^^^^^^^^ error: unused import: `KeyIvInit` --> crates/tinc-sptps/tests/vs_c.rs:10:24 | 10 | use chacha20::cipher::{KeyIvInit, StreamCipher, StreamCipherSeek}; | ^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` For more information about this error, try `rustc --explain E0432`. error: could not compile `tinc-sptps` (test "vs_c") due to 2 previous errors warning: build failed, waiting for other jobs to finish...