[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] checking 0xdh/xenopeltis/ccc42740e27188fd880dfe99ca7a21589bfa7c90 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xdh%2Fxenopeltis" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xdh/xenopeltis on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-5-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 991a6bf2f06a4256b9c0b3fa64d46a5676f56f5496b8e2d92f783a635008da1b [INFO] running `Command { std: "docker" "start" "-a" "991a6bf2f06a4256b9c0b3fa64d46a5676f56f5496b8e2d92f783a635008da1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "991a6bf2f06a4256b9c0b3fa64d46a5676f56f5496b8e2d92f783a635008da1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991a6bf2f06a4256b9c0b3fa64d46a5676f56f5496b8e2d92f783a635008da1b", kill_on_drop: false }` [INFO] [stdout] 991a6bf2f06a4256b9c0b3fa64d46a5676f56f5496b8e2d92f783a635008da1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c88c9f745bc5cb2babd5ebe1b11cd6455a45811a83d7528965b63795795c96a [INFO] running `Command { std: "docker" "start" "-a" "3c88c9f745bc5cb2babd5ebe1b11cd6455a45811a83d7528965b63795795c96a", 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 unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [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 educe v0.4.18 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking termion-input-tokio v0.3.0 [INFO] [stderr] Checking xenopeltis-common v0.2.1 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking xenopeltis-server v0.2.1 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking xenopeltis v0.2.2 (/opt/rustwide/workdir/client) [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: `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>, 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 { [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: 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>, 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: struct `State` is never constructed [INFO] [stdout] --> server/src/game.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct State { [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 State { [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 variable: `peer` [INFO] [stdout] --> server/src/game.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn messages_initial(&self, peer: SocketAddr) -> Vec { [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: 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] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> server/src/game.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct State { [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 State { [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: 16 warnings emitted [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] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking xenopeltis-websocket v0.1.0 (/opt/rustwide/workdir/websocket) [INFO] [stdout] error: this value of type `WebSocketStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> websocket/src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut websocket = tokio_tungstenite::accept_async(stream).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / select! { [INFO] [stdout] 56 | | message = messages.next() => { [INFO] [stdout] 57 | | match message { [INFO] [stdout] 58 | | Some(Ok(message)) => { [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `WebSocketStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> websocket/src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut websocket = tokio_tungstenite::accept_async(stream).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / select! { [INFO] [stdout] 56 | | message = messages.next() => { [INFO] [stdout] 57 | | match message { [INFO] [stdout] 58 | | Some(Ok(message)) => { [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xenopeltis-websocket` (bin "xenopeltis-websocket" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xenopeltis-websocket` (bin "xenopeltis-websocket") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3c88c9f745bc5cb2babd5ebe1b11cd6455a45811a83d7528965b63795795c96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c88c9f745bc5cb2babd5ebe1b11cd6455a45811a83d7528965b63795795c96a", kill_on_drop: false }` [INFO] [stdout] 3c88c9f745bc5cb2babd5ebe1b11cd6455a45811a83d7528965b63795795c96a