[INFO] updating cached repository akatsuki-chan/tmux-ssh-pane [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/akatsuki-chan/tmux-ssh-pane [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/akatsuki-chan/tmux-ssh-pane" "work/ex/clippy-test-run/sources/stable/gh/akatsuki-chan/tmux-ssh-pane"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/akatsuki-chan/tmux-ssh-pane'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/akatsuki-chan/tmux-ssh-pane" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/akatsuki-chan/tmux-ssh-pane"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/akatsuki-chan/tmux-ssh-pane'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 17e6231077c1aea77b28ffab29d9551d4477e3d8 [INFO] sha for GitHub repo akatsuki-chan/tmux-ssh-pane: 17e6231077c1aea77b28ffab29d9551d4477e3d8 [INFO] validating manifest of akatsuki-chan/tmux-ssh-pane 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 akatsuki-chan/tmux-ssh-pane 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 akatsuki-chan/tmux-ssh-pane [INFO] finished frobbing akatsuki-chan/tmux-ssh-pane [INFO] frobbed toml for akatsuki-chan/tmux-ssh-pane written to work/ex/clippy-test-run/sources/stable/gh/akatsuki-chan/tmux-ssh-pane/Cargo.toml [INFO] started frobbing akatsuki-chan/tmux-ssh-pane [INFO] finished frobbing akatsuki-chan/tmux-ssh-pane [INFO] frobbed toml for akatsuki-chan/tmux-ssh-pane written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/akatsuki-chan/tmux-ssh-pane/Cargo.toml [INFO] crate akatsuki-chan/tmux-ssh-pane 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 akatsuki-chan/tmux-ssh-pane 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/akatsuki-chan/tmux-ssh-pane:/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] c582485c5bed53646c8b62a6eb8f24c45a5acbd930d52e203160fcc453e19c30 [INFO] running `"docker" "start" "-a" "c582485c5bed53646c8b62a6eb8f24c45a5acbd930d52e203160fcc453e19c30"` [INFO] [stderr] Checking nom v2.1.0 [INFO] [stderr] Checking errno v0.2.1 [INFO] [stderr] Checking liner v0.1.3 [INFO] [stderr] Checking tmux_ssh_pane v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | let path = std::env::home_dir() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | let path = std::env::home_dir() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error: using `clone` on a double-reference; this will copy the reference instead of cloning the inner type [INFO] [stderr] --> src/main.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = input.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::clone_double_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref [INFO] [stderr] help: try dereferencing it [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = &(*input).clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: or try being explicit about what type to clone [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = &str::clone(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/main.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | fn ssh_connect(hosts: &Vec<&str>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^ help: change this to: `&[&str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `tmux_ssh_pane`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: using `clone` on a double-reference; this will copy the reference instead of cloning the inner type [INFO] [stderr] --> src/main.rs:46:22 [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = input.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::clone_double_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_double_ref [INFO] [stderr] help: try dereferencing it [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = &(*input).clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: or try being explicit about what type to clone [INFO] [stderr] | [INFO] [stderr] 46 | let mut _input = &str::clone(input); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/main.rs:127:23 [INFO] [stderr] | [INFO] [stderr] 127 | fn ssh_connect(hosts: &Vec<&str>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^ help: change this to: `&[&str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `tmux_ssh_pane`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c582485c5bed53646c8b62a6eb8f24c45a5acbd930d52e203160fcc453e19c30"` [INFO] running `"docker" "rm" "-f" "c582485c5bed53646c8b62a6eb8f24c45a5acbd930d52e203160fcc453e19c30"` [INFO] [stdout] c582485c5bed53646c8b62a6eb8f24c45a5acbd930d52e203160fcc453e19c30