[INFO] crate ruplicity-console 0.1.2 is already in cache [INFO] extracting crate ruplicity-console 0.1.2 into work/ex/clippy-test-run/sources/stable/reg/ruplicity-console/0.1.2 [INFO] extracting crate ruplicity-console 0.1.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ruplicity-console/0.1.2 [INFO] validating manifest of ruplicity-console-0.1.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 ruplicity-console-0.1.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 ruplicity-console-0.1.2 [INFO] finished frobbing ruplicity-console-0.1.2 [INFO] frobbed toml for ruplicity-console-0.1.2 written to work/ex/clippy-test-run/sources/stable/reg/ruplicity-console/0.1.2/Cargo.toml [INFO] started frobbing ruplicity-console-0.1.2 [INFO] finished frobbing ruplicity-console-0.1.2 [INFO] frobbed toml for ruplicity-console-0.1.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ruplicity-console/0.1.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 ruplicity-console-0.1.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ruplicity-console/0.1.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] 928b5e2a3336a23357800c1fc727f6067c7f33b367b427fc5b3083a9833b4535 [INFO] running `"docker" "start" "-a" "928b5e2a3336a23357800c1fc727f6067c7f33b367b427fc5b3083a9833b4535"` [INFO] [stderr] Checking vec_map v0.4.0 [INFO] [stderr] Checking strsim v0.4.1 [INFO] [stderr] Checking try_opt v0.1.1 [INFO] [stderr] Checking tabwriter v0.1.25 [INFO] [stderr] Checking tar v0.3.4 [INFO] [stderr] Checking clap v1.5.6 [INFO] [stderr] Checking ruplicity v0.2.2 [INFO] [stderr] Checking ruplicity-console v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: using `println!("")` [INFO] [stderr] --> src/main.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | println!(""); [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `println!()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::println_empty_string)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stderr] [INFO] [stderr] warning: using `println!("")` [INFO] [stderr] --> src/main.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | println!(""); [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `println!()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::println_empty_string)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string [INFO] [stderr] [INFO] [stderr] warning: this `.fold` can be written more succinctly using another method [INFO] [stderr] --> src/main.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | .map(|i| i.num_volumes()) [INFO] [stderr] | _____________________________________________________^ [INFO] [stderr] 100 | | .fold(0, |a, i| a + i); [INFO] [stderr] | |_________________________________________________^ help: try: `.sum()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unnecessary_fold)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold [INFO] [stderr] [INFO] [stderr] warning: this `.fold` can be written more succinctly using another method [INFO] [stderr] --> src/main.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | .map(|i| i.num_volumes()) [INFO] [stderr] | _____________________________________________________^ [INFO] [stderr] 100 | | .fold(0, |a, i| a + i); [INFO] [stderr] | |_________________________________________________^ help: try: `.sum()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unnecessary_fold)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fold [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.39s [INFO] running `"docker" "inspect" "928b5e2a3336a23357800c1fc727f6067c7f33b367b427fc5b3083a9833b4535"` [INFO] running `"docker" "rm" "-f" "928b5e2a3336a23357800c1fc727f6067c7f33b367b427fc5b3083a9833b4535"` [INFO] [stdout] 928b5e2a3336a23357800c1fc727f6067c7f33b367b427fc5b3083a9833b4535