tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/diihw4b0576r9wlp0bk3jxxpnmvhwjsg-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/80njad3319y1ywh4zmxh4z2y78gh3g10-tincd-deps-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /private/var/tb/4/scratch/414d838801e911aa/build/source/.cargo-home/config.toml with contents of /nix/store/zahh5pgyr4ayjajxqdd0ckwr196fwyl9-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 libc v0.2.190 Compiling num-traits v0.2.19 Compiling zerocopy v0.8.62 Checking tinc-proto v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-proto) Compiling rustix v1.1.4 Checking once_cell v1.21.4 Checking fastrand v2.4.0 Checking errno v0.3.14 Checking tinc-device v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-device) Compiling getrandom v0.3.4 Checking wait-timeout v0.2.1 Checking fnv v1.0.7 Checking quick-error v1.2.3 Checking bit-vec v0.8.0 Checking unarray v0.1.4 Checking regex-syntax v0.8.11 Checking arbitrary v1.5.0 Checking inout v0.2.2 Checking hex v0.4.3 Checking cipher v0.5.2 Checking bit-set v0.8.0 Checking chacha20 v0.10.2 Checking module-lattice v0.2.3 Checking crypto-bigint v0.7.5 Checking ml-kem v0.3.2 Checking rand_core v0.9.5 Checking rand_xorshift v0.4.0 Checking rand v0.9.2 Checking tempfile v3.27.0 Checking rusty-fork v0.3.1 Compiling jobserver v0.1.35 Compiling cc v1.7.0 Checking crypto-primes v0.7.2 Compiling openssl-sys v0.9.117 Compiling tincd v0.1.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tincd) Compiling libfuzzer-sys v0.4.13 Compiling tinc-ffi v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-ffi) Checking rsa v0.10.0-rc.19 Checking ppv-lite86 v0.2.21 Checking rand_chacha v0.10.0 Checking rand_chacha v0.9.0 Checking proptest v1.11.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. 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 tinc-crypto v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-crypto) Checking tinc-sptps v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-sptps) Checking tinc-conf v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-conf) Checking tinc-tools v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-tools) error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:78:9 | 78 | x.iovs[i] = libc::iovec { | ^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing note: the lint level is defined here --> crates/tincd/src/lib.rs:19:5 | 19 | clippy::indexing_slicing, | ^^^^^^^^^^^^^^^^^^^^^^^^ error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:83:33 | 83 | msg_name: (&raw mut x.addrs[i]).cast(), | ^^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:86:31 | 86 | msg_iov: &raw mut x.iovs[i], | ^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:82:9 | 82 | x.hdrs[i] = MsghdrX { | ^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:122:27 | 122 | let len = len_u16(x.hdrs[i].msg_datalen.min(UDP_RX_BUFSZ)); | ^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:123:38 | 123 | let peer = ss_to_socketaddr(&x.addrs[i], x.hdrs[i].msg_namelen); | ^^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/daemon/net/macos_rx.rs:123:50 | 123 | let peer = ss_to_socketaddr(&x.addrs[i], x.hdrs[i].msg_namelen); | ^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: used `expect()` on a `Result` value --> crates/tincd/src/darwin_x.rs:66:5 | 66 | v.try_into().map_err(|_| ()).expect("collected N elements") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_used note: the lint level is defined here --> crates/tincd/src/lib.rs:21:5 | 21 | clippy::expect_used, | ^^^^^^^^^^^^^^^^^^^ error: indexing may panic --> crates/tincd/src/egress/macos.rs:112:13 | 112 | self.iovs[i] = libc::iovec { | ^^^^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/egress/macos.rs:124:35 | 124 | msg_iov: &raw mut self.iovs[i], | ^^^^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: indexing may panic --> crates/tincd/src/egress/macos.rs:116:13 | 116 | self.hdrs[i] = MsghdrX { | ^^^^^^^^^^^^ | = help: consider using `.get(n)` or `.get_mut(n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: slicing may panic --> crates/tincd/src/egress/macos.rs:145:30 | 145 | frames: &b.frames[offset..], | ^^^^^^^^^^^^^^^^^^ | = help: consider using `.get(n..)` or .get_mut(n..)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: used `expect()` on a `Result` value --> crates/tincd/src/egress/macos.rs:147:38 | 147 | count: b.count - u16::try_from(accepted).expect("accepted < u16 count"), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_used error: slicing may panic --> crates/tincd/src/event/io/kqueue.rs:104:16 | 104 | kq.kevent(&ch[..n], &mut [], None) | ^^^^^^^ | = help: consider using `.get(..n)`or `.get_mut(..n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing error: slicing may panic --> crates/tincd/src/event/io/kqueue.rs:114:16 | 114 | for ch in &ch[..n] { | ^^^^^^^ | = help: consider using `.get(..n)`or `.get_mut(..n)` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing 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 15 previous errors warning: build failed, waiting for other jobs to finish... 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 test) due to 15 previous errors