[INFO] updating cached repository Javagedes/RustPractice [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Javagedes/RustPractice [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Javagedes/RustPractice" "work/ex/clippy-test-run/sources/stable/gh/Javagedes/RustPractice"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Javagedes/RustPractice'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Javagedes/RustPractice" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Javagedes/RustPractice"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Javagedes/RustPractice'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ede3e3f50009176582a698f39df2948b16cb05bd [INFO] sha for GitHub repo Javagedes/RustPractice: ede3e3f50009176582a698f39df2948b16cb05bd [INFO] validating manifest of Javagedes/RustPractice 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 Javagedes/RustPractice 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 Javagedes/RustPractice [INFO] finished frobbing Javagedes/RustPractice [INFO] frobbed toml for Javagedes/RustPractice written to work/ex/clippy-test-run/sources/stable/gh/Javagedes/RustPractice/Cargo.toml [INFO] started frobbing Javagedes/RustPractice [INFO] finished frobbing Javagedes/RustPractice [INFO] frobbed toml for Javagedes/RustPractice written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Javagedes/RustPractice/Cargo.toml [INFO] crate Javagedes/RustPractice 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 Javagedes/RustPractice 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/Javagedes/RustPractice:/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] f019fed242bd076ab011abf16bd0841bff00374a88baa99673ee2e3d14965cf4 [INFO] running `"docker" "start" "-a" "f019fed242bd076ab011abf16bd0841bff00374a88baa99673ee2e3d14965cf4"` [INFO] [stderr] Checking guessing_game v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: this `if` has the same condition as a previous if [INFO] [stderr] --> src/main.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::ifs_same_cond)] on by default [INFO] [stderr] note: same as this [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ifs_same_cond [INFO] [stderr] [INFO] [stderr] error: equal expressions as operands to `==` [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::eq_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: equal expressions as operands to `==` [INFO] [stderr] --> src/main.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: this `if` has the same condition as a previous if [INFO] [stderr] --> src/main.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::ifs_same_cond)] on by default [INFO] [stderr] note: same as this [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ifs_same_cond [INFO] [stderr] [INFO] [stderr] error: equal expressions as operands to `==` [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::eq_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: equal expressions as operands to `==` [INFO] [stderr] --> src/main.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | let number = if 5==5 {5} else if 5 == 5 {7} else {6}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `guessing_game`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `guessing_game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f019fed242bd076ab011abf16bd0841bff00374a88baa99673ee2e3d14965cf4"` [INFO] running `"docker" "rm" "-f" "f019fed242bd076ab011abf16bd0841bff00374a88baa99673ee2e3d14965cf4"` [INFO] [stdout] f019fed242bd076ab011abf16bd0841bff00374a88baa99673ee2e3d14965cf4