setup
checks.x86_64-linux.clippy
· build #61
· raw
1these 7 derivations will be built:2 /nix/store/34sfxfxm0j1pnzm0hfhfqkng2sl9h6mz-condtype-1.3.0.drv3 /nix/store/6x0sznbdhb75bpvld611qazcxasmnlp2-redb-4.3.0.drv4 /nix/store/cfda3b0qrljcx30ngwxb0ia2w6z677hg-divan-macros-0.1.21.drv5 /nix/store/di40h67r1ib3rn9hcbcfkl9sfx3qzbnf-xxhash-rust-0.8.19.drv6 /nix/store/hgkq7dk3ac7yn9kyan0v502knqzl6bk3-divan-0.1.21.drv7 /nix/store/m2yxyhhqhppziv5m47d0jb89l6axlfp3-cargo-vendor-dir.drv8 /nix/store/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv9these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked):10 /nix/store/q3xl5pmcpjm518ibx77rj4zisx21zpx3-regex-lite-0.1.911 /nix/store/6lff85gsfd9zf1gjnd0164qqqf7jkm7j-terminal_size-0.4.412error: Cannot build '/nix/store/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv'.13 Reason: builder failed with exit code 101.14 Output paths:15 /nix/store/84bf03ldqn757qkb4fjahw3xn0rc65d0-zfs-dedup-clippy-0.1.016 Last 25 log lines:17 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {18 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<HASH_LEN>().0.iter()`19 > |20 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks21 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`22 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`23 >24 > error: using `chunks_exact` with a constant chunk size25 > --> src/cache.rs:78:3526 > |27 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),28 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`29 > |30 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks31 >32 > error: using `chunks_exact_mut` with a constant chunk size33 > --> src/clone.rs:130:1934 > |35 > 130 | for c in data.chunks_exact_mut(8) {36 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<8>().0`37 > |38 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks39 >40 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors41 > warning: build failed, waiting for other jobs to finish...42 For full logs, run:43 nix log /nix/store/pdcrm8lx8gqsf2bv1b0mca4ws84km5j8-zfs-dedup-clippy-0.1.0.drv