[INFO] updating cached repository yoshuawuyts/repro-or-else [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/yoshuawuyts/repro-or-else [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/yoshuawuyts/repro-or-else" "work/ex/clippy-test-run/sources/stable/gh/yoshuawuyts/repro-or-else"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/yoshuawuyts/repro-or-else'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/yoshuawuyts/repro-or-else" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/yoshuawuyts/repro-or-else"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/yoshuawuyts/repro-or-else'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c06b2fde1d36cb16093a356beaeb9ec86cc21e85 [INFO] sha for GitHub repo yoshuawuyts/repro-or-else: c06b2fde1d36cb16093a356beaeb9ec86cc21e85 [INFO] validating manifest of yoshuawuyts/repro-or-else 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 yoshuawuyts/repro-or-else 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 yoshuawuyts/repro-or-else [INFO] finished frobbing yoshuawuyts/repro-or-else [INFO] frobbed toml for yoshuawuyts/repro-or-else written to work/ex/clippy-test-run/sources/stable/gh/yoshuawuyts/repro-or-else/Cargo.toml [INFO] started frobbing yoshuawuyts/repro-or-else [INFO] finished frobbing yoshuawuyts/repro-or-else [INFO] frobbed toml for yoshuawuyts/repro-or-else written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/yoshuawuyts/repro-or-else/Cargo.toml [INFO] crate yoshuawuyts/repro-or-else 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 yoshuawuyts/repro-or-else against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/yoshuawuyts/repro-or-else:/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 -Dclippy::into_iter_on_array" "-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] a22327ab486cfee7a3df4f13f8684f4d3dc7f1dd9c2124b2f86b717ef87e757b [INFO] running `"docker" "start" "-a" "a22327ab486cfee7a3df4f13f8684f4d3dc7f1dd9c2124b2f86b717ef87e757b"` [INFO] [stderr] Checking repro-or-else v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:5:81 [INFO] [stderr] | [INFO] [stderr] 5 | let res: Result>> = cache_get1().ok_or_else(|| db_get()); [INFO] [stderr] | ^^^^^^^^^^^ help: remove closure as shown: `db_get` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:10:81 [INFO] [stderr] | [INFO] [stderr] 10 | let res: Result>> = cache_get2().ok_or_else(|| db_get()); [INFO] [stderr] | ^^^^^^^^^^^ help: remove closure as shown: `db_get` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:5:81 [INFO] [stderr] | [INFO] [stderr] 5 | let res: Result>> = cache_get1().ok_or_else(|| db_get()); [INFO] [stderr] | ^^^^^^^^^^^ help: remove closure as shown: `db_get` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/main.rs:10:81 [INFO] [stderr] | [INFO] [stderr] 10 | let res: Result>> = cache_get2().ok_or_else(|| db_get()); [INFO] [stderr] | ^^^^^^^^^^^ help: remove closure as shown: `db_get` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `"docker" "inspect" "a22327ab486cfee7a3df4f13f8684f4d3dc7f1dd9c2124b2f86b717ef87e757b"` [INFO] running `"docker" "rm" "-f" "a22327ab486cfee7a3df4f13f8684f4d3dc7f1dd9c2124b2f86b717ef87e757b"` [INFO] [stdout] a22327ab486cfee7a3df4f13f8684f4d3dc7f1dd9c2124b2f86b717ef87e757b