[INFO] updating cached repository AmaranthineCodices/rodep [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/AmaranthineCodices/rodep [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/AmaranthineCodices/rodep" "work/ex/clippy-test-run/sources/stable/gh/AmaranthineCodices/rodep"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/AmaranthineCodices/rodep'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/AmaranthineCodices/rodep" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AmaranthineCodices/rodep"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AmaranthineCodices/rodep'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fc2dfea975ef1f4d75552469ad07fa521039a70e [INFO] sha for GitHub repo AmaranthineCodices/rodep: fc2dfea975ef1f4d75552469ad07fa521039a70e [INFO] validating manifest of AmaranthineCodices/rodep 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 AmaranthineCodices/rodep 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 AmaranthineCodices/rodep [INFO] finished frobbing AmaranthineCodices/rodep [INFO] frobbed toml for AmaranthineCodices/rodep written to work/ex/clippy-test-run/sources/stable/gh/AmaranthineCodices/rodep/Cargo.toml [INFO] started frobbing AmaranthineCodices/rodep [INFO] finished frobbing AmaranthineCodices/rodep [INFO] frobbed toml for AmaranthineCodices/rodep written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AmaranthineCodices/rodep/Cargo.toml [INFO] crate AmaranthineCodices/rodep 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 AmaranthineCodices/rodep 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/AmaranthineCodices/rodep:/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] 92605a9019776b667020ff5af1f7d5433d82693d68aa402b7bffd31edb9e539e [INFO] running `"docker" "start" "-a" "92605a9019776b667020ff5af1f7d5433d82693d68aa402b7bffd31edb9e539e"` [INFO] [stderr] Compiling libssh2-sys v0.2.6 [INFO] [stderr] Compiling libgit2-sys v0.7.1 [INFO] [stderr] Compiling curl-sys v0.4.1 [INFO] [stderr] Checking git2 v0.7.1 [INFO] [stderr] Checking rodep v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/main.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | if let Err(_) = Repository::open(&cwd) { [INFO] [stderr] | _________- ^^^^^^ [INFO] [stderr] 185 | | match Repository::init(&cwd) { [INFO] [stderr] 186 | | Ok(_) => println!("initialized Git repository"), [INFO] [stderr] 187 | | Err(err) => println!("unable to initialize Git repository: {:?}", err), [INFO] [stderr] 188 | | } [INFO] [stderr] 189 | | } [INFO] [stderr] | |_________- help: try this: `if Repository::open(&cwd).is_err()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/main.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | if let Err(_) = Repository::open(&cwd) { [INFO] [stderr] | _________- ^^^^^^ [INFO] [stderr] 185 | | match Repository::init(&cwd) { [INFO] [stderr] 186 | | Ok(_) => println!("initialized Git repository"), [INFO] [stderr] 187 | | Err(err) => println!("unable to initialize Git repository: {:?}", err), [INFO] [stderr] 188 | | } [INFO] [stderr] 189 | | } [INFO] [stderr] | |_________- help: try this: `if Repository::open(&cwd).is_err()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 47s [INFO] running `"docker" "inspect" "92605a9019776b667020ff5af1f7d5433d82693d68aa402b7bffd31edb9e539e"` [INFO] running `"docker" "rm" "-f" "92605a9019776b667020ff5af1f7d5433d82693d68aa402b7bffd31edb9e539e"` [INFO] [stdout] 92605a9019776b667020ff5af1f7d5433d82693d68aa402b7bffd31edb9e539e