these 8 derivations will be built: /nix/store/0373hjnkqar7qlcdjdfd71d6xsikpmyb-divan-0.1.21.drv /nix/store/1ap5icsha0f351vjvs5g6qw50vp2m94q-condtype-1.3.0.drv /nix/store/4z4m2szg6pwchzsmmlh53gkayxg1ydzh-rustix-1.1.5.drv /nix/store/khq94fqwinb537kxd77xkxzb82xw1nav-xxhash-rust-0.8.19.drv /nix/store/lrcfg2qfw9y9zqnahbdn8am13zinv2wk-divan-macros-0.1.21.drv /nix/store/zcf2p2cr6x1q4cqb2cx2l9agrcciqypi-redb-4.3.0.drv /nix/store/7sc0d13i7ilwrn33lf5fqbyc6fggfp8f-cargo-vendor-dir.drv /nix/store/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked): /nix/store/1cshrd9rc296c5c81f8p145mb62j3zk2-regex-lite-0.1.9 /nix/store/9yfl2clcclq9hgws5iabi5bdn1lysky7-terminal_size-0.4.4 error: Cannot build '/nix/store/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/q59lci86h63i1lxqv68dcnm187ahcc2q-zfs-dedup-clippy-0.1.0 Last 25 log lines: > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::().0.iter()` > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings` > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]` > > error: using `chunks_exact` with a constant chunk size > --> src/cache.rs:78:35 > | > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(), > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::().0.iter()` > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks > > error: using `chunks_exact_mut` with a constant chunk size > --> src/clone.rs:130:19 > | > 130 | for c in data.chunks_exact_mut(8) { > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<8>().0` > | > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks > > error: could not compile `zfs-dedup` (lib) due to 3 previous errors > warning: build failed, waiting for other jobs to finish... For full logs, run: nix log /nix/store/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv