[INFO] crate nearly_eq 0.2.4 is already in cache [INFO] extracting crate nearly_eq 0.2.4 into work/ex/clippy-test-run/sources/stable/reg/nearly_eq/0.2.4 [INFO] extracting crate nearly_eq 0.2.4 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nearly_eq/0.2.4 [INFO] validating manifest of nearly_eq-0.2.4 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 nearly_eq-0.2.4 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 nearly_eq-0.2.4 [INFO] finished frobbing nearly_eq-0.2.4 [INFO] frobbed toml for nearly_eq-0.2.4 written to work/ex/clippy-test-run/sources/stable/reg/nearly_eq/0.2.4/Cargo.toml [INFO] started frobbing nearly_eq-0.2.4 [INFO] finished frobbing nearly_eq-0.2.4 [INFO] frobbed toml for nearly_eq-0.2.4 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nearly_eq/0.2.4/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 nearly_eq-0.2.4 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-4/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/nearly_eq/0.2.4:/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] 99af25b03dab4ac63933221fc9e358c4cceaac30abe0df220542eda4463f3a23 [INFO] running `"docker" "start" "-a" "99af25b03dab4ac63933221fc9e358c4cceaac30abe0df220542eda4463f3a23"` [INFO] [stderr] Checking nearly_eq v0.2.4 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/lib.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | (&None, &None) => return true, [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `true` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/lib.rs:283:44 [INFO] [stderr] | [INFO] [stderr] 283 | (&None, _) | (_, &None) => return false, [INFO] [stderr] | ^^^^^^^^^^^^ help: remove `return` as shown: `false` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/lib.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | (&None, &None) => return true, [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `true` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/lib.rs:283:44 [INFO] [stderr] | [INFO] [stderr] 283 | (&None, _) | (_, &None) => return false, [INFO] [stderr] | ^^^^^^^^^^^^ help: remove `return` as shown: `false` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] error: this range is empty so this for loop will never run [INFO] [stderr] --> src/lib.rs:255:30 [INFO] [stderr] | [INFO] [stderr] 255 | for i in 0..$N { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 267 | / array_impls! { [INFO] [stderr] 268 | | 0 1 2 3 4 5 6 7 8 9 [INFO] [stderr] 269 | | 10 11 12 13 14 15 16 17 18 19 [INFO] [stderr] 270 | | 20 21 22 23 24 25 26 27 28 29 [INFO] [stderr] 271 | | 30 31 32 [INFO] [stderr] 272 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::reverse_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reverse_range_loop [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `nearly_eq`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: this range is empty so this for loop will never run [INFO] [stderr] --> src/lib.rs:255:30 [INFO] [stderr] | [INFO] [stderr] 255 | for i in 0..$N { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 267 | / array_impls! { [INFO] [stderr] 268 | | 0 1 2 3 4 5 6 7 8 9 [INFO] [stderr] 269 | | 10 11 12 13 14 15 16 17 18 19 [INFO] [stderr] 270 | | 20 21 22 23 24 25 26 27 28 29 [INFO] [stderr] 271 | | 30 31 32 [INFO] [stderr] 272 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::reverse_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reverse_range_loop [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `nearly_eq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "99af25b03dab4ac63933221fc9e358c4cceaac30abe0df220542eda4463f3a23"` [INFO] running `"docker" "rm" "-f" "99af25b03dab4ac63933221fc9e358c4cceaac30abe0df220542eda4463f3a23"` [INFO] [stdout] 99af25b03dab4ac63933221fc9e358c4cceaac30abe0df220542eda4463f3a23