[INFO] cloning repository https://github.com/leonjia0112/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/leonjia0112/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonjia0112%2Frust-tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonjia0112%2Frust-tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c1d32ae1fdcd356c41951d14f9b74fb8a53b95d
[INFO] checking leonjia0112/rust-tetris against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonjia0112%2Frust-tetris" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leonjia0112/rust-tetris
[INFO] finished tweaking git repo https://github.com/leonjia0112/rust-tetris
[INFO] tweaked toml for git repo https://github.com/leonjia0112/rust-tetris written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leonjia0112/rust-tetris on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leonjia0112/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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.3.22
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded libc v0.2.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd967a6947372c5cdd3bf43a68d3bc075dbc9c413c41642ad98bf47fb98a0d12
[INFO] running `Command { std: "docker" "start" "-a" "fd967a6947372c5cdd3bf43a68d3bc075dbc9c413c41642ad98bf47fb98a0d12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd967a6947372c5cdd3bf43a68d3bc075dbc9c413c41642ad98bf47fb98a0d12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd967a6947372c5cdd3bf43a68d3bc075dbc9c413c41642ad98bf47fb98a0d12", kill_on_drop: false }`
[INFO] [stdout] fd967a6947372c5cdd3bf43a68d3bc075dbc9c413c41642ad98bf47fb98a0d12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b13b65b745e667a6cd904609180c1d1cfe985ab96a2dfe27b5ea4d7261cdeff
[INFO] running `Command { std: "docker" "start" "-a" "3b13b65b745e667a6cd904609180c1d1cfe985ab96a2dfe27b5ea4d7261cdeff", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling sdl2-sys v0.30.0
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking sdl2 v0.30.0
[INFO] [stderr]     Checking rust-tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `TextureColor` is never used
[INFO] [stdout]   --> src/main.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum TextureColor{
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Piece` is never used
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type Piece = Vec<Vec<u8>>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `States` is never used
[INFO] [stdout]   --> src/main.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | type States = Vec<Piece>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetrimino` is never constructed
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Tetrimino {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TetriminoGenerator` is never used
[INFO] [stdout]   --> src/main.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | trait TetriminoGenerator {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoI` is never constructed
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct TetriminoI;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoS` is never constructed
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct TetriminoS;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoZ` is never constructed
[INFO] [stdout]   --> src/main.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct TetriminoZ;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoO` is never constructed
[INFO] [stdout]    --> src/main.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | struct TetriminoO;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoJ` is never constructed
[INFO] [stdout]    --> src/main.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct TetriminoJ;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoL` is never constructed
[INFO] [stdout]    --> src/main.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct TetriminoL;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoT` is never constructed
[INFO] [stdout]    --> src/main.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | struct TetriminoT;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_texture_rect` is never used
[INFO] [stdout]    --> src/main.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn create_texture_rect<'a>(canvas: &mut Canvas<Window>, 
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_tetrimino` is never used
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn create_new_tetrimino() -> Tetrimino {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate` and `test_postion` are never used
[INFO] [stdout]    --> src/main.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl Tetrimino {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 247 |     fn rotate(&mut self, game_map: &[Vec<u8>]) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn test_postion(&self, game_map: &[Vec<u8>], tmp_state: usize, x: isize, y: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TextureColor` is never used
[INFO] [stdout]   --> src/main.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | enum TextureColor{
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Piece` is never used
[INFO] [stdout]   --> src/main.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type Piece = Vec<Vec<u8>>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `States` is never used
[INFO] [stdout]   --> src/main.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | type States = Vec<Piece>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tetrimino` is never constructed
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Tetrimino {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `TetriminoGenerator` is never used
[INFO] [stdout]   --> src/main.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | trait TetriminoGenerator {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoI` is never constructed
[INFO] [stdout]   --> src/main.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | struct TetriminoI;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoS` is never constructed
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct TetriminoS;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoZ` is never constructed
[INFO] [stdout]   --> src/main.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | struct TetriminoZ;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoO` is never constructed
[INFO] [stdout]    --> src/main.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | struct TetriminoO;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoJ` is never constructed
[INFO] [stdout]    --> src/main.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct TetriminoJ;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoL` is never constructed
[INFO] [stdout]    --> src/main.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | struct TetriminoL;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TetriminoT` is never constructed
[INFO] [stdout]    --> src/main.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 | struct TetriminoT;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_texture_rect` is never used
[INFO] [stdout]    --> src/main.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn create_texture_rect<'a>(canvas: &mut Canvas<Window>, 
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_new_tetrimino` is never used
[INFO] [stdout]    --> src/main.rs:226:4
[INFO] [stdout]     |
[INFO] [stdout] 226 | fn create_new_tetrimino() -> Tetrimino {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rotate` and `test_postion` are never used
[INFO] [stdout]    --> src/main.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl Tetrimino {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 247 |     fn rotate(&mut self, game_map: &[Vec<u8>]) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn test_postion(&self, game_map: &[Vec<u8>], tmp_state: usize, x: isize, y: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "3b13b65b745e667a6cd904609180c1d1cfe985ab96a2dfe27b5ea4d7261cdeff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b13b65b745e667a6cd904609180c1d1cfe985ab96a2dfe27b5ea4d7261cdeff", kill_on_drop: false }`
[INFO] [stdout] 3b13b65b745e667a6cd904609180c1d1cfe985ab96a2dfe27b5ea4d7261cdeff
