[INFO] updating cached repository krig/rust-meetup [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/krig/rust-meetup [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/krig/rust-meetup" "work/ex/clippy-test-run/sources/stable/gh/krig/rust-meetup"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/krig/rust-meetup'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/krig/rust-meetup" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/krig/rust-meetup"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/krig/rust-meetup'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e899237d3b392849e44acccffd70a9c9afe648c5 [INFO] sha for GitHub repo krig/rust-meetup: e899237d3b392849e44acccffd70a9c9afe648c5 [INFO] validating manifest of krig/rust-meetup 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 krig/rust-meetup 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 krig/rust-meetup [INFO] finished frobbing krig/rust-meetup [INFO] frobbed toml for krig/rust-meetup written to work/ex/clippy-test-run/sources/stable/gh/krig/rust-meetup/Cargo.toml [INFO] started frobbing krig/rust-meetup [INFO] finished frobbing krig/rust-meetup [INFO] frobbed toml for krig/rust-meetup written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/krig/rust-meetup/Cargo.toml [INFO] crate krig/rust-meetup 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 krig/rust-meetup against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/krig/rust-meetup:/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] 70ebd9dd4c3c35cd231a37f4d1ce211cb744918ecbe0af2202f05c5c5bd4b043 [INFO] running `"docker" "start" "-a" "70ebd9dd4c3c35cd231a37f4d1ce211cb744918ecbe0af2202f05c5c5bd4b043"` [INFO] [stderr] Checking meetup v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/main.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | / macro_rules! eq { [INFO] [stderr] 40 | | ($a: expr, $b: expr) => { [INFO] [stderr] 41 | | if $a != $b { [INFO] [stderr] 42 | | panic!(concat!("Assertion failed: ", [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_macros)] on by default [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:63:16 [INFO] [stderr] | [INFO] [stderr] 63 | if let None = io::stdin().read_line(&mut buf).ok() { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 64 | | println!("Failed to read input"); [INFO] [stderr] 65 | | return [INFO] [stderr] 66 | | } [INFO] [stderr] | |_________- help: try this: `if io::stdin().read_line(&mut buf).ok().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: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:14:30 [INFO] [stderr] | [INFO] [stderr] 14 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `mul` [INFO] [stderr] --> src/main.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | roman_rec(s, 1 * mul); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_none()` [INFO] [stderr] --> src/main.rs:63:16 [INFO] [stderr] | [INFO] [stderr] 63 | if let None = io::stdin().read_line(&mut buf).ok() { [INFO] [stderr] | _________- ^^^^ [INFO] [stderr] 64 | | println!("Failed to read input"); [INFO] [stderr] 65 | | return [INFO] [stderr] 66 | | } [INFO] [stderr] | |_________- help: try this: `if io::stdin().read_line(&mut buf).ok().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] Finished dev [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `"docker" "inspect" "70ebd9dd4c3c35cd231a37f4d1ce211cb744918ecbe0af2202f05c5c5bd4b043"` [INFO] running `"docker" "rm" "-f" "70ebd9dd4c3c35cd231a37f4d1ce211cb744918ecbe0af2202f05c5c5bd4b043"` [INFO] [stdout] 70ebd9dd4c3c35cd231a37f4d1ce211cb744918ecbe0af2202f05c5c5bd4b043