[INFO] updating cached repository Sgeo/worlds_string_replacer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Sgeo/worlds_string_replacer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Sgeo/worlds_string_replacer" "work/ex/clippy-test-run/sources/stable/gh/Sgeo/worlds_string_replacer"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Sgeo/worlds_string_replacer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Sgeo/worlds_string_replacer" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sgeo/worlds_string_replacer"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sgeo/worlds_string_replacer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e8ca598cd55bbb00c514c8cbe3e232a78e7e99e1 [INFO] sha for GitHub repo Sgeo/worlds_string_replacer: e8ca598cd55bbb00c514c8cbe3e232a78e7e99e1 [INFO] validating manifest of Sgeo/worlds_string_replacer 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 Sgeo/worlds_string_replacer 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 Sgeo/worlds_string_replacer [INFO] finished frobbing Sgeo/worlds_string_replacer [INFO] frobbed toml for Sgeo/worlds_string_replacer written to work/ex/clippy-test-run/sources/stable/gh/Sgeo/worlds_string_replacer/Cargo.toml [INFO] started frobbing Sgeo/worlds_string_replacer [INFO] finished frobbing Sgeo/worlds_string_replacer [INFO] frobbed toml for Sgeo/worlds_string_replacer written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sgeo/worlds_string_replacer/Cargo.toml [INFO] crate Sgeo/worlds_string_replacer 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 Sgeo/worlds_string_replacer against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sgeo/worlds_string_replacer:/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 -Dclippy::into_iter_on_array" "-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] e29dd1b98b51937767d267f8633defd4719da8e64477f0e5f8ecab9d2ee62a04 [INFO] running `"docker" "start" "-a" "e29dd1b98b51937767d267f8633defd4719da8e64477f0e5f8ecab9d2ee62a04"` [INFO] [stderr] Checking worlds_string_replacer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: variable `cur_index` is assigned to, but never used [INFO] [stderr] warning: variable `cur_index` is assigned to, but never used [INFO] [stderr] --> src/main.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | let mut cur_index: usize = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] --> src/main.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | let mut cur_index: usize = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] = note: consider using `_cur_index` instead [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] warning: unused variable: `middle` [INFO] [stderr] --> src/main.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | let (middle, after) = middle_after.split_at(find.as_bytes().len() + 2); [INFO] [stderr] | ^^^^^^ help: consider using `_middle` instead [INFO] [stderr] [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] = note: consider using `_cur_index` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `middle` [INFO] [stderr] --> src/main.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | let (middle, after) = middle_after.split_at(find.as_bytes().len() + 2); [INFO] [stderr] | ^^^^^^ help: consider using `_middle` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `"docker" "inspect" "e29dd1b98b51937767d267f8633defd4719da8e64477f0e5f8ecab9d2ee62a04"` [INFO] running `"docker" "rm" "-f" "e29dd1b98b51937767d267f8633defd4719da8e64477f0e5f8ecab9d2ee62a04"` [INFO] [stdout] e29dd1b98b51937767d267f8633defd4719da8e64477f0e5f8ecab9d2ee62a04