herdr-eternal-clippy-0.1.0
checks.aarch64-darwin.clippy
· build #37
· raw
1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/w205rl2fx6lpgm95xcmac21hxbngxaw7-source3source root is sourcepatchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/035lw0zbci9micbg8dfrb4738pv3xrlv-herdr-eternal-deps-0.1.0/target.tar.zst to targetconfigurePhase
6will append /private/var/tb/2/scratch/a559f656cb29e1f2/build/source/.cargo-home/config.toml with contents of /nix/store/8lkzyg78hizb15y0kzfjgdcrhmcqfw00-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 --locked --all-targets -- -D warnings11 Checking herdr-eternal-proto v0.1.0 (/private/var/tb/2/scratch/a559f656cb29e1f2/build/source/proto)12 Checking herdr-eternal-server v0.1.0 (/private/var/tb/2/scratch/a559f656cb29e1f2/build/source/server)13 Checking herdr-eternal-ssh v0.1.0 (/private/var/tb/2/scratch/a559f656cb29e1f2/build/source/client)14error[E0308]: mismatched types15 --> server/src/lib.rs:267:2116 |17267 | sd_notify::NotifyState::FdStore,18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `BorrowedFd<'_>`, found `NotifyState<'_>`1920error[E0061]: this function takes 2 arguments but 3 arguments were supplied21 --> server/src/lib.rs:264:1322 |23264 | sd_notify::notify_with_fds(24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^25...26270 | &[fd.as_fd()],27 | ------------- unexpected argument #3 of type `&[std::os::fd::BorrowedFd<'_>; 1]`28 |29note: expected `&[NotifyState<'_>]`, found `bool`30 --> server/src/lib.rs:265:1731 |32265 | false,33 | ^^^^^34 = note: expected reference `&[sd_notify::NotifyState<'_>]`35 found type `bool`36note: function defined here37 --> /nix/store/8lkzyg78hizb15y0kzfjgdcrhmcqfw00-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/sd-notify-0.5.0/src/lib.rs:240:838 |39240 | pub fn notify_with_fds(state: &[NotifyState], fds: &[BorrowedFd<'_>]) -> io::Result<()> {40 | ^^^^^^^^^^^^^^^41help: remove the extra argument42 |43265 ~ /* &[NotifyState<'_>] */,44266 | &[45267 | sd_notify::NotifyState::FdStore,46268 | sd_notify::NotifyState::FdName(name),47269 ~ ],48 |4950Some errors have detailed explanations: E0061, E0308.51For more information about an error, try `rustc --explain E0061`.52error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors