[INFO] updating cached repository hone/lotr-octgn [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hone/lotr-octgn [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hone/lotr-octgn" "work/ex/clippy-test-run/sources/stable/gh/hone/lotr-octgn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/hone/lotr-octgn'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hone/lotr-octgn" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hone/lotr-octgn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hone/lotr-octgn'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bddb3ddbfa2a32598271932ba17594a7abbc0657 [INFO] sha for GitHub repo hone/lotr-octgn: bddb3ddbfa2a32598271932ba17594a7abbc0657 [INFO] validating manifest of hone/lotr-octgn 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 hone/lotr-octgn 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 hone/lotr-octgn [INFO] finished frobbing hone/lotr-octgn [INFO] frobbed toml for hone/lotr-octgn written to work/ex/clippy-test-run/sources/stable/gh/hone/lotr-octgn/Cargo.toml [INFO] started frobbing hone/lotr-octgn [INFO] finished frobbing hone/lotr-octgn [INFO] frobbed toml for hone/lotr-octgn written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hone/lotr-octgn/Cargo.toml [INFO] crate hone/lotr-octgn 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 hone/lotr-octgn against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/hone/lotr-octgn:/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] df6b87ed86fd9f619240dbbaeaba02da547b603a5d3cf0646249c004b6a1ae36 [INFO] running `"docker" "start" "-a" "df6b87ed86fd9f619240dbbaeaba02da547b603a5d3cf0646249c004b6a1ae36"` [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fs_extra v1.1.0 [INFO] [stderr] Checking roxmltree v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking clicolors-control v0.3.1 [INFO] [stderr] Checking curl-sys v0.4.15 [INFO] [stderr] Checking libssh2-sys v0.2.11 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Checking regex v1.0.6 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking libgit2-sys v0.7.10 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking git2 v0.7.5 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking console v0.7.1 [INFO] [stderr] Checking mockito v0.14.0 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking indicatif v0.10.3 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking hyper v0.12.13 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.4 [INFO] [stderr] Checking docopt v1.0.2 [INFO] [stderr] Checking lotr-octgn v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/octgn.rs:317:20 [INFO] [stderr] | [INFO] [stderr] 317 | let card = set.cards.get(0).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&set.cards[0]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::get_unwrap)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/lib.rs:255:20 [INFO] [stderr] | [INFO] [stderr] 255 | let card = card_downloads.get(0).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&card_downloads[0]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/lib.rs:274:20 [INFO] [stderr] | [INFO] [stderr] 274 | let card = card_downloads.get(0).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&card_downloads[0]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/lib.rs:293:20 [INFO] [stderr] | [INFO] [stderr] 293 | let card = card_downloads.get(0).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&card_downloads[0]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/lib.rs:315:20 [INFO] [stderr] | [INFO] [stderr] 315 | let card = card_downloads.get(0).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&card_downloads[0]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a Vec. Using `[]` is more clear and more concise [INFO] [stderr] --> src/lib.rs:431:24 [INFO] [stderr] | [INFO] [stderr] 431 | assert_eq!(card_sets.get(index).unwrap().name, name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `card_sets[index]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.76s [INFO] running `"docker" "inspect" "df6b87ed86fd9f619240dbbaeaba02da547b603a5d3cf0646249c004b6a1ae36"` [INFO] running `"docker" "rm" "-f" "df6b87ed86fd9f619240dbbaeaba02da547b603a5d3cf0646249c004b6a1ae36"` [INFO] [stdout] df6b87ed86fd9f619240dbbaeaba02da547b603a5d3cf0646249c004b6a1ae36