[INFO] updating cached repository axelmagn/roguelike-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/axelmagn/roguelike-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/axelmagn/roguelike-rs" "work/ex/clippy-test-run/sources/stable/gh/axelmagn/roguelike-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/axelmagn/roguelike-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/axelmagn/roguelike-rs" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/axelmagn/roguelike-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/axelmagn/roguelike-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1f4706ef7af080e8a82b4db64921d07bc79a680f [INFO] sha for GitHub repo axelmagn/roguelike-rs: 1f4706ef7af080e8a82b4db64921d07bc79a680f [INFO] validating manifest of axelmagn/roguelike-rs 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 axelmagn/roguelike-rs 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 axelmagn/roguelike-rs [INFO] finished frobbing axelmagn/roguelike-rs [INFO] frobbed toml for axelmagn/roguelike-rs written to work/ex/clippy-test-run/sources/stable/gh/axelmagn/roguelike-rs/Cargo.toml [INFO] started frobbing axelmagn/roguelike-rs [INFO] finished frobbing axelmagn/roguelike-rs [INFO] frobbed toml for axelmagn/roguelike-rs written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/axelmagn/roguelike-rs/Cargo.toml [INFO] crate axelmagn/roguelike-rs 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 axelmagn/roguelike-rs 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/axelmagn/roguelike-rs:/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] 84b9011df15e30335c1e59d4c4ed2f75e5eca1ff42b97184d1ae67904e0d3f72 [INFO] running `"docker" "start" "-a" "84b9011df15e30335c1e59d4c4ed2f75e5eca1ff42b97184d1ae67904e0d3f72"` [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling serde v0.8.21 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Checking uuid v0.1.18 [INFO] [stderr] Checking gfx_core v0.5.1 [INFO] [stderr] Checking pistoncore-input v0.15.0 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking tempfile v2.1.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking image v0.12.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking pistoncore-window v0.24.0 [INFO] [stderr] Checking piston-ai_behavior v0.17.0 [INFO] [stderr] Checking pistoncore-event_loop v0.27.0 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Checking piston2d-sprite v0.31.0 [INFO] [stderr] Checking piston v0.27.0 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.6 [INFO] [stderr] Checking wayland-client v0.7.6 [INFO] [stderr] Checking gfx v0.13.0 [INFO] [stderr] Checking gfx_device_gl v0.12.0 [INFO] [stderr] Checking wayland-kbd v0.6.2 [INFO] [stderr] Checking wayland-window v0.4.3 [INFO] [stderr] Checking winit v0.5.7 [INFO] [stderr] Checking piston-gfx_texture v0.20.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.35.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.33.0 [INFO] [stderr] Checking piston_window v0.61.0 [INFO] [stderr] Checking roguelike-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | char_sprite.set_position(width as f64 / 2.0, height as f64 / 2.0); [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `f64::from(width)` [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 u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:63:50 [INFO] [stderr] | [INFO] [stderr] 63 | char_sprite.set_position(width as f64 / 2.0, height as f64 / 2.0); [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 u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:63:30 [INFO] [stderr] | [INFO] [stderr] 63 | char_sprite.set_position(width as f64 / 2.0, height as f64 / 2.0); [INFO] [stderr] | ^^^^^^^^^^^^ help: try: `f64::from(width)` [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 u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:63:50 [INFO] [stderr] | [INFO] [stderr] 63 | char_sprite.set_position(width as f64 / 2.0, height as f64 / 2.0); [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 57.77s [INFO] running `"docker" "inspect" "84b9011df15e30335c1e59d4c4ed2f75e5eca1ff42b97184d1ae67904e0d3f72"` [INFO] running `"docker" "rm" "-f" "84b9011df15e30335c1e59d4c4ed2f75e5eca1ff42b97184d1ae67904e0d3f72"` [INFO] [stdout] 84b9011df15e30335c1e59d4c4ed2f75e5eca1ff42b97184d1ae67904e0d3f72