[INFO] updating cached repository ScottWLoyd/rustplot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ScottWLoyd/rustplot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ScottWLoyd/rustplot" "work/ex/clippy-test-run/sources/stable/gh/ScottWLoyd/rustplot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ScottWLoyd/rustplot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ScottWLoyd/rustplot" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ScottWLoyd/rustplot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ScottWLoyd/rustplot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d24c77034b66f29bd066c48ea3eb83cf879a1518 [INFO] sha for GitHub repo ScottWLoyd/rustplot: d24c77034b66f29bd066c48ea3eb83cf879a1518 [INFO] validating manifest of ScottWLoyd/rustplot 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 ScottWLoyd/rustplot 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 ScottWLoyd/rustplot [INFO] finished frobbing ScottWLoyd/rustplot [INFO] frobbed toml for ScottWLoyd/rustplot written to work/ex/clippy-test-run/sources/stable/gh/ScottWLoyd/rustplot/Cargo.toml [INFO] started frobbing ScottWLoyd/rustplot [INFO] finished frobbing ScottWLoyd/rustplot [INFO] frobbed toml for ScottWLoyd/rustplot written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ScottWLoyd/rustplot/Cargo.toml [INFO] crate ScottWLoyd/rustplot 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 ScottWLoyd/rustplot 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/ScottWLoyd/rustplot:/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] b92abca4fdac91d2987d012ba724da08178be30ce17c2bc8455710f1b6b274ad [INFO] running `"docker" "start" "-a" "b92abca4fdac91d2987d012ba724da08178be30ce17c2bc8455710f1b6b274ad"` [INFO] [stderr] Compiling glium v0.17.0 [INFO] [stderr] Checking x11-dl v2.14.0 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Checking wayland-sys v0.9.9 [INFO] [stderr] Checking wayland-client v0.9.9 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.6.1 [INFO] [stderr] Checking winit v0.7.5 [INFO] [stderr] Checking glutin v0.9.2 [INFO] [stderr] Checking rustplot 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:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | / match event { [INFO] [stderr] 20 | | glutin::Event::WindowEvent { event, .. } => match event { [INFO] [stderr] 21 | | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 22 | | _ => () [INFO] [stderr] 23 | | }, [INFO] [stderr] 24 | | _ => (), [INFO] [stderr] 25 | | } [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] 19 | if let glutin::Event::WindowEvent { event, .. } = event { match event { [INFO] [stderr] 20 | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 21 | _ => () [INFO] [stderr] 22 | } } [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:20:57 [INFO] [stderr] | [INFO] [stderr] 20 | glutin::Event::WindowEvent { event, .. } => match event { [INFO] [stderr] | _________________________________________________________^ [INFO] [stderr] 21 | | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 22 | | _ => () [INFO] [stderr] 23 | | }, [INFO] [stderr] | |_____________^ help: try this: `if let glutin::WindowEvent::Closed = event { closed = true }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [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:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | / match event { [INFO] [stderr] 20 | | glutin::Event::WindowEvent { event, .. } => match event { [INFO] [stderr] 21 | | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 22 | | _ => () [INFO] [stderr] 23 | | }, [INFO] [stderr] 24 | | _ => (), [INFO] [stderr] 25 | | } [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] 19 | if let glutin::Event::WindowEvent { event, .. } = event { match event { [INFO] [stderr] 20 | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 21 | _ => () [INFO] [stderr] 22 | } } [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:20:57 [INFO] [stderr] | [INFO] [stderr] 20 | glutin::Event::WindowEvent { event, .. } => match event { [INFO] [stderr] | _________________________________________________________^ [INFO] [stderr] 21 | | glutin::WindowEvent::Closed => closed = true, [INFO] [stderr] 22 | | _ => () [INFO] [stderr] 23 | | }, [INFO] [stderr] | |_____________^ help: try this: `if let glutin::WindowEvent::Closed = event { closed = true }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.79s [INFO] running `"docker" "inspect" "b92abca4fdac91d2987d012ba724da08178be30ce17c2bc8455710f1b6b274ad"` [INFO] running `"docker" "rm" "-f" "b92abca4fdac91d2987d012ba724da08178be30ce17c2bc8455710f1b6b274ad"` [INFO] [stdout] b92abca4fdac91d2987d012ba724da08178be30ce17c2bc8455710f1b6b274ad