setup
checks.aarch64-linux.clippy
· build #58
· raw
1these 8 derivations will be built:2 /nix/store/0373hjnkqar7qlcdjdfd71d6xsikpmyb-divan-0.1.21.drv3 /nix/store/1ap5icsha0f351vjvs5g6qw50vp2m94q-condtype-1.3.0.drv4 /nix/store/4z4m2szg6pwchzsmmlh53gkayxg1ydzh-rustix-1.1.5.drv5 /nix/store/khq94fqwinb537kxd77xkxzb82xw1nav-xxhash-rust-0.8.19.drv6 /nix/store/lrcfg2qfw9y9zqnahbdn8am13zinv2wk-divan-macros-0.1.21.drv7 /nix/store/zcf2p2cr6x1q4cqb2cx2l9agrcciqypi-redb-4.3.0.drv8 /nix/store/7sc0d13i7ilwrn33lf5fqbyc6fggfp8f-cargo-vendor-dir.drv9 /nix/store/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv10these 2 paths will be fetched (106.5 KiB download, 412.3 KiB unpacked):11 /nix/store/1cshrd9rc296c5c81f8p145mb62j3zk2-regex-lite-0.1.912 /nix/store/9yfl2clcclq9hgws5iabi5bdn1lysky7-terminal_size-0.4.413error: Cannot build '/nix/store/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv'.14 Reason: builder failed with exit code 101.15 Output paths:16 /nix/store/q59lci86h63i1lxqv68dcnm187ahcc2q-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/rrj6lzm37g1nx3m1r56wsy08i1apzgqw-zfs-dedup-clippy-0.1.0.drv