[INFO] updating cached repository NyxCode/winit-bug-report [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/NyxCode/winit-bug-report [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/NyxCode/winit-bug-report" "work/ex/clippy-test-run/sources/stable/gh/NyxCode/winit-bug-report"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/NyxCode/winit-bug-report'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/NyxCode/winit-bug-report" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NyxCode/winit-bug-report"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NyxCode/winit-bug-report'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dac896e1ee232de81d348e60d7ffea3c6e22e97a [INFO] sha for GitHub repo NyxCode/winit-bug-report: dac896e1ee232de81d348e60d7ffea3c6e22e97a [INFO] validating manifest of NyxCode/winit-bug-report 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 NyxCode/winit-bug-report 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 NyxCode/winit-bug-report [INFO] finished frobbing NyxCode/winit-bug-report [INFO] frobbed toml for NyxCode/winit-bug-report written to work/ex/clippy-test-run/sources/stable/gh/NyxCode/winit-bug-report/Cargo.toml [INFO] started frobbing NyxCode/winit-bug-report [INFO] finished frobbing NyxCode/winit-bug-report [INFO] frobbed toml for NyxCode/winit-bug-report written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/NyxCode/winit-bug-report/Cargo.toml [INFO] crate NyxCode/winit-bug-report 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 NyxCode/winit-bug-report against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/NyxCode/winit-bug-report:/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] afc9b8a2a84ed2f4b51a483a70fc5ca5eb1d538b28ce5c4091dade0ad3f87c4c [INFO] running `"docker" "start" "-a" "afc9b8a2a84ed2f4b51a483a70fc5ca5eb1d538b28ce5c4091dade0ad3f87c4c"` [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking glutin v0.17.0 [INFO] [stderr] Checking glium v0.22.0 [INFO] [stderr] Checking winit-bug-report 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:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | / match event { [INFO] [stderr] 23 | | WindowEvent { event, .. } => match event { [INFO] [stderr] 24 | | CloseRequested => panic!(), [INFO] [stderr] 25 | | MouseWheel { modifiers, .. } => println!("{:?}", modifiers), [INFO] [stderr] ... | [INFO] [stderr] 28 | | _ => (), [INFO] [stderr] 29 | | }; [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] 22 | if let WindowEvent { event, .. } = event { match event { [INFO] [stderr] 23 | CloseRequested => panic!(), [INFO] [stderr] 24 | MouseWheel { modifiers, .. } => println!("{:?}", modifiers), [INFO] [stderr] 25 | _ => (), [INFO] [stderr] 26 | } }; [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:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | / match event { [INFO] [stderr] 23 | | WindowEvent { event, .. } => match event { [INFO] [stderr] 24 | | CloseRequested => panic!(), [INFO] [stderr] 25 | | MouseWheel { modifiers, .. } => println!("{:?}", modifiers), [INFO] [stderr] ... | [INFO] [stderr] 28 | | _ => (), [INFO] [stderr] 29 | | }; [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] 22 | if let WindowEvent { event, .. } = event { match event { [INFO] [stderr] 23 | CloseRequested => panic!(), [INFO] [stderr] 24 | MouseWheel { modifiers, .. } => println!("{:?}", modifiers), [INFO] [stderr] 25 | _ => (), [INFO] [stderr] 26 | } }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.57s [INFO] running `"docker" "inspect" "afc9b8a2a84ed2f4b51a483a70fc5ca5eb1d538b28ce5c4091dade0ad3f87c4c"` [INFO] running `"docker" "rm" "-f" "afc9b8a2a84ed2f4b51a483a70fc5ca5eb1d538b28ce5c4091dade0ad3f87c4c"` [INFO] [stdout] afc9b8a2a84ed2f4b51a483a70fc5ca5eb1d538b28ce5c4091dade0ad3f87c4c