nixbot

builds

failed herdr-eternal-test-0.1.0 checks.aarch64-darwin.tests · build #35 · raw

1tribuchet: building on mac02
unpackPhase
2unpacking source archive /nix/store/4pdj23v5r6bcxh50i6hlwasfqvn9i0n1-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/qxmf01j4cckb58i4k4aqkss0c9c4r9p0-herdr-eternal-deps-0.1.0/target.tar.zst to target
configurePhase
6will append /private/var/tb/8/scratch/cbc2415b689937a1/build/source/.cargo-home/config.toml with contents of /nix/store/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
8+++ command cargo --version9cargo 1.99.0 (5f94df478 2026-08-27)
checkPhase
10+++ command cargo test --release --locked11 Compiling herdr-eternal-proto v0.1.0 (/private/var/tb/8/scratch/cbc2415b689937a1/build/source/proto)12 Compiling herdr-eternal-server v0.1.0 (/private/var/tb/8/scratch/cbc2415b689937a1/build/source/server)13 Compiling herdr-eternal-ssh v0.1.0 (/private/var/tb/8/scratch/cbc2415b689937a1/build/source/client)14error[E0277]: the trait bound `i32: AsFd` is not satisfied15 --> server/src/lib.rs:742:3116 |17742 | nix::unistd::dup2(exit_fd, 3)18 | ----------------- ^^^^^^^ the trait `AsFd` is not implemented for `i32`19 | |20 | required by a bound introduced by this call21 |22 = help: the following other types implement trait `AsFd`:23 &T24 &mut T25 Arc<T>26 AsyncFd<T>27 BorrowedFd<'_>28 Box<T>29 File30 NamedTempFile<F>31 and 52 others32note: required by a bound in `nix::unistd::dup2`33 --> /nix/store/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-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/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-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...