these 6 derivations will be built: /nix/store/h1hsi01pzbh6gkskkdmkfc42nkcvvs8y-vendor-registry.drv /nix/store/7v7l2kps65ib8d1nmp9rppy5c566gibr-vendor-cargo-deps.drv /nix/store/4a1q59c3gkxxg98ghjz0xyvfkhdhqfnk-Cargo.toml.drv /nix/store/dgmvxq6n0gbr5m7i9miqin0hnc3nyvs3-source.drv /nix/store/d06530ahk3c1mb0krwsiny22jnd78k08-herdr-eternal-deps-0.1.0.drv /nix/store/031pvghmn2sr7r366pwrr6lmp2jrnpi7-herdr-eternal-0.1.0.drv building '/nix/store/4a1q59c3gkxxg98ghjz0xyvfkhdhqfnk-Cargo.toml.drv' Cargo.toml> tribuchet: building on eliza building '/nix/store/dgmvxq6n0gbr5m7i9miqin0hnc3nyvs3-source.drv' source> tribuchet: building on eliza building '/nix/store/031pvghmn2sr7r366pwrr6lmp2jrnpi7-herdr-eternal-0.1.0.drv' herdr-eternal-0.1.0> tribuchet: building on eliza herdr-eternal-0.1.0> Running phase: unpackPhase herdr-eternal-0.1.0> unpacking source archive /nix/store/4pdj23v5r6bcxh50i6hlwasfqvn9i0n1-source herdr-eternal-0.1.0> source root is source herdr-eternal-0.1.0> Running phase: patchPhase herdr-eternal-0.1.0> Executing configureCargoCommonVars herdr-eternal-0.1.0> decompressing cargo artifacts from /nix/store/kcsmhkm41232nncj9h78s15sykjrz8bg-herdr-eternal-deps-0.1.0/target.tar.zst to target herdr-eternal-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase herdr-eternal-0.1.0> Running phase: configurePhase herdr-eternal-0.1.0> will append /build/source/.cargo-home/config.toml with contents of /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/config.toml herdr-eternal-0.1.0> default configurePhase, nothing to do herdr-eternal-0.1.0> Running phase: buildPhase herdr-eternal-0.1.0> +++ command cargo --version herdr-eternal-0.1.0> cargo 1.99.0 (5f94df478 2026-08-27) herdr-eternal-0.1.0> +++ command cargo build --release --message-format json-render-diagnostics --locked herdr-eternal-0.1.0> Compiling herdr-eternal-proto v0.1.0 (/build/source/proto) herdr-eternal-0.1.0> Compiling herdr-eternal-ssh v0.1.0 (/build/source/client) herdr-eternal-0.1.0> Compiling herdr-eternal-server v0.1.0 (/build/source/server) herdr-eternal-0.1.0> error[E0277]: the trait bound `i32: AsFd` is not satisfied herdr-eternal-0.1.0> --> server/src/lib.rs:742:31 herdr-eternal-0.1.0> | herdr-eternal-0.1.0> 742 | nix::unistd::dup2(exit_fd, 3) herdr-eternal-0.1.0> | ----------------- ^^^^^^^ the trait `AsFd` is not implemented for `i32` herdr-eternal-0.1.0> | | herdr-eternal-0.1.0> | required by a bound introduced by this call herdr-eternal-0.1.0> | herdr-eternal-0.1.0> = help: the following other types implement trait `AsFd`: herdr-eternal-0.1.0> &T herdr-eternal-0.1.0> &mut T herdr-eternal-0.1.0> Arc herdr-eternal-0.1.0> AsyncFd herdr-eternal-0.1.0> BorrowedFd<'_> herdr-eternal-0.1.0> Box herdr-eternal-0.1.0> File herdr-eternal-0.1.0> NamedTempFile herdr-eternal-0.1.0> and 53 others herdr-eternal-0.1.0> note: required by a bound in `nix::unistd::dup2` herdr-eternal-0.1.0> --> /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:17 herdr-eternal-0.1.0> | herdr-eternal-0.1.0> 543 | pub fn dup2(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> { herdr-eternal-0.1.0> | ^^^^^^^^^^^^^^^^^ required by this bound in `dup2` herdr-eternal-0.1.0> herdr-eternal-0.1.0> error[E0308]: mismatched types herdr-eternal-0.1.0> --> server/src/lib.rs:742:40 herdr-eternal-0.1.0> | herdr-eternal-0.1.0> 742 | nix::unistd::dup2(exit_fd, 3) herdr-eternal-0.1.0> | ----------------- ^ expected `&mut OwnedFd`, found integer herdr-eternal-0.1.0> | | herdr-eternal-0.1.0> | arguments to this function are incorrect herdr-eternal-0.1.0> | herdr-eternal-0.1.0> note: function defined here herdr-eternal-0.1.0> --> /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:8 herdr-eternal-0.1.0> | herdr-eternal-0.1.0> 543 | pub fn dup2(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> { herdr-eternal-0.1.0> | ^^^^ herdr-eternal-0.1.0> herdr-eternal-0.1.0> Some errors have detailed explanations: E0277, E0308. herdr-eternal-0.1.0> For more information about an error, try `rustc --explain E0277`. herdr-eternal-0.1.0> error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors herdr-eternal-0.1.0> warning: build failed, waiting for other jobs to finish... error: Cannot build '/nix/store/031pvghmn2sr7r366pwrr6lmp2jrnpi7-herdr-eternal-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/5dwh4qdvq27m9b3ffgmzq2in7z41qcz6-herdr-eternal-0.1.0 Last 25 log lines: > and 53 others > note: required by a bound in `nix::unistd::dup2` > --> /nix/store/hzrka0db1qnymsdkf8snxbs0y733wzg7-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/hzrka0db1qnymsdkf8snxbs0y733wzg7-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 > warning: build failed, waiting for other jobs to finish... For full logs, run: nix log /nix/store/031pvghmn2sr7r366pwrr6lmp2jrnpi7-herdr-eternal-0.1.0.drv