[INFO] updating cached repository Michael2109/genetic-algorithms [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Michael2109/genetic-algorithms [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Michael2109/genetic-algorithms" "work/ex/clippy-test-run/sources/stable/gh/Michael2109/genetic-algorithms"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Michael2109/genetic-algorithms'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Michael2109/genetic-algorithms" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Michael2109/genetic-algorithms"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Michael2109/genetic-algorithms'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 99c630bdd95c98763a6f86098151f806291e08ba [INFO] sha for GitHub repo Michael2109/genetic-algorithms: 99c630bdd95c98763a6f86098151f806291e08ba [INFO] validating manifest of Michael2109/genetic-algorithms 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 Michael2109/genetic-algorithms 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 Michael2109/genetic-algorithms [INFO] finished frobbing Michael2109/genetic-algorithms [INFO] frobbed toml for Michael2109/genetic-algorithms written to work/ex/clippy-test-run/sources/stable/gh/Michael2109/genetic-algorithms/Cargo.toml [INFO] started frobbing Michael2109/genetic-algorithms [INFO] finished frobbing Michael2109/genetic-algorithms [INFO] frobbed toml for Michael2109/genetic-algorithms written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Michael2109/genetic-algorithms/Cargo.toml [INFO] crate Michael2109/genetic-algorithms 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 Michael2109/genetic-algorithms against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Michael2109/genetic-algorithms:/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] 5f8d319e2753f3b95536521a9b2c1c19846232614c97f2ed66b5b2def3755c67 [INFO] running `"docker" "start" "-a" "5f8d319e2753f3b95536521a9b2c1c19846232614c97f2ed66b5b2def3755c67"` [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking pistoncore-input v0.21.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking pistoncore-window v0.32.0 [INFO] [stderr] Checking pistoncore-event_loop v0.37.0 [INFO] [stderr] Checking piston v0.37.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.53.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.47.0 [INFO] [stderr] Checking genetic-algorithms v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `simulation` [INFO] [stderr] --> src/entity.rs:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | fn collision_detection(&self, simulation: &Simulation) { [INFO] [stderr] | ^^^^^^^^^^ help: consider using `_simulation` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_some()` [INFO] [stderr] --> src/main.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | if let Some(_) = e.update_args() { [INFO] [stderr] | _________- ^^^^^^^ [INFO] [stderr] 99 | | app.update(); [INFO] [stderr] 100 | | } [INFO] [stderr] | |_________- help: try this: `if e.update_args().is_some()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: unused variable: `simulation` [INFO] [stderr] --> src/entity.rs:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | fn collision_detection(&self, simulation: &Simulation) { [INFO] [stderr] | ^^^^^^^^^^ help: consider using `_simulation` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_some()` [INFO] [stderr] --> src/main.rs:98:16 [INFO] [stderr] | [INFO] [stderr] 98 | if let Some(_) = e.update_args() { [INFO] [stderr] | _________- ^^^^^^^ [INFO] [stderr] 99 | | app.update(); [INFO] [stderr] 100 | | } [INFO] [stderr] | |_________- help: try this: `if e.update_args().is_some()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.31s [INFO] running `"docker" "inspect" "5f8d319e2753f3b95536521a9b2c1c19846232614c97f2ed66b5b2def3755c67"` [INFO] running `"docker" "rm" "-f" "5f8d319e2753f3b95536521a9b2c1c19846232614c97f2ed66b5b2def3755c67"` [INFO] [stdout] 5f8d319e2753f3b95536521a9b2c1c19846232614c97f2ed66b5b2def3755c67