[INFO] cloning repository https://github.com/0xdh/xenopeltis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xdh/xenopeltis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xdh%2Fxenopeltis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xdh%2Fxenopeltis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ccc42740e27188fd880dfe99ca7a21589bfa7c90
[INFO] building 0xdh/xenopeltis against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xdh%2Fxenopeltis" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xdh/xenopeltis on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0xdh/xenopeltis
[INFO] finished tweaking git repo https://github.com/0xdh/xenopeltis
[INFO] tweaked toml for git repo https://github.com/0xdh/xenopeltis written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/0xdh/xenopeltis 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed8cc177d187f374d9ef0974fd511bf8058a443ddb3200085ff0ff70fac17414
[INFO] running `Command { std: "docker" "start" "-a" "ed8cc177d187f374d9ef0974fd511bf8058a443ddb3200085ff0ff70fac17414", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed8cc177d187f374d9ef0974fd511bf8058a443ddb3200085ff0ff70fac17414", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed8cc177d187f374d9ef0974fd511bf8058a443ddb3200085ff0ff70fac17414", kill_on_drop: false }`
[INFO] [stdout] ed8cc177d187f374d9ef0974fd511bf8058a443ddb3200085ff0ff70fac17414
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b6e298eb5a94621ddcb7d6ffc56f1ceb7c9c31c0c7f3b66f3e79293ff806355
[INFO] running `Command { std: "docker" "start" "-a" "5b6e298eb5a94621ddcb7d6ffc56f1ceb7c9c31c0c7f3b66f3e79293ff806355", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.116
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.79
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.79
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling futures-io v0.3.19
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling boolinator v2.4.0
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling scoped-tls-hkt v0.1.2
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling termion v1.5.6
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.79
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling enum-ordinalize v3.1.10
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling yew-macro v0.19.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.79
[INFO] [stderr]    Compiling educe v0.4.18
[INFO] [stderr]    Compiling tokio v1.16.1
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.79
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tungstenite v0.16.0
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-executor v0.3.19
[INFO] [stderr]    Compiling futures v0.3.19
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-tungstenite v0.16.1
[INFO] [stderr]    Compiling termion-input-tokio v0.3.0
[INFO] [stderr]    Compiling xenopeltis-common v0.2.1 (/opt/rustwide/workdir/common)
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling tokio-serde v0.8.0
[INFO] [stderr]    Compiling xenopeltis v0.2.2 (/opt/rustwide/workdir/client)
[INFO] [stderr]    Compiling xenopeltis-server v0.2.1 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]   --> server/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]   --> server/src/main.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::sync::broadcast::{channel, Receiver};
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> server/src/main.rs:63:42
[INFO] [stdout]    |
[INFO] [stdout] 63 | async fn handler(game: Arc<Mutex<Game>>, mut connection: TcpStream, peer: SocketAddr) {
[INFO] [stdout]    |                                          ----^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> server/src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | /     loop {
[INFO] [stdout] 128 | |         let (stream, peer) = listener.accept().await?;
[INFO] [stdout] 129 | |         tokio::spawn(handler(game.clone(), stream, peer));
[INFO] [stdout] 130 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 131 |
[INFO] [stdout] 132 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> server/src/game.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut food = true;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]    --> server/src/game.rs:185:36
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn messages_initial(&self, peer: SocketAddr) -> Vec<ServerMessage> {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> server/src/game.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct State<T: Clone> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used
[INFO] [stdout]   --> server/src/game.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<T: Clone> State<T> {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(initial: T, rows: usize, cols: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get(&self, row: usize, col: usize) -> Option<&T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn set(&mut self, row: usize, col: usize, value: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         framed.send(message).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = framed.send(message).await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 framed.send(event).await;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let _ = framed.send(event).await;
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/game.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |         self.state_set(row, col, Field::Snake(color));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let _ = self.state_set(row, col, Field::Snake(color));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 | /                 self.state_set(
[INFO] [stdout] 110 | |                     *row,
[INFO] [stdout] 111 | |                     *col,
[INFO] [stdout] 112 | |                     match food {
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |                     },
[INFO] [stdout] 116 | |                 );
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let _ = self.state_set(
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         self.state_set(row, col, Field::Food(false));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let _ = self.state_set(row, col, Field::Food(false));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:243:17
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 let _ = self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 let _ = self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 self.state_set(last.0 as usize, last.1 as usize, Field::Empty);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 let _ = self.state_set(last.0 as usize, last.1 as usize, Field::Empty);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling xenopeltis-websocket v0.1.0 (/opt/rustwide/workdir/websocket)
[INFO] [stderr]    Compiling js-sys v0.3.56
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling web-sys v0.3.56
[INFO] [stderr]    Compiling gloo-timers v0.2.3
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.29
[INFO] [stderr]    Compiling gloo-events v0.1.1
[INFO] [stderr]    Compiling gloo-utils v0.1.2
[INFO] [stderr]    Compiling gloo-dialogs v0.1.0
[INFO] [stderr]    Compiling gloo-console v0.2.1
[INFO] [stderr]    Compiling gloo-render v0.1.0
[INFO] [stderr]    Compiling gloo-storage v0.2.0
[INFO] [stderr]    Compiling gloo-file v0.2.1
[INFO] [stderr]    Compiling gloo v0.4.2
[INFO] [stderr]    Compiling yew v0.19.3
[INFO] [stderr]    Compiling xenopeltis-webui v0.1.0 (/opt/rustwide/workdir/webui)
[INFO] [stdout] warning: unused import: `yew::virtual_dom::VChild`
[INFO] [stdout]  --> webui/src/launcher.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use yew::virtual_dom::VChild;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `yew::prelude::*`
[INFO] [stdout]  --> webui/src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use yew::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> webui/src/launcher.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             _ => false,
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> webui/src/launcher.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Msg::AddOne => {
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 32 |             Msg::Connect => true,
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 33 |             _ => false,
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.98s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b6e298eb5a94621ddcb7d6ffc56f1ceb7c9c31c0c7f3b66f3e79293ff806355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b6e298eb5a94621ddcb7d6ffc56f1ceb7c9c31c0c7f3b66f3e79293ff806355", kill_on_drop: false }`
[INFO] [stdout] 5b6e298eb5a94621ddcb7d6ffc56f1ceb7c9c31c0c7f3b66f3e79293ff806355
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c99500131c260b518baa091108670364c53b92e7501f4261872424bd31012fd
[INFO] running `Command { std: "docker" "start" "-a" "3c99500131c260b518baa091108670364c53b92e7501f4261872424bd31012fd", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling xenopeltis-common v0.2.1 (/opt/rustwide/workdir/common)
[INFO] [stderr]    Compiling xenopeltis v0.2.2 (/opt/rustwide/workdir/client)
[INFO] [stderr]    Compiling xenopeltis-server v0.2.1 (/opt/rustwide/workdir/server)
[INFO] [stderr]    Compiling xenopeltis-websocket v0.1.0 (/opt/rustwide/workdir/websocket)
[INFO] [stderr]    Compiling xenopeltis-webui v0.1.0 (/opt/rustwide/workdir/webui)
[INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt`
[INFO] [stdout]   --> server/src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::io::AsyncWriteExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]   --> server/src/main.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::sync::broadcast::{channel, Receiver};
[INFO] [stdout]    |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `yew::virtual_dom::VChild`
[INFO] [stdout]  --> webui/src/launcher.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use yew::virtual_dom::VChild;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `yew::prelude::*`
[INFO] [stdout]  --> webui/src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use yew::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> server/src/main.rs:63:42
[INFO] [stdout]    |
[INFO] [stdout] 63 | async fn handler(game: Arc<Mutex<Game>>, mut connection: TcpStream, peer: SocketAddr) {
[INFO] [stdout]    |                                          ----^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> webui/src/launcher.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             _ => false,
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> webui/src/launcher.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Msg::AddOne => {
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 32 |             Msg::Connect => true,
[INFO] [stdout]    |             ------------ matches some of the same values
[INFO] [stdout] 33 |             _ => false,
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> server/src/main.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 127 | /     loop {
[INFO] [stdout] 128 | |         let (stream, peer) = listener.accept().await?;
[INFO] [stdout] 129 | |         tokio::spawn(handler(game.clone(), stream, peer));
[INFO] [stdout] 130 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 131 |
[INFO] [stdout] 132 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> server/src/game.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut food = true;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peer`
[INFO] [stdout]    --> server/src/game.rs:185:36
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn messages_initial(&self, peer: SocketAddr) -> Vec<ServerMessage> {
[INFO] [stdout]     |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_peer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `State` is never constructed
[INFO] [stdout]   --> server/src/game.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct State<T: Clone> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used
[INFO] [stdout]   --> server/src/game.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl<T: Clone> State<T> {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new(initial: T, rows: usize, cols: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get(&self, row: usize, col: usize) -> Option<&T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn set(&mut self, row: usize, col: usize, value: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         framed.send(message).await;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let _ = framed.send(message).await;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 framed.send(event).await;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let _ = framed.send(event).await;
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/game.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |         self.state_set(row, col, Field::Snake(color));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let _ = self.state_set(row, col, Field::Snake(color));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 | /                 self.state_set(
[INFO] [stdout] 110 | |                     *row,
[INFO] [stdout] 111 | |                     *col,
[INFO] [stdout] 112 | |                     match food {
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |                     },
[INFO] [stdout] 116 | |                 );
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let _ = self.state_set(
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 |         self.state_set(row, col, Field::Food(false));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let _ = self.state_set(row, col, Field::Food(false));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:243:17
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 let _ = self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 let _ = self.state_set(next.0 as usize, next.1 as usize, Field::Snake(color));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> server/src/game.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 self.state_set(last.0 as usize, last.1 as usize, Field::Empty);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 257 |                 let _ = self.state_set(last.0 as usize, last.1 as usize, Field::Empty);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.79
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3c99500131c260b518baa091108670364c53b92e7501f4261872424bd31012fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c99500131c260b518baa091108670364c53b92e7501f4261872424bd31012fd", kill_on_drop: false }`
[INFO] [stdout] 3c99500131c260b518baa091108670364c53b92e7501f4261872424bd31012fd
