Running phase: unpackPhase unpacking source archive /nix/store/j5v43ccvwgh3syklibw32bxlrz9n76c6-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/9jkw089y3gk2zsklq3xz6dag6ziz7nrw-tribuchet-deps-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /nix/var/nix/builds/nix-6552-2347307100/source/.cargo-home/config.toml with contents of /nix/store/gra8445471v6fgmviqah0mkwl12v9kn3-vendor-cargo-deps/config.toml default configurePhase, nothing to do Running phase: buildPhase +++ command cargo --version cargo 1.97.0 (c980f4866 2026-06-30) +++ command cargo build --release --message-format json-render-diagnostics --locked Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-6552-2347307100/source/crates/sandbox-proto) Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-6552-2347307100/source/crates/tribuchet) warning: field `agent_uid_base` is never read --> crates/tribuchet/src/config.rs:207:9 | 140 | pub struct WorkerConfig { | ------------ field in this struct ... 207 | pub agent_uid_base: Option, | ^^^^^^^^^^^^^^ | = note: `WorkerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `sandbox_bin_sh`, `fod_isolation`, and `fod_network` are never read --> crates/tribuchet/src/worker.rs:63:5 | 61 | struct WorkerCtx { | --------- fields in this struct 62 | state_dir: PathBuf, 63 | sandbox_bin_sh: Option, | ^^^^^^^^^^^^^^ ... 77 | fod_isolation: bool, | ^^^^^^^^^^^^^ 78 | /// Flow policy for that network, from the fod-network setting. 79 | fod_network: crate::netpolicy::NetPolicy, | ^^^^^^^^^^^ warning: field `uid_base` is never read --> crates/tribuchet/src/worker/agent.rs:116:9 | 106 | pub struct Options { | ------- field in this struct ... 116 | pub uid_base: Option, | ^^^^^^^^ warning: variants `Step`, `SendSpec`, and `UnknownBinfmt` are never constructed --> crates/tribuchet/src/worker/sandbox.rs:147:5 | 143 | pub enum Error { | ----- variants in this enum ... 147 | Step { | ^^^^ ... 153 | SendSpec(#[source] serde_json::Error), | ^^^^^^^^ 154 | #[error("no binfmt magic known for system {0}")] 155 | UnknownBinfmt(String), | ^^^^^^^^^^^^^ | = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: function `step` is never used --> crates/tribuchet/src/worker/sandbox.rs:158:4 | 158 | fn step>(step: impl Into) -> impl FnOnce(E) -> Error { | ^^^^ warning: `tribuchet` (bin "tribuchet") generated 5 warnings Finished `release` profile [optimized] target(s) in 19.81s searching for bins/libs to install from cargo build log at cargoBuildLogCe2e.json installing /nix/var/nix/builds/nix-6552-2347307100/source/target/release/tribuchet in postBuildInstallFromCargoBuildLogOutTempY6b/bin searching for bins/libs complete Running phase: checkPhase +++ command cargo test --release --locked -- --skip=worker::agents::tests::seatbelt_profile_confines_the_builder Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-6552-2347307100/source/crates/sandbox-proto) Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-6552-2347307100/source/crates/tribuchet) error[E0061]: this function takes 4 arguments but 3 arguments were supplied --> crates/tribuchet/src/worker/agents.rs:399:21 | 399 | let build = AgentBuild::start(&socket, &req, &fs::File::open(&pack_path)?)?; | ^^^^^^^^^^^^^^^^^--------------------------------------------- argument #4 of type `&std::fs::File` is missing | note: associated function defined here --> crates/tribuchet/src/worker/agents.rs:152:19 | 152 | pub(super) fn start( | ^^^^^ ... 156 | log: &fs::File, | -------------- help: provide the argument | 399 | let build = AgentBuild::start(&socket, &req, &fs::File::open(&pack_path)?, /* &std::fs::File */)?; | ++++++++++++++++++++++ For more information about this error, try `rustc --explain E0061`. error: could not compile `tribuchet` (bin "tribuchet" test) due to 1 previous error