[INFO] crate finality-grandpa 0.5.1 is already in cache
[INFO] extracting crate finality-grandpa 0.5.1 into work/ex/clippy-test-run/sources/stable/reg/finality-grandpa/0.5.1
[INFO] extracting crate finality-grandpa 0.5.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/finality-grandpa/0.5.1
[INFO] validating manifest of finality-grandpa-0.5.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 finality-grandpa-0.5.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 finality-grandpa-0.5.1
[INFO] finished frobbing finality-grandpa-0.5.1
[INFO] frobbed toml for finality-grandpa-0.5.1 written to work/ex/clippy-test-run/sources/stable/reg/finality-grandpa/0.5.1/Cargo.toml
[INFO] started frobbing finality-grandpa-0.5.1
[INFO] finished frobbing finality-grandpa-0.5.1
[INFO] frobbed toml for finality-grandpa-0.5.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/finality-grandpa/0.5.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 finality-grandpa-0.5.1 against stable for clippy-test-run
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/finality-grandpa/0.5.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" "-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] 513fa643e59634ff75737c603722460c63df72e5ee4d64124b0b95eae31b4f87
[INFO] running `"docker" "start" "-a" "513fa643e59634ff75737c603722460c63df72e5ee4d64124b0b95eae31b4f87"`
[INFO] [stderr] Checking finality-grandpa v0.5.1 (/opt/crater/workdir)
[INFO] [stderr] Checking exit-future v0.1.3
[INFO] [stderr] warning: redundant field names in struct initialization
[INFO] [stderr] --> src/round.rs:285:4
[INFO] [stderr] |
[INFO] [stderr] 285 | total_weight: total_weight,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `total_weight`
[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/voter.rs:1097:6
[INFO] [stderr] |
[INFO] [stderr] 1097 | precommit: precommit,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `precommit`
[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/voter.rs:1098:6
[INFO] [stderr] |
[INFO] [stderr] 1098 | signature: signature,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `signature`
[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/voter.rs:1099:6
[INFO] [stderr] |
[INFO] [stderr] 1099 | id: id,
[INFO] [stderr] | ^^^^^^ help: replace it with: `id`
[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/round.rs:285:4
[INFO] [stderr] |
[INFO] [stderr] 285 | total_weight: total_weight,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `total_weight`
[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/voter.rs:1097:6
[INFO] [stderr] |
[INFO] [stderr] 1097 | precommit: precommit,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `precommit`
[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/voter.rs:1098:6
[INFO] [stderr] |
[INFO] [stderr] 1098 | signature: signature,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `signature`
[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/voter.rs:1099:6
[INFO] [stderr] |
[INFO] [stderr] 1099 | id: id,
[INFO] [stderr] | ^^^^^^ help: replace it with: `id`
[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/round.rs:165:5
[INFO] [stderr] |
[INFO] [stderr] 165 | return Some(&*vacant.insert(VoteMultiplicity::Single(vote, signature)));
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Some(&*vacant.insert(VoteMultiplicity::Single(vote, signature)))`
[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] warning: returning the result of a let binding from a block. Consider returning the expression directly.
[INFO] [stderr] --> src/vote_graph.rs:207:3
[INFO] [stderr] |
[INFO] [stderr] 207 | x
[INFO] [stderr] | ^
[INFO] [stderr] |
[INFO] [stderr] = note: #[warn(clippy::let_and_return)] on by default
[INFO] [stderr] note: this expression can be directly returned
[INFO] [stderr] --> src/vote_graph.rs:203:11
[INFO] [stderr] |
[INFO] [stderr] 203 | let x = good_subchain.blocks_reverse().find(|&(ref good_hash, good_number)|
[INFO] [stderr] | _________________^
[INFO] [stderr] 204 | | canonical_node.in_direct_ancestry(good_hash, good_number).unwrap_or(false)
[INFO] [stderr] 205 | | );
[INFO] [stderr] | |_________^
[INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
[INFO] [stderr]
[INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions
[INFO] [stderr] --> src/round.rs:110:28
[INFO] [stderr] |
[INFO] [stderr] 110 | fn equivocation(&self) -> Option<(&(Vote, Signature), &(Vote, Signature))> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default
[INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
[INFO] [stderr]
[INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions
[INFO] [stderr] --> src/round.rs:312:7
[INFO] [stderr] |
[INFO] [stderr] 312 | ) -> Result