[INFO] updating cached repository dashed/tangerine-transactions-to-ledger [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dashed/tangerine-transactions-to-ledger [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dashed/tangerine-transactions-to-ledger" "work/ex/clippy-test-run/sources/stable/gh/dashed/tangerine-transactions-to-ledger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/dashed/tangerine-transactions-to-ledger'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dashed/tangerine-transactions-to-ledger" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dashed/tangerine-transactions-to-ledger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dashed/tangerine-transactions-to-ledger'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3b4ed2a9130b674acbcf3e2be21d909643e7e984 [INFO] sha for GitHub repo dashed/tangerine-transactions-to-ledger: 3b4ed2a9130b674acbcf3e2be21d909643e7e984 [INFO] validating manifest of dashed/tangerine-transactions-to-ledger 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 dashed/tangerine-transactions-to-ledger 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 dashed/tangerine-transactions-to-ledger [INFO] finished frobbing dashed/tangerine-transactions-to-ledger [INFO] frobbed toml for dashed/tangerine-transactions-to-ledger written to work/ex/clippy-test-run/sources/stable/gh/dashed/tangerine-transactions-to-ledger/Cargo.toml [INFO] started frobbing dashed/tangerine-transactions-to-ledger [INFO] finished frobbing dashed/tangerine-transactions-to-ledger [INFO] frobbed toml for dashed/tangerine-transactions-to-ledger written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dashed/tangerine-transactions-to-ledger/Cargo.toml [INFO] crate dashed/tangerine-transactions-to-ledger 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 dashed/tangerine-transactions-to-ledger 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/dashed/tangerine-transactions-to-ledger:/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] 79ea17134466cc9267ba0f00ea6236e198ebeaa3512f424c03504a0410434b52 [INFO] running `"docker" "start" "-a" "79ea17134466cc9267ba0f00ea6236e198ebeaa3512f424c03504a0410434b52"` [INFO] [stderr] Checking serde v1.0.23 [INFO] [stderr] Checking clap v2.28.0 [INFO] [stderr] Checking csv v1.0.0-beta.5 [INFO] [stderr] Checking tangerine-transactions-to-ledger 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/main.rs:130:24 [INFO] [stderr] | [INFO] [stderr] 130 | for transaction in transactions.get(range).unwrap() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `transactions[range]` [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/main.rs:130:24 [INFO] [stderr] | [INFO] [stderr] 130 | for transaction in transactions.get(range).unwrap() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `transactions[range]` [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] Finished dev [unoptimized + debuginfo] target(s) in 15.22s [INFO] running `"docker" "inspect" "79ea17134466cc9267ba0f00ea6236e198ebeaa3512f424c03504a0410434b52"` [INFO] running `"docker" "rm" "-f" "79ea17134466cc9267ba0f00ea6236e198ebeaa3512f424c03504a0410434b52"` [INFO] [stdout] 79ea17134466cc9267ba0f00ea6236e198ebeaa3512f424c03504a0410434b52