nixbot

builds

failed tincd-clippy-0.1.0 checks.aarch64-darwin.clippy · build #253 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/diihw4b0576r9wlp0bk3jxxpnmvhwjsg-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/80njad3319y1ywh4zmxh4z2y78gh3g10-tincd-deps-0.1.0/target.tar.zst to target
configurePhase
6will append /private/var/tb/4/scratch/414d838801e911aa/build/source/.cargo-home/config.toml with contents of /nix/store/zahh5pgyr4ayjajxqdd0ckwr196fwyl9-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
8+++ command cargo --version9cargo 1.97.0 (c980f4866 2026-06-30)10+++ command cargo clippy --release --workspace --all-targets -- -D warnings11 Compiling libc v0.2.19012 Compiling num-traits v0.2.1913 Compiling zerocopy v0.8.6214 Checking tinc-proto v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-proto)15 Compiling rustix v1.1.416 Checking once_cell v1.21.417 Checking fastrand v2.4.018 Checking errno v0.3.1419 Checking tinc-device v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-device)20 Compiling getrandom v0.3.421 Checking wait-timeout v0.2.122 Checking fnv v1.0.723 Checking quick-error v1.2.324 Checking bit-vec v0.8.025 Checking unarray v0.1.426 Checking regex-syntax v0.8.1127 Checking arbitrary v1.5.028 Checking inout v0.2.229 Checking hex v0.4.330 Checking cipher v0.5.231 Checking bit-set v0.8.032 Checking chacha20 v0.10.233 Checking module-lattice v0.2.334 Checking crypto-bigint v0.7.535 Checking ml-kem v0.3.236 Checking rand_core v0.9.537 Checking rand_xorshift v0.4.038 Checking rand v0.9.239 Checking tempfile v3.27.040 Checking rusty-fork v0.3.141 Compiling jobserver v0.1.3542 Compiling cc v1.7.043 Checking crypto-primes v0.7.244 Compiling openssl-sys v0.9.11745 Compiling tincd v0.1.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tincd)46 Compiling libfuzzer-sys v0.4.1347 Compiling tinc-ffi v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-ffi)48 Checking rsa v0.10.0-rc.1949 Checking ppv-lite86 v0.2.2150 Checking rand_chacha v0.10.051 Checking rand_chacha v0.9.052 Checking proptest v1.11.053warning: 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.54warning: 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.55warning: 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.56warning: 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.57warning: 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.58warning: 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.59warning: 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.60warning: 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.61warning: 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.62warning: 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.63warning: 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.64warning: 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.65warning: 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.66warning: 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.67warning: 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.68warning: 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.69warning: 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.70 Checking tinc-crypto v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-crypto)71 Checking tinc-sptps v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-sptps)72 Checking tinc-conf v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-conf)73 Checking tinc-tools v0.0.0 (/private/var/tb/4/scratch/414d838801e911aa/build/source/crates/tinc-tools)74error: indexing may panic75 --> crates/tincd/src/daemon/net/macos_rx.rs:78:976 |7778 | x.iovs[i] = libc::iovec {78 | ^^^^^^^^^79 |80 = help: consider using `.get(n)` or `.get_mut(n)` instead81 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing82note: the lint level is defined here83 --> crates/tincd/src/lib.rs:19:584 |8519 | clippy::indexing_slicing,86 | ^^^^^^^^^^^^^^^^^^^^^^^^8788error: indexing may panic89 --> crates/tincd/src/daemon/net/macos_rx.rs:83:3390 |9183 | msg_name: (&raw mut x.addrs[i]).cast(),92 | ^^^^^^^^^^93 |94 = help: consider using `.get(n)` or `.get_mut(n)` instead95 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing9697error: indexing may panic98 --> crates/tincd/src/daemon/net/macos_rx.rs:86:3199 |10086 | msg_iov: &raw mut x.iovs[i],101 | ^^^^^^^^^102 |103 = help: consider using `.get(n)` or `.get_mut(n)` instead104 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing105106error: indexing may panic107 --> crates/tincd/src/daemon/net/macos_rx.rs:82:9108 |10982 | x.hdrs[i] = MsghdrX {110 | ^^^^^^^^^111 |112 = help: consider using `.get(n)` or `.get_mut(n)` instead113 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing114115error: indexing may panic116 --> crates/tincd/src/daemon/net/macos_rx.rs:122:27117 |118122 | let len = len_u16(x.hdrs[i].msg_datalen.min(UDP_RX_BUFSZ));119 | ^^^^^^^^^120 |121 = help: consider using `.get(n)` or `.get_mut(n)` instead122 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing123124error: indexing may panic125 --> crates/tincd/src/daemon/net/macos_rx.rs:123:38126 |127123 | let peer = ss_to_socketaddr(&x.addrs[i], x.hdrs[i].msg_namelen);128 | ^^^^^^^^^^129 |130 = help: consider using `.get(n)` or `.get_mut(n)` instead131 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing132133error: indexing may panic134 --> crates/tincd/src/daemon/net/macos_rx.rs:123:50135 |136123 | let peer = ss_to_socketaddr(&x.addrs[i], x.hdrs[i].msg_namelen);137 | ^^^^^^^^^138 |139 = help: consider using `.get(n)` or `.get_mut(n)` instead140 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing141142error: used `expect()` on a `Result` value143 --> crates/tincd/src/darwin_x.rs:66:5144 |14566 | v.try_into().map_err(|_| ()).expect("collected N elements")146 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^147 |148 = note: if this value is an `Err`, it will panic149 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_used150note: the lint level is defined here151 --> crates/tincd/src/lib.rs:21:5152 |15321 | clippy::expect_used,154 | ^^^^^^^^^^^^^^^^^^^155156error: indexing may panic157 --> crates/tincd/src/egress/macos.rs:112:13158 |159112 | self.iovs[i] = libc::iovec {160 | ^^^^^^^^^^^^161 |162 = help: consider using `.get(n)` or `.get_mut(n)` instead163 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing164165error: indexing may panic166 --> crates/tincd/src/egress/macos.rs:124:35167 |168124 | msg_iov: &raw mut self.iovs[i],169 | ^^^^^^^^^^^^170 |171 = help: consider using `.get(n)` or `.get_mut(n)` instead172 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing173174error: indexing may panic175 --> crates/tincd/src/egress/macos.rs:116:13176 |177116 | self.hdrs[i] = MsghdrX {178 | ^^^^^^^^^^^^179 |180 = help: consider using `.get(n)` or `.get_mut(n)` instead181 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing182183error: slicing may panic184 --> crates/tincd/src/egress/macos.rs:145:30185 |186145 | frames: &b.frames[offset..],187 | ^^^^^^^^^^^^^^^^^^188 |189 = help: consider using `.get(n..)` or .get_mut(n..)` instead190 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing191192error: used `expect()` on a `Result` value193 --> crates/tincd/src/egress/macos.rs:147:38194 |195147 | count: b.count - u16::try_from(accepted).expect("accepted < u16 count"),196 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^197 |198 = note: if this value is an `Err`, it will panic199 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_used200201error: slicing may panic202 --> crates/tincd/src/event/io/kqueue.rs:104:16203 |204104 | kq.kevent(&ch[..n], &mut [], None)205 | ^^^^^^^206 |207 = help: consider using `.get(..n)`or `.get_mut(..n)` instead208 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing209210error: slicing may panic211 --> crates/tincd/src/event/io/kqueue.rs:114:16212 |213114 | for ch in &ch[..n] {214 | ^^^^^^^215 |216 = help: consider using `.get(..n)`or `.get_mut(..n)` instead217 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#indexing_slicing218219warning: 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.220error: could not compile `tincd` (lib) due to 15 previous errors221warning: build failed, waiting for other jobs to finish...222warning: 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.223error: could not compile `tincd` (lib test) due to 15 previous errors