tincd-clippy-0.1.0
checks.aarch64-darwin.clippy
· build #275
· raw
1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/658d9bi2bw9plqxps2zhzkh3jbsa0na6-source3source root is sourcepatchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/0hmx5nfjyy7vlgm7ig8zbmmhn07prq8z-tincd-deps-0.1.0/target.tar.zst to targetconfigurePhase
6will append /private/var/tb/5/scratch/c4afe73b4d330925/build/source/.cargo-home/config.toml with contents of /nix/store/hl65r5mnmgxzw97n6p0ci3k3qi1l9m7n-vendor-cargo-deps/config.toml7default configurePhase, nothing to dobuildPhase
8+++ command cargo --version9cargo 1.99.0 (5f94df478 2026-08-27)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/5/scratch/c4afe73b4d330925/build/source/crates/tinc-proto)15 Compiling rustix v1.1.416 Checking fastrand v2.4.017 Checking once_cell v1.21.418 Checking errno v0.3.1419 Checking tinc-device v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-device)20 Compiling getrandom v0.3.421 Checking wait-timeout v0.2.122 Checking quick-error v1.2.323 Checking bit-vec v0.8.024 Checking fnv v1.0.725 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 rand_core v0.9.536 Compiling jobserver v0.1.3537 Checking rand_xorshift v0.4.038 Checking rand v0.9.239 Compiling cc v1.7.040 Checking ml-kem v0.3.241 Checking tempfile v3.27.042 Checking rusty-fork v0.3.143 Compiling openssl-sys v0.9.11744 Compiling tincd v0.1.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tincd)45 Compiling tinc-ffi v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-ffi)46 Compiling libfuzzer-sys v0.4.1347 Checking crypto-primes v0.7.248 Checking ppv-lite86 v0.2.2149 Checking rand_chacha v0.10.050 Checking rand_chacha v0.9.051 Checking rsa v0.10.0-rc.1952 Checking proptest v1.11.053warning: 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.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: 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.70 Checking tinc-crypto v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-crypto)71 Checking tinc-sptps v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-sptps)72 Checking tinc-conf v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-conf)73 Checking tinc-tools v0.0.0 (/private/var/tb/5/scratch/c4afe73b4d330925/build/source/crates/tinc-tools)74error: used `assert!` to check that a value is empty75 --> crates/tinc-crypto/src/aead.rs:439:976 |77439 | assert!(SptpsAead::default().label_suffix().is_empty());78 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^79 |80 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assert_is_empty81 = note: `-D clippy::assert-is-empty` implied by `-D warnings`82 = help: to override `-D warnings` add `#[allow(clippy::assert_is_empty)]`83help: use `assert_eq!` to show the value on failure84 |85439 - assert!(SptpsAead::default().label_suffix().is_empty());86439 + assert_eq!(SptpsAead::default().label_suffix(), []);87 |8889error: could not compile `tinc-crypto` (lib test) due to 1 previous error90warning: build failed, waiting for other jobs to finish...91error: used `assert!` to check that a value is empty92 --> crates/tinc-tools/src/cmd/join/tests.rs:134:593 |94134 | assert!(r.hosts_written.is_empty());95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^96 |97 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assert_is_empty98 = note: `-D clippy::assert-is-empty` implied by `-D warnings`99 = help: to override `-D warnings` add `#[allow(clippy::assert_is_empty)]`100help: use `assert_eq!` to show the value on failure101 |102134 - assert!(r.hosts_written.is_empty());103134 + assert_eq!(r.hosts_written, [] as [std::string::String; 0]);104 |105106error: used `assert!` to check that a value is empty107 --> crates/tinc-tools/src/cmd/network.rs:197:9108 |109197 | assert!(out.is_empty());110 | ^^^^^^^^^^^^^^^^^^^^^^^111 |112 = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assert_is_empty113help: use `assert_eq!` to show the value on failure114 |115197 - assert!(out.is_empty());116197 + assert_eq!(out, [] as [u8; 0]);117 |118119error: this lint expectation is unfulfilled120 --> crates/tinc-tools/src/cmd/top/tests.rs:102:14121 |122102 | #[expect(clippy::float_cmp)] // small int / 1.0 = exact f32; no epsilon needed123 | ^^^^^^^^^^^^^^^^^124 |125 = note: `-D unfulfilled-lint-expectations` implied by `-D warnings`126 = help: to override `-D warnings` add `#[allow(unfulfilled_lint_expectations)]`127128error: this lint expectation is unfulfilled129 --> crates/tinc-tools/src/cmd/top/tests.rs:123:14130 |131123 | #[expect(clippy::float_cmp)] // 50 / 0.5 = exact f32 (both representable)132 | ^^^^^^^^^^^^^^^^^133134error: could not compile `tinc-tools` (lib test) due to 4 previous errors