[INFO] crate bnf 0.2.2 is already in cache [INFO] extracting crate bnf 0.2.2 into work/ex/clippy-test-run/sources/stable/reg/bnf/0.2.2 [INFO] extracting crate bnf 0.2.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bnf/0.2.2 [INFO] validating manifest of bnf-0.2.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 bnf-0.2.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 bnf-0.2.2 [INFO] finished frobbing bnf-0.2.2 [INFO] frobbed toml for bnf-0.2.2 written to work/ex/clippy-test-run/sources/stable/reg/bnf/0.2.2/Cargo.toml [INFO] started frobbing bnf-0.2.2 [INFO] finished frobbing bnf-0.2.2 [INFO] frobbed toml for bnf-0.2.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bnf/0.2.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 bnf-0.2.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/bnf/0.2.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] 1be06745e85b77544316f05b3467c89400e2cb8a6d40464dbb7c48ccb428bd1a [INFO] running `"docker" "start" "-a" "1be06745e85b77544316f05b3467c89400e2cb8a6d40464dbb7c48ccb428bd1a"` [INFO] [stderr] Compiling stacker v0.1.5 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking bnf v0.2.2 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/expression.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | Expression { terms: terms } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `terms` [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] --> src/production.rs:135:26 [INFO] [stderr] | [INFO] [stderr] 135 | Production { lhs: lhs, rhs: rhs } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `lhs` [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] --> src/production.rs:135:36 [INFO] [stderr] | [INFO] [stderr] 135 | Production { lhs: lhs, rhs: rhs } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `rhs` [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: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/grammar.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | / write!( [INFO] [stderr] 204 | | f, [INFO] [stderr] 205 | | "{}\n", [INFO] [stderr] 206 | | self.productions [INFO] [stderr] ... | [INFO] [stderr] 210 | | .join("\n") [INFO] [stderr] 211 | | ) [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/grammar.rs:265:23 [INFO] [stderr] | [INFO] [stderr] 265 | Grammar { productions: productions } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `productions` [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] --> src/expression.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | Expression { terms: terms } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `terms` [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] --> src/production.rs:135:26 [INFO] [stderr] | [INFO] [stderr] 135 | Production { lhs: lhs, rhs: rhs } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `lhs` [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] --> src/production.rs:135:36 [INFO] [stderr] | [INFO] [stderr] 135 | Production { lhs: lhs, rhs: rhs } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `rhs` [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: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/grammar.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | / write!( [INFO] [stderr] 204 | | f, [INFO] [stderr] 205 | | "{}\n", [INFO] [stderr] 206 | | self.productions [INFO] [stderr] ... | [INFO] [stderr] 210 | | .join("\n") [INFO] [stderr] 211 | | ) [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/grammar.rs:265:23 [INFO] [stderr] | [INFO] [stderr] 265 | Grammar { productions: productions } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `productions` [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: unneeded return statement [INFO] [stderr] --> src/grammar.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | return Ok(result); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Ok(result)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/grammar.rs:73:41 [INFO] [stderr] | [INFO] [stderr] 73 | if stacker::remaining_stack() < stack_red_zone { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found usize [INFO] [stderr] | help: try using a variant of the expected type: `Some(stack_red_zone)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `bnf`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/grammar.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | return Ok(result); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Ok(result)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/grammar.rs:73:41 [INFO] [stderr] | [INFO] [stderr] 73 | if stacker::remaining_stack() < stack_red_zone { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found usize [INFO] [stderr] | help: try using a variant of the expected type: `Some(stack_red_zone)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `bnf`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1be06745e85b77544316f05b3467c89400e2cb8a6d40464dbb7c48ccb428bd1a"` [INFO] running `"docker" "rm" "-f" "1be06745e85b77544316f05b3467c89400e2cb8a6d40464dbb7c48ccb428bd1a"` [INFO] [stdout] 1be06745e85b77544316f05b3467c89400e2cb8a6d40464dbb7c48ccb428bd1a