[INFO] updating cached repository TimNN/cyk [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/TimNN/cyk [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/TimNN/cyk" "work/ex/clippy-test-run/sources/stable/gh/TimNN/cyk"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/TimNN/cyk'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/TimNN/cyk" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/TimNN/cyk"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/TimNN/cyk'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7569c4dc6a341b6acba815d456c7cb4437d8fc40 [INFO] sha for GitHub repo TimNN/cyk: 7569c4dc6a341b6acba815d456c7cb4437d8fc40 [INFO] validating manifest of TimNN/cyk 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 TimNN/cyk 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 TimNN/cyk [INFO] finished frobbing TimNN/cyk [INFO] frobbed toml for TimNN/cyk written to work/ex/clippy-test-run/sources/stable/gh/TimNN/cyk/Cargo.toml [INFO] started frobbing TimNN/cyk [INFO] finished frobbing TimNN/cyk [INFO] frobbed toml for TimNN/cyk written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/TimNN/cyk/Cargo.toml [INFO] crate TimNN/cyk 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 TimNN/cyk 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/TimNN/cyk:/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] f4fd3ffc1165c0a966fd90b8cf9164c122f12de3fcf1736016fd668ca5c1152c [INFO] running `"docker" "start" "-a" "f4fd3ffc1165c0a966fd90b8cf9164c122f12de3fcf1736016fd668ca5c1152c"` [INFO] [stderr] Checking cyk v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | if let None = start { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 40 | | start = Some(rule) [INFO] [stderr] 41 | | } [INFO] [stderr] | |_________- help: try this: `if start.is_none()` [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: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | for l in 2 .. n + 1 { [INFO] [stderr] | ^^^^^^^^^^ help: use: `2..=n` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:88:22 [INFO] [stderr] | [INFO] [stderr] 88 | for k in 0 .. (n - l + 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use: `0..=n - l` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | if let None = start { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 40 | | start = Some(rule) [INFO] [stderr] 41 | | } [INFO] [stderr] | |_________- help: try this: `if start.is_none()` [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: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:87:18 [INFO] [stderr] | [INFO] [stderr] 87 | for l in 2 .. n + 1 { [INFO] [stderr] | ^^^^^^^^^^ help: use: `2..=n` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:88:22 [INFO] [stderr] | [INFO] [stderr] 88 | for k in 0 .. (n - l + 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use: `0..=n - l` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `"docker" "inspect" "f4fd3ffc1165c0a966fd90b8cf9164c122f12de3fcf1736016fd668ca5c1152c"` [INFO] running `"docker" "rm" "-f" "f4fd3ffc1165c0a966fd90b8cf9164c122f12de3fcf1736016fd668ca5c1152c"` [INFO] [stdout] f4fd3ffc1165c0a966fd90b8cf9164c122f12de3fcf1736016fd668ca5c1152c