[INFO] cloning repository https://github.com/IJW123/Macroquad-Tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IJW123/Macroquad-Tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIJW123%2FMacroquad-Tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIJW123%2FMacroquad-Tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b656b77ee73e86f24b4ccd479a6363cb0dfeabf
[INFO] building IJW123/Macroquad-Tetris against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIJW123%2FMacroquad-Tetris" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/IJW123/Macroquad-Tetris on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/IJW123/Macroquad-Tetris
[INFO] finished tweaking git repo https://github.com/IJW123/Macroquad-Tetris
[INFO] tweaked toml for git repo https://github.com/IJW123/Macroquad-Tetris written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/IJW123/Macroquad-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand_chacha v0.9.0-alpha.1
[INFO] [stderr]   Downloaded rand_core v0.9.0-alpha.1
[INFO] [stderr]   Downloaded zerocopy v0.8.0-alpha.6
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.0-alpha.6
[INFO] [stderr]   Downloaded rand v0.9.0-alpha.1
[INFO] [stderr]   Downloaded miniquad v0.4.2
[INFO] [stderr]   Downloaded macroquad v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f09b9d258f392cd11c2f96982070a95244c11fb5596513d659cad4eaf693c62
[INFO] running `Command { std: "docker" "start" "-a" "6f09b9d258f392cd11c2f96982070a95244c11fb5596513d659cad4eaf693c62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f09b9d258f392cd11c2f96982070a95244c11fb5596513d659cad4eaf693c62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f09b9d258f392cd11c2f96982070a95244c11fb5596513d659cad4eaf693c62", kill_on_drop: false }`
[INFO] [stdout] 6f09b9d258f392cd11c2f96982070a95244c11fb5596513d659cad4eaf693c62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5936697c842ca7b0f740649c7be9e4025a43dadd1f7b42ae7e47b960a68ffc8
[INFO] running `Command { std: "docker" "start" "-a" "c5936697c842ca7b0f740649c7be9e4025a43dadd1f7b42ae7e47b960a68ffc8", kill_on_drop: false }`
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling zerocopy v0.8.0-alpha.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling miniquad v0.4.2
[INFO] [stderr]    Compiling bytemuck v1.16.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling glam v0.27.0
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling quad-rand v0.2.1
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]    Compiling rand_core v0.9.0-alpha.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0-alpha.1
[INFO] [stderr]    Compiling fontdue v0.7.3
[INFO] [stderr]    Compiling rand v0.9.0-alpha.1
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling macroquad v0.4.8
[INFO] [stderr]    Compiling Tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `Block` is defined multiple times
[INFO] [stdout]   --> src/main.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | type Block = (usize, Texture2D);
[INFO] [stdout]    | -------------------------------- previous definition of the type `Block` here
[INFO] [stdout] ...
[INFO] [stdout] 90 | struct Block {
[INFO] [stdout]    | ^^^^^^^^^^^^ `Block` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `texture`
[INFO] [stdout]  --> src/main.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{prelude::*, texture};
[INFO] [stdout]   |                             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
[INFO] [stdout]   --> src/main.rs:89:10
[INFO] [stdout]    |
[INFO] [stdout] 89 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^^^^^ this is not defined in the current crate because tuples are always foreign
[INFO] [stdout]    |
[INFO] [stdout]    = note: impl doesn't have any local type before any uncovered type parameters
[INFO] [stdout]    = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
[INFO] [stdout]    = note: define and implement a trait or new type instead
[INFO] [stdout]    = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
[INFO] [stdout]   --> src/main.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 | #[derive(Clone, Debug)]
[INFO] [stdout]    |                 ^^^^^ this is not defined in the current crate because tuples are always foreign
[INFO] [stdout]    |
[INFO] [stdout]    = note: impl doesn't have any local type before any uncovered type parameters
[INFO] [stdout]    = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
[INFO] [stdout]    = note: define and implement a trait or new type instead
[INFO] [stdout]    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0071]: expected struct, variant or union type, found `(usize, Texture2D)`
[INFO] [stdout]    --> src/main.rs:176:21
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let mut block = Block {
[INFO] [stdout]     |                     ^^^^^ not a struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:27:54
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn new(grid_width: usize, grid_height: usize) -> Self {
[INFO] [stdout]    |        ---                                           ^^^^ expected `TetrisGame`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0071]: expected struct, variant or union type, found `(usize, Texture2D)`
[INFO] [stdout]   --> src/main.rs:89:10
[INFO] [stdout]    |
[INFO] [stdout] 89 | #[derive(Clone, Debug)]
[INFO] [stdout]    |          ^ not a struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `top_left` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |     top_left: Point,
[INFO] [stdout]    |     ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `block_type` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     block_type: BlockType,
[INFO] [stdout]    |     ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `texture` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 |     texture: Texture2D,
[INFO] [stdout]    |     ^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `direction` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     direction: Point,
[INFO] [stdout]    |     ^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `rotation` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     rotation: i32,    
[INFO] [stdout]    |     ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `block_type` on type `&(usize, macroquad::texture::Texture2D)`
[INFO] [stdout]   --> src/main.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |     match block.block_type {
[INFO] [stdout]    |                 ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0071, E0117, E0308, E0428, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0071`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Tetris` (bin "Tetris") due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c5936697c842ca7b0f740649c7be9e4025a43dadd1f7b42ae7e47b960a68ffc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5936697c842ca7b0f740649c7be9e4025a43dadd1f7b42ae7e47b960a68ffc8", kill_on_drop: false }`
[INFO] [stdout] c5936697c842ca7b0f740649c7be9e4025a43dadd1f7b42ae7e47b960a68ffc8
