[INFO] updating cached repository jhpoelen/rusty_pooks [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jhpoelen/rusty_pooks [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jhpoelen/rusty_pooks" "work/ex/clippy-test-run/sources/stable/gh/jhpoelen/rusty_pooks"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/jhpoelen/rusty_pooks'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jhpoelen/rusty_pooks" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jhpoelen/rusty_pooks"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jhpoelen/rusty_pooks'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4e8b4d01c2f71be45560f65c9ee686069ea3f20f [INFO] sha for GitHub repo jhpoelen/rusty_pooks: 4e8b4d01c2f71be45560f65c9ee686069ea3f20f [INFO] validating manifest of jhpoelen/rusty_pooks 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 jhpoelen/rusty_pooks 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 jhpoelen/rusty_pooks [INFO] finished frobbing jhpoelen/rusty_pooks [INFO] frobbed toml for jhpoelen/rusty_pooks written to work/ex/clippy-test-run/sources/stable/gh/jhpoelen/rusty_pooks/Cargo.toml [INFO] started frobbing jhpoelen/rusty_pooks [INFO] finished frobbing jhpoelen/rusty_pooks [INFO] frobbed toml for jhpoelen/rusty_pooks written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jhpoelen/rusty_pooks/Cargo.toml [INFO] crate jhpoelen/rusty_pooks 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 jhpoelen/rusty_pooks 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/jhpoelen/rusty_pooks:/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] a249fd5bf4597246680738de11c535a1b89d4939fe0d46a6d9f8f7cb98e3dc81 [INFO] running `"docker" "start" "-a" "a249fd5bf4597246680738de11c535a1b89d4939fe0d46a6d9f8f7cb98e3dc81"` [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Checking smallvec v0.6.4 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking rusty_pooks v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/player.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | let fixed_time_stamp = Duration::new(0, 16666667); [INFO] [stderr] | ^^^^^^^^ help: consider: `16_666_667` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [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/player.rs:129:41 [INFO] [stderr] | [INFO] [stderr] 129 | events_loop.poll_events(|event| match event { [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 130 | | Event::WindowEvent { event, window_id } => [INFO] [stderr] 131 | | if window_id == display.gl_window().id() { [INFO] [stderr] 132 | | match event { [INFO] [stderr] ... | [INFO] [stderr] 144 | | _ => (), [INFO] [stderr] 145 | | }); [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] 129 | events_loop.poll_events(|event| if let Event::WindowEvent { event, window_id } = event { if window_id == display.gl_window().id() { [INFO] [stderr] 130 | match event { [INFO] [stderr] 131 | WindowEvent::CloseRequested => action = Action::Stop, [INFO] [stderr] 132 | WindowEvent::KeyboardInput { input, .. } => { [INFO] [stderr] 133 | if let ElementState::Pressed = input.state { [INFO] [stderr] 134 | if let Some(VirtualKeyCode::Return) = input.virtual_keycode { [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/player.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | let fixed_time_stamp = Duration::new(0, 16666667); [INFO] [stderr] | ^^^^^^^^ help: consider: `16_666_667` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [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/player.rs:129:41 [INFO] [stderr] | [INFO] [stderr] 129 | events_loop.poll_events(|event| match event { [INFO] [stderr] | _________________________________________^ [INFO] [stderr] 130 | | Event::WindowEvent { event, window_id } => [INFO] [stderr] 131 | | if window_id == display.gl_window().id() { [INFO] [stderr] 132 | | match event { [INFO] [stderr] ... | [INFO] [stderr] 144 | | _ => (), [INFO] [stderr] 145 | | }); [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] 129 | events_loop.poll_events(|event| if let Event::WindowEvent { event, window_id } = event { if window_id == display.gl_window().id() { [INFO] [stderr] 130 | match event { [INFO] [stderr] 131 | WindowEvent::CloseRequested => action = Action::Stop, [INFO] [stderr] 132 | WindowEvent::KeyboardInput { input, .. } => { [INFO] [stderr] 133 | if let ElementState::Pressed = input.state { [INFO] [stderr] 134 | if let Some(VirtualKeyCode::Return) = input.virtual_keycode { [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `"docker" "inspect" "a249fd5bf4597246680738de11c535a1b89d4939fe0d46a6d9f8f7cb98e3dc81"` [INFO] running `"docker" "rm" "-f" "a249fd5bf4597246680738de11c535a1b89d4939fe0d46a6d9f8f7cb98e3dc81"` [INFO] [stdout] a249fd5bf4597246680738de11c535a1b89d4939fe0d46a6d9f8f7cb98e3dc81