[INFO] updating cached repository AlexisVisco/Kill-svchost.exe [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/AlexisVisco/Kill-svchost.exe [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/AlexisVisco/Kill-svchost.exe" "work/ex/clippy-test-run/sources/stable/gh/AlexisVisco/Kill-svchost.exe"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/AlexisVisco/Kill-svchost.exe'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/AlexisVisco/Kill-svchost.exe" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AlexisVisco/Kill-svchost.exe"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AlexisVisco/Kill-svchost.exe'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 74f4bd982dc590f5dc88c9e5100656362fc9f354 [INFO] sha for GitHub repo AlexisVisco/Kill-svchost.exe: 74f4bd982dc590f5dc88c9e5100656362fc9f354 [INFO] validating manifest of AlexisVisco/Kill-svchost.exe 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 AlexisVisco/Kill-svchost.exe 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 AlexisVisco/Kill-svchost.exe [INFO] finished frobbing AlexisVisco/Kill-svchost.exe [INFO] frobbed toml for AlexisVisco/Kill-svchost.exe written to work/ex/clippy-test-run/sources/stable/gh/AlexisVisco/Kill-svchost.exe/Cargo.toml [INFO] started frobbing AlexisVisco/Kill-svchost.exe [INFO] finished frobbing AlexisVisco/Kill-svchost.exe [INFO] frobbed toml for AlexisVisco/Kill-svchost.exe written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/AlexisVisco/Kill-svchost.exe/Cargo.toml [INFO] crate AlexisVisco/Kill-svchost.exe has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting AlexisVisco/Kill-svchost.exe 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-3/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/AlexisVisco/Kill-svchost.exe:/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] 615b80bfc5571699735bdb34108da9d56a92f8de99741f7466b967440dbe78a6 [INFO] running `"docker" "start" "-a" "615b80bfc5571699735bdb34108da9d56a92f8de99741f7466b967440dbe78a6"` [INFO] [stderr] Checking schedule_recv v0.1.0 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking ksv v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | / for cap in re.captures_iter(line) { [INFO] [stderr] 24 | | return Some(String::from(&cap[1])) [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::never_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/main.rs:70:45 [INFO] [stderr] | [INFO] [stderr] 70 | let splitted: Vec<&str> = out.split("\n").collect(); [INFO] [stderr] | ^^^^ help: try using a char instead: `'\n'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [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:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | / match get_pid(splitted.clone(), i) { [INFO] [stderr] 76 | | Some(pid) => { [INFO] [stderr] 77 | | new_set.insert(pid); [INFO] [stderr] 78 | | }, [INFO] [stderr] 79 | | None => {}, [INFO] [stderr] 80 | | } [INFO] [stderr] | |_________________^ [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] help: try this [INFO] [stderr] | [INFO] [stderr] 75 | if let Some(pid) = get_pid(splitted.clone(), i) { [INFO] [stderr] 76 | new_set.insert(pid); [INFO] [stderr] 77 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ksv`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: this loop never actually loops [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | / for cap in re.captures_iter(line) { [INFO] [stderr] 24 | | return Some(String::from(&cap[1])) [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::never_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/main.rs:70:45 [INFO] [stderr] | [INFO] [stderr] 70 | let splitted: Vec<&str> = out.split("\n").collect(); [INFO] [stderr] | ^^^^ help: try using a char instead: `'\n'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [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:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | / match get_pid(splitted.clone(), i) { [INFO] [stderr] 76 | | Some(pid) => { [INFO] [stderr] 77 | | new_set.insert(pid); [INFO] [stderr] 78 | | }, [INFO] [stderr] 79 | | None => {}, [INFO] [stderr] 80 | | } [INFO] [stderr] | |_________________^ [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] help: try this [INFO] [stderr] | [INFO] [stderr] 75 | if let Some(pid) = get_pid(splitted.clone(), i) { [INFO] [stderr] 76 | new_set.insert(pid); [INFO] [stderr] 77 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ksv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "615b80bfc5571699735bdb34108da9d56a92f8de99741f7466b967440dbe78a6"` [INFO] running `"docker" "rm" "-f" "615b80bfc5571699735bdb34108da9d56a92f8de99741f7466b967440dbe78a6"` [INFO] [stdout] 615b80bfc5571699735bdb34108da9d56a92f8de99741f7466b967440dbe78a6