[INFO] crate vec_map 0.8.1 is already in cache [INFO] extracting crate vec_map 0.8.1 into work/ex/clippy-test-run/sources/stable/reg/vec_map/0.8.1 [INFO] extracting crate vec_map 0.8.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/vec_map/0.8.1 [INFO] validating manifest of vec_map-0.8.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 vec_map-0.8.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 vec_map-0.8.1 [INFO] finished frobbing vec_map-0.8.1 [INFO] frobbed toml for vec_map-0.8.1 written to work/ex/clippy-test-run/sources/stable/reg/vec_map/0.8.1/Cargo.toml [INFO] started frobbing vec_map-0.8.1 [INFO] finished frobbing vec_map-0.8.1 [INFO] frobbed toml for vec_map-0.8.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/vec_map/0.8.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 vec_map-0.8.1 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/vec_map/0.8.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 -Dclippy::into_iter_on_array" "-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] 2225ec0199b51c602a5b3e51815c61d3279117071504af526bc788e5c122200a [INFO] running `"docker" "start" "-a" "2225ec0199b51c602a5b3e51815c61d3279117071504af526bc788e5c122200a"` [INFO] [stderr] Checking vec_map v0.8.1 (/opt/crater/workdir) [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/lib.rs:410:21 [INFO] [stderr] | [INFO] [stderr] 410 | let filter: fn((usize, Option)) -> Option<(usize, V)> = filter; // coerce to fn ptr [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/lib.rs:540:27 [INFO] [stderr] | [INFO] [stderr] 540 | self.v.extend((0..key - len + 1).map(|_| None)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use: `(0..=key - len)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/lib.rs:976:11 [INFO] [stderr] | [INFO] [stderr] 976 | iter: FilterMap< [INFO] [stderr] | ___________^ [INFO] [stderr] 977 | | Enumerate>>, [INFO] [stderr] 978 | | fn((usize, Option)) -> Option<(usize, V)>> [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/lib.rs:410:21 [INFO] [stderr] | [INFO] [stderr] 410 | let filter: fn((usize, Option)) -> Option<(usize, V)> = filter; // coerce to fn ptr [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/lib.rs:540:27 [INFO] [stderr] | [INFO] [stderr] 540 | self.v.extend((0..key - len + 1).map(|_| None)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use: `(0..=key - len)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/lib.rs:976:11 [INFO] [stderr] | [INFO] [stderr] 976 | iter: FilterMap< [INFO] [stderr] | ___________^ [INFO] [stderr] 977 | | Enumerate>>, [INFO] [stderr] 978 | | fn((usize, Option)) -> Option<(usize, V)>> [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: This binary expression can be simplified [INFO] [stderr] --> src/lib.rs:1453:17 [INFO] [stderr] | [INFO] [stderr] 1453 | assert!(a <= b && a >= b); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try: `a == b` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::double_comparisons)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons [INFO] [stderr] [INFO] [stderr] warning: statement with no effect [INFO] [stderr] --> src/lib.rs:1521:9 [INFO] [stderr] | [INFO] [stderr] 1521 | map[4]; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::no_effect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `"docker" "inspect" "2225ec0199b51c602a5b3e51815c61d3279117071504af526bc788e5c122200a"` [INFO] running `"docker" "rm" "-f" "2225ec0199b51c602a5b3e51815c61d3279117071504af526bc788e5c122200a"` [INFO] [stdout] 2225ec0199b51c602a5b3e51815c61d3279117071504af526bc788e5c122200a