[INFO] cloning repository https://github.com/anandMohanan/snake_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anandMohanan/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanandMohanan%2Fsnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanandMohanan%2Fsnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ceec54b9c20f074f76dd229cbb0ae5703003a14b
[INFO] checking anandMohanan/snake_game against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanandMohanan%2Fsnake_game" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anandMohanan/snake_game
[INFO] finished tweaking git repo https://github.com/anandMohanan/snake_game
[INFO] tweaked toml for git repo https://github.com/anandMohanan/snake_game written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anandMohanan/snake_game on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anandMohanan/snake_game 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `snake_game` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-2-tc2/source/target/.../snake_game
[INFO] [stderr]    |                                                  ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `snake-game`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:8:8
[INFO] [stderr]    |
[INFO] [stderr]  8 - name = "snake_game"
[INFO] [stderr]  8 + name = "snake-game"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `snake-game`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:9:19
[INFO] [stderr]    |
[INFO] [stderr]  9 ~ version = "0.1.0"
[INFO] [stderr] 10 + [[bin]]
[INFO] [stderr] 11 + name = "snake-game"
[INFO] [stderr] 12 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `snake_game` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston_window v0.118.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v1.0.0
[INFO] [stderr]   Downloaded shader_version v0.7.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.0
[INFO] [stderr]   Downloaded num_enum v0.4.3
[INFO] [stderr]   Downloaded interpolation v0.2.0
[INFO] [stderr]   Downloaded andrew v0.3.1
[INFO] [stderr]   Downloaded wayland-sys v0.28.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.68.2
[INFO] [stderr]   Downloaded wayland-cursor v0.28.5
[INFO] [stderr]   Downloaded raw-window-handle v0.3.3
[INFO] [stderr]   Downloaded gl v0.13.0
[INFO] [stderr]   Downloaded core-graphics v0.22.2
[INFO] [stderr]   Downloaded libloading v0.6.7
[INFO] [stderr]   Downloaded rusttype v0.9.2
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.72.0
[INFO] [stderr]   Downloaded pistoncore-window v0.47.0
[INFO] [stderr]   Downloaded dlib v0.4.2
[INFO] [stderr]   Downloaded ab_glyph_rasterizer v0.1.4
[INFO] [stderr]   Downloaded wayland-egl v0.28.5
[INFO] [stderr]   Downloaded num_enum_derive v0.4.3
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.7
[INFO] [stderr]   Downloaded ndk-glue v0.2.1
[INFO] [stderr]   Downloaded ndk-macro v0.2.0
[INFO] [stderr]   Downloaded xcursor v0.3.3
[INFO] [stderr]   Downloaded vecmath v1.0.0
[INFO] [stderr]   Downloaded read_color v1.0.0
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded memoffset v0.6.3
[INFO] [stderr]   Downloaded pistoncore-input v1.0.0
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded calloop v0.6.5
[INFO] [stderr]   Downloaded ndk v0.2.1
[INFO] [stderr]   Downloaded piston-shaders_graphics2d v0.4.0
[INFO] [stderr]   Downloaded spin_sleep v1.0.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.53.0
[INFO] [stderr]   Downloaded wayland-scanner v0.28.5
[INFO] [stderr]   Downloaded wayland-commons v0.28.5
[INFO] [stderr]   Downloaded owned_ttf_parser v0.6.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.5
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded piston-gfx_texture v0.41.0
[INFO] [stderr]   Downloaded piston v0.53.0
[INFO] [stderr]   Downloaded gfx_gl v0.6.1
[INFO] [stderr]   Downloaded glutin v0.26.0
[INFO] [stderr]   Downloaded xml-rs v0.8.3
[INFO] [stderr]   Downloaded piston2d-graphics v0.39.0
[INFO] [stderr]   Downloaded bytemuck v1.5.1
[INFO] [stderr]   Downloaded serde_derive v1.0.125
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.3
[INFO] [stderr]   Downloaded cocoa v0.23.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.3
[INFO] [stderr]   Downloaded x11-dl v2.18.5
[INFO] [stderr]   Downloaded cc v1.0.67
[INFO] [stderr]   Downloaded gif v0.11.2
[INFO] [stderr]   Downloaded serde v1.0.125
[INFO] [stderr]   Downloaded wayland-client v0.28.5
[INFO] [stderr]   Downloaded weezl v0.1.4
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.12.3
[INFO] [stderr]   Downloaded nom v6.1.2
[INFO] [stderr]   Downloaded wayland-protocols v0.28.5
[INFO] [stderr]   Downloaded ttf-parser v0.6.2
[INFO] [stderr]   Downloaded syn v1.0.65
[INFO] [stderr]   Downloaded nix v0.18.0
[INFO] [stderr]   Downloaded ndk-sys v0.2.1
[INFO] [stderr]   Downloaded libc v0.2.91
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.5
[INFO] [stderr]   Downloaded winit v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f
[INFO] running `Command { std: "docker" "start" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `snake_game` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../snake_game
[INFO] [stderr]    |                          ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `snake-game`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:8:8
[INFO] [stderr]    |
[INFO] [stderr]  8 - name = "snake_game"
[INFO] [stderr]  8 + name = "snake-game"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `snake-game`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:9:19
[INFO] [stderr]    |
[INFO] [stderr]  9 ~ version = "0.1.0"
[INFO] [stderr] 10 + [[bin]]
[INFO] [stderr] 11 + name = "snake-game"
[INFO] [stderr] 12 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `snake_game` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking libloading v0.7.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.4
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking weezl v0.1.4
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking bytemuck v1.5.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking xcursor v0.3.3
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking spin_sleep v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.4.0
[INFO] [stderr]     Checking piston2d-graphics v0.39.0
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking wayland-commons v0.28.5
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking wayland-cursor v0.28.5
[INFO] [stderr]     Checking wayland-egl v0.28.5
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.72.0
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[INFO] [stderr]     Checking pistoncore-window v0.47.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.53.0
[INFO] [stderr]     Checking piston v0.53.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking winit v0.24.0
[INFO] [stderr]     Checking glutin v0.26.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.68.2
[INFO] [stderr]     Checking piston_window v0.118.0
[INFO] [stderr]     Checking snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: missing `struct` for struct definition
[INFO] [stdout]   --> src/snake.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Snake {
[INFO] [stdout]    |            - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 44 |     Snake{
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout]    |
[INFO] [stdout] help: add `struct` here to parse `Snake` as a struct
[INFO] [stdout]    |
[INFO] [stdout] 44 |     struct Snake{
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: missing `struct` for struct definition
[INFO] [stdout]   --> src/snake.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Snake {
[INFO] [stdout]    |            - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 44 |     Snake{
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 | }
[INFO] [stdout]    | - the item list ends here
[INFO] [stdout]    |
[INFO] [stdout] help: add `struct` here to parse `Snake` as a struct
[INFO] [stdout]    |
[INFO] [stdout] 44 |     struct Snake{
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `G2d`
[INFO] [stdout]  --> src/snake.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use piston_window::{Context, G2d};
[INFO] [stdout]   |                     ^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `up` should have an upper camel case name
[INFO] [stdout]  --> src/snake.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     up,
[INFO] [stdout]   |     ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `G2d`
[INFO] [stdout]  --> src/snake.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use piston_window::{Context, G2d};
[INFO] [stdout]   |                     ^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `down` should have an upper camel case name
[INFO] [stdout]  --> src/snake.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     down,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Down`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `left` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     left,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `up` should have an upper camel case name
[INFO] [stdout]  --> src/snake.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     up,
[INFO] [stdout]   |     ^^ help: convert the identifier to upper camel case (notice the capitalization): `Up`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `right` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     right,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `down` should have an upper camel case name
[INFO] [stdout]  --> src/snake.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     down,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Down`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `left` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     left,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `right` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     right,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `Right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/snake.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn new(x: i32, y: i32) -> Snake {
[INFO] [stdout]    |            ---                    ^^^^^ expected `Snake`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/snake.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn new(x: i32, y: i32) -> Snake {
[INFO] [stdout]    |            ---                    ^^^^^ expected `Snake`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake_game` (bin "snake_game") due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `snake_game` (bin "snake_game" test) due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f", kill_on_drop: false }`
[INFO] [stdout] 72d05e5c8abf123feebb5e3ee35d87836c3c57712cd873dd34a9091d6e41989f
