[INFO] updating cached repository sebui/fractal-tree [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/sebui/fractal-tree [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/sebui/fractal-tree" "work/ex/clippy-test-run/sources/stable/gh/sebui/fractal-tree"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/sebui/fractal-tree'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/sebui/fractal-tree" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sebui/fractal-tree"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sebui/fractal-tree'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 90d9e63d6e7829321805cbdd6c7aa9b58ce021ca [INFO] sha for GitHub repo sebui/fractal-tree: 90d9e63d6e7829321805cbdd6c7aa9b58ce021ca [INFO] validating manifest of sebui/fractal-tree 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 sebui/fractal-tree 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 sebui/fractal-tree [INFO] finished frobbing sebui/fractal-tree [INFO] frobbed toml for sebui/fractal-tree written to work/ex/clippy-test-run/sources/stable/gh/sebui/fractal-tree/Cargo.toml [INFO] started frobbing sebui/fractal-tree [INFO] finished frobbing sebui/fractal-tree [INFO] frobbed toml for sebui/fractal-tree written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/sebui/fractal-tree/Cargo.toml [INFO] crate sebui/fractal-tree 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 sebui/fractal-tree against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/sebui/fractal-tree:/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] fa19c6feddc36029c07207ec349e051fafc4743c5a97426169d36c683b01e246 [INFO] running `"docker" "start" "-a" "fa19c6feddc36029c07207ec349e051fafc4743c5a97426169d36c683b01e246"` [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Checking num-rational v0.1.36 [INFO] [stderr] Checking gfx_core v0.6.0 [INFO] [stderr] Checking pistoncore-input v0.17.1 [INFO] [stderr] Checking arrayvec v0.3.20 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Checking rusttype v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking image v0.12.3 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Checking pistoncore-window v0.26.2 [INFO] [stderr] Checking pistoncore-event_loop v0.31.4 [INFO] [stderr] Checking piston v0.31.4 [INFO] [stderr] Compiling libloading v0.3.2 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking wayland-client v0.7.8 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking glutin v0.7.4 [INFO] [stderr] Checking pistoncore-glutin_window v0.35.1 [INFO] [stderr] Checking gfx v0.14.1 [INFO] [stderr] Checking gfx_device_gl v0.13.0 [INFO] [stderr] Checking piston-gfx_texture v0.22.1 [INFO] [stderr] Checking piston2d-gfx_graphics v0.38.0 [INFO] [stderr] Checking piston_window v0.64.0 [INFO] [stderr] Checking piston-fractal-tree v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/main.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | return branch; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove `return` as shown: `branch` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | WINDOW_SIZE[0] as f64 / 2.0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(WINDOW_SIZE[0])` [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:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | WINDOW_SIZE[1] as f64 - 200.0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(WINDOW_SIZE[1])` [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: unneeded return statement [INFO] [stderr] --> src/main.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | return branch; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove `return` as shown: `branch` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | WINDOW_SIZE[0] as f64 / 2.0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(WINDOW_SIZE[0])` [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:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | WINDOW_SIZE[1] as f64 - 200.0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(WINDOW_SIZE[1])` [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 42.92s [INFO] running `"docker" "inspect" "fa19c6feddc36029c07207ec349e051fafc4743c5a97426169d36c683b01e246"` [INFO] running `"docker" "rm" "-f" "fa19c6feddc36029c07207ec349e051fafc4743c5a97426169d36c683b01e246"` [INFO] [stdout] fa19c6feddc36029c07207ec349e051fafc4743c5a97426169d36c683b01e246