[INFO] updating cached repository Velfi/failure-fern-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Velfi/failure-fern-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Velfi/failure-fern-example" "work/ex/clippy-test-run/sources/stable/gh/Velfi/failure-fern-example"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Velfi/failure-fern-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Velfi/failure-fern-example" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Velfi/failure-fern-example"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Velfi/failure-fern-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4178a1418c6ca75b0c6b00876303d84233ee0811 [INFO] sha for GitHub repo Velfi/failure-fern-example: 4178a1418c6ca75b0c6b00876303d84233ee0811 [INFO] validating manifest of Velfi/failure-fern-example 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 Velfi/failure-fern-example 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 Velfi/failure-fern-example [INFO] finished frobbing Velfi/failure-fern-example [INFO] frobbed toml for Velfi/failure-fern-example written to work/ex/clippy-test-run/sources/stable/gh/Velfi/failure-fern-example/Cargo.toml [INFO] started frobbing Velfi/failure-fern-example [INFO] finished frobbing Velfi/failure-fern-example [INFO] frobbed toml for Velfi/failure-fern-example written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Velfi/failure-fern-example/Cargo.toml [INFO] crate Velfi/failure-fern-example 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 Velfi/failure-fern-example against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Velfi/failure-fern-example:/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] 196bffff39ceee0705baacd823487272ceaff391ed309b5e5aaed52772356ae5 [INFO] running `"docker" "start" "-a" "196bffff39ceee0705baacd823487272ceaff391ed309b5e5aaed52772356ae5"` [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking failure-learn v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant pattern matching, consider using `is_ok()` [INFO] [stderr] --> src/main.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | if let Ok(_) = setup_logger() { [INFO] [stderr] | _____- ^^^^^ [INFO] [stderr] 16 | | debug!("Logging active."); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____- help: try this: `if setup_logger().is_ok()` [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_ok()` [INFO] [stderr] --> src/main.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | if let Ok(_) = setup_logger() { [INFO] [stderr] | _____- ^^^^^ [INFO] [stderr] 16 | | debug!("Logging active."); [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____- help: try this: `if setup_logger().is_ok()` [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 19.67s [INFO] running `"docker" "inspect" "196bffff39ceee0705baacd823487272ceaff391ed309b5e5aaed52772356ae5"` [INFO] running `"docker" "rm" "-f" "196bffff39ceee0705baacd823487272ceaff391ed309b5e5aaed52772356ae5"` [INFO] [stdout] 196bffff39ceee0705baacd823487272ceaff391ed309b5e5aaed52772356ae5