nixbot

builds

succeeded setup checks.x86_64-linux.clippy · build #58 · raw

1these 8 derivations will be built:2 /nix/store/22d75xjbq78nivr7ajln28h65m9xssa6-rustix-1.1.5.drv3 /nix/store/34sfxfxm0j1pnzm0hfhfqkng2sl9h6mz-condtype-1.3.0.drv4 /nix/store/6x0sznbdhb75bpvld611qazcxasmnlp2-redb-4.3.0.drv5 /nix/store/cfda3b0qrljcx30ngwxb0ia2w6z677hg-divan-macros-0.1.21.drv6 /nix/store/di40h67r1ib3rn9hcbcfkl9sfx3qzbnf-xxhash-rust-0.8.19.drv7 /nix/store/hgkq7dk3ac7yn9kyan0v502knqzl6bk3-divan-0.1.21.drv8 /nix/store/j9v5sf80nbndpfa7fa9vmszqn8in5kdz-cargo-vendor-dir.drv9 /nix/store/dfmb65jfm7s77n0w5xm5w6blqzmr060q-zfs-dedup-clippy-0.1.0.drv10these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked):11 /nix/store/q3xl5pmcpjm518ibx77rj4zisx21zpx3-regex-lite-0.1.912 /nix/store/6lff85gsfd9zf1gjnd0164qqqf7jkm7j-terminal_size-0.4.413error: Cannot build '/nix/store/dfmb65jfm7s77n0w5xm5w6blqzmr060q-zfs-dedup-clippy-0.1.0.drv'.14 Reason: builder failed with exit code 101.15 Output paths:16 /nix/store/irrr8nmwq8w9xx57nxzflqph9bfk4a7w-zfs-dedup-clippy-0.1.017 Last 25 log lines:18 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {19 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<HASH_LEN>().0.iter()`20 > |21 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks22 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`23 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`24 >25 > error: using `chunks_exact` with a constant chunk size26 > --> src/cache.rs:78:3527 > |28 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),29 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`30 > |31 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks32 >33 > error: using `chunks_exact_mut` with a constant chunk size34 > --> src/clone.rs:130:1935 > |36 > 130 | for c in data.chunks_exact_mut(8) {37 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<8>().0`38 > |39 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks40 >41 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors42 > warning: build failed, waiting for other jobs to finish...43 For full logs, run:44 nix log /nix/store/dfmb65jfm7s77n0w5xm5w6blqzmr060q-zfs-dedup-clippy-0.1.0.drv