[INFO] cloning repository https://github.com/paul-asvb/rust-testgame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paul-asvb/rust-testgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Frust-testgame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Frust-testgame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 982ef9ef33ed4b657a7ad6db9840824b66f85eba
[INFO] checking paul-asvb/rust-testgame against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Frust-testgame" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/paul-asvb/rust-testgame
[INFO] finished tweaking git repo https://github.com/paul-asvb/rust-testgame
[INFO] tweaked toml for git repo https://github.com/paul-asvb/rust-testgame written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/paul-asvb/rust-testgame on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/paul-asvb/rust-testgame 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bumpalo v3.7.0
[INFO] [stderr]   Downloaded sapp-windows v0.2.19
[INFO] [stderr]   Downloaded miniquad v0.3.0-alpha.45
[INFO] [stderr]   Downloaded syn v1.0.77
[INFO] [stderr]   Downloaded macroquad v0.3.15
[INFO] [stderr]   Downloaded quad-snd v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f
[INFO] running `Command { std: "docker" "start" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f", 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" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f", 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" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]    Compiling sapp-linux v0.1.14
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]    Compiling quad-snd v0.2.2
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking ttf-parser v0.12.3
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]     Checking bumpalo v3.7.0
[INFO] [stderr]     Checking glam v0.14.0
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking fontdue v0.5.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking miniquad v0.3.0-alpha.45
[INFO] [stderr]     Checking macroquad v0.3.15
[INFO] [stderr]     Checking testgame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> src/game.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Game {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_game` is never used
[INFO] [stdout]  --> src/game.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn init_game(number_of_snakes: i8) -> Game {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `render` is never used
[INFO] [stdout]   --> src/game.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Game {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 15 |     pub fn render(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPEED` is never used
[INFO] [stdout]  --> src/snake.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const SPEED: f32 = 0.01;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THICKNESS` is never used
[INFO] [stdout]  --> src/snake.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const THICKNESS: f32 = 0.01;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAD_COLOR` is never used
[INFO] [stdout]  --> src/snake.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const HEAD_COLOR: Color = YELLOW;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CURVINESS` is never used
[INFO] [stdout]  --> src/snake.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CURVINESS: f32 = 5.0;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_edges` is never used
[INFO] [stdout]  --> src/snake.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn check_edges(v: &mut Point2<f32>) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_color` is never used
[INFO] [stdout]   --> src/snake.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn random_color() -> Color {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Part` is never constructed
[INFO] [stdout]   --> src/snake.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Part {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snake` is never constructed
[INFO] [stdout]   --> src/snake.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Snake {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_snake` is never used
[INFO] [stdout]   --> src/snake.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn new_snake() -> Snake {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `render`, `right`, and `left` are never used
[INFO] [stdout]   --> src/snake.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Snake {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 67 |     pub fn add(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn render(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn right(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub fn left(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> src/game.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Game {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_game` is never used
[INFO] [stdout]  --> src/game.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn init_game(number_of_snakes: i8) -> Game {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `render` is never used
[INFO] [stdout]   --> src/game.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Game {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 15 |     pub fn render(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPEED` is never used
[INFO] [stdout]  --> src/snake.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const SPEED: f32 = 0.01;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `THICKNESS` is never used
[INFO] [stdout]  --> src/snake.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const THICKNESS: f32 = 0.01;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAD_COLOR` is never used
[INFO] [stdout]  --> src/snake.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const HEAD_COLOR: Color = YELLOW;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CURVINESS` is never used
[INFO] [stdout]  --> src/snake.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CURVINESS: f32 = 5.0;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_edges` is never used
[INFO] [stdout]  --> src/snake.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn check_edges(v: &mut Point2<f32>) {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_color` is never used
[INFO] [stdout]   --> src/snake.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn random_color() -> Color {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Part` is never constructed
[INFO] [stdout]   --> src/snake.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct Part {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snake` is never constructed
[INFO] [stdout]   --> src/snake.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Snake {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_snake` is never used
[INFO] [stdout]   --> src/snake.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn new_snake() -> Snake {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `render`, `right`, and `left` are never used
[INFO] [stdout]   --> src/snake.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl Snake {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 67 |     pub fn add(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn render(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn right(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub fn left(&mut self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]  --> Cargo.toml:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | rand = "0.8.5"
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `testgame` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.90s
[INFO] running `Command { std: "docker" "inspect" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f", kill_on_drop: false }`
[INFO] [stdout] 12d29c5eeb7ace0093c869cc1323204f931d6d5c2bc0ef4e96476460384ad22f
