tribuchet: building on jamie Running phase: unpackPhase unpacking source archive /nix/store/vcv9h8jn6f00daw8s3094d2n4vkj7sai-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/j3qgsd24l62vxpqp1v5y4z48gn1fdyxq-tribuchet-deps-0.1.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /build/source/.cargo-home/config.toml with contents of /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-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 (/build/source/crates/sandbox-proto) Compiling tribuchet v0.1.0 (/build/source/crates/tribuchet) Compiling netbench v0.1.0 (/build/source/crates/netbench) error[E0308]: arguments to this function are incorrect --> crates/tribuchet/src/chunker.rs:187:5 | 187 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX).map(|c| &data[c.offset..c.offset + c.length]) | ^^^^^^^^^^^^ ------- ------- ------- expected `usize`, found `u32` | | | | | expected `usize`, found `u32` | expected `usize`, found `u32` | note: associated function defined here --> /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/fastcdc-4.0.1/src/v2020/mod.rs:468:12 | 468 | pub fn new(source: &'a [u8], min_size: usize, avg_size: usize, max_size: usize) -> Self { | ^^^ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 187 | FastCDC::new(data, CDC_MIN.try_into().unwrap(), CDC_AVG, CDC_MAX).map(|c| &data[c.offset..c.offset + c.length]) | ++++++++++++++++++++ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 187 | FastCDC::new(data, CDC_MIN, CDC_AVG.try_into().unwrap(), CDC_MAX).map(|c| &data[c.offset..c.offset + c.length]) | ++++++++++++++++++++ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 187 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX.try_into().unwrap()).map(|c| &data[c.offset..c.offset + c.length]) | ++++++++++++++++++++ error[E0308]: arguments to this function are incorrect --> crates/tribuchet/src/chunker.rs:181:5 | 181 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX) | ^^^^^^^^^^^^ ------- ------- ------- expected `usize`, found `u32` | | | | | expected `usize`, found `u32` | expected `usize`, found `u32` | note: associated function defined here --> /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/fastcdc-4.0.1/src/v2020/mod.rs:468:12 | 468 | pub fn new(source: &'a [u8], min_size: usize, avg_size: usize, max_size: usize) -> Self { | ^^^ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 181 | FastCDC::new(data, CDC_MIN.try_into().unwrap(), CDC_AVG, CDC_MAX) | ++++++++++++++++++++ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 181 | FastCDC::new(data, CDC_MIN, CDC_AVG.try_into().unwrap(), CDC_MAX) | ++++++++++++++++++++ help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 181 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX.try_into().unwrap()) | ++++++++++++++++++++ For more information about this error, try `rustc --explain E0308`. error: could not compile `tribuchet` (bin "tribuchet") due to 2 previous errors