[INFO] updating cached repository realrunner/adventofcode2016 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/realrunner/adventofcode2016 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/realrunner/adventofcode2016" "work/ex/clippy-test-run/sources/stable/gh/realrunner/adventofcode2016"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/realrunner/adventofcode2016'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/realrunner/adventofcode2016" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/realrunner/adventofcode2016"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/realrunner/adventofcode2016'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1c16734fcb96ea251a0e0a00de52f99711fbfe10 [INFO] sha for GitHub repo realrunner/adventofcode2016: 1c16734fcb96ea251a0e0a00de52f99711fbfe10 [INFO] validating manifest of realrunner/adventofcode2016 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 realrunner/adventofcode2016 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 realrunner/adventofcode2016 [INFO] finished frobbing realrunner/adventofcode2016 [INFO] frobbed toml for realrunner/adventofcode2016 written to work/ex/clippy-test-run/sources/stable/gh/realrunner/adventofcode2016/Cargo.toml [INFO] started frobbing realrunner/adventofcode2016 [INFO] finished frobbing realrunner/adventofcode2016 [INFO] frobbed toml for realrunner/adventofcode2016 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/realrunner/adventofcode2016/Cargo.toml [INFO] crate realrunner/adventofcode2016 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 realrunner/adventofcode2016 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/realrunner/adventofcode2016:/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] a2172dcbcd7475511d19322184a1d0131b95939eee57af7fb9f7d9a7c87614e3 [INFO] running `"docker" "start" "-a" "a2172dcbcd7475511d19322184a1d0131b95939eee57af7fb9f7d9a7c87614e3"` [INFO] [stderr] Compiling openssl v0.9.22 [INFO] [stderr] Checking tokio v0.0.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.22 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking regex v0.2.3 [INFO] [stderr] Checking tokio-core v0.1.10 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking native-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.7 [INFO] [stderr] Checking tokio-tls v0.1.3 [INFO] [stderr] Checking hyper-tls v0.1.2 [INFO] [stderr] Checking surgehours v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/bin/day1.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | history.insert(position.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `position` [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: single-character string constant used as pattern [INFO] [stderr] --> src/bin/day1.rs:31:33 [INFO] [stderr] | [INFO] [stderr] 31 | for movement in input.split(",") { [INFO] [stderr] | ^^^ help: try using a char instead: `','` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/bin/day1.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | history.insert(position.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `position` [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: single-character string constant used as pattern [INFO] [stderr] --> src/bin/day1.rs:31:33 [INFO] [stderr] | [INFO] [stderr] 31 | for movement in input.split(",") { [INFO] [stderr] | ^^^ help: try using a char instead: `','` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.95s [INFO] running `"docker" "inspect" "a2172dcbcd7475511d19322184a1d0131b95939eee57af7fb9f7d9a7c87614e3"` [INFO] running `"docker" "rm" "-f" "a2172dcbcd7475511d19322184a1d0131b95939eee57af7fb9f7d9a7c87614e3"` [INFO] [stdout] a2172dcbcd7475511d19322184a1d0131b95939eee57af7fb9f7d9a7c87614e3