setup
checks.x86_64-linux.workspace
· build #35
· raw
1these 6 derivations will be built:2 /nix/store/iwz281pxax9s6z5gb457azcban90d5fl-Cargo.toml.drv3 /nix/store/44975y396gfmq94jfz22lp9rm6b9fbqh-source.drv4 /nix/store/y5cwnxvy32g2si31p1m2vvmbl8njld7m-vendor-registry.drv5 /nix/store/c50q56ngqdg0jbhbcdwj0s83l2mcya2h-vendor-cargo-deps.drv6 /nix/store/4n4qkpxji6zq7qkwzjvkprg14by2l323-herdr-eternal-deps-0.1.0.drv7 /nix/store/mv4iwi18nqfcjzawdc40lw9sy27hbcl6-herdr-eternal-0.1.0.drv8error: Cannot build '/nix/store/mv4iwi18nqfcjzawdc40lw9sy27hbcl6-herdr-eternal-0.1.0.drv'.9 Reason: builder failed with exit code 101.10 Output paths:11 /nix/store/q7v7qgg1j7pa3m733rhpr2gm9g2c9jl8-herdr-eternal-0.1.012 Last 25 log lines:13 > and 53 others14 > note: required by a bound in `nix::unistd::dup2`15 > --> /nix/store/kahrgmsg4rsy10szqp4qqaq4bg15ihkr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:1716 > |17 > 543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {18 > | ^^^^^^^^^^^^^^^^^ required by this bound in `dup2`19 >20 > error[E0308]: mismatched types21 > --> server/src/lib.rs:742:4022 > |23 > 742 | nix::unistd::dup2(exit_fd, 3)24 > | ----------------- ^ expected `&mut OwnedFd`, found integer25 > | |26 > | arguments to this function are incorrect27 > |28 > note: function defined here29 > --> /nix/store/kahrgmsg4rsy10szqp4qqaq4bg15ihkr-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/nix-0.31.3/src/unistd.rs:543:830 > |31 > 543 | pub fn dup2<Fd: std::os::fd::AsFd>(oldfd: Fd, newfd: &mut std::os::fd::OwnedFd) -> Result<()> {32 > | ^^^^33 >34 > Some errors have detailed explanations: E0277, E0308.35 > For more information about an error, try `rustc --explain E0277`.36 > error: could not compile `herdr-eternal-server` (lib) due to 2 previous errors37 > warning: build failed, waiting for other jobs to finish...38 For full logs, run:39 nix log /nix/store/mv4iwi18nqfcjzawdc40lw9sy27hbcl6-herdr-eternal-0.1.0.drv