[INFO] cloning repository https://github.com/rman1223/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/rman1223/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frman1223%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frman1223%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c209553dcaefcca8ccd24ba3c6b142959a53109 [INFO] checking rman1223/rust-tetris against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frman1223%2Frust-tetris" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rman1223/rust-tetris [INFO] finished tweaking git repo https://github.com/rman1223/rust-tetris [INFO] tweaked toml for git repo https://github.com/rman1223/rust-tetris written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rman1223/rust-tetris on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rman1223/rust-tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9ff1987561c1f94be290b210e4e06b17c32c146f4c0d452162b4ddd3d08817d [INFO] running `Command { std: "docker" "start" "-a" "f9ff1987561c1f94be290b210e4e06b17c32c146f4c0d452162b4ddd3d08817d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9ff1987561c1f94be290b210e4e06b17c32c146f4c0d452162b4ddd3d08817d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ff1987561c1f94be290b210e4e06b17c32c146f4c0d452162b4ddd3d08817d", kill_on_drop: false }` [INFO] [stdout] f9ff1987561c1f94be290b210e4e06b17c32c146f4c0d452162b4ddd3d08817d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04993ff140705e0feb1b850d6f1b57a9fc101e4e221f122ae76e4b7efcc8f881 [INFO] running `Command { std: "docker" "start" "-a" "04993ff140705e0feb1b850d6f1b57a9fc101e4e221f122ae76e4b7efcc8f881", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `TextureCreator`, and `Texture` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `TextureCreator`, and `Texture` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowContext` and `Window` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Rect` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::rect::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InitFlag` and `LoadTexture` [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::image::{LoadTexture, InitFlag}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowContext` and `Window` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InitFlag` and `LoadTexture` [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::image::{LoadTexture, InitFlag}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `increase_line` found for mutable reference `&mut Tetris` in the current scope [INFO] [stdout] --> src/main.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 365 | self.increase_line(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Tetris` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `increase_line` found for mutable reference `&mut Tetris` in the current scope [INFO] [stdout] --> src/main.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 365 | self.increase_line(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut Tetris` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_add` [INFO] [stdout] --> src/main.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | let mut to_add = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_add` [INFO] [stdout] --> src/main.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | let mut to_add = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | let mut to_add = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | let mut to_add = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/main.rs:596:33 [INFO] [stdout] | [INFO] [stdout] 596 | if let Some(ref mut piece) = tetris.current_piece { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `piece` [INFO] [stdout] --> src/main.rs:596:33 [INFO] [stdout] | [INFO] [stdout] 596 | if let Some(ref mut piece) = tetris.current_piece { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-tetris` (bin "rust-tetris" test) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-tetris` (bin "rust-tetris") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04993ff140705e0feb1b850d6f1b57a9fc101e4e221f122ae76e4b7efcc8f881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04993ff140705e0feb1b850d6f1b57a9fc101e4e221f122ae76e4b7efcc8f881", kill_on_drop: false }` [INFO] [stdout] 04993ff140705e0feb1b850d6f1b57a9fc101e4e221f122ae76e4b7efcc8f881