[INFO] crate unicode_graph 0.9.11 is already in cache [INFO] extracting crate unicode_graph 0.9.11 into work/ex/clippy-test-run/sources/stable/reg/unicode_graph/0.9.11 [INFO] extracting crate unicode_graph 0.9.11 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/unicode_graph/0.9.11 [INFO] validating manifest of unicode_graph-0.9.11 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 unicode_graph-0.9.11 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 unicode_graph-0.9.11 [INFO] finished frobbing unicode_graph-0.9.11 [INFO] frobbed toml for unicode_graph-0.9.11 written to work/ex/clippy-test-run/sources/stable/reg/unicode_graph/0.9.11/Cargo.toml [INFO] started frobbing unicode_graph-0.9.11 [INFO] finished frobbing unicode_graph-0.9.11 [INFO] frobbed toml for unicode_graph-0.9.11 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/unicode_graph/0.9.11/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 unicode_graph-0.9.11 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-2/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/reg/unicode_graph/0.9.11:/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] 19a31dd2cbfbf5843c8f3413560d8bf3e3840393d7a0e3c55c0ac10f3bef1ba3 [INFO] running `"docker" "start" "-a" "19a31dd2cbfbf5843c8f3413560d8bf3e3840393d7a0e3c55c0ac10f3bef1ba3"` [INFO] [stderr] Checking unicode_graph v0.9.11 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/braille.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | const CHAR: [&'static [&'static [u32]]; 4] = [INFO] [stderr] | -^^^^^^^----------------- help: consider removing `'static`: `&[&'static [u32]]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/braille.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | const CHAR: [&'static [&'static [u32]]; 4] = [INFO] [stderr] | -^^^^^^^------ help: consider removing `'static`: `&[u32]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/braille.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | const CHAR: [&'static [&'static [u32]]; 4] = [INFO] [stderr] | -^^^^^^^----------------- help: consider removing `'static`: `&[&'static [u32]]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/braille.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | const CHAR: [&'static [&'static [u32]]; 4] = [INFO] [stderr] | -^^^^^^^------ help: consider removing `'static`: `&[u32]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: the loop variable `line` is used to index `output` [INFO] [stderr] --> src/braille.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | for line in 0..lines { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 36 | for (line, ) in output.iter_mut().enumerate().take(lines) { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `line` is only used to index `output`. [INFO] [stderr] --> src/braille.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | for line in 0..lines { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 70 | for in output.iter_mut().take(lines) { [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `line` is used to index `output` [INFO] [stderr] --> src/braille.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | for line in 0..lines { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 36 | for (line, ) in output.iter_mut().enumerate().take(lines) { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `line` is only used to index `output`. [INFO] [stderr] --> src/braille.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | for line in 0..lines { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 70 | for in output.iter_mut().take(lines) { [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/graph.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | const VERSION: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/graph.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | const VERSION: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `"docker" "inspect" "19a31dd2cbfbf5843c8f3413560d8bf3e3840393d7a0e3c55c0ac10f3bef1ba3"` [INFO] running `"docker" "rm" "-f" "19a31dd2cbfbf5843c8f3413560d8bf3e3840393d7a0e3c55c0ac10f3bef1ba3"` [INFO] [stdout] 19a31dd2cbfbf5843c8f3413560d8bf3e3840393d7a0e3c55c0ac10f3bef1ba3