[INFO] updating cached repository stuartnelson3/rust_learning [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/stuartnelson3/rust_learning [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/stuartnelson3/rust_learning" "work/ex/clippy-test-run/sources/stable/gh/stuartnelson3/rust_learning"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/stuartnelson3/rust_learning'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/stuartnelson3/rust_learning" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/stuartnelson3/rust_learning"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/stuartnelson3/rust_learning'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c2c8a75b515d9efd42da19b3d5a69954f41cf69c [INFO] sha for GitHub repo stuartnelson3/rust_learning: c2c8a75b515d9efd42da19b3d5a69954f41cf69c [INFO] validating manifest of stuartnelson3/rust_learning 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 stuartnelson3/rust_learning 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 stuartnelson3/rust_learning [INFO] finished frobbing stuartnelson3/rust_learning [INFO] frobbed toml for stuartnelson3/rust_learning written to work/ex/clippy-test-run/sources/stable/gh/stuartnelson3/rust_learning/Cargo.toml [INFO] started frobbing stuartnelson3/rust_learning [INFO] finished frobbing stuartnelson3/rust_learning [INFO] frobbed toml for stuartnelson3/rust_learning written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/stuartnelson3/rust_learning/Cargo.toml [INFO] crate stuartnelson3/rust_learning has a lockfile. skipping [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 stuartnelson3/rust_learning against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/stuartnelson3/rust_learning:/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] 6deba5acf06473217ef8c1359aceb1ba2f975e6f878c6fc5c6ec4dc8be8f9d38 [INFO] running `"docker" "start" "-a" "6deba5acf06473217ef8c1359aceb1ba2f975e6f878c6fc5c6ec4dc8be8f9d38"` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Checking quick-error v0.2.2 [INFO] [stderr] Checking protobuf v1.4.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking prometheus v0.2.8 [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | print!("s1: {} s2: {}\n", s1, s2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::print_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `print!()` with a format string that ends in a single newline, consider using `println!()` instead [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | print!("s1: {} s2: {}\n", s1, s2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::print_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline [INFO] [stderr] [INFO] [stderr] warning: avoid using `collect()` when not needed [INFO] [stderr] --> src/main.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / .collect::>() [INFO] [stderr] 45 | | .len() as f64 [INFO] [stderr] | |______________^ help: replace with: `.count()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_collect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect [INFO] [stderr] [INFO] [stderr] warning: avoid using `collect()` when not needed [INFO] [stderr] --> src/main.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / .collect::>() [INFO] [stderr] 45 | | .len() as f64 [INFO] [stderr] | |______________^ help: replace with: `.count()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_collect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_collect [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.08s [INFO] running `"docker" "inspect" "6deba5acf06473217ef8c1359aceb1ba2f975e6f878c6fc5c6ec4dc8be8f9d38"` [INFO] running `"docker" "rm" "-f" "6deba5acf06473217ef8c1359aceb1ba2f975e6f878c6fc5c6ec4dc8be8f9d38"` [INFO] [stdout] 6deba5acf06473217ef8c1359aceb1ba2f975e6f878c6fc5c6ec4dc8be8f9d38