[INFO] updating cached repository amscotti/rust_balanced_brackets [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/amscotti/rust_balanced_brackets [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/amscotti/rust_balanced_brackets" "work/ex/clippy-test-run/sources/stable/gh/amscotti/rust_balanced_brackets"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/amscotti/rust_balanced_brackets'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/amscotti/rust_balanced_brackets" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/amscotti/rust_balanced_brackets"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/amscotti/rust_balanced_brackets'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8ce8b792bca6ab313a7f0200de01f5a1f3d72e76 [INFO] sha for GitHub repo amscotti/rust_balanced_brackets: 8ce8b792bca6ab313a7f0200de01f5a1f3d72e76 [INFO] validating manifest of amscotti/rust_balanced_brackets 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 amscotti/rust_balanced_brackets 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 amscotti/rust_balanced_brackets [INFO] finished frobbing amscotti/rust_balanced_brackets [INFO] frobbed toml for amscotti/rust_balanced_brackets written to work/ex/clippy-test-run/sources/stable/gh/amscotti/rust_balanced_brackets/Cargo.toml [INFO] started frobbing amscotti/rust_balanced_brackets [INFO] finished frobbing amscotti/rust_balanced_brackets [INFO] frobbed toml for amscotti/rust_balanced_brackets written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/amscotti/rust_balanced_brackets/Cargo.toml [INFO] crate amscotti/rust_balanced_brackets 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 amscotti/rust_balanced_brackets 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-7/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/gh/amscotti/rust_balanced_brackets:/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] 9789a4552cb7b10e2920ef0f6b2e53e20f4f59f31a6378175db5707fc3261bec [INFO] running `"docker" "start" "-a" "9789a4552cb7b10e2920ef0f6b2e53e20f4f59f31a6378175db5707fc3261bec"` [INFO] [stderr] Checking smallvec v0.4.0 [INFO] [stderr] Checking clicolors-control v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.2.2 [INFO] [stderr] Checking parking_lot v0.4.4 [INFO] [stderr] Checking indicatif v0.3.3 [INFO] [stderr] Checking rust_balanced_brackets v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/main.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | fn balanced_brackets_load(input: &String, output: &String) { [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:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | fn balanced_brackets_load(input: &String, output: &String) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [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:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | fn balanced_brackets_load(input: &String, output: &String) { [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:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | fn balanced_brackets_load(input: &String, output: &String) { [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [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 3.58s [INFO] running `"docker" "inspect" "9789a4552cb7b10e2920ef0f6b2e53e20f4f59f31a6378175db5707fc3261bec"` [INFO] running `"docker" "rm" "-f" "9789a4552cb7b10e2920ef0f6b2e53e20f4f59f31a6378175db5707fc3261bec"` [INFO] [stdout] 9789a4552cb7b10e2920ef0f6b2e53e20f4f59f31a6378175db5707fc3261bec