[INFO] crate perplex-runtime 0.1.1 is already in cache [INFO] extracting crate perplex-runtime 0.1.1 into work/ex/clippy-test-run/sources/stable/reg/perplex-runtime/0.1.1 [INFO] extracting crate perplex-runtime 0.1.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/perplex-runtime/0.1.1 [INFO] validating manifest of perplex-runtime-0.1.1 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 perplex-runtime-0.1.1 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 perplex-runtime-0.1.1 [INFO] finished frobbing perplex-runtime-0.1.1 [INFO] frobbed toml for perplex-runtime-0.1.1 written to work/ex/clippy-test-run/sources/stable/reg/perplex-runtime/0.1.1/Cargo.toml [INFO] started frobbing perplex-runtime-0.1.1 [INFO] finished frobbing perplex-runtime-0.1.1 [INFO] frobbed toml for perplex-runtime-0.1.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/perplex-runtime/0.1.1/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 perplex-runtime-0.1.1 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-0/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/perplex-runtime/0.1.1:/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] 43b40d1938e1cddc1e337cd82c59650629144e71f35ea8f91e2073eead61935e [INFO] running `"docker" "start" "-a" "43b40d1938e1cddc1e337cd82c59650629144e71f35ea8f91e2073eead61935e"` [INFO] [stderr] Checking perplex-runtime v0.1.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | input: input, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `input` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | state_fn: state_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `state_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | goto_fn: goto_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `goto_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | state_fn: state_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `state_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | goto_fn: goto_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `goto_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | iter: iter, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | input: input, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `input` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | state_fn: state_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `state_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:183:13 [INFO] [stderr] | [INFO] [stderr] 183 | goto_fn: goto_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `goto_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | state_fn: state_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `state_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | goto_fn: goto_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `goto_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> lib.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | iter: iter, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `peek` which has no body [INFO] [stderr] --> lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 21 | | fn peek(&mut self) -> &Self::Terminal; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::inline_fn_without_body)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `shift` which has no body [INFO] [stderr] --> lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | | fn shift(&mut self, state_fn: fn(&mut Self), goto_fn: fn(&mut Self, Self::Nonterminal)); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `goto` which has no body [INFO] [stderr] --> lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | | fn goto( [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `reduce` which has no body [INFO] [stderr] --> lib.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | | fn reduce>) -> Self::Nonterminal>( [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> lib.rs:146:14 [INFO] [stderr] | [INFO] [stderr] 146 | .unwrap_or(S::root_state_fn()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(S::root_state_fn)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: defining a method called `from_iter` on this type; consider implementing the `std::iter::FromIterator` trait or choosing a less ambiguous name [INFO] [stderr] --> lib.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | / pub fn from_iter(input: I) -> ParserMachine, S> { [INFO] [stderr] 162 | | ParserMachine::new(IterInput::new(input)) [INFO] [stderr] 163 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::should_implement_trait)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> lib.rs:210:14 [INFO] [stderr] | [INFO] [stderr] 210 | .unwrap_or(S::root_goto_fn()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(S::root_goto_fn)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `peek` which has no body [INFO] [stderr] --> lib.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 227 | | fn peek(&mut self) -> &Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `next` which has no body [INFO] [stderr] --> lib.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 231 | | fn next(&mut self) -> Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `marker` which has no body [INFO] [stderr] --> lib.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 239 | | fn marker() -> Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `perplex-runtime`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: use of `#[inline]` on trait method `peek` which has no body [INFO] [stderr] --> lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 21 | | fn peek(&mut self) -> &Self::Terminal; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::inline_fn_without_body)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `shift` which has no body [INFO] [stderr] --> lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 27 | | fn shift(&mut self, state_fn: fn(&mut Self), goto_fn: fn(&mut Self, Self::Nonterminal)); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `goto` which has no body [INFO] [stderr] --> lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | | fn goto( [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `reduce` which has no body [INFO] [stderr] --> lib.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | | fn reduce>) -> Self::Nonterminal>( [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> lib.rs:146:14 [INFO] [stderr] | [INFO] [stderr] 146 | .unwrap_or(S::root_state_fn()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(S::root_state_fn)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: defining a method called `from_iter` on this type; consider implementing the `std::iter::FromIterator` trait or choosing a less ambiguous name [INFO] [stderr] --> lib.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | / pub fn from_iter(input: I) -> ParserMachine, S> { [INFO] [stderr] 162 | | ParserMachine::new(IterInput::new(input)) [INFO] [stderr] 163 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::should_implement_trait)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> lib.rs:210:14 [INFO] [stderr] | [INFO] [stderr] 210 | .unwrap_or(S::root_goto_fn()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(S::root_goto_fn)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `peek` which has no body [INFO] [stderr] --> lib.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 227 | | fn peek(&mut self) -> &Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `next` which has no body [INFO] [stderr] --> lib.rs:230:5 [INFO] [stderr] | [INFO] [stderr] 230 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 231 | | fn next(&mut self) -> Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `marker` which has no body [INFO] [stderr] --> lib.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 239 | | fn marker() -> Self::Item; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `perplex-runtime`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "43b40d1938e1cddc1e337cd82c59650629144e71f35ea8f91e2073eead61935e"` [INFO] running `"docker" "rm" "-f" "43b40d1938e1cddc1e337cd82c59650629144e71f35ea8f91e2073eead61935e"` [INFO] [stdout] 43b40d1938e1cddc1e337cd82c59650629144e71f35ea8f91e2073eead61935e