these 7 derivations will be built: /nix/store/34sfxfxm0j1pnzm0hfhfqkng2sl9h6mz-condtype-1.3.0.drv /nix/store/6x0sznbdhb75bpvld611qazcxasmnlp2-redb-4.3.0.drv /nix/store/cfda3b0qrljcx30ngwxb0ia2w6z677hg-divan-macros-0.1.21.drv /nix/store/di40h67r1ib3rn9hcbcfkl9sfx3qzbnf-xxhash-rust-0.8.19.drv /nix/store/hgkq7dk3ac7yn9kyan0v502knqzl6bk3-divan-0.1.21.drv /nix/store/m2yxyhhqhppziv5m47d0jb89l6axlfp3-cargo-vendor-dir.drv /nix/store/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked): /nix/store/q3xl5pmcpjm518ibx77rj4zisx21zpx3-regex-lite-0.1.9 /nix/store/6lff85gsfd9zf1gjnd0164qqqf7jkm7j-terminal_size-0.4.4 error: Cannot build '/nix/store/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/84bf03ldqn757qkb4fjahw3xn0rc65d0-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/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv