tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/4pdj23v5r6bcxh50i6hlwasfqvn9i0n1-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/qxmf01j4cckb58i4k4aqkss0c9c4r9p0-herdr-eternal-deps-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /private/var/tb/6/scratch/e3e82e5649a5d0bc/build/source/.cargo-home/config.toml with contents of /nix/store/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-vendor-cargo-deps/config.toml default configurePhase, nothing to do Running phase: buildPhase +++ command cargo --version cargo 1.99.0 (5f94df478 2026-08-27) +++ command cargo clippy --release --locked --all-targets -- -D warnings Checking herdr-eternal-proto v0.1.0 (/private/var/tb/6/scratch/e3e82e5649a5d0bc/build/source/proto) Checking herdr-eternal-server v0.1.0 (/private/var/tb/6/scratch/e3e82e5649a5d0bc/build/source/server) Checking herdr-eternal-ssh v0.1.0 (/private/var/tb/6/scratch/e3e82e5649a5d0bc/build/source/client) error[E0277]: the trait bound `i32: std::os::fd::AsFd` is not satisfied --> server/src/lib.rs:742:31 | 742 | nix::unistd::dup2(exit_fd, 3) | ----------------- ^^^^^^^ the trait `std::os::fd::AsFd` is not implemented for `i32` | | | required by a bound introduced by this call | = help: the following other types implement trait `std::os::fd::AsFd`: &T &mut T mio::net::tcp::listener::TcpListener mio::net::tcp::stream::TcpStream mio::net::udp::UdpSocket mio::net::uds::datagram::UnixDatagram mio::net::uds::listener::UnixListener mio::net::uds::stream::UnixStream and 52 others note: required by a bound in `nix::unistd::dup2` --> /nix/store/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:17 | 543 | pub fn dup2(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> { | ^^^^^^^^^^^^^^^^^ required by this bound in `dup2` error[E0308]: mismatched types --> server/src/lib.rs:742:40 | 742 | nix::unistd::dup2(exit_fd, 3) | ----------------- ^ expected `&mut OwnedFd`, found integer | | | arguments to this function are incorrect | note: function defined here --> /nix/store/czdg2k7mk1nhlppga1fxg7p4kjrzvz70-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:8 | 543 | pub fn dup2(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> { | ^^^^ Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors