setup
checks.x86_64-linux.clippy
· build #55
· raw
1these 10 derivations will be built:2 /nix/store/22d75xjbq78nivr7ajln28h65m9xssa6-rustix-1.1.5.drv3 /nix/store/34sfxfxm0j1pnzm0hfhfqkng2sl9h6mz-condtype-1.3.0.drv4 /nix/store/6x0sznbdhb75bpvld611qazcxasmnlp2-redb-4.3.0.drv5 /nix/store/bj0kjqbxaa61p90gb8m2dyk0wlgw80f2-libmimalloc-sys-0.1.49.drv6 /nix/store/cfda3b0qrljcx30ngwxb0ia2w6z677hg-divan-macros-0.1.21.drv7 /nix/store/hgkq7dk3ac7yn9kyan0v502knqzl6bk3-divan-0.1.21.drv8 /nix/store/qq96s1ibdmyl7sq2zcsanfgaazp2pl0g-mimalloc-0.1.52.drv9 /nix/store/zdmhpbc7l4kzi3hyqx5348vdh0pvb7sp-xxhash-rust-0.8.18.drv10 /nix/store/4zlh69n4vdppgh7v41vj7ql1fzbwbyqc-cargo-vendor-dir.drv11 /nix/store/3a3kq90q60bda6k583v022dm1bb7kp8p-zfs-dedup-clippy-0.1.0.drv12these 14 paths will be fetched (999.2 KiB download, 5.1 MiB unpacked):13 /nix/store/wi32zbxsbqzsqfbppmp6lp82vsi5n6nb-bitflags-2.11.114 /nix/store/dphmx40nhwzd3hxc014f67ycbil786wm-cc-1.2.6215 /nix/store/ma8nipsdxf9v6yjbqrc4kd7z53v7cvk6-clap-4.6.116 /nix/store/jyrqk2qq8flaghnxvn20brd8x3y4196s-crossbeam-deque-0.8.617 /nix/store/hjfzpwwb2rgag1gqbjap4sybcqxllcc4-crossbeam-epoch-0.9.1818 /nix/store/hck2p3h3s9y3xvbnrk1bdnjn3xi8p8n5-crossbeam-utils-0.8.2119 /nix/store/k2aglv0p120fza7xin58dnwlqydm47k9-fastrand-2.4.120 /nix/store/67zr187ykklsgydfbz59hnw8z6g4qsqd-rayon-1.12.021 /nix/store/3s7v4vhw7234ay9limwc5vbzxipv5wd9-rayon-core-1.13.022 /nix/store/q3xl5pmcpjm518ibx77rj4zisx21zpx3-regex-lite-0.1.923 /nix/store/xh4acrm86439nzmrfalaakngic3r5ngc-semver-1.0.2824 /nix/store/rai93ji58z78fz2is0vv6134a3y09i0g-serde_json-1.0.14925 /nix/store/6lff85gsfd9zf1gjnd0164qqqf7jkm7j-terminal_size-0.4.426 /nix/store/h7v4lnyh3wzhfap49jfym9l6n2vzwn85-wasip2-1.0.3+wasi-0.2.927error: Cannot build '/nix/store/3a3kq90q60bda6k583v022dm1bb7kp8p-zfs-dedup-clippy-0.1.0.drv'.28 Reason: builder failed with exit code 101.29 Output paths:30 /nix/store/ic6a6cvq4xg3swsdyvlsb8qby6dxp0rs-zfs-dedup-clippy-0.1.031 Last 25 log lines:32 > 51 | for (dst, h) in buf[HEADER..].chunks_exact_mut(HASH_LEN).zip(e.hashes) {33 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<HASH_LEN>().0.iter()`34 > |35 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks36 > = note: `-D clippy::chunks-exact-to-as-chunks` implied by `-D warnings`37 > = help: to override `-D warnings` add `#[allow(clippy::chunks_exact_to_as_chunks)]`38 >39 > error: using `chunks_exact` with a constant chunk size40 > --> src/cache.rs:78:3541 > |42 > 78 | hashes: buf[HEADER..].chunks_exact(HASH_LEN).map(arr).collect(),43 > | ^^^^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<HASH_LEN>().0.iter()`44 > |45 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks46 >47 > error: using `chunks_exact_mut` with a constant chunk size48 > --> src/clone.rs:130:1949 > |50 > 130 | for c in data.chunks_exact_mut(8) {51 > | ^^^^^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks_mut::<8>().0`52 > |53 > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#chunks_exact_to_as_chunks54 >55 > error: could not compile `zfs-dedup` (lib) due to 3 previous errors56 > warning: build failed, waiting for other jobs to finish...57 For full logs, run:58 nix log /nix/store/3a3kq90q60bda6k583v022dm1bb7kp8p-zfs-dedup-clippy-0.1.0.drv