tribuchet-0.1.0
checks.x86_64-linux.package-default
· build #274
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/vcv9h8jn6f00daw8s3094d2n4vkj7sai-source3source root is sourcepatchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/j3qgsd24l62vxpqp1v5y4z48gn1fdyxq-tribuchet-deps-0.1.0/target.tar.zst to targetconfigurePhase
6will append /build/source/.cargo-home/config.toml with contents of /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-vendor-cargo-deps/config.toml7default configurePhase, nothing to dobuildPhase
8+++ command cargo --version9cargo 1.97.0 (c980f4866 2026-06-30)10+++ command cargo build --release --message-format json-render-diagnostics --locked11 Compiling sandbox-proto v0.1.0 (/build/source/crates/sandbox-proto)12 Compiling tribuchet v0.1.0 (/build/source/crates/tribuchet)13 Compiling netbench v0.1.0 (/build/source/crates/netbench)14error[E0308]: arguments to this function are incorrect15 --> crates/tribuchet/src/chunker.rs:187:516 |17187 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX).map(|c| &data[c.offset..c.offset + c.length])18 | ^^^^^^^^^^^^ ------- ------- ------- expected `usize`, found `u32`19 | | |20 | | expected `usize`, found `u32`21 | expected `usize`, found `u32`22 |23note: associated function defined here24 --> /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/fastcdc-4.0.1/src/v2020/mod.rs:468:1225 |26468 | pub fn new(source: &'a [u8], min_size: usize, avg_size: usize, max_size: usize) -> Self {27 | ^^^28help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit29 |30187 | FastCDC::new(data, CDC_MIN.try_into().unwrap(), CDC_AVG, CDC_MAX).map(|c| &data[c.offset..c.offset + c.length])31 | ++++++++++++++++++++32help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit33 |34187 | FastCDC::new(data, CDC_MIN, CDC_AVG.try_into().unwrap(), CDC_MAX).map(|c| &data[c.offset..c.offset + c.length])35 | ++++++++++++++++++++36help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit37 |38187 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX.try_into().unwrap()).map(|c| &data[c.offset..c.offset + c.length])39 | ++++++++++++++++++++4041error[E0308]: arguments to this function are incorrect42 --> crates/tribuchet/src/chunker.rs:181:543 |44181 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX)45 | ^^^^^^^^^^^^ ------- ------- ------- expected `usize`, found `u32`46 | | |47 | | expected `usize`, found `u32`48 | expected `usize`, found `u32`49 |50note: associated function defined here51 --> /nix/store/6hq1j3cmvpkf697d95v7hpg52g7l9ihp-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/fastcdc-4.0.1/src/v2020/mod.rs:468:1252 |53468 | pub fn new(source: &'a [u8], min_size: usize, avg_size: usize, max_size: usize) -> Self {54 | ^^^55help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit56 |57181 | FastCDC::new(data, CDC_MIN.try_into().unwrap(), CDC_AVG, CDC_MAX)58 | ++++++++++++++++++++59help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit60 |61181 | FastCDC::new(data, CDC_MIN, CDC_AVG.try_into().unwrap(), CDC_MAX)62 | ++++++++++++++++++++63help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit64 |65181 | FastCDC::new(data, CDC_MIN, CDC_AVG, CDC_MAX.try_into().unwrap())66 | ++++++++++++++++++++6768For more information about this error, try `rustc --explain E0308`.69error: could not compile `tribuchet` (bin "tribuchet") due to 2 previous errors