[INFO] cloning repository https://github.com/nikitaNotFound/snake-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikitaNotFound/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnikitaNotFound%2Fsnake-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnikitaNotFound%2Fsnake-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d701966e3400018d55d6b203400b3bdf8182293d
[INFO] checking nikitaNotFound/snake-rs against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnikitaNotFound%2Fsnake-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nikitaNotFound/snake-rs
[INFO] finished tweaking git repo https://github.com/nikitaNotFound/snake-rs
[INFO] tweaked toml for git repo https://github.com/nikitaNotFound/snake-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nikitaNotFound/snake-rs on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nikitaNotFound/snake-rs 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.80
[INFO] [stderr]   Downloaded syn v2.0.59
[INFO] [stderr]   Downloaded miniquad v0.4.0
[INFO] [stderr]   Downloaded macroquad v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4
[INFO] running `Command { std: "docker" "start" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4", 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" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4", 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" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling miniquad v0.4.0
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.5
[INFO] [stderr]     Checking snake-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, time::Duration};
[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 import: `rand`
[INFO] [stdout]  --> src/board.rs:1:72
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{color::{Color, BLACK, GRAY, YELLOW}, rand::{gen_range, rand}, shapes::draw_rectangle};
[INFO] [stdout]   |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/snake.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::LinkedList, sync::Arc, time::{Duration, Instant}};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/snake.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{board::{self, Board, Point}, game::Game};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_square_size` is never used
[INFO] [stdout]   --> src/board.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Board {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn get_square_size(&self) -> f32 { self.square_size }
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_point` is never used
[INFO] [stdout]   --> src/snake.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Direction {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_prev_point(&self, point: &Point) -> Point {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, time::Duration};
[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 import: `rand`
[INFO] [stdout]  --> src/board.rs:1:72
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{color::{Color, BLACK, GRAY, YELLOW}, rand::{gen_range, rand}, shapes::draw_rectangle};
[INFO] [stdout]   |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::Arc`
[INFO] [stdout]  --> src/snake.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::LinkedList, sync::Arc, time::{Duration, Instant}};
[INFO] [stdout]   |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/snake.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{board::{self, Board, Point}, game::Game};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_square_size` is never used
[INFO] [stdout]   --> src/board.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Board {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn get_square_size(&self) -> f32 { self.square_size }
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_prev_point` is never used
[INFO] [stdout]   --> src/snake.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Direction {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_prev_point(&self, point: &Point) -> Point {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.63s
[INFO] running `Command { std: "docker" "inspect" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4", kill_on_drop: false }`
[INFO] [stdout] 56317c2aa120a5b6c8e23f6448cc99b6bbce586b3f76454a2fcf41494db219c4
