[INFO] cloning repository https://github.com/cherubdown/mmo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cherubdown/mmo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherubdown%2Fmmo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherubdown%2Fmmo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e252be6ff508300b3e429cb68d1815d9f6e4dba [INFO] checking cherubdown/mmo against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherubdown%2Fmmo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cherubdown/mmo [INFO] finished tweaking git repo https://github.com/cherubdown/mmo [INFO] tweaked toml for git repo https://github.com/cherubdown/mmo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cherubdown/mmo on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cherubdown/mmo 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4898ab61db7025c14e80833e9b2a334ff5a5b6389b469295ddf76fa73dc17aba [INFO] running `Command { std: "docker" "start" "-a" "4898ab61db7025c14e80833e9b2a334ff5a5b6389b469295ddf76fa73dc17aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4898ab61db7025c14e80833e9b2a334ff5a5b6389b469295ddf76fa73dc17aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4898ab61db7025c14e80833e9b2a334ff5a5b6389b469295ddf76fa73dc17aba", kill_on_drop: false }` [INFO] [stdout] 4898ab61db7025c14e80833e9b2a334ff5a5b6389b469295ddf76fa73dc17aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 025e2275a255611f533f69aeea621af523ddf03ec0b346de03dcad61c0e135ea [INFO] running `Command { std: "docker" "start" "-a" "025e2275a255611f533f69aeea621af523ddf03ec0b346de03dcad61c0e135ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling fastrand v2.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking mmo-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/db/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Health` [INFO] [stdout] --> src/db/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::player::{Player, Health}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::Position` [INFO] [stdout] --> src/db/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::common::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/network/tcp_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/network/udp_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `S2CMessage` [INFO] [stdout] --> src/network/udp_server.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::network::messages::{C2SMessage, S2CMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/combat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/server/combat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/trading.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/server/trading.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `C2SMessage` [INFO] [stdout] --> src/server/mod.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::network::messages::{S2CMessage, C2SMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/db/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Health` [INFO] [stdout] --> src/db/mod.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::player::{Player, Health}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::common::Position` [INFO] [stdout] --> src/db/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::common::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/network/tcp_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/network/udp_server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `S2CMessage` [INFO] [stdout] --> src/network/udp_server.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::network::messages::{C2SMessage, S2CMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/combat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/server/combat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/trading.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/server/trading.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `C2SMessage` [INFO] [stdout] --> src/server/mod.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::network::messages::{S2CMessage, C2SMessage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/tcp_server.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut socket, addr) = match listener.accept().await { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/network/tcp_server.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let (mut socket, addr) = match listener.accept().await { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/db/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn get_player(&self, username: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/db/mod.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn save_player(&self, player: &Player) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/db/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn get_player(&self, username: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/db/mod.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn save_player(&self, player: &Player) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/db/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_player`, and `save_player` are never used [INFO] [stdout] --> src/db/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_player(&self, username: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn save_player(&self, player: &Player) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_definitions` is never read [INFO] [stdout] --> src/server/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub item_definitions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast` and `send_to` are never used [INFO] [stdout] --> src/server/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn broadcast(&self, message: S2CMessage) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn send_to(&self, player_id: &Uuid, message: S2CMessage) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/db/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_player`, and `save_player` are never used [INFO] [stdout] --> src/db/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn get_player(&self, username: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn save_player(&self, player: &Player) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_definitions` is never read [INFO] [stdout] --> src/server/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub item_definitions: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast` and `send_to` are never used [INFO] [stdout] --> src/server/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub async fn broadcast(&self, message: S2CMessage) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn send_to(&self, player_id: &Uuid, message: S2CMessage) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 13` [INFO] running `Command { std: "docker" "inspect" "025e2275a255611f533f69aeea621af523ddf03ec0b346de03dcad61c0e135ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "025e2275a255611f533f69aeea621af523ddf03ec0b346de03dcad61c0e135ea", kill_on_drop: false }` [INFO] [stdout] 025e2275a255611f533f69aeea621af523ddf03ec0b346de03dcad61c0e135ea