[INFO] crate rdir-encoding 0.1.0 is already in cache [INFO] extracting crate rdir-encoding 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/rdir-encoding/0.1.0 [INFO] extracting crate rdir-encoding 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rdir-encoding/0.1.0 [INFO] validating manifest of rdir-encoding-0.1.0 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 rdir-encoding-0.1.0 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 rdir-encoding-0.1.0 [INFO] finished frobbing rdir-encoding-0.1.0 [INFO] frobbed toml for rdir-encoding-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/rdir-encoding/0.1.0/Cargo.toml [INFO] started frobbing rdir-encoding-0.1.0 [INFO] finished frobbing rdir-encoding-0.1.0 [INFO] frobbed toml for rdir-encoding-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rdir-encoding/0.1.0/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 rdir-encoding-0.1.0 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/rdir-encoding/0.1.0:/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] 4d41e4dbd571217b1d610d5a07f77084fb852c5f0b53fb5343c012cfeadd0055 [INFO] running `"docker" "start" "-a" "4d41e4dbd571217b1d610d5a07f77084fb852c5f0b53fb5343c012cfeadd0055"` [INFO] [stderr] Checking rdir-encoding v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:79:37 [INFO] [stderr] | [INFO] [stderr] 79 | for (key, group) in &values.into_iter().group_by(|v| *v) { [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: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:79:37 [INFO] [stderr] | [INFO] [stderr] 79 | for (key, group) in &values.into_iter().group_by(|v| *v) { [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: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:49:54 [INFO] [stderr] | [INFO] [stderr] 49 | c.bench_function("Run Lenght Decode", |b| b.iter(|| run_lenght_decode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `run_lenght_decode` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:50:54 [INFO] [stderr] | [INFO] [stderr] 50 | c.bench_function("Run Lenght Encode", |b| b.iter(|| run_lenght_encode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `run_lenght_encode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:51:49 [INFO] [stderr] | [INFO] [stderr] 51 | c.bench_function("Delta Decode", |b| b.iter(|| delta_decode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `delta_decode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:52:49 [INFO] [stderr] | [INFO] [stderr] 52 | c.bench_function("Delta Encode", |b| b.iter(|| delta_encode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove closure as shown: `delta_encode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:53:51 [INFO] [stderr] | [INFO] [stderr] 53 | c.bench_function("Integer Decode", |b| b.iter(|| integer_decode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `integer_decode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | c.bench_function("Integer Encode", |b| b.iter(|| integer_encode())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `integer_encode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:56:16 [INFO] [stderr] | [INFO] [stderr] 56 | b.iter(|| recursive_index_decode()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `recursive_index_decode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> benches/benchmark.rs:59:16 [INFO] [stderr] | [INFO] [stderr] 59 | b.iter(|| recursive_index_encode()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `recursive_index_encode` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `"docker" "inspect" "4d41e4dbd571217b1d610d5a07f77084fb852c5f0b53fb5343c012cfeadd0055"` [INFO] running `"docker" "rm" "-f" "4d41e4dbd571217b1d610d5a07f77084fb852c5f0b53fb5343c012cfeadd0055"` [INFO] [stdout] 4d41e4dbd571217b1d610d5a07f77084fb852c5f0b53fb5343c012cfeadd0055