nixbot

builds

failed herdr-eternal-test-0.1.0 checks.x86_64-linux.tests · 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)
checkPhase
9+++ command cargo test --release --locked10 Compiling herdr-eternal-proto v0.1.0 (/build/source/proto)11 Compiling herdr-eternal-server v0.1.0 (/build/source/server)12 Compiling herdr-eternal-ssh v0.1.0 (/build/source/client)13error[E0277]: the trait bound `i32: AsFd` is not satisfied14 --> server/src/lib.rs:742:3115 |16742 | nix::unistd::dup2(exit_fd, 3)17 | ----------------- ^^^^^^^ the trait `AsFd` is not implemented for `i32`18 | |19 | required by a bound introduced by this call20 |21 = help: the following other types implement trait `AsFd`:22 &T23 &mut T24 Arc<T>25 AsyncFd<T>26 BorrowedFd<'_>27 Box<T>28 File29 NamedTempFile<F>30 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...