nixbot

builds

failed herdr-eternal-clippy-0.1.0 checks.aarch64-linux.clippy · build #35 · raw

1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/4pdj23v5r6bcxh50i6hlwasfqvn9i0n1-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/kcsmhkm41232nncj9h78s15sykjrz8bg-herdr-eternal-deps-0.1.0/target.tar.zst to target
configurePhase
6will append /build/source/.cargo-home/config.toml with contents of /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
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 (/build/source/proto)12 Checking herdr-eternal-server v0.1.0 (/build/source/server)13 Checking herdr-eternal-ssh v0.1.0 (/build/source/client)14error[E0277]: the trait bound `i32: std::os::fd::AsFd` is not satisfied15 --> server/src/lib.rs:742:3116 |17742 | nix::unistd::dup2(exit_fd, 3)18 | ----------------- ^^^^^^^ the trait `std::os::fd::AsFd` is not implemented for `i32`19 | |20 | required by a bound introduced by this call21 |22 = help: the following other types implement trait `std::os::fd::AsFd`:23 &T24 &mut T25 mio::net::tcp::listener::TcpListener26 mio::net::tcp::stream::TcpStream27 mio::net::udp::UdpSocket28 mio::net::uds::datagram::UnixDatagram29 mio::net::uds::listener::UnixListener30 mio::net::uds::stream::UnixStream31 and 54 others32note: required by a bound in `nix::unistd::dup2`33 --> /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:1734 |35543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {36 | ^^^^^^^^^^^^^^^^^ required by this bound in `dup2`3738error[E0308]: mismatched types39 --> server/src/lib.rs:742:4040 |41742 | nix::unistd::dup2(exit_fd, 3)42 | ----------------- ^ expected `&mut OwnedFd`, found integer43 | |44 | arguments to this function are incorrect45 |46note: function defined here47 --> /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:848 |49543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {50 | ^^^^5152Some errors have detailed explanations: E0277, E0308.53For more information about an error, try `rustc --explain E0277`.54error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors55warning: build failed, waiting for other jobs to finish...