nixbot

builds

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

unpackPhase
1unpacking source archive /nix/store/4pdj23v5r6bcxh50i6hlwasfqvn9i0n1-source2source root is source
patchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/h0q4f26vsn8fgcpixz9s5jbal0hzrhyx-herdr-eternal-deps-0.1.0/target.tar.zst to target
configurePhase
5will append /build/source/.cargo-home/config.toml with contents of /nix/store/kahrgmsg4rsy10szqp4qqaq4bg15ihkr-vendor-cargo-deps/config.toml6default configurePhase, nothing to do
buildPhase
7+++ command cargo --version8cargo 1.99.0 (5f94df478 2026-08-27)9+++ command cargo clippy --release --locked --all-targets -- -D warnings10 Checking herdr-eternal-proto v0.1.0 (/build/source/proto)11 Checking herdr-eternal-server v0.1.0 (/build/source/server)12 Checking herdr-eternal-ssh v0.1.0 (/build/source/client)13error[E0277]: the trait bound `i32: std::os::fd::AsFd` is not satisfied14 --> server/src/lib.rs:742:3115 |16742 | nix::unistd::dup2(exit_fd, 3)17 | ----------------- ^^^^^^^ the trait `std::os::fd::AsFd` is not implemented for `i32`18 | |19 | required by a bound introduced by this call20 |21 = help: the following other types implement trait `std::os::fd::AsFd`:22 &T23 &mut T24 mio::net::tcp::listener::TcpListener25 mio::net::tcp::stream::TcpStream26 mio::net::udp::UdpSocket27 mio::net::uds::datagram::UnixDatagram28 mio::net::uds::listener::UnixListener29 mio::net::uds::stream::UnixStream30 and 54 others31note: required by a bound in `nix::unistd::dup2`32 --> /nix/store/kahrgmsg4rsy10szqp4qqaq4bg15ihkr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:1733 |34543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {35 | ^^^^^^^^^^^^^^^^^ required by this bound in `dup2`3637error[E0308]: mismatched types38 --> server/src/lib.rs:742:4039 |40742 | nix::unistd::dup2(exit_fd, 3)41 | ----------------- ^ expected `&mut OwnedFd`, found integer42 | |43 | arguments to this function are incorrect44 |45note: function defined here46 --> /nix/store/kahrgmsg4rsy10szqp4qqaq4bg15ihkr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:847 |48543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {49 | ^^^^5051Some errors have detailed explanations: E0277, E0308.52For more information about an error, try `rustc --explain E0277`.53error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors54warning: build failed, waiting for other jobs to finish...