[INFO] crate ebcdic 0.1.2 is already in cache [INFO] extracting crate ebcdic 0.1.2 into work/ex/clippy-test-run/sources/stable/reg/ebcdic/0.1.2 [INFO] extracting crate ebcdic 0.1.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ebcdic/0.1.2 [INFO] validating manifest of ebcdic-0.1.2 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 ebcdic-0.1.2 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 ebcdic-0.1.2 [INFO] finished frobbing ebcdic-0.1.2 [INFO] frobbed toml for ebcdic-0.1.2 written to work/ex/clippy-test-run/sources/stable/reg/ebcdic/0.1.2/Cargo.toml [INFO] started frobbing ebcdic-0.1.2 [INFO] finished frobbing ebcdic-0.1.2 [INFO] frobbed toml for ebcdic-0.1.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ebcdic/0.1.2/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 ebcdic-0.1.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ebcdic/0.1.2:/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] ae914651f8a46d20e816365b8f24deff72f8241858cd47c8cc42135db8d3e439 [INFO] running `"docker" "start" "-a" "ae914651f8a46d20e816365b8f24deff72f8241858cd47c8cc42135db8d3e439"` [INFO] [stderr] Checking ebcdic v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/ebcdic.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | const EBCDIC2ASCII: &'static [u8; 256] = &[ [INFO] [stderr] | -^^^^^^^---------- help: consider removing `'static`: `&[u8; 256]` [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/ebcdic.rs:270:22 [INFO] [stderr] | [INFO] [stderr] 270 | const ASCII2EBCDIC: &'static [u8; 256] = &[ [INFO] [stderr] | -^^^^^^^---------- help: consider removing `'static`: `&[u8; 256]` [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/ebcdic.rs:530:36 [INFO] [stderr] | [INFO] [stderr] 530 | const NON_PRINTABLE_EBCDIC_CHARS: &'static [u8; 66] = &[ [INFO] [stderr] | -^^^^^^^--------- help: consider removing `'static`: `&[u8; 66]` [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: called `is_some()` after searching an `Iterator` with position. This is more succinctly expressed by calling `any()`. [INFO] [stderr] --> src/ebcdic.rs:632:24 [INFO] [stderr] | [INFO] [stderr] 632 | / NON_PRINTABLE_EBCDIC_CHARS [INFO] [stderr] 633 | | .iter() [INFO] [stderr] 634 | | .position(|&x| x == b) [INFO] [stderr] 635 | | .is_some() [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::search_is_some)] on by default [INFO] [stderr] = note: replace `position(|&x| x == b).is_some()` with `any(|&x| x == b)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/ebcdic.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | const EBCDIC2ASCII: &'static [u8; 256] = &[ [INFO] [stderr] | -^^^^^^^---------- help: consider removing `'static`: `&[u8; 256]` [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/ebcdic.rs:270:22 [INFO] [stderr] | [INFO] [stderr] 270 | const ASCII2EBCDIC: &'static [u8; 256] = &[ [INFO] [stderr] | -^^^^^^^---------- help: consider removing `'static`: `&[u8; 256]` [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/ebcdic.rs:530:36 [INFO] [stderr] | [INFO] [stderr] 530 | const NON_PRINTABLE_EBCDIC_CHARS: &'static [u8; 66] = &[ [INFO] [stderr] | -^^^^^^^--------- help: consider removing `'static`: `&[u8; 66]` [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: called `is_some()` after searching an `Iterator` with position. This is more succinctly expressed by calling `any()`. [INFO] [stderr] --> src/ebcdic.rs:632:24 [INFO] [stderr] | [INFO] [stderr] 632 | / NON_PRINTABLE_EBCDIC_CHARS [INFO] [stderr] 633 | | .iter() [INFO] [stderr] 634 | | .position(|&x| x == b) [INFO] [stderr] 635 | | .is_some() [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::search_is_some)] on by default [INFO] [stderr] = note: replace `position(|&x| x == b).is_some()` with `any(|&x| x == b)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#search_is_some [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `"docker" "inspect" "ae914651f8a46d20e816365b8f24deff72f8241858cd47c8cc42135db8d3e439"` [INFO] running `"docker" "rm" "-f" "ae914651f8a46d20e816365b8f24deff72f8241858cd47c8cc42135db8d3e439"` [INFO] [stdout] ae914651f8a46d20e816365b8f24deff72f8241858cd47c8cc42135db8d3e439