[INFO] updating cached repository ChristianPomales/rust-brute-force-hello-world [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ChristianPomales/rust-brute-force-hello-world [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ChristianPomales/rust-brute-force-hello-world" "work/ex/clippy-test-run/sources/stable/gh/ChristianPomales/rust-brute-force-hello-world"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ChristianPomales/rust-brute-force-hello-world'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ChristianPomales/rust-brute-force-hello-world" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ChristianPomales/rust-brute-force-hello-world"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ChristianPomales/rust-brute-force-hello-world'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9c5b55cbd7242bcabf2bfdcfb042cd3e3b5affc4 [INFO] sha for GitHub repo ChristianPomales/rust-brute-force-hello-world: 9c5b55cbd7242bcabf2bfdcfb042cd3e3b5affc4 [INFO] validating manifest of ChristianPomales/rust-brute-force-hello-world 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 ChristianPomales/rust-brute-force-hello-world 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 ChristianPomales/rust-brute-force-hello-world [INFO] finished frobbing ChristianPomales/rust-brute-force-hello-world [INFO] frobbed toml for ChristianPomales/rust-brute-force-hello-world written to work/ex/clippy-test-run/sources/stable/gh/ChristianPomales/rust-brute-force-hello-world/Cargo.toml [INFO] started frobbing ChristianPomales/rust-brute-force-hello-world [INFO] finished frobbing ChristianPomales/rust-brute-force-hello-world [INFO] frobbed toml for ChristianPomales/rust-brute-force-hello-world written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ChristianPomales/rust-brute-force-hello-world/Cargo.toml [INFO] crate ChristianPomales/rust-brute-force-hello-world 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 ChristianPomales/rust-brute-force-hello-world 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/gh/ChristianPomales/rust-brute-force-hello-world:/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] 8f83b6cfd84b1dcb476460e9617b7a2a0142d08cb74e5af24a976cbb758983c2 [INFO] running `"docker" "start" "-a" "8f83b6cfd84b1dcb476460e9617b7a2a0142d08cb74e5af24a976cbb758983c2"` [INFO] [stderr] Checking hello_world 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:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | print!("\n"); [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:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | print!("\n"); [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: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn look_cool(input: &String, count: usize) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/main.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | fn look_cool(input: &String, count: usize) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `"docker" "inspect" "8f83b6cfd84b1dcb476460e9617b7a2a0142d08cb74e5af24a976cbb758983c2"` [INFO] running `"docker" "rm" "-f" "8f83b6cfd84b1dcb476460e9617b7a2a0142d08cb74e5af24a976cbb758983c2"` [INFO] [stdout] 8f83b6cfd84b1dcb476460e9617b7a2a0142d08cb74e5af24a976cbb758983c2