setup
checks.x86_64-linux.clippy
· build #64
· raw
1these 9 derivations will be built:2 /nix/store/3zvr56rz7fdss3xz9ffyawd83sxa68xr-xxhash-rust-0.8.19.drv3 /nix/store/7xdx668bifi4jlrjwz6wqlgwn89b8hy8-divan-0.1.21.drv4 /nix/store/bj0p2ssl89y9chxjjdf4a5mr1xh3f6ib-mimalloc-0.1.52.drv5 /nix/store/gfrjfi5ryvha3nvnx54gk4paa23z9q5k-condtype-1.3.0.drv6 /nix/store/kfvbwdnqn290pq7535ygfxfcrs5rqp5j-redb-4.3.0.drv7 /nix/store/l8v0w7xpd43v1ma46x2ks6g78bi77fzy-libmimalloc-sys-0.1.49.drv8 /nix/store/lhwk83lp5gslswi6rb4sdhnxgndx00i7-divan-macros-0.1.21.drv9 /nix/store/1qpgfkmzylqycahxgfdkjifcm8mk6b7j-cargo-vendor-dir.drv10 /nix/store/88i90apxpxgsrh9iwzc5gv1xn9zxhacb-zfs-dedup-clippy-0.1.0.drv11these 12 paths will be fetched (1.4 MiB download, 8.2 MiB unpacked):12 /nix/store/i6bvi57m8h36cpbfk0a2lk32fq2kr2g1-bitflags-2.11.113 /nix/store/mg53s720qvm8i3jc0wpmmaq4g5b5p1kc-cc-1.2.6214 /nix/store/ldf71lyj5l75igyy4wdabh9h9xs8yyfg-clap-4.6.115 /nix/store/r3c7qxsz3d51ax9vxfbwlbkcx79578dm-crossbeam-deque-0.8.616 /nix/store/0l89cxb4zqg1bl2wrzwivc1bsci7ygfk-crossbeam-epoch-0.9.1817 /nix/store/b8zmwdqsbnia4g84dns1rdxbw7mbr32j-crossbeam-utils-0.8.2118 /nix/store/dzzv4whs7d7nz71a0ldh8m8pwjmwxj5l-libc-0.2.19019 /nix/store/3wf6kfdf0682k5cjamqv7yz5x3f2w3ad-rayon-1.12.020 /nix/store/87xwny5zdqzgpajfvcr1ly2mvrymsnkp-rayon-core-1.13.021 /nix/store/vfnjlmhwqijy51lgadi76mgwi2jzpj5a-regex-lite-0.1.922 /nix/store/jpxza03fmp3jqbmykc8zl1n2r0iqsza5-serde_json-1.0.14923 /nix/store/s6ani5sf1wg5qsj7dxs187bddl9yyk5h-terminal_size-0.4.424error: Cannot build '/nix/store/88i90apxpxgsrh9iwzc5gv1xn9zxhacb-zfs-dedup-clippy-0.1.0.drv'.25 Reason: builder failed with exit code 101.26 Output paths:27 /nix/store/iqy1cahj171v0kj1dsknwwjr24r9cmpm-zfs-dedup-clippy-0.1.028 Last 25 log lines:29 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {30 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks_mut` instead: `as_chunks_mut::<HASH_LEN>().0.iter_mut()`31 > |32 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks33 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`34 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`35 >36 > error: using `chunks_exact` with a constant chunk size37 > --> src/cache.rs:78:3538 > |39 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),40 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`41 > |42 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks43 >44 > error: using `chunks_exact_mut` with a constant chunk size45 > --> src/clone.rs:130:1946 > |47 > 130 | for c in data.chunks_exact_mut(8) {48 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks_mut` instead: `as_chunks_mut::<8>().0`49 > |50 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks51 >52 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors53 > warning: build failed, waiting for other jobs to finish...54 For full logs, run:55 nix log /nix/store/88i90apxpxgsrh9iwzc5gv1xn9zxhacb-zfs-dedup-clippy-0.1.0.drv