[INFO] updating cached repository noxecane/codechef [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/noxecane/codechef [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/noxecane/codechef" "work/ex/clippy-test-run/sources/stable/gh/noxecane/codechef"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/noxecane/codechef'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/noxecane/codechef" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/noxecane/codechef"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/noxecane/codechef'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 68d5f62ec241f10e36471f520585f0da990ae5c6 [INFO] sha for GitHub repo noxecane/codechef: 68d5f62ec241f10e36471f520585f0da990ae5c6 [INFO] validating manifest of noxecane/codechef 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 noxecane/codechef 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 noxecane/codechef [INFO] finished frobbing noxecane/codechef [INFO] frobbed toml for noxecane/codechef written to work/ex/clippy-test-run/sources/stable/gh/noxecane/codechef/Cargo.toml [INFO] started frobbing noxecane/codechef [INFO] finished frobbing noxecane/codechef [INFO] frobbed toml for noxecane/codechef written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/noxecane/codechef/Cargo.toml [INFO] crate noxecane/codechef 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 noxecane/codechef against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/noxecane/codechef:/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] cd56dd21571a6974914b937bdab9abe71bbf5785ddb1611b477f132a2f3e3af7 [INFO] running `"docker" "start" "-a" "cd56dd21571a6974914b937bdab9abe71bbf5785ddb1611b477f132a2f3e3af7"` [INFO] [stderr] Checking codechef v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `grid` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ^^^^ help: consider using `_grid` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `grid` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ^^^^ help: consider using `_grid` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_at_correct_position` [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | fn is_at_correct_position() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/main.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `GRID_1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_at_correct_position` [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | fn is_at_correct_position() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/main.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | let mut grid = GRID_1.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try removing the `clone` call: `GRID_1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `"docker" "inspect" "cd56dd21571a6974914b937bdab9abe71bbf5785ddb1611b477f132a2f3e3af7"` [INFO] running `"docker" "rm" "-f" "cd56dd21571a6974914b937bdab9abe71bbf5785ddb1611b477f132a2f3e3af7"` [INFO] [stdout] cd56dd21571a6974914b937bdab9abe71bbf5785ddb1611b477f132a2f3e3af7