[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#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaemitrious%2Fsnake" "/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/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Daemitrious/snake on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d91457f0305f69353376a43121ad1eddd30ae08643bfbbba6372d6d40abfbf28
[INFO] running `Command { std: "docker" "start" "-a" "d91457f0305f69353376a43121ad1eddd30ae08643bfbbba6372d6d40abfbf28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d91457f0305f69353376a43121ad1eddd30ae08643bfbbba6372d6d40abfbf28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d91457f0305f69353376a43121ad1eddd30ae08643bfbbba6372d6d40abfbf28", kill_on_drop: false }`
[INFO] [stdout] d91457f0305f69353376a43121ad1eddd30ae08643bfbbba6372d6d40abfbf28
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c12a8ba7b29b3f68c02464a4e5fe4c0f896bde74ad8a6a85c4cd0ea9d8de007d
[INFO] running `Command { std: "docker" "start" "-a" "c12a8ba7b29b3f68c02464a4e5fe4c0f896bde74ad8a6a85c4cd0ea9d8de007d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[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)]` 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)]` 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[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[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, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[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] [stderr] error: could not compile `snake` (bin "snake") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, 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 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "c12a8ba7b29b3f68c02464a4e5fe4c0f896bde74ad8a6a85c4cd0ea9d8de007d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c12a8ba7b29b3f68c02464a4e5fe4c0f896bde74ad8a6a85c4cd0ea9d8de007d", kill_on_drop: false }`
[INFO] [stdout] c12a8ba7b29b3f68c02464a4e5fe4c0f896bde74ad8a6a85c4cd0ea9d8de007d
