[INFO] updating cached repository matthewjberger/repuzzle [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/matthewjberger/repuzzle [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/matthewjberger/repuzzle" "work/ex/clippy-test-run/sources/stable/gh/matthewjberger/repuzzle"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/matthewjberger/repuzzle'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/matthewjberger/repuzzle" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthewjberger/repuzzle"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthewjberger/repuzzle'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 631dd5fe2a313a414986e3cdc0a936f6044865fb [INFO] sha for GitHub repo matthewjberger/repuzzle: 631dd5fe2a313a414986e3cdc0a936f6044865fb [INFO] validating manifest of matthewjberger/repuzzle 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 matthewjberger/repuzzle 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 matthewjberger/repuzzle [INFO] finished frobbing matthewjberger/repuzzle [INFO] frobbed toml for matthewjberger/repuzzle written to work/ex/clippy-test-run/sources/stable/gh/matthewjberger/repuzzle/Cargo.toml [INFO] started frobbing matthewjberger/repuzzle [INFO] finished frobbing matthewjberger/repuzzle [INFO] frobbed toml for matthewjberger/repuzzle written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/matthewjberger/repuzzle/Cargo.toml [INFO] crate matthewjberger/repuzzle 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 matthewjberger/repuzzle against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/matthewjberger/repuzzle:/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] 93330dea2113778474b0748527d132f6e6bb3885a54e2109aa4dc05b6d866833 [INFO] running `"docker" "start" "-a" "93330dea2113778474b0748527d132f6e6bb3885a54e2109aa4dc05b6d866833"` [INFO] [stderr] Compiling x11-dl v2.18.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking glutin v0.17.0 [INFO] [stderr] Checking repuzzle v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | / match event { [INFO] [stderr] 29 | | glutin::Event::WindowEvent{ event, .. } => match event { [INFO] [stderr] 30 | | glutin::WindowEvent::CloseRequested => running = false, [INFO] [stderr] 31 | | glutin::WindowEvent::Resized(logical_size) => { [INFO] [stderr] ... | [INFO] [stderr] 37 | | _ => () [INFO] [stderr] 38 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 28 | if let glutin::Event::WindowEvent{ event, .. } = event { match event { [INFO] [stderr] 29 | glutin::WindowEvent::CloseRequested => running = false, [INFO] [stderr] 30 | glutin::WindowEvent::Resized(logical_size) => { [INFO] [stderr] 31 | let dpi_factor = gl_window.get_hidpi_factor(); [INFO] [stderr] 32 | gl_window.resize(logical_size.to_physical(dpi_factor)); [INFO] [stderr] 33 | }, [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | / match event { [INFO] [stderr] 29 | | glutin::Event::WindowEvent{ event, .. } => match event { [INFO] [stderr] 30 | | glutin::WindowEvent::CloseRequested => running = false, [INFO] [stderr] 31 | | glutin::WindowEvent::Resized(logical_size) => { [INFO] [stderr] ... | [INFO] [stderr] 37 | | _ => () [INFO] [stderr] 38 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 28 | if let glutin::Event::WindowEvent{ event, .. } = event { match event { [INFO] [stderr] 29 | glutin::WindowEvent::CloseRequested => running = false, [INFO] [stderr] 30 | glutin::WindowEvent::Resized(logical_size) => { [INFO] [stderr] 31 | let dpi_factor = gl_window.get_hidpi_factor(); [INFO] [stderr] 32 | gl_window.resize(logical_size.to_physical(dpi_factor)); [INFO] [stderr] 33 | }, [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.43s [INFO] running `"docker" "inspect" "93330dea2113778474b0748527d132f6e6bb3885a54e2109aa4dc05b6d866833"` [INFO] running `"docker" "rm" "-f" "93330dea2113778474b0748527d132f6e6bb3885a54e2109aa4dc05b6d866833"` [INFO] [stdout] 93330dea2113778474b0748527d132f6e6bb3885a54e2109aa4dc05b6d866833