[INFO] updating cached repository chronogames/quadtree [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/chronogames/quadtree [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/chronogames/quadtree" "work/ex/clippy-test-run/sources/stable/gh/chronogames/quadtree"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/chronogames/quadtree'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/chronogames/quadtree" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chronogames/quadtree"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chronogames/quadtree'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 97494ddb2b91e7c660ff6d4a9a0ffbd7e8a83920 [INFO] sha for GitHub repo chronogames/quadtree: 97494ddb2b91e7c660ff6d4a9a0ffbd7e8a83920 [INFO] validating manifest of chronogames/quadtree 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 chronogames/quadtree 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 chronogames/quadtree [INFO] finished frobbing chronogames/quadtree [INFO] frobbed toml for chronogames/quadtree written to work/ex/clippy-test-run/sources/stable/gh/chronogames/quadtree/Cargo.toml [INFO] started frobbing chronogames/quadtree [INFO] finished frobbing chronogames/quadtree [INFO] frobbed toml for chronogames/quadtree written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chronogames/quadtree/Cargo.toml [INFO] crate chronogames/quadtree 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 chronogames/quadtree against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/chronogames/quadtree:/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] a11a3af78d39d50e4d9595ed2c91f94feb84e3e319fb8bf69c56e5da9e695cd4 [INFO] running `"docker" "start" "-a" "a11a3af78d39d50e4d9595ed2c91f94feb84e3e319fb8bf69c56e5da9e695cd4"` [INFO] [stderr] Checking quadtree v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: method is never used: `give` [INFO] [stderr] --> src/pool.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn give(&mut self, pool_integer: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] error: this `if` has identical blocks [INFO] [stderr] --> src/lib.rs:92:74 [INFO] [stderr] | [INFO] [stderr] 92 | } else if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 93 | | insert_into_this_node = true; [INFO] [stderr] 94 | | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::if_same_then_else)] on by default [INFO] [stderr] note: same as this [INFO] [stderr] --> src/lib.rs:90:67 [INFO] [stderr] | [INFO] [stderr] 90 | if rectangle_rectangle_collision(shape_bb, ne_bb) { [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 91 | | insert_into_this_node = true; [INFO] [stderr] 92 | | } else if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stderr] [INFO] [stderr] error: this `if` has identical blocks [INFO] [stderr] --> src/lib.rs:102:74 [INFO] [stderr] | [INFO] [stderr] 102 | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 103 | | insert_into_this_node = true; [INFO] [stderr] 104 | | } else { [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] note: same as this [INFO] [stderr] --> src/lib.rs:100:67 [INFO] [stderr] | [INFO] [stderr] 100 | if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 101 | | insert_into_this_node = true; [INFO] [stderr] 102 | | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `quadtree`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: method is never used: `give` [INFO] [stderr] --> src/pool.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn give(&mut self, pool_integer: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] error: this `if` has identical blocks [INFO] [stderr] --> src/lib.rs:92:74 [INFO] [stderr] | [INFO] [stderr] 92 | } else if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 93 | | insert_into_this_node = true; [INFO] [stderr] 94 | | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::if_same_then_else)] on by default [INFO] [stderr] note: same as this [INFO] [stderr] --> src/lib.rs:90:67 [INFO] [stderr] | [INFO] [stderr] 90 | if rectangle_rectangle_collision(shape_bb, ne_bb) { [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 91 | | insert_into_this_node = true; [INFO] [stderr] 92 | | } else if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stderr] [INFO] [stderr] error: this `if` has identical blocks [INFO] [stderr] --> src/lib.rs:102:74 [INFO] [stderr] | [INFO] [stderr] 102 | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | __________________________________________________________________________^ [INFO] [stderr] 103 | | insert_into_this_node = true; [INFO] [stderr] 104 | | } else { [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] note: same as this [INFO] [stderr] --> src/lib.rs:100:67 [INFO] [stderr] | [INFO] [stderr] 100 | if rectangle_rectangle_collision(shape_bb, sw_bb) { [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 101 | | insert_into_this_node = true; [INFO] [stderr] 102 | | } else if rectangle_rectangle_collision(shape_bb, se_bb) { [INFO] [stderr] | |_________________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `quadtree`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a11a3af78d39d50e4d9595ed2c91f94feb84e3e319fb8bf69c56e5da9e695cd4"` [INFO] running `"docker" "rm" "-f" "a11a3af78d39d50e4d9595ed2c91f94feb84e3e319fb8bf69c56e5da9e695cd4"` [INFO] [stdout] a11a3af78d39d50e4d9595ed2c91f94feb84e3e319fb8bf69c56e5da9e695cd4