[INFO] updating cached repository https://github.com/szeka94/rust_tetris
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e12187d5b4f875ed3c6c1d2b52cfea048bf9ba21
[INFO] checking szeka94/rust_tetris against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszeka94%2Frust_tetris" "/workspace/builds/worker-14/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/szeka94/rust_tetris on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/szeka94/rust_tetris
[INFO] finished tweaking git repo https://github.com/szeka94/rust_tetris
[INFO] tweaked toml for git repo https://github.com/szeka94/rust_tetris written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/szeka94/rust_tetris already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c3c67d3ec69e7aa296d0aacbe721baec1013cd6a1316d9a6ba8cf7346504230d
[INFO] running `"docker" "start" "-a" "c3c67d3ec69e7aa296d0aacbe721baec1013cd6a1316d9a6ba8cf7346504230d"`
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]     Checking arrayvec v0.4.8
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.4
[INFO] [stderr]     Checking stb_truetype v0.2.4
[INFO] [stderr]     Checking piston-viewport v0.4.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking ordered-float v1.0.1
[INFO] [stderr]     Checking approx v0.3.0
[INFO] [stderr]     Checking x11-dl v2.18.3
[INFO] [stderr]    Compiling syn v0.15.22
[INFO] [stderr]     Checking smallvec v0.6.6
[INFO] [stderr]     Checking ordered-float v0.5.2
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking rusttype v0.7.3
[INFO] [stderr]     Checking rusttype v0.5.2
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking piston2d-graphics v0.27.0
[INFO] [stderr]     Checking wayland-sys v0.21.4
[INFO] [stderr]     Checking rayon-core v1.4.1
[INFO] [stderr]     Checking andrew v0.1.4
[INFO] [stderr]     Checking parking_lot_core v0.3.1
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]     Checking rayon v1.0.3
[INFO] [stderr]    Compiling wayland-client v0.21.4
[INFO] [stderr]    Compiling wayland-protocols v0.21.4
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking parking_lot v0.6.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking wayland-commons v0.21.4
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.2
[INFO] [stderr]     Checking winit v0.18.0
[INFO] [stderr]     Checking tiff v0.2.1
[INFO] [stderr]     Checking image v0.20.1
[INFO] [stderr]     Checking gfx_core v0.8.3
[INFO] [stderr]     Checking pistoncore-input v0.22.0
[INFO] [stderr]     Checking pistoncore-window v0.33.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.38.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.50.1
[INFO] [stderr]     Checking piston v0.38.0
[INFO] [stderr]     Checking gfx v0.17.1
[INFO] [stderr]     Checking gfx_device_gl v0.15.3
[INFO] [stderr]     Checking piston-gfx_texture v0.34.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.53.0
[INFO] [stderr]     Checking piston_window v0.84.0
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     type: CellType,
[INFO] [stderr]    |     ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 15 |     r#type: CellType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn new(type: CellType) -> Cell {
[INFO] [stderr]    |            ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn new(r#type: CellType) -> Cell {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         Cell {
[INFO] [stderr]    |         ---- while parsing this struct
[INFO] [stderr] 21 |             type
[INFO] [stderr]    |             ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 21 |             r#type
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     type: TetrisType,
[INFO] [stderr]    |     ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 42 |     r#type: TetrisType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:49:16
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn new(type: TetrisType) -> Tetris {
[INFO] [stderr]    |                ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn new(r#type: TetrisType) -> Tetris {
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |         Tetris {
[INFO] [stderr]    |         ------ while parsing this struct
[INFO] [stderr] 51 |             type,
[INFO] [stderr]    |             ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 51 |             r#type,
[INFO] [stderr]    |             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0583]: file not found for module `tetris`
[INFO] [stderr]  --> src/main.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | mod tetris;
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: to create the module `tetris`, create file "src/tetris.rs"
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     type: CellType,
[INFO] [stderr]    |     ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 15 |     r#type: CellType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn new(type: CellType) -> Cell {
[INFO] [stderr]    |            ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn new(r#type: CellType) -> Cell {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         Cell {
[INFO] [stderr]    |         ---- while parsing this struct
[INFO] [stderr] 21 |             type
[INFO] [stderr]    |             ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 21 |             r#type
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     type: TetrisType,
[INFO] [stderr]    |     ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 42 |     r#type: TetrisType,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:49:16
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn new(type: TetrisType) -> Tetris {
[INFO] [stderr]    |                ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn new(r#type: TetrisType) -> Tetris {
[INFO] [stderr]    |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: expected identifier, found keyword `type`
[INFO] [stderr]   --> src/game.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |         Tetris {
[INFO] [stderr]    |         ------ while parsing this struct
[INFO] [stderr] 51 |             type,
[INFO] [stderr]    |             ^^^^ expected identifier, found keyword
[INFO] [stderr]    |
[INFO] [stderr] help: you can escape reserved keywords to use them as identifiers
[INFO] [stderr]    |
[INFO] [stderr] 51 |             r#type,
[INFO] [stderr]    |             ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0583]: file not found for module `tetris`
[INFO] [stderr]  --> src/main.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | mod tetris;
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: to create the module `tetris`, create file "src/tetris.rs"
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:90:31
[INFO] [stderr]    |
[INFO] [stderr] 90 |             Key::Down => Some(Direction::Down),
[INFO] [stderr]    |                               ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:91:31
[INFO] [stderr]    |
[INFO] [stderr] 91 |             Key::Left => Some(Direction::Left),
[INFO] [stderr]    |                               ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |             Key::Right => Some(Direction::Right),
[INFO] [stderr]    |                                ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0573]: expected type, found variant `CellType::Empty`
[INFO] [stderr]   --> src/game.rs:67:28
[INFO] [stderr]    |
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^ not a type
[INFO] [stderr]    |
[INFO] [stderr] help: possible better candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::io::Empty;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::iter::Empty;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
[INFO] [stderr]   --> src/game.rs:67:24
[INFO] [stderr]    |
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        only `Fn` traits may use parentheses
[INFO] [stderr]    |                        help: use angle brackets instead: `new<CellType::Empty>`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `draw_block`
[INFO] [stderr]   --> src/main.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | use draw::{draw_block, to_coord_u32};
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant named `new` found for enum `game::CellType`
[INFO] [stderr]   --> src/game.rs:67:24
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum CellType {
[INFO] [stderr]    | ------------- variant `new` not found here
[INFO] [stderr] ...
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                        ^^^ variant not found in `game::CellType`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0214, E0433, E0573, E0583, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0214`.
[INFO] [stderr] error: could not compile `tetris`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:90:31
[INFO] [stderr]    |
[INFO] [stderr] 90 |             Key::Down => Some(Direction::Down),
[INFO] [stderr]    |                               ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:91:31
[INFO] [stderr]    |
[INFO] [stderr] 91 |             Key::Left => Some(Direction::Left),
[INFO] [stderr]    |                               ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Direction`
[INFO] [stderr]   --> src/game.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |             Key::Right => Some(Direction::Right),
[INFO] [stderr]    |                                ^^^^^^^^^ use of undeclared type or module `Direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0573]: expected type, found variant `CellType::Empty`
[INFO] [stderr]   --> src/game.rs:67:28
[INFO] [stderr]    |
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^ not a type
[INFO] [stderr]    |
[INFO] [stderr] help: possible better candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::io::Empty;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::iter::Empty;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
[INFO] [stderr]   --> src/game.rs:67:24
[INFO] [stderr]    |
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        only `Fn` traits may use parentheses
[INFO] [stderr]    |                        help: use angle brackets instead: `new<CellType::Empty>`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `draw_block`
[INFO] [stderr]   --> src/main.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | use draw::{draw_block, to_coord_u32};
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no variant named `new` found for enum `game::CellType`
[INFO] [stderr]   --> src/game.rs:67:24
[INFO] [stderr]    |
[INFO] [stderr] 7  | enum CellType {
[INFO] [stderr]    | ------------- variant `new` not found here
[INFO] [stderr] ...
[INFO] [stderr] 67 |     grid: [[[CellType::new(CellType::Empty); COL_COUNT as usize]; ROW_COUNT as usize]],
[INFO] [stderr]    |                        ^^^ variant not found in `game::CellType`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 13 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0214, E0433, E0573, E0583, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0214`.
[INFO] [stderr] error: could not compile `tetris`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "c3c67d3ec69e7aa296d0aacbe721baec1013cd6a1316d9a6ba8cf7346504230d"`
[INFO] running `"docker" "rm" "-f" "c3c67d3ec69e7aa296d0aacbe721baec1013cd6a1316d9a6ba8cf7346504230d"`
[INFO] [stdout] c3c67d3ec69e7aa296d0aacbe721baec1013cd6a1316d9a6ba8cf7346504230d
