[INFO] crate itertools-wild 0.1.1 is already in cache [INFO] extracting crate itertools-wild 0.1.1 into work/ex/clippy-test-run/sources/stable/reg/itertools-wild/0.1.1 [INFO] extracting crate itertools-wild 0.1.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/itertools-wild/0.1.1 [INFO] validating manifest of itertools-wild-0.1.1 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of itertools-wild-0.1.1 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing itertools-wild-0.1.1 [INFO] finished frobbing itertools-wild-0.1.1 [INFO] frobbed toml for itertools-wild-0.1.1 written to work/ex/clippy-test-run/sources/stable/reg/itertools-wild/0.1.1/Cargo.toml [INFO] started frobbing itertools-wild-0.1.1 [INFO] finished frobbing itertools-wild-0.1.1 [INFO] frobbed toml for itertools-wild-0.1.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/itertools-wild/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting itertools-wild-0.1.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/itertools-wild/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b7a54f21bee297761913d5987fb40b687c07c77d33d04183f51cce0a20098015 [INFO] running `"docker" "start" "-a" "b7a54f21bee297761913d5987fb40b687c07c77d33d04183f51cce0a20098015"` [INFO] [stderr] Checking itertools-wild v0.1.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | size: size, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `size` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | filler: filler, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `filler` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_some()` [INFO] [stderr] --> src/adaptors/mod.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | if let Some(_) = elt { [INFO] [stderr] | _________- ^^^^^^^ [INFO] [stderr] 51 | | debug_assert!(self.size > 0, "AssertExactSize: length mismatch, iterator\ [INFO] [stderr] 52 | | produced at least one element more than the asserted size"); [INFO] [stderr] 53 | | self.size -= 1; [INFO] [stderr] ... | [INFO] [stderr] 56 | | produced {} elements less than the asserted size", self.size); [INFO] [stderr] 57 | | } [INFO] [stderr] | |_________- help: try this: `if elt.is_some()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `"docker" "inspect" "b7a54f21bee297761913d5987fb40b687c07c77d33d04183f51cce0a20098015"` [INFO] running `"docker" "rm" "-f" "b7a54f21bee297761913d5987fb40b687c07c77d33d04183f51cce0a20098015"` [INFO] [stdout] b7a54f21bee297761913d5987fb40b687c07c77d33d04183f51cce0a20098015