[INFO] updating cached repository wehjin/ssltouch [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/wehjin/ssltouch [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/wehjin/ssltouch" "work/ex/clippy-test-run/sources/stable/gh/wehjin/ssltouch"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/wehjin/ssltouch'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/wehjin/ssltouch" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/wehjin/ssltouch"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/wehjin/ssltouch'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5611ab9e5d038f53d38b34346cc1ee8873a343fa [INFO] sha for GitHub repo wehjin/ssltouch: 5611ab9e5d038f53d38b34346cc1ee8873a343fa [INFO] validating manifest of wehjin/ssltouch 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 wehjin/ssltouch 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 wehjin/ssltouch [INFO] finished frobbing wehjin/ssltouch [INFO] frobbed toml for wehjin/ssltouch written to work/ex/clippy-test-run/sources/stable/gh/wehjin/ssltouch/Cargo.toml [INFO] started frobbing wehjin/ssltouch [INFO] finished frobbing wehjin/ssltouch [INFO] frobbed toml for wehjin/ssltouch written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/wehjin/ssltouch/Cargo.toml [INFO] crate wehjin/ssltouch 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 wehjin/ssltouch 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-7/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/wehjin/ssltouch:/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] 57ca94e1cf72d6c0a55f48e6ef4ec6e54fd733923d04010fc2275e00e20d32fa [INFO] running `"docker" "start" "-a" "57ca94e1cf72d6c0a55f48e6ef4ec6e54fd733923d04010fc2275e00e20d32fa"` [INFO] [stderr] Checking subprocess v0.1.12 [INFO] [stderr] Checking ssltouch v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / match run() { [INFO] [stderr] 9 | | Err(e) => eprintln!("ERROR: {:?}", e), [INFO] [stderr] 10 | | _ => {} [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ help: try this: `if let Err(e) = run() { eprintln!("ERROR: {:?}", e) }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: useless use of `vec!` [INFO] [stderr] --> src/main.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | .args(&vec!["s_client", "-msg", "-connect", server.as_str()]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&["s_client", "-msg", "-connect", server.as_str()]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_vec)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | / match run() { [INFO] [stderr] 9 | | Err(e) => eprintln!("ERROR: {:?}", e), [INFO] [stderr] 10 | | _ => {} [INFO] [stderr] 11 | | } [INFO] [stderr] | |_____^ help: try this: `if let Err(e) = run() { eprintln!("ERROR: {:?}", e) }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] warning: useless use of `vec!` [INFO] [stderr] --> src/main.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | .args(&vec!["s_client", "-msg", "-connect", server.as_str()]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&["s_client", "-msg", "-connect", server.as_str()]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_vec)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `"docker" "inspect" "57ca94e1cf72d6c0a55f48e6ef4ec6e54fd733923d04010fc2275e00e20d32fa"` [INFO] running `"docker" "rm" "-f" "57ca94e1cf72d6c0a55f48e6ef4ec6e54fd733923d04010fc2275e00e20d32fa"` [INFO] [stdout] 57ca94e1cf72d6c0a55f48e6ef4ec6e54fd733923d04010fc2275e00e20d32fa