setup
checks.x86_64-linux.clippy
· build #67
· raw
1these 9 derivations will be built:2 /nix/store/7xdx668bifi4jlrjwz6wqlgwn89b8hy8-divan-0.1.21.drv3 /nix/store/bj0p2ssl89y9chxjjdf4a5mr1xh3f6ib-mimalloc-0.1.52.drv4 /nix/store/gfrjfi5ryvha3nvnx54gk4paa23z9q5k-condtype-1.3.0.drv5 /nix/store/kfvbwdnqn290pq7535ygfxfcrs5rqp5j-redb-4.3.0.drv6 /nix/store/l8v0w7xpd43v1ma46x2ks6g78bi77fzy-libmimalloc-sys-0.1.49.drv7 /nix/store/lhwk83lp5gslswi6rb4sdhnxgndx00i7-divan-macros-0.1.21.drv8 /nix/store/mbbz2qiv2d8ampbdg6c2niqm4ank4jg2-rustix-1.1.6.drv9 /nix/store/ygjharaxgk8s1pyhqwzd08hpnb4apsam-cargo-vendor-dir.drv10 /nix/store/3n1vrbvnh8g6f4mqxv8gbdlmalm1l78g-zfs-dedup-clippy-0.1.0.drv11these 6 paths will be fetched (1.0 MiB download, 6.3 MiB unpacked):12 /nix/store/mg53s720qvm8i3jc0wpmmaq4g5b5p1kc-cc-1.2.6213 /nix/store/dzzv4whs7d7nz71a0ldh8m8pwjmwxj5l-libc-0.2.19014 /nix/store/3wf6kfdf0682k5cjamqv7yz5x3f2w3ad-rayon-1.12.015 /nix/store/vfnjlmhwqijy51lgadi76mgwi2jzpj5a-regex-lite-0.1.916 /nix/store/s6ani5sf1wg5qsj7dxs187bddl9yyk5h-terminal_size-0.4.417 /nix/store/5szcb8wv4f075b1g9gcffd3pxpfd9z30-xxhash-rust-0.8.1918error: Cannot build '/nix/store/3n1vrbvnh8g6f4mqxv8gbdlmalm1l78g-zfs-dedup-clippy-0.1.0.drv'.19 Reason: builder failed with exit code 101.20 Output paths:21 /nix/store/1xf70960qm5aanly7d91jnx2cbpgs638-zfs-dedup-clippy-0.1.022 Last 25 log lines:23 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {24 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks_mut` instead: `as_chunks_mut::<HASH_LEN>().0.iter_mut()`25 > |26 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks27 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`28 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`29 >30 > error: using `chunks_exact` with a constant chunk size31 > --> src/cache.rs:78:3532 > |33 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),34 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`35 > |36 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks37 >38 > error: using `chunks_exact_mut` with a constant chunk size39 > --> src/clone.rs:130:1940 > |41 > 130 | for c in data.chunks_exact_mut(8) {42 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks_mut` instead: `as_chunks_mut::<8>().0`43 > |44 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks45 >46 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors47 > warning: build failed, waiting for other jobs to finish...48 For full logs, run:49 nix log /nix/store/3n1vrbvnh8g6f4mqxv8gbdlmalm1l78g-zfs-dedup-clippy-0.1.0.drv