[INFO] updating cached repository gwowen/rust-3D-cube [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/gwowen/rust-3D-cube [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/gwowen/rust-3D-cube" "work/ex/clippy-test-run/sources/stable/gh/gwowen/rust-3D-cube"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/gwowen/rust-3D-cube'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/gwowen/rust-3D-cube" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/gwowen/rust-3D-cube"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/gwowen/rust-3D-cube'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 551ce0031a59c27f346faf18501b38376ae8070e [INFO] sha for GitHub repo gwowen/rust-3D-cube: 551ce0031a59c27f346faf18501b38376ae8070e [INFO] validating manifest of gwowen/rust-3D-cube 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 gwowen/rust-3D-cube 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 gwowen/rust-3D-cube [INFO] finished frobbing gwowen/rust-3D-cube [INFO] frobbed toml for gwowen/rust-3D-cube written to work/ex/clippy-test-run/sources/stable/gh/gwowen/rust-3D-cube/Cargo.toml [INFO] started frobbing gwowen/rust-3D-cube [INFO] finished frobbing gwowen/rust-3D-cube [INFO] frobbed toml for gwowen/rust-3D-cube written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/gwowen/rust-3D-cube/Cargo.toml [INFO] crate gwowen/rust-3D-cube 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 gwowen/rust-3D-cube against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/gwowen/rust-3D-cube:/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] 153fccaa9472814968ab45e78b862f86d8a30c0cfbc5b9c1ed8c6c3c6072413c [INFO] running `"docker" "start" "-a" "153fccaa9472814968ab45e78b862f86d8a30c0cfbc5b9c1ed8c6c3c6072413c"` [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Checking num-bigint v0.2.1 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking tiff v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking glfw v0.23.0 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking cube v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: casting u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | let mut success = gl::FALSE as GLint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::FALSE)` [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 u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:103:27 [INFO] [stderr] | [INFO] [stderr] 103 | if success != gl::TRUE as GLint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::TRUE)` [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 u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:113:27 [INFO] [stderr] | [INFO] [stderr] 113 | if success != gl::TRUE as GLint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::TRUE)` [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 u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:98:27 [INFO] [stderr] | [INFO] [stderr] 98 | let mut success = gl::FALSE as GLint; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::FALSE)` [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 u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:103:27 [INFO] [stderr] | [INFO] [stderr] 103 | if success != gl::TRUE as GLint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::TRUE)` [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 u8 to i32 may become silently lossy if types change [INFO] [stderr] --> src/shader.rs:113:27 [INFO] [stderr] | [INFO] [stderr] 113 | if success != gl::TRUE as GLint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `i32::from(gl::TRUE)` [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 24.32s [INFO] running `"docker" "inspect" "153fccaa9472814968ab45e78b862f86d8a30c0cfbc5b9c1ed8c6c3c6072413c"` [INFO] running `"docker" "rm" "-f" "153fccaa9472814968ab45e78b862f86d8a30c0cfbc5b9c1ed8c6c3c6072413c"` [INFO] [stdout] 153fccaa9472814968ab45e78b862f86d8a30c0cfbc5b9c1ed8c6c3c6072413c