[INFO] cloning repository https://github.com/jospradlin/three_prototyping
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jospradlin/three_prototyping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjospradlin%2Fthree_prototyping", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjospradlin%2Fthree_prototyping'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] de48d410f10f6d8b0703b08589dc68d90f3b775d
[INFO] checking jospradlin/three_prototyping against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjospradlin%2Fthree_prototyping" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jospradlin/three_prototyping
[INFO] finished tweaking git repo https://github.com/jospradlin/three_prototyping
[INFO] tweaked toml for git repo https://github.com/jospradlin/three_prototyping written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jospradlin/three_prototyping on toolchain c8a31b780d5415358566a20b94912620a3f27067
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jospradlin/three_prototyping 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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded cfg-if v0.1.10
[INFO] [stderr]   Downloaded cfg-if v1.0.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.89
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.89
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.89
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] [stderr]   Downloaded log v0.4.20
[INFO] [stderr]   Downloaded proc-macro2 v1.0.70
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded bumpalo v3.14.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.89
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.89
[INFO] [stderr]   Downloaded syn v2.0.41
[INFO] [stderr]   Downloaded libc v0.2.151
[INFO] [stderr]   Downloaded winapi v0.3.9
[INFO] [stderr]   Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]   Downloaded winapi-i686-pc-windows-gnu v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e61e4ebf5743ed6acb6be1f2ce10d76e3cd246608b9cc5c9fee1381d06814d2e
[INFO] running `Command { std: "docker" "start" "-a" "e61e4ebf5743ed6acb6be1f2ce10d76e3cd246608b9cc5c9fee1381d06814d2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61e4ebf5743ed6acb6be1f2ce10d76e3cd246608b9cc5c9fee1381d06814d2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61e4ebf5743ed6acb6be1f2ce10d76e3cd246608b9cc5c9fee1381d06814d2e", kill_on_drop: false }`
[INFO] [stdout] e61e4ebf5743ed6acb6be1f2ce10d76e3cd246608b9cc5c9fee1381d06814d2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 785eda4391f166cd1715d7e54db3a55161f45832d23ffc18fd85c7c626ff1852
[INFO] running `Command { std: "docker" "start" "-a" "785eda4391f166cd1715d7e54db3a55161f45832d23ffc18fd85c7c626ff1852", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.89
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling wasm-bindgen v0.2.89
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.89
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.89
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.89
[INFO] [stderr]     Checking three_prototyping v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `body` and `direction` are never read
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Snake {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 43 |     body: Vec<SnakeCell>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |     direction: Direction,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Snake {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 49 |     pub fn new(spawn_index: usize, size: usize) -> Snake {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct World {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 68 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 69 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 70 |     snake: Snake,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 71 |     next_cell: Option<SnakeCell>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 72 |     reward_cell: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 73 |     status: Option<GameStatus>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 74 |     points: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/lib.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl World {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  79 |     pub fn new(width: usize, snake_index: usize, starting_size: usize) -> World {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn start_game(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn status(&self) -> Option<GameStatus> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn points(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn game_status_text(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn width(&self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn reward_cell(&self) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn snake_head_index(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn snake_cells(&self) -> *const SnakeCell {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn snake_length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn set_random_reward_cell(max_size: usize, snake_body: &Vec<SnakeCell>) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn step(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn gen_next_snake_cell(&self, direction: &Direction) -> SnakeCell {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn handle_input(&mut self, new_direction: Direction) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `body` and `direction` are never read
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Snake {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 43 |     body: Vec<SnakeCell>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |     direction: Direction,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Snake {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 49 |     pub fn new(spawn_index: usize, size: usize) -> Snake {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct World {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 68 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 69 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 70 |     snake: Snake,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 71 |     next_cell: Option<SnakeCell>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 72 |     reward_cell: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 73 |     status: Option<GameStatus>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 74 |     points: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/lib.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl World {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  79 |     pub fn new(width: usize, snake_index: usize, starting_size: usize) -> World {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn start_game(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn status(&self) -> Option<GameStatus> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn points(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn game_status_text(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn width(&self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn reward_cell(&self) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn snake_head_index(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn snake_cells(&self) -> *const SnakeCell {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn snake_length(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn set_random_reward_cell(max_size: usize, snake_body: &Vec<SnakeCell>) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn step(&mut self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn gen_next_snake_cell(&self, direction: &Direction) -> SnakeCell {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn handle_input(&mut self, new_direction: Direction) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s
[INFO] running `Command { std: "docker" "inspect" "785eda4391f166cd1715d7e54db3a55161f45832d23ffc18fd85c7c626ff1852", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "785eda4391f166cd1715d7e54db3a55161f45832d23ffc18fd85c7c626ff1852", kill_on_drop: false }`
[INFO] [stdout] 785eda4391f166cd1715d7e54db3a55161f45832d23ffc18fd85c7c626ff1852
