[INFO] updating cached repository utam0k/mican [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/utam0k/mican [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/utam0k/mican" "work/ex/clippy-test-run/sources/stable/gh/utam0k/mican"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/utam0k/mican'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/utam0k/mican" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/utam0k/mican"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/utam0k/mican'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 474edd5b7ef094691204a0788ea08e952627fc60 [INFO] sha for GitHub repo utam0k/mican: 474edd5b7ef094691204a0788ea08e952627fc60 [INFO] validating manifest of utam0k/mican 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 utam0k/mican 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 utam0k/mican [INFO] finished frobbing utam0k/mican [INFO] frobbed toml for utam0k/mican written to work/ex/clippy-test-run/sources/stable/gh/utam0k/mican/Cargo.toml [INFO] started frobbing utam0k/mican [INFO] finished frobbing utam0k/mican [INFO] frobbed toml for utam0k/mican written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/utam0k/mican/Cargo.toml [INFO] crate utam0k/mican 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 utam0k/mican against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/utam0k/mican:/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] aea3bca00c0856649bc5def3249515da8ae2e4737fb2400658797590cf7f4b38 [INFO] running `"docker" "start" "-a" "aea3bca00c0856649bc5def3249515da8ae2e4737fb2400658797590cf7f4b38"` [INFO] [stderr] Checking mican v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/reader.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_sign_loss` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:18:44 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg_attr(feature = "cargo-clippy", allow(cast_sign_loss))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::cast_sign_loss` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_wrap` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_wrap, cast_possible_truncation))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_wrap` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_truncation` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:35:64 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_wrap, cast_possible_truncation))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_truncation` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/cd.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/tanakh.rs:8:44 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/syar.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/reader.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [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/commands/cd.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | env::set_current_dir(&env::home_dir().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/reader.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_sign_loss` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:18:44 [INFO] [stderr] | [INFO] [stderr] 18 | #[cfg_attr(feature = "cargo-clippy", allow(cast_sign_loss))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::cast_sign_loss` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_wrap` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_wrap, cast_possible_truncation))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_wrap` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_possible_truncation` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/signal.rs:35:64 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(feature = "cargo-clippy", allow(cast_possible_wrap, cast_possible_truncation))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_possible_truncation` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/cd.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/tanakh.rs:8:44 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `non_ascii_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/commands/syar.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(feature = "cargo-clippy", allow(non_ascii_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::non_ascii_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/readline/reader.rs:124:44 [INFO] [stderr] | [INFO] [stderr] 124 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [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/commands/cd.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | env::set_current_dir(&env::home_dir().unwrap()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/readline/completer.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | Some(pos) => (Some(&path[..pos + 1]), &path[pos + 1..]), [INFO] [stderr] | ^^^^^^^^^ help: use: `..=pos` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/readline/completer.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | Some(pos) => (Some(&path[..pos + 1]), &path[pos + 1..]), [INFO] [stderr] | ^^^^^^^^^ help: use: `..=pos` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `"docker" "inspect" "aea3bca00c0856649bc5def3249515da8ae2e4737fb2400658797590cf7f4b38"` [INFO] running `"docker" "rm" "-f" "aea3bca00c0856649bc5def3249515da8ae2e4737fb2400658797590cf7f4b38"` [INFO] [stdout] aea3bca00c0856649bc5def3249515da8ae2e4737fb2400658797590cf7f4b38