[INFO] cloning repository https://github.com/jwhogg/Radial-Chess-Backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwhogg/Radial-Chess-Backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhogg%2FRadial-Chess-Backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhogg%2FRadial-Chess-Backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e65b4442d20c7e9498328a165c428d5fe3dafce9 [INFO] testing jwhogg/Radial-Chess-Backend against 1.100.0-beta.1 for beta-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhogg%2FRadial-Chess-Backend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jwhogg/Radial-Chess-Backend [INFO] finished tweaking git repo https://github.com/jwhogg/Radial-Chess-Backend [INFO] tweaked toml for git repo https://github.com/jwhogg/Radial-Chess-Backend written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jwhogg/Radial-Chess-Backend on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jwhogg/Radial-Chess-Backend 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21 [INFO] running `Command { std: "docker" "start" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl v0.10.67 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling mysql-common-derive v0.31.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling mucow v0.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling pleco v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling redis-async v0.17.2 [INFO] [stderr] Compiling redis v0.27.5 [INFO] [stderr] Compiling radial_chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Any` and `CorsLayer` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_http::cors::{Any, CorsLayer}; [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: `hyper::Method` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::Method; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::HeaderName` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http::HeaderName; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/websocket.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/websocket.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::decode_user_id` [INFO] [stdout] --> src/websocket.rs:9:94 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{authlayer, gameserver::{self, GameServer, Game}, redislayer::{self, RedisLayer}, utils::decode_user_id}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::user_id_to_game_id` [INFO] [stdout] --> src/websocket.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::user_id_to_game_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::PubSub` [INFO] [stdout] --> src/websocket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use redis::PubSub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitMove`, `Board`, `MoveFlag`, `PieceType`, `PreMoveInfo`, and `SQ` [INFO] [stdout] --> src/websocket.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | use pleco::{core::piece_move::{MoveFlag, PreMoveInfo}, BitMove, Board, PieceType, SQ}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/websocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/websocket.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/websocket.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/matchmaking.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::StatusCode, response::{IntoResponse, Json, Response}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/matchmaking.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{authlayer, gameserver::Game, redislayer::{self, RedisLayer}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pleco::Board` [INFO] [stdout] --> src/databaselayer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pleco::Board; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::aio::MultiplexedConnection` [INFO] [stdout] --> src/databaselayer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use redis::aio::MultiplexedConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/databaselayer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/databaselayer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/databaselayer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/databaselayer.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{collections::HashMap, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Json`, and `http::StatusCode` [INFO] [stdout] --> src/databaselayer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::{http::StatusCode, response::{IntoResponse, Json}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/databaselayer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/databaselayer.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/databaselayer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/databaselayer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/redislayer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Connection` [INFO] [stdout] --> src/redislayer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use redis::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/gameserver.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `WebSocketUpgrade`, and `response::IntoResponse` [INFO] [stdout] --> src/gameserver.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | extract::ws::{Message, WebSocket, WebSocketUpgrade}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | response::IntoResponse, Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::pubsub` [INFO] [stdout] --> src/gameserver.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use redis_async::{client::pubsub, resp::FromResp}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/gameserver.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{sync::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `authlayer` and `utils::decode_user_id` [INFO] [stdout] --> src/gameserver.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{authlayer, redislayer::RedisLayer, utils::decode_user_id}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::user_id_to_game_id` [INFO] [stdout] --> src/gameserver.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::user_id_to_game_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SplitStream` [INFO] [stdout] --> src/gameserver.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{stream::{SplitSink, SplitStream}, SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PubSub` and `ToRedisArgs` [INFO] [stdout] --> src/gameserver.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use redis::{PubSub, ToRedisArgs}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/gameserver.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender` and `self` [INFO] [stdout] --> src/gameserver.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::sync::mpsc::{self, Sender}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bot_handler` [INFO] [stdout] --> src/main.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use matchmaking::{bot_handler, match_maker, matchmaking_handler, matchmaking_options, matchmaking_status, player_stats}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::authlayer` [INFO] [stdout] --> src/testing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::authlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redislayer.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | con.hset(key, field, value).await?; [INFO] [stdout] | ^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T12,) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T9, T10, T11, T12) [INFO] [stdout] (T8, T9, T10, T11, T12) [INFO] [stdout] (T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 49 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::hset` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.27.5/src/commands/macros.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub trait AsyncCommands : crate::aio::ConnectionLike + Send + Sized { [INFO] [stdout] ... [INFO] [stdout] 175 | RV: FromRedisValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `AsyncCommands::hset` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/redis-0.27.5/src/commands/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / implement_commands! { [INFO] [stdout] 137 | | 'a [INFO] [stdout] ... | [INFO] [stdout] 389 | | fn hset(key: K, field: F, value: V) { [INFO] [stdout] ... | [INFO] [stdout] 2179 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gameserver.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut event_status = EventStatus::EchoFailure; [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: `event_status` [INFO] [stdout] --> src/gameserver.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let mut event_status = EventStatus::EchoFailure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/matchmaking.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => { //use the e here [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/testing.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn test_setup(req: Request) -> impl IntoResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radial_chess` (bin "radial_chess") due to 1 previous error; 43 warnings emitted [INFO] [stderr] warning: unused dependency `tokio-tungstenite` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tokio-tungstenite = "0.15" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tokio-tungstenite` [INFO] [stderr] warning: `radial_chess` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21", kill_on_drop: false }` [INFO] [stdout] 108e322a749732b7910a6a739d1b3db4c0426cb9df189b10e48b32df9d1b2c21