[INFO] cloning repository https://github.com/JingIsCoding/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/JingIsCoding/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJingIsCoding%2Fsnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJingIsCoding%2Fsnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aaf8401b2879ebeb6848a0480ae36bbbf95dca70
[INFO] checking JingIsCoding/snake_game against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJingIsCoding%2Fsnake_game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JingIsCoding/snake_game
[INFO] finished tweaking git repo https://github.com/JingIsCoding/snake_game
[INFO] tweaked toml for git repo https://github.com/JingIsCoding/snake_game written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JingIsCoding/snake_game on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JingIsCoding/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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: file `/workspace/builds/worker-5-tc1/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `snake_game`
[INFO] [stderr]   * `bin` target `snake_game`
[INFO] [stderr] warning: `snake_game` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded shader_version v0.7.0
[INFO] [stderr]   Downloaded pistoncore-window v0.47.0
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.69.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v1.0.0
[INFO] [stderr]   Downloaded gl v0.13.0
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded wayland-egl v0.28.5
[INFO] [stderr]   Downloaded read_color v1.0.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.0
[INFO] [stderr]   Downloaded piston-shaders_graphics2d v0.4.0
[INFO] [stderr]   Downloaded piston v0.53.0
[INFO] [stderr]   Downloaded wayland-sys v0.28.5
[INFO] [stderr]   Downloaded vecmath v1.0.0
[INFO] [stderr]   Downloaded wayland-cursor v0.28.5
[INFO] [stderr]   Downloaded slab v0.4.3
[INFO] [stderr]   Downloaded interpolation v0.2.0
[INFO] [stderr]   Downloaded pistoncore-input v1.0.0
[INFO] [stderr]   Downloaded wayland-scanner v0.28.5
[INFO] [stderr]   Downloaded thiserror v1.0.25
[INFO] [stderr]   Downloaded thiserror-impl v1.0.25
[INFO] [stderr]   Downloaded gl_generator v0.13.1
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.78.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.53.0
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded wayland-commons v0.28.5
[INFO] [stderr]   Downloaded once_cell v1.7.2
[INFO] [stderr]   Downloaded piston2d-graphics v0.40.0
[INFO] [stderr]   Downloaded bytemuck v1.5.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.27
[INFO] [stderr]   Downloaded memchr v2.4.0
[INFO] [stderr]   Downloaded redox_syscall v0.2.8
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded serde v1.0.126
[INFO] [stderr]   Downloaded wayland-client v0.28.5
[INFO] [stderr]   Downloaded cc v1.0.68
[INFO] [stderr]   Downloaded wayland-protocols v0.28.5
[INFO] [stderr]   Downloaded syn v1.0.72
[INFO] [stderr]   Downloaded libc v0.2.95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5
[INFO] running `Command { std: "docker" "start" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5", 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" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5", 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" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `snake_game`
[INFO] [stderr]   * `bin` target `snake_game`
[INFO] [stderr] warning: `snake_game` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking libloading v0.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking nix v0.18.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking xcursor v0.3.3
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]     Checking wayland-commons v0.28.5
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking lock_api v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking wayland-cursor v0.28.5
[INFO] [stderr]     Checking wayland-egl v0.28.5
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking spin_sleep v1.0.0
[INFO] [stderr]     Checking bytemuck v1.5.1
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.4.0
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking piston2d-graphics v0.40.0
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.78.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.69.0
[INFO] [stderr]     Checking snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::snake::*`
[INFO] [stdout]  --> src/game/food.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::snake::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/snake.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn update(&mut self, foods: &mut Vec<Food>, args: &UpdateArgs) {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/food.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]  --> src/game/game.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0];
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]  --> src/game/game.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0];
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GREEN` is never used
[INFO] [stdout]   --> src/game/game.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0];
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TILE_SIZE` is never used
[INFO] [stdout]   --> src/game/game.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const TILE_SIZE: f64 = 20_f64;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIDTH` is never used
[INFO] [stdout]   --> src/game/game.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const WIDTH: i32 = 32;
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEIGHT` is never used
[INFO] [stdout]   --> src/game/game.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const HEIGHT: i32 = 24;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]   --> src/game/game.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Game {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `render`, `update`, `generate_food`, and `button_press` are never used
[INFO] [stdout]   --> src/game/game.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Game {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(opengl: OpenGL) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn render(&mut self, args: &RenderArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn generate_food(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn button_press(&mut self, button: &Button) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Timer` is never constructed
[INFO] [stdout]   --> src/game/game.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct Timer {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `tick`, `has_been`, and `reset` are never used
[INFO] [stdout]    --> src/game/game.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Timer {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn tick(&mut self, dt: f64) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn has_been(&self, duration: f64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]  --> src/game/snake.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Direction {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snake` is never constructed
[INFO] [stdout]   --> src/game/snake.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Snake {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `render`, `update`, `move_snake`, and `change_dir` are never used
[INFO] [stdout]   --> src/game/snake.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Snake {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(init_pos: Option<Position>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn render(&self, gl: &mut GlGraphics, args: &RenderArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn update(&mut self, foods: &mut Vec<Food>, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn move_snake(&mut self, foods: &mut Vec<Food>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn change_dir(&mut self, dir: Direction) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Body` is never constructed
[INFO] [stdout]   --> src/game/snake.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct Body {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `render` are never used
[INFO] [stdout]    --> src/game/snake.rs:98:8
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Body {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  98 |     fn new(pos: Position) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn render(&self, gl: &mut GlGraphics, args: &RenderArgs) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]  --> src/game/position.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Position {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_same` are never used
[INFO] [stdout]   --> src/game/position.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Position {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new(x: i32, y: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn is_same(&self, other: &Self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Food` is never constructed
[INFO] [stdout]  --> src/game/food.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Food {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `render`, and `update` are never used
[INFO] [stdout]   --> src/game/food.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Food {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(pos: Position) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn render(&self, gl: &mut GlGraphics, args: &RenderArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::snake::*`
[INFO] [stdout]  --> src/game/food.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::snake::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/snake.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn update(&mut self, foods: &mut Vec<Food>, args: &UpdateArgs) {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::snake::*`
[INFO] [stdout]  --> src/game/food.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::snake::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/food.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]   --> src/game/food.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Food {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::snake::*`
[INFO] [stdout]  --> src/game/food.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::snake::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/snake.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn update(&mut self, foods: &mut Vec<Food>, args: &UpdateArgs) {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/food.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]   --> src/game/food.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Food {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/snake.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn update(&mut self, foods: &mut Vec<Food>, args: &UpdateArgs) {
[INFO] [stdout]    |                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game/food.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]   --> src/game/food.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Food {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2
[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" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5", kill_on_drop: false }`
[INFO] [stdout] b9b1e5040e0be6ae88de0c8d344032ea83b5df2b6bd0b770c74657cfacc8f3b5
