[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] checking IJW123/Macroquad-Tetris against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIJW123%2FMacroquad-Tetris" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/IJW123/Macroquad-Tetris on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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-4-tc2/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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 515cde5d7fcc55735dc825be1ba6d9e0cba7cb969f59a20a0f5ed7da792e211c
[INFO] running `Command { std: "docker" "start" "-a" "515cde5d7fcc55735dc825be1ba6d9e0cba7cb969f59a20a0f5ed7da792e211c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "515cde5d7fcc55735dc825be1ba6d9e0cba7cb969f59a20a0f5ed7da792e211c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "515cde5d7fcc55735dc825be1ba6d9e0cba7cb969f59a20a0f5ed7da792e211c", kill_on_drop: false }`
[INFO] [stdout] 515cde5d7fcc55735dc825be1ba6d9e0cba7cb969f59a20a0f5ed7da792e211c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5ca135b661c8c18d340ed672c69a8c5a6278b5c9fae32c126a32a734f13d585
[INFO] running `Command { std: "docker" "start" "-a" "c5ca135b661c8c18d340ed672c69a8c5a6278b5c9fae32c126a32a734f13d585", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling zerocopy v0.8.0-alpha.6
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling miniquad v0.4.2
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking bumpalo v3.16.0
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking rand_core v0.9.0-alpha.1
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking rand_chacha v0.9.0-alpha.1
[INFO] [stderr]     Checking rand v0.9.0-alpha.1
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.8
[INFO] [stderr]     Checking 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[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[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[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] 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" test) due to 12 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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" "c5ca135b661c8c18d340ed672c69a8c5a6278b5c9fae32c126a32a734f13d585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5ca135b661c8c18d340ed672c69a8c5a6278b5c9fae32c126a32a734f13d585", kill_on_drop: false }`
[INFO] [stdout] c5ca135b661c8c18d340ed672c69a8c5a6278b5c9fae32c126a32a734f13d585
