[INFO] crate ergo 0.0.5 is already in cache [INFO] extracting crate ergo 0.0.5 into work/ex/clippy-test-run/sources/stable/reg/ergo/0.0.5 [INFO] extracting crate ergo 0.0.5 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ergo/0.0.5 [INFO] validating manifest of ergo-0.0.5 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 ergo-0.0.5 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 ergo-0.0.5 [INFO] finished frobbing ergo-0.0.5 [INFO] frobbed toml for ergo-0.0.5 written to work/ex/clippy-test-run/sources/stable/reg/ergo/0.0.5/Cargo.toml [INFO] started frobbing ergo-0.0.5 [INFO] finished frobbing ergo-0.0.5 [INFO] frobbed toml for ergo-0.0.5 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ergo/0.0.5/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 ergo-0.0.5 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ergo/0.0.5:/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] 0108b43070f45511d8a7604fb27897ea6f574362e35ee22020f6de7e22bedcb1 [INFO] running `"docker" "start" "-a" "0108b43070f45511d8a7604fb27897ea6f574362e35ee22020f6de7e22bedcb1"` [INFO] [stderr] Checking taken v0.1.1 [INFO] [stderr] Compiling configure_derive v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking ergo_sys v0.0.1 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking erased-serde v0.3.8 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking ron v0.1.7 [INFO] [stderr] Checking path_abs v0.4.1 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking ergo_std v0.0.3 [INFO] [stderr] Checking crossbeam-channel v0.1.3 [INFO] [stderr] Checking configure v0.1.1 [INFO] [stderr] Checking ergo_fs v0.2.0 [INFO] [stderr] Checking ergo_sync v0.1.0 [INFO] [stderr] Checking ergo_config v0.0.1 [INFO] [stderr] Checking ergo v0.0.5 (/opt/crater/workdir) [INFO] [stderr] warning: this loop could be written as a `while let` loop [INFO] [stderr] --> src/deep_copy.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / loop { [INFO] [stderr] 58 | | let entry = match it.next() { [INFO] [stderr] 59 | | Some(entry) => entry, [INFO] [stderr] 60 | | None => break, [INFO] [stderr] ... | [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ help: try: `while let Some(entry) = it.next() { .. }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::while_let_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stderr] [INFO] [stderr] warning: this loop could be written as a `while let` loop [INFO] [stderr] --> src/deep_copy.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / loop { [INFO] [stderr] 58 | | let entry = match it.next() { [INFO] [stderr] 59 | | Some(entry) => entry, [INFO] [stderr] 60 | | None => break, [INFO] [stderr] ... | [INFO] [stderr] 92 | | } [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ help: try: `while let Some(entry) = it.next() { .. }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::while_let_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.36s [INFO] running `"docker" "inspect" "0108b43070f45511d8a7604fb27897ea6f574362e35ee22020f6de7e22bedcb1"` [INFO] running `"docker" "rm" "-f" "0108b43070f45511d8a7604fb27897ea6f574362e35ee22020f6de7e22bedcb1"` [INFO] [stdout] 0108b43070f45511d8a7604fb27897ea6f574362e35ee22020f6de7e22bedcb1