[INFO] updating cached repository shaddockzy/rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/shaddockzy/rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/shaddockzy/rust" "work/ex/clippy-test-run/sources/stable/gh/shaddockzy/rust"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/shaddockzy/rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/shaddockzy/rust" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/shaddockzy/rust"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/shaddockzy/rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8bf4800d23178aec38c8dc750884b8a306776296 [INFO] sha for GitHub repo shaddockzy/rust: 8bf4800d23178aec38c8dc750884b8a306776296 [INFO] validating manifest of shaddockzy/rust 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 shaddockzy/rust 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 shaddockzy/rust [INFO] finished frobbing shaddockzy/rust [INFO] frobbed toml for shaddockzy/rust written to work/ex/clippy-test-run/sources/stable/gh/shaddockzy/rust/Cargo.toml [INFO] started frobbing shaddockzy/rust [INFO] finished frobbing shaddockzy/rust [INFO] frobbed toml for shaddockzy/rust written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/shaddockzy/rust/Cargo.toml [INFO] crate shaddockzy/rust 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 shaddockzy/rust against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/shaddockzy/rust:/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] 70a9e75b03042597f204cd642685bce88b828d0ee1c796ce2e2aa4bba3442efa [INFO] running `"docker" "start" "-a" "70a9e75b03042597f204cd642685bce88b828d0ee1c796ce2e2aa4bba3442efa"` [INFO] [stderr] Checking generic-array v0.6.0 [INFO] [stderr] Checking digest v0.4.0 [INFO] [stderr] Checking digest-buffer v0.2.0 [INFO] [stderr] Checking sha2 v0.4.2 [INFO] [stderr] Checking easy-hash v0.1.0 [INFO] [stderr] Checking work-proof v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: function is never used: `search_for_solution` [INFO] [stderr] --> src/main.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | fn search_for_solution(start_at: usize, sender: mpsc::Sender, is_found: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: the variable `iteration_no` is used as a loop counter. Consider using `for (iteration_no, item) in (start_at..).step_by(THREAD).enumerate()` or similar iterators [INFO] [stderr] --> src/main.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | for number in (start_at..).step_by(THREAD) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::explicit_counter_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stderr] [INFO] [stderr] warning: the variable `iteration_no` is used as a loop counter. Consider using `for (iteration_no, item) in (start_at..).step_by(THREAD).enumerate()` or similar iterators [INFO] [stderr] --> src/main.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | for number in (start_at..).step_by(THREAD) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stderr] [INFO] [stderr] warning: function is never used: `search_for_solution` [INFO] [stderr] --> src/main.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | fn search_for_solution(start_at: usize, sender: mpsc::Sender, is_found: Arc) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: the variable `iteration_no` is used as a loop counter. Consider using `for (iteration_no, item) in (start_at..).step_by(THREAD).enumerate()` or similar iterators [INFO] [stderr] --> src/main.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | for number in (start_at..).step_by(THREAD) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::explicit_counter_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stderr] [INFO] [stderr] warning: the variable `iteration_no` is used as a loop counter. Consider using `for (iteration_no, item) in (start_at..).step_by(THREAD).enumerate()` or similar iterators [INFO] [stderr] --> src/main.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | for number in (start_at..).step_by(THREAD) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_counter_loop [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `"docker" "inspect" "70a9e75b03042597f204cd642685bce88b828d0ee1c796ce2e2aa4bba3442efa"` [INFO] running `"docker" "rm" "-f" "70a9e75b03042597f204cd642685bce88b828d0ee1c796ce2e2aa4bba3442efa"` [INFO] [stdout] 70a9e75b03042597f204cd642685bce88b828d0ee1c796ce2e2aa4bba3442efa