[INFO] cloning repository https://github.com/droidkid/rust-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/droidkid/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidkid%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidkid%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7739277f8489ba9f6b2ba7f772f909813828b03 [INFO] documenting droidkid/rust-tetris against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdroidkid%2Frust-tetris" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/droidkid/rust-tetris on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/droidkid/rust-tetris [INFO] finished tweaking git repo https://github.com/droidkid/rust-tetris [INFO] tweaked toml for git repo https://github.com/droidkid/rust-tetris written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/droidkid/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab7d0f48e8b2816f3b6b4fd64728f1a93cf867cd65658080f7f7ec85a5492415 [INFO] running `Command { std: "docker" "start" "-a" "ab7d0f48e8b2816f3b6b4fd64728f1a93cf867cd65658080f7f7ec85a5492415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab7d0f48e8b2816f3b6b4fd64728f1a93cf867cd65658080f7f7ec85a5492415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7d0f48e8b2816f3b6b4fd64728f1a93cf867cd65658080f7f7ec85a5492415", kill_on_drop: false }` [INFO] [stdout] ab7d0f48e8b2816f3b6b4fd64728f1a93cf867cd65658080f7f7ec85a5492415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddea8997e2c90d62caa7da7ed55fc2849278110aeaf738c10a3059ea59a96b47 [INFO] running `Command { std: "docker" "start" "-a" "ddea8997e2c90d62caa7da7ed55fc2849278110aeaf738c10a3059ea59a96b47", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Documenting rust-tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | for j in (1..self.width-1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 422 - for j in (1..self.width-1) { [INFO] [stdout] 422 + for j in 1..self.width-1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 473 | if (self.game_over_countdown > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 473 - if (self.game_over_countdown > 0) { [INFO] [stdout] 473 + if self.game_over_countdown > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 483 | if (input.left_key_pressed) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 483 - if (input.left_key_pressed) { [INFO] [stdout] 483 + if input.left_key_pressed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | if (input.right_key_pressed) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 486 - if (input.right_key_pressed) { [INFO] [stdout] 486 + if input.right_key_pressed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | if (input.up_key_pressed) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 489 - if (input.up_key_pressed) { [INFO] [stdout] 489 + if input.up_key_pressed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | if (input.down_key_pressed) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 493 - if (input.down_key_pressed) { [INFO] [stdout] 493 + if input.down_key_pressed { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | if (self.gravity_countdown > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 500 - if (self.gravity_countdown > 0) { [INFO] [stdout] 500 + if self.gravity_countdown > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:503:12 [INFO] [stdout] | [INFO] [stdout] 503 | if (self.lock_delay_countdown > 0 && self.locking_state) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 503 - if (self.lock_delay_countdown > 0 && self.locking_state) { [INFO] [stdout] 503 + if self.lock_delay_countdown > 0 && self.locking_state { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | if (self.level >= 10) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 539 - if (self.level >= 10) { [INFO] [stdout] 539 + if self.level >= 10 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | if (event_pump.keyboard_state().is_scancode_pressed(Scancode::Down)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 646 - if (event_pump.keyboard_state().is_scancode_pressed(Scancode::Down)) { [INFO] [stdout] 646 + if event_pump.keyboard_state().is_scancode_pressed(Scancode::Down) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.28s [INFO] running `Command { std: "docker" "inspect" "ddea8997e2c90d62caa7da7ed55fc2849278110aeaf738c10a3059ea59a96b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddea8997e2c90d62caa7da7ed55fc2849278110aeaf738c10a3059ea59a96b47", kill_on_drop: false }` [INFO] [stdout] ddea8997e2c90d62caa7da7ed55fc2849278110aeaf738c10a3059ea59a96b47