[INFO] updating cached repository DrGoldfire/advent2017 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/DrGoldfire/advent2017 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/DrGoldfire/advent2017" "work/ex/clippy-test-run/sources/stable/gh/DrGoldfire/advent2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/DrGoldfire/advent2017'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/DrGoldfire/advent2017" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/DrGoldfire/advent2017"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/DrGoldfire/advent2017'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7fbae557bdd87a514822f2d9f8803394ad60363d [INFO] sha for GitHub repo DrGoldfire/advent2017: 7fbae557bdd87a514822f2d9f8803394ad60363d [INFO] validating manifest of DrGoldfire/advent2017 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 DrGoldfire/advent2017 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 DrGoldfire/advent2017 [INFO] finished frobbing DrGoldfire/advent2017 [INFO] frobbed toml for DrGoldfire/advent2017 written to work/ex/clippy-test-run/sources/stable/gh/DrGoldfire/advent2017/Cargo.toml [INFO] started frobbing DrGoldfire/advent2017 [INFO] finished frobbing DrGoldfire/advent2017 [INFO] frobbed toml for DrGoldfire/advent2017 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/DrGoldfire/advent2017/Cargo.toml [INFO] crate DrGoldfire/advent2017 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 DrGoldfire/advent2017 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/DrGoldfire/advent2017:/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] ce130d563ee03d615d317ae40aa5fae986d963465c6d3c6ac664a1ea4d2cfed8 [INFO] running `"docker" "start" "-a" "ce130d563ee03d615d317ae40aa5fae986d963465c6d3c6ac664a1ea4d2cfed8"` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking advent2017 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/day24.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | parts: &Vec<(usize, usize)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[(usize, usize)]` [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: this function has too many arguments (8/7) [INFO] [stderr] --> src/day24.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / fn get_max_strengths( [INFO] [stderr] 28 | | parts: &Vec<(usize, usize)>, [INFO] [stderr] 29 | | used: &mut HashSet<(usize, usize)>, [INFO] [stderr] 30 | | max_str: &mut usize, [INFO] [stderr] ... | [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/day24.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | parts: &Vec<(usize, usize)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[(usize, usize)]` [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: this function has too many arguments (8/7) [INFO] [stderr] --> src/day24.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | / fn get_max_strengths( [INFO] [stderr] 28 | | parts: &Vec<(usize, usize)>, [INFO] [stderr] 29 | | used: &mut HashSet<(usize, usize)>, [INFO] [stderr] 30 | | max_str: &mut usize, [INFO] [stderr] ... | [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `"docker" "inspect" "ce130d563ee03d615d317ae40aa5fae986d963465c6d3c6ac664a1ea4d2cfed8"` [INFO] running `"docker" "rm" "-f" "ce130d563ee03d615d317ae40aa5fae986d963465c6d3c6ac664a1ea4d2cfed8"` [INFO] [stdout] ce130d563ee03d615d317ae40aa5fae986d963465c6d3c6ac664a1ea4d2cfed8