tribuchet-0.1.0
default.checks.aarch64-darwin.package-default
· build #192
· raw
unpackPhase
1unpacking source archive /nix/store/21pjm6jxgqy99izr5dd9qpsiy14fnbgb-source2source root is sourcepatchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/9jkw089y3gk2zsklq3xz6dag6ziz7nrw-tribuchet-deps-0.1.0/target.tar.zst to targetconfigurePhase
5will append /nix/var/nix/builds/nix-97223-2184603438/source/.cargo-home/config.toml with contents of /nix/store/gra8445471v6fgmviqah0mkwl12v9kn3-vendor-cargo-deps/config.toml6default configurePhase, nothing to dobuildPhase
7+++ command cargo --version8cargo 1.97.0 (c980f4866 2026-06-30)9+++ command cargo build --release --message-format json-render-diagnostics --locked10 Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-97223-2184603438/source/crates/sandbox-proto)11 Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-97223-2184603438/source/crates/tribuchet)12warning: field `agent_uid_base` is never read13 --> crates/tribuchet/src/config.rs:207:914 |15140 | pub struct WorkerConfig {16 | ------------ field in this struct17...18207 | pub agent_uid_base: Option<u32>,19 | ^^^^^^^^^^^^^^20 |21 = note: `WorkerConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis22 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default2324warning: fields `sandbox_bin_sh`, `fod_isolation`, and `fod_network` are never read25 --> crates/tribuchet/src/worker.rs:63:526 |2761 | struct WorkerCtx {28 | --------- fields in this struct2962 | state_dir: PathBuf,3063 | sandbox_bin_sh: Option<PathBuf>,31 | ^^^^^^^^^^^^^^32...3377 | fod_isolation: bool,34 | ^^^^^^^^^^^^^3578 | /// Flow policy for that network, from the fod-network setting.3679 | fod_network: crate::netpolicy::NetPolicy,37 | ^^^^^^^^^^^3839warning: field `uid_base` is never read40 --> crates/tribuchet/src/worker/agent.rs:116:941 |42106 | pub struct Options {43 | ------- field in this struct44...45116 | pub uid_base: Option<u32>,46 | ^^^^^^^^4748warning: variants `Step`, `SendSpec`, and `UnknownBinfmt` are never constructed49 --> crates/tribuchet/src/worker/sandbox.rs:147:550 |51143 | pub enum Error {52 | ----- variants in this enum53...54147 | Step {55 | ^^^^56...57153 | SendSpec(#[source] serde_json::Error),58 | ^^^^^^^^59154 | #[error("no binfmt magic known for system {0}")]60155 | UnknownBinfmt(String),61 | ^^^^^^^^^^^^^62 |63 = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis6465warning: function `step` is never used66 --> crates/tribuchet/src/worker/sandbox.rs:158:467 |68158 | fn step<E: Into<std::io::Error>>(step: impl Into<String>) -> impl FnOnce(E) -> Error {69 | ^^^^7071warning: `tribuchet` (bin "tribuchet") generated 5 warnings72 Finished `release` profile [optimized] target(s) in 40.59s73searching for bins/libs to install from cargo build log at cargoBuildLogJJSq.json74installing /nix/var/nix/builds/nix-97223-2184603438/source/target/release/tribuchet in postBuildInstallFromCargoBuildLogOutTempgzK/bin75searching for bins/libs complete76buildPhase completed in 47 secondscheckPhase
77+++ command cargo test --release --locked -- --skip=worker::agents::tests::seatbelt_profile_confines_the_builder78 Compiling sandbox-proto v0.1.0 (/nix/var/nix/builds/nix-97223-2184603438/source/crates/sandbox-proto)79 Compiling tribuchet v0.1.0 (/nix/var/nix/builds/nix-97223-2184603438/source/crates/tribuchet)80error[E0061]: this function takes 4 arguments but 3 arguments were supplied81 --> crates/tribuchet/src/worker/agents.rs:399:2182 |83399 | let build = AgentBuild::start(&socket, &req, &fs::File::open(&pack_path)?)?;84 | ^^^^^^^^^^^^^^^^^--------------------------------------------- argument #4 of type `&std::fs::File` is missing85 |86note: associated function defined here87 --> crates/tribuchet/src/worker/agents.rs:152:1988 |89152 | pub(super) fn start(90 | ^^^^^91...92156 | log: &fs::File,93 | --------------94help: provide the argument95 |96399 | let build = AgentBuild::start(&socket, &req, &fs::File::open(&pack_path)?, /* &std::fs::File */)?;97 | ++++++++++++++++++++++9899For more information about this error, try `rustc --explain E0061`.100error: could not compile `tribuchet` (bin "tribuchet" test) due to 1 previous error