[INFO] updating cached repository twigoftilia/advent_of_code_2018_twigoftilia [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/twigoftilia/advent_of_code_2018_twigoftilia [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/twigoftilia/advent_of_code_2018_twigoftilia" "work/ex/clippy-test-run/sources/stable/gh/twigoftilia/advent_of_code_2018_twigoftilia"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/twigoftilia/advent_of_code_2018_twigoftilia'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/twigoftilia/advent_of_code_2018_twigoftilia" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/twigoftilia/advent_of_code_2018_twigoftilia"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/twigoftilia/advent_of_code_2018_twigoftilia'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b767dbbfc1834914e7a2341e9f9eca4ae7b6a522 [INFO] sha for GitHub repo twigoftilia/advent_of_code_2018_twigoftilia: b767dbbfc1834914e7a2341e9f9eca4ae7b6a522 [INFO] validating manifest of twigoftilia/advent_of_code_2018_twigoftilia 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 twigoftilia/advent_of_code_2018_twigoftilia 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 twigoftilia/advent_of_code_2018_twigoftilia [INFO] finished frobbing twigoftilia/advent_of_code_2018_twigoftilia [INFO] frobbed toml for twigoftilia/advent_of_code_2018_twigoftilia written to work/ex/clippy-test-run/sources/stable/gh/twigoftilia/advent_of_code_2018_twigoftilia/Cargo.toml [INFO] started frobbing twigoftilia/advent_of_code_2018_twigoftilia [INFO] finished frobbing twigoftilia/advent_of_code_2018_twigoftilia [INFO] frobbed toml for twigoftilia/advent_of_code_2018_twigoftilia written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/twigoftilia/advent_of_code_2018_twigoftilia/Cargo.toml [INFO] crate twigoftilia/advent_of_code_2018_twigoftilia 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 twigoftilia/advent_of_code_2018_twigoftilia 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/twigoftilia/advent_of_code_2018_twigoftilia:/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] 20bb8948733b8b8dcc4414c8bab66fb2ddec0ef719faa776b1238c70edd48057 [INFO] running `"docker" "start" "-a" "20bb8948733b8b8dcc4414c8bab66fb2ddec0ef719faa776b1238c70edd48057"` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking memchr v2.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking advent_of_code_2018_twigoftilia v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: useless use of `vec!` [INFO] [stderr] --> src/day_2.rs:177:35 [INFO] [stderr] | [INFO] [stderr] 177 | let answer = solve_second(&vec![ [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 178 | | "abcde".to_string(), [INFO] [stderr] 179 | | "fghij".to_string(), [INFO] [stderr] 180 | | "klmno".to_string(), [INFO] [stderr] ... | [INFO] [stderr] 184 | | "wvxyz".to_string(), [INFO] [stderr] 185 | | ]); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_vec)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stderr] help: you can use a slice directly [INFO] [stderr] | [INFO] [stderr] 177 | let answer = solve_second(&["abcde".to_string(), [INFO] [stderr] 178 | "fghij".to_string(), [INFO] [stderr] 179 | "klmno".to_string(), [INFO] [stderr] 180 | "pqrst".to_string(), [INFO] [stderr] 181 | "fguij".to_string(), [INFO] [stderr] 182 | "axcye".to_string(), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: the variable `count` is used as a loop counter. Consider using `for (count, item) in reduced_indexes.into_iter().enumerate()` or similar iterators [INFO] [stderr] --> src/day_5.rs:274:18 [INFO] [stderr] | [INFO] [stderr] 274 | for i in reduced_indexes.into_iter() { [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 `i` is used as a loop counter. Consider using `for (i, item) in &reduced_indexes.ranges.enumerate()` or similar iterators [INFO] [stderr] --> src/day_5.rs:357:29 [INFO] [stderr] | [INFO] [stderr] 357 | for (start, end) in &reduced_indexes.ranges { [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 9.23s [INFO] running `"docker" "inspect" "20bb8948733b8b8dcc4414c8bab66fb2ddec0ef719faa776b1238c70edd48057"` [INFO] running `"docker" "rm" "-f" "20bb8948733b8b8dcc4414c8bab66fb2ddec0ef719faa776b1238c70edd48057"` [INFO] [stdout] 20bb8948733b8b8dcc4414c8bab66fb2ddec0ef719faa776b1238c70edd48057