setup
checks.x86_64-linux.clippy
· build #53
· raw
1these 8 derivations will be built:2 /nix/store/17rnysdr0r64iwwbf62hivyrbyjgjcf8-xxhash-rust-0.8.18.drv3 /nix/store/2p7mnxpy2c3md1wi2bciyhl75c1n9cmq-rustix-1.1.5.drv4 /nix/store/5194kyzn9wgjxpgkv698bvsj4vs5yc2g-condtype-1.3.0.drv5 /nix/store/6ys875rc1mgb12bc0bbdvgjz5v6qf7gm-redb-4.3.0.drv6 /nix/store/89zln1v7a72qvk0hv49acnzwfrn7qivq-divan-macros-0.1.21.drv7 /nix/store/kq2yx1bc5nrxp96bpshlwz49ss2wsysz-divan-0.1.21.drv8 /nix/store/hfdh7q199girsbfng0gfg3vnppzqgg2a-cargo-vendor-dir.drv9 /nix/store/3jb44ajd2yjnbnlbyrh9c3f5kyzyiscg-zfs-dedup-clippy-0.1.0.drv10these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked):11 /nix/store/blmmpp9wcvf6wzd3x15vbgrpqml29f12-regex-lite-0.1.912 /nix/store/dxhxyvvzvd42n0322fgiiaddmgpkvx4d-terminal_size-0.4.413error: Cannot build '/nix/store/3jb44ajd2yjnbnlbyrh9c3f5kyzyiscg-zfs-dedup-clippy-0.1.0.drv'.14 Reason: builder failed with exit code 101.15 Output paths:16 /nix/store/ffwkx02qgcp8vymz3jpay2a7bq6qyi05-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/3jb44ajd2yjnbnlbyrh9c3f5kyzyiscg-zfs-dedup-clippy-0.1.0.drv