[INFO] updating cached repository thebearingedge/rust-snake [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/thebearingedge/rust-snake [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/thebearingedge/rust-snake" "work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-snake"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-snake'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/thebearingedge/rust-snake" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-snake"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-snake'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fceb816bcbf9319111df435cd4679855b76454aa [INFO] sha for GitHub repo thebearingedge/rust-snake: fceb816bcbf9319111df435cd4679855b76454aa [INFO] validating manifest of thebearingedge/rust-snake 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 thebearingedge/rust-snake 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 thebearingedge/rust-snake [INFO] finished frobbing thebearingedge/rust-snake [INFO] frobbed toml for thebearingedge/rust-snake written to work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-snake/Cargo.toml [INFO] started frobbing thebearingedge/rust-snake [INFO] finished frobbing thebearingedge/rust-snake [INFO] frobbed toml for thebearingedge/rust-snake written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-snake/Cargo.toml [INFO] crate thebearingedge/rust-snake 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 thebearingedge/rust-snake against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-snake:/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] 9126225501ebf53ece55b1bc241e5ad84256f0e106ae00a49546359def170fa9 [INFO] running `"docker" "start" "-a" "9126225501ebf53ece55b1bc241e5ad84256f0e106ae00a49546359def170fa9"` [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking stb_truetype v0.2.4 [INFO] [stderr] Checking rand_isaac v0.1.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking smallvec v0.6.6 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking nix v0.11.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking approx v0.3.0 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking x11-dl v2.18.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling wayland-scanner v0.21.4 [INFO] [stderr] Checking wayland-sys v0.21.4 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking rand v0.6.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking andrew v0.1.4 [INFO] [stderr] Checking piston2d-graphics v0.28.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling wayland-client v0.21.4 [INFO] [stderr] Compiling wayland-protocols v0.21.4 [INFO] [stderr] Checking wayland-commons v0.21.4 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.4.2 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking winit v0.18.0 [INFO] [stderr] Checking pistoncore-input v0.23.0 [INFO] [stderr] Checking pistoncore-window v0.34.0 [INFO] [stderr] Checking pistoncore-event_loop v0.39.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.51.1 [INFO] [stderr] Checking piston v0.39.0 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.3 [INFO] [stderr] Checking piston-gfx_texture v0.34.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.54.0 [INFO] [stderr] Checking piston_window v0.85.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | (game_coord as f64) * BLOCK_SIZE [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(game_coord)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:43:26 [INFO] [stderr] | [INFO] [stderr] 43 | BLOCK_SIZE * (width as f64), [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try: `f64::from(width)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | BLOCK_SIZE * (height as f64), [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try: `f64::from(height)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | (game_coord as f64) * BLOCK_SIZE [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(game_coord)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:43:26 [INFO] [stderr] | [INFO] [stderr] 43 | BLOCK_SIZE * (width as f64), [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try: `f64::from(width)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/draw.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | BLOCK_SIZE * (height as f64), [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try: `f64::from(height)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `"docker" "inspect" "9126225501ebf53ece55b1bc241e5ad84256f0e106ae00a49546359def170fa9"` [INFO] running `"docker" "rm" "-f" "9126225501ebf53ece55b1bc241e5ad84256f0e106ae00a49546359def170fa9"` [INFO] [stdout] 9126225501ebf53ece55b1bc241e5ad84256f0e106ae00a49546359def170fa9