[INFO] cloning repository https://github.com/Daemitrious/snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Daemitrious/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaemitrious%2Fsnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaemitrious%2Fsnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f5827e2c53593ff5e2747bbd0fd34c04f74be50
[INFO] checking Daemitrious/snake against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaemitrious%2Fsnake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Daemitrious/snake
[INFO] finished tweaking git repo https://github.com/Daemitrious/snake
[INFO] tweaked toml for git repo https://github.com/Daemitrious/snake written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Daemitrious/snake on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Daemitrious/snake 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41e24c75357be2d3a7deafd38d1b23036827bbe9cf94e410a508a73e4ce013a3
[INFO] running `Command { std: "docker" "start" "-a" "41e24c75357be2d3a7deafd38d1b23036827bbe9cf94e410a508a73e4ce013a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41e24c75357be2d3a7deafd38d1b23036827bbe9cf94e410a508a73e4ce013a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41e24c75357be2d3a7deafd38d1b23036827bbe9cf94e410a508a73e4ce013a3", kill_on_drop: false }`
[INFO] [stdout] 41e24c75357be2d3a7deafd38d1b23036827bbe9cf94e410a508a73e4ce013a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc3e00527c6b6eb391f044a62fd5a7101efdaf9bd7f1b689afcc8245201aae02
[INFO] running `Command { std: "docker" "start" "-a" "dc3e00527c6b6eb391f044a62fd5a7101efdaf9bd7f1b689afcc8245201aae02", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]     Checking getrandom v0.2.6
[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 snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `stream`, `player`, and `id` are never read
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Client {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 6 |     stream: Lock<TcpStream>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     player: Lock<Player>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     id: u64,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stream`, `player`, and `id` are never used
[INFO] [stdout]   --> src/client.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Client {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 12 |     fn stream(&self) -> Lock<TcpStream> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn player(&self) -> Lock<Player> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     const fn id(&self) -> u64 {
[INFO] [stdout]    |              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stream`, `player`, and `id` are never read
[INFO] [stdout]  --> src/client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Client {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 6 |     stream: Lock<TcpStream>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 7 |     player: Lock<Player>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     id: u64,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `stream`, `player`, and `id` are never used
[INFO] [stdout]   --> src/client.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Client {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 12 |     fn stream(&self) -> Lock<TcpStream> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn player(&self) -> Lock<Player> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     const fn id(&self) -> u64 {
[INFO] [stdout]    |              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `game` in this scope
[INFO] [stdout]   --> src/main.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 if let Ok(guard_game) = game.read() {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `id` in this scope
[INFO] [stdout]   --> src/main.rs:23:65
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     if let Some(stream) = guard_game.get_stream(id) {
[INFO] [stdout]    |                                                                 ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::process::id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `id` in this scope
[INFO] [stdout]   --> src/main.rs:30:77
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...                   if let Some(player) = guard_game.get_player(id) {
[INFO] [stdout]    |                                                                   ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::process::id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `game` in this scope
[INFO] [stdout]   --> src/main.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 if let Ok(guard_game) = game.read() {
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `id` in this scope
[INFO] [stdout]   --> src/main.rs:23:65
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     if let Some(stream) = guard_game.get_stream(id) {
[INFO] [stdout]    |                                                                 ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::process::id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:23:43
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     if let Some(stream) = guard_game.get_stream(id) {
[INFO] [stdout]    |                                           ^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:24:55
[INFO] [stdout]    |
[INFO] [stdout] 24 |                         if let Ok(mut guard_stream) = stream.write() {
[INFO] [stdout]    |                                                       ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...                   guard_stream.read_exact(&mut buf)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `id` in this scope
[INFO] [stdout]   --> src/main.rs:30:77
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...                   if let Some(player) = guard_game.get_player(id) {
[INFO] [stdout]    |                                                                   ^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::process::id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:31:67
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...                   if let Ok(mut guard_player) = player.write() {
[INFO] [stdout]    |                                                     ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   handle_client(stream, thread_open).unwrap_err();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^         ----------- argument #2 of type `&mut Movement` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn handle_client(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 13 |     stream: Lock<TcpStream>,
[INFO] [stdout] 14 |     movement: &mut Movement,
[INFO] [stdout]    |     -----------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 97 |                             handle_client(stream, /* &mut Movement */, thread_open).unwrap_err();
[INFO] [stdout]    |                                                   ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake` (bin "snake" test) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:23:43
[INFO] [stdout]    |
[INFO] [stdout] 23 |                     if let Some(stream) = guard_game.get_stream(id) {
[INFO] [stdout]    |                                           ^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:24:55
[INFO] [stdout]    |
[INFO] [stdout] 24 |                         if let Ok(mut guard_stream) = stream.write() {
[INFO] [stdout]    |                                                       ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 | ...                   guard_stream.read_exact(&mut buf)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:31:67
[INFO] [stdout]    |
[INFO] [stdout] 31 | ...                   if let Ok(mut guard_player) = player.write() {
[INFO] [stdout]    |                                                     ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> src/main.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   handle_client(stream, thread_open).unwrap_err();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^         ----------- argument #2 of type `&mut Movement` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn handle_client(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 13 |     stream: Lock<TcpStream>,
[INFO] [stdout] 14 |     movement: &mut Movement,
[INFO] [stdout]    |     -----------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 97 |                             handle_client(stream, /* &mut Movement */, thread_open).unwrap_err();
[INFO] [stdout]    |                                                   ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake` (bin "snake") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "dc3e00527c6b6eb391f044a62fd5a7101efdaf9bd7f1b689afcc8245201aae02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc3e00527c6b6eb391f044a62fd5a7101efdaf9bd7f1b689afcc8245201aae02", kill_on_drop: false }`
[INFO] [stdout] dc3e00527c6b6eb391f044a62fd5a7101efdaf9bd7f1b689afcc8245201aae02
