nixbot

builds

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

1these 9 derivations will be built:2 /nix/store/17rnysdr0r64iwwbf62hivyrbyjgjcf8-xxhash-rust-0.8.18.drv3 /nix/store/5194kyzn9wgjxpgkv698bvsj4vs5yc2g-condtype-1.3.0.drv4 /nix/store/89zln1v7a72qvk0hv49acnzwfrn7qivq-divan-macros-0.1.21.drv5 /nix/store/cdg1fvahpppm7n896p0b3i7znymkkp05-mimalloc-0.1.52.drv6 /nix/store/kq2yx1bc5nrxp96bpshlwz49ss2wsysz-divan-0.1.21.drv7 /nix/store/qcfdsvl33w6jkn6wzjjrkpz75sqfd0s8-redb-4.2.0.drv8 /nix/store/ryjgd5w5zrmr5lp6wh9r6l3w01iryd2v-libmimalloc-sys-0.1.49.drv9 /nix/store/ia0yaf4ybbfki10nd6zr9qqysf0cfv3a-cargo-vendor-dir.drv10 /nix/store/x12m0pf6l9vhr3y0hx8lbva714awah9d-zfs-dedup-clippy-0.1.0.drv11these 3 paths will be fetched (165.6 KiB download, 697.7 KiB unpacked):12 /nix/store/kbrdcgdg8bnn5p8sny383hlcmk8pnqnz-clap-4.6.113 /nix/store/blmmpp9wcvf6wzd3x15vbgrpqml29f12-regex-lite-0.1.914 /nix/store/dxhxyvvzvd42n0322fgiiaddmgpkvx4d-terminal_size-0.4.415error: Cannot build '/nix/store/x12m0pf6l9vhr3y0hx8lbva714awah9d-zfs-dedup-clippy-0.1.0.drv'.16 Reason: builder failed with exit code 101.17 Output paths:18 /nix/store/ycsh7dhaafhhjy7fj6xfrayzgf313978-zfs-dedup-clippy-0.1.019 Last 25 log lines:20 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {21 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<HASH_LEN>().0.iter()`22 > |23 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks24 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`25 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`26 >27 > error: using `chunks_exact` with a constant chunk size28 > --> src/cache.rs:78:3529 > |30 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),31 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`32 > |33 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks34 >35 > error: using `chunks_exact_mut` with a constant chunk size36 > --> src/clone.rs:130:1937 > |38 > 130 | for c in data.chunks_exact_mut(8) {39 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<8>().0`40 > |41 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks42 >43 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors44 > warning: build failed, waiting for other jobs to finish...45 For full logs, run:46 nix log /nix/store/x12m0pf6l9vhr3y0hx8lbva714awah9d-zfs-dedup-clippy-0.1.0.drv