[INFO] updating cached repository bash/state [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bash/state [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bash/state" "work/ex/clippy-test-run/sources/stable/gh/bash/state"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/bash/state'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bash/state" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bash/state"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bash/state'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5ad5a6e7fa555c5ce2761c56264f4d0fd2e7fe6b [INFO] sha for GitHub repo bash/state: 5ad5a6e7fa555c5ce2761c56264f4d0fd2e7fe6b [INFO] validating manifest of bash/state 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 bash/state 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 bash/state [INFO] finished frobbing bash/state [INFO] frobbed toml for bash/state written to work/ex/clippy-test-run/sources/stable/gh/bash/state/Cargo.toml [INFO] started frobbing bash/state [INFO] finished frobbing bash/state [INFO] frobbed toml for bash/state written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/bash/state/Cargo.toml [INFO] crate bash/state 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 bash/state 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-1/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/bash/state:/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] f152743f058eeec9faff3f9b77732a33ded111fd97bbff615fdc3302b865d69f [INFO] running `"docker" "start" "-a" "f152743f058eeec9faff3f9b77732a33ded111fd97bbff615fdc3302b865d69f"` [INFO] [stderr] Checking state v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/state/door.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | Door { color: color, _data: PhantomData } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/state/door.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | Door { color: color, _data: PhantomData } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/state/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod state; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/state/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod state; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DarkBrown` [INFO] [stderr] --> src/state/door.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | DarkBrown, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LightBrown` [INFO] [stderr] --> src/state/door.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | LightBrown, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Yellow` [INFO] [stderr] --> src/state/door.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Yellow, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Blue` [INFO] [stderr] --> src/state/door.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Blue [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DarkBrown` [INFO] [stderr] --> src/state/door.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | DarkBrown, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LightBrown` [INFO] [stderr] --> src/state/door.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | LightBrown, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Yellow` [INFO] [stderr] --> src/state/door.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Yellow, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Blue` [INFO] [stderr] --> src/state/door.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Blue [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `"docker" "inspect" "f152743f058eeec9faff3f9b77732a33ded111fd97bbff615fdc3302b865d69f"` [INFO] running `"docker" "rm" "-f" "f152743f058eeec9faff3f9b77732a33ded111fd97bbff615fdc3302b865d69f"` [INFO] [stdout] f152743f058eeec9faff3f9b77732a33ded111fd97bbff615fdc3302b865d69f