[INFO] updating cached repository ROki1988/rust-infinite [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ROki1988/rust-infinite [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ROki1988/rust-infinite" "work/ex/clippy-test-run/sources/stable/gh/ROki1988/rust-infinite"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ROki1988/rust-infinite'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ROki1988/rust-infinite" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ROki1988/rust-infinite"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ROki1988/rust-infinite'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9f42c4c97fe0774e3942cd19376d53b32eb7b98d [INFO] sha for GitHub repo ROki1988/rust-infinite: 9f42c4c97fe0774e3942cd19376d53b32eb7b98d [INFO] validating manifest of ROki1988/rust-infinite 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 ROki1988/rust-infinite 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 ROki1988/rust-infinite [INFO] finished frobbing ROki1988/rust-infinite [INFO] frobbed toml for ROki1988/rust-infinite written to work/ex/clippy-test-run/sources/stable/gh/ROki1988/rust-infinite/Cargo.toml [INFO] started frobbing ROki1988/rust-infinite [INFO] finished frobbing ROki1988/rust-infinite [INFO] frobbed toml for ROki1988/rust-infinite written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ROki1988/rust-infinite/Cargo.toml [INFO] crate ROki1988/rust-infinite 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 ROki1988/rust-infinite against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ROki1988/rust-infinite:/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] db77df3b5b677485b072a94230936422416a465aab71f2e6e6a9732f6a77a2b7 [INFO] running `"docker" "start" "-a" "db77df3b5b677485b072a94230936422416a465aab71f2e6e6a9732f6a77a2b7"` [INFO] [stderr] Checking rust-infinite v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let a = std::iter::repeat(1).into_iter().map(|_| rng.gen::< u32 >() % 100u32).take_while(|x| *x != 0u32).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `std::iter::repeat(1)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let a = std::iter::repeat(1).into_iter().map(|_| rng.gen::< u32 >() % 100u32).take_while(|x| *x != 0u32).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `std::iter::repeat(1)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `"docker" "inspect" "db77df3b5b677485b072a94230936422416a465aab71f2e6e6a9732f6a77a2b7"` [INFO] running `"docker" "rm" "-f" "db77df3b5b677485b072a94230936422416a465aab71f2e6e6a9732f6a77a2b7"` [INFO] [stdout] db77df3b5b677485b072a94230936422416a465aab71f2e6e6a9732f6a77a2b7