[INFO] updating cached repository matthiaskrgr/advent_of_code_rs_2017 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/matthiaskrgr/advent_of_code_rs_2017 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/matthiaskrgr/advent_of_code_rs_2017" "work/ex/clippy-test-run/sources/stable/gh/matthiaskrgr/advent_of_code_rs_2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/matthiaskrgr/advent_of_code_rs_2017'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/matthiaskrgr/advent_of_code_rs_2017" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthiaskrgr/advent_of_code_rs_2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthiaskrgr/advent_of_code_rs_2017'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 152cd5f2305cc2ce1f531d898d9aa495f0f083e1 [INFO] sha for GitHub repo matthiaskrgr/advent_of_code_rs_2017: 152cd5f2305cc2ce1f531d898d9aa495f0f083e1 [INFO] validating manifest of matthiaskrgr/advent_of_code_rs_2017 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 matthiaskrgr/advent_of_code_rs_2017 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 matthiaskrgr/advent_of_code_rs_2017 [INFO] finished frobbing matthiaskrgr/advent_of_code_rs_2017 [INFO] frobbed toml for matthiaskrgr/advent_of_code_rs_2017 written to work/ex/clippy-test-run/sources/stable/gh/matthiaskrgr/advent_of_code_rs_2017/Cargo.toml [INFO] started frobbing matthiaskrgr/advent_of_code_rs_2017 [INFO] finished frobbing matthiaskrgr/advent_of_code_rs_2017 [INFO] frobbed toml for matthiaskrgr/advent_of_code_rs_2017 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthiaskrgr/advent_of_code_rs_2017/Cargo.toml [INFO] crate matthiaskrgr/advent_of_code_rs_2017 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 matthiaskrgr/advent_of_code_rs_2017 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/matthiaskrgr/advent_of_code_rs_2017:/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] 7d9598e14cefebb9f1ad98ed70346dc70e84e1be2871f028eef525f009f5cdaf [INFO] running `"docker" "start" "-a" "7d9598e14cefebb9f1ad98ed70346dc70e84e1be2871f028eef525f009f5cdaf"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking advent_of_code_2017_rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the variable `index` is used as a loop counter. Consider using `for (index, item) in &input_vec_half_1.enumerate()` or similar iterators [INFO] [stderr] --> src/day1/2.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | for digit in &input_vec_half_1 { [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 `index` is used as a loop counter. Consider using `for (index, item) in &input_vec_half_1.enumerate()` or similar iterators [INFO] [stderr] --> src/day1/2.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | for digit in &input_vec_half_1 { [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] Finished dev [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `"docker" "inspect" "7d9598e14cefebb9f1ad98ed70346dc70e84e1be2871f028eef525f009f5cdaf"` [INFO] running `"docker" "rm" "-f" "7d9598e14cefebb9f1ad98ed70346dc70e84e1be2871f028eef525f009f5cdaf"` [INFO] [stdout] 7d9598e14cefebb9f1ad98ed70346dc70e84e1be2871f028eef525f009f5cdaf