[INFO] updating cached repository canaltinova/lock-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/canaltinova/lock-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/canaltinova/lock-rs" "work/ex/clippy-test-run/sources/stable/gh/canaltinova/lock-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/canaltinova/lock-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/canaltinova/lock-rs" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/canaltinova/lock-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/canaltinova/lock-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 95f56988526ac655f0b27411d5ee9cfc791750be [INFO] sha for GitHub repo canaltinova/lock-rs: 95f56988526ac655f0b27411d5ee9cfc791750be [INFO] validating manifest of canaltinova/lock-rs 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 canaltinova/lock-rs 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 canaltinova/lock-rs [INFO] finished frobbing canaltinova/lock-rs [INFO] frobbed toml for canaltinova/lock-rs written to work/ex/clippy-test-run/sources/stable/gh/canaltinova/lock-rs/Cargo.toml [INFO] started frobbing canaltinova/lock-rs [INFO] finished frobbing canaltinova/lock-rs [INFO] frobbed toml for canaltinova/lock-rs written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/canaltinova/lock-rs/Cargo.toml [INFO] crate canaltinova/lock-rs 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 canaltinova/lock-rs against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/canaltinova/lock-rs:/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] df5c802589f3c56fa19ba27c8b194ceb18ea591525e191f10c18d2689b84bf63 [INFO] running `"docker" "start" "-a" "df5c802589f3c56fa19ba27c8b194ceb18ea591525e191f10c18d2689b84bf63"` [INFO] [stderr] Compiling lock v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/linux.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / COMMANDS.iter().find(|command| { [INFO] [stderr] 15 | | Command::new("which") [INFO] [stderr] 16 | | .arg(command.0) [INFO] [stderr] 17 | | .output() [INFO] [stderr] 18 | | .expect("Failed to execute command") [INFO] [stderr] 19 | | .status.success() [INFO] [stderr] 20 | | }).map(|x| *x) [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] help: Consider calling the dedicated `cloned` method [INFO] [stderr] | [INFO] [stderr] 14 | COMMANDS.iter().find(|command| { [INFO] [stderr] 15 | Command::new("which") [INFO] [stderr] 16 | .arg(command.0) [INFO] [stderr] 17 | .output() [INFO] [stderr] 18 | .expect("Failed to execute command") [INFO] [stderr] 19 | .status.success() [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/linux.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / COMMANDS.iter().find(|command| { [INFO] [stderr] 15 | | Command::new("which") [INFO] [stderr] 16 | | .arg(command.0) [INFO] [stderr] 17 | | .output() [INFO] [stderr] 18 | | .expect("Failed to execute command") [INFO] [stderr] 19 | | .status.success() [INFO] [stderr] 20 | | }).map(|x| *x) [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] help: Consider calling the dedicated `cloned` method [INFO] [stderr] | [INFO] [stderr] 14 | COMMANDS.iter().find(|command| { [INFO] [stderr] 15 | Command::new("which") [INFO] [stderr] 16 | .arg(command.0) [INFO] [stderr] 17 | .output() [INFO] [stderr] 18 | .expect("Failed to execute command") [INFO] [stderr] 19 | .status.success() [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `"docker" "inspect" "df5c802589f3c56fa19ba27c8b194ceb18ea591525e191f10c18d2689b84bf63"` [INFO] running `"docker" "rm" "-f" "df5c802589f3c56fa19ba27c8b194ceb18ea591525e191f10c18d2689b84bf63"` [INFO] [stdout] df5c802589f3c56fa19ba27c8b194ceb18ea591525e191f10c18d2689b84bf63