[INFO] updating cached repository archer884/ndigit-challenge-solution [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/archer884/ndigit-challenge-solution [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/archer884/ndigit-challenge-solution" "work/ex/clippy-test-run/sources/stable/gh/archer884/ndigit-challenge-solution"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/archer884/ndigit-challenge-solution'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/archer884/ndigit-challenge-solution" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/archer884/ndigit-challenge-solution"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/archer884/ndigit-challenge-solution'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5701d6ad2adea5dbf6954b29284322799186ef05 [INFO] sha for GitHub repo archer884/ndigit-challenge-solution: 5701d6ad2adea5dbf6954b29284322799186ef05 [INFO] validating manifest of archer884/ndigit-challenge-solution 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 archer884/ndigit-challenge-solution 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 archer884/ndigit-challenge-solution [INFO] finished frobbing archer884/ndigit-challenge-solution [INFO] frobbed toml for archer884/ndigit-challenge-solution written to work/ex/clippy-test-run/sources/stable/gh/archer884/ndigit-challenge-solution/Cargo.toml [INFO] started frobbing archer884/ndigit-challenge-solution [INFO] finished frobbing archer884/ndigit-challenge-solution [INFO] frobbed toml for archer884/ndigit-challenge-solution written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/archer884/ndigit-challenge-solution/Cargo.toml [INFO] crate archer884/ndigit-challenge-solution has a lockfile. skipping [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 archer884/ndigit-challenge-solution against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/archer884/ndigit-challenge-solution:/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] 23f23f15ce89f98f54a79233c84a6868c04bf04ff1231e074083c78279aefb62 [INFO] running `"docker" "start" "-a" "23f23f15ce89f98f54a79233c84a6868c04bf04ff1231e074083c78279aefb62"` [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking ndigit v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/permutations.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | fn permutations<'a>(&'a mut self) -> PermutationsIter<'a, T>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/permutations.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / fn permutations<'a>(&'a mut self) -> PermutationsIter<'a, T> { [INFO] [stderr] 27 | | PermutationsIter(self) [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/main.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let mut s: Vec<_> = s.into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/permutations.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | fn permutations<'a>(&'a mut self) -> PermutationsIter<'a, T>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/permutations.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / fn permutations<'a>(&'a mut self) -> PermutationsIter<'a, T> { [INFO] [stderr] 27 | | PermutationsIter(self) [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/main.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let mut s: Vec<_> = s.into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `"docker" "inspect" "23f23f15ce89f98f54a79233c84a6868c04bf04ff1231e074083c78279aefb62"` [INFO] running `"docker" "rm" "-f" "23f23f15ce89f98f54a79233c84a6868c04bf04ff1231e074083c78279aefb62"` [INFO] [stdout] 23f23f15ce89f98f54a79233c84a6868c04bf04ff1231e074083c78279aefb62