[INFO] cloning repository https://github.com/LasmGratel/cardgame-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LasmGratel/cardgame-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLasmGratel%2Fcardgame-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLasmGratel%2Fcardgame-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae57e13f0b2a15c143fec385cee3c91360dde653 [INFO] testing LasmGratel/cardgame-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLasmGratel%2Fcardgame-rs" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LasmGratel/cardgame-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LasmGratel/cardgame-rs [INFO] finished tweaking git repo https://github.com/LasmGratel/cardgame-rs [INFO] tweaked toml for git repo https://github.com/LasmGratel/cardgame-rs written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate git repo https://github.com/LasmGratel/cardgame-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef0dbc5afef45f3c3a7d8c936ec11e1b00d373d2d9802f478a8ee7bd00dd010 [INFO] running `Command { std: "docker" "start" "-a" "4ef0dbc5afef45f3c3a7d8c936ec11e1b00d373d2d9802f478a8ee7bd00dd010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef0dbc5afef45f3c3a7d8c936ec11e1b00d373d2d9802f478a8ee7bd00dd010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef0dbc5afef45f3c3a7d8c936ec11e1b00d373d2d9802f478a8ee7bd00dd010", kill_on_drop: false }` [INFO] [stdout] 4ef0dbc5afef45f3c3a7d8c936ec11e1b00d373d2d9802f478a8ee7bd00dd010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda5c371ca4bd54aeb92e153bfdac91cb900969b2cf7bb01265af22cf00b3130 [INFO] running `Command { std: "docker" "start" "-a" "fda5c371ca4bd54aeb92e153bfdac91cb900969b2cf7bb01265af22cf00b3130", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling integer-encoding v3.0.2 [INFO] [stderr] Compiling bimap v0.6.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling inotify v0.9.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bevy_tasks v0.5.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling isolang v1.0.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling notify v5.0.0-pre.10 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling glam v0.13.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling ron v0.6.6 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling message-io v0.13.2 [INFO] [stderr] Compiling bevy_utils v0.5.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling typetag v0.1.7 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling cardgame v0.1.0 (/opt/rustwide/workdir/cardgame) [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> cardgame/src/card.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> cardgame/src/game.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user::UserId` [INFO] [stdout] --> cardgame/src/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::user::UserId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> cardgame/src/lobby.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, `Formatter` [INFO] [stdout] --> cardgame/src/lobby.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> cardgame/src/card.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | for j in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bevy_reflect_derive v0.5.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.5.0 [INFO] [stderr] Compiling bevy_derive v0.5.0 [INFO] [stdout] warning: field is never read: `store` [INFO] [stdout] --> cardgame/src/card.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | store: &'a CardStore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `curr` [INFO] [stdout] --> cardgame/src/card.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | curr: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `second` [INFO] [stdout] --> cardgame/src/rule.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | second: Card, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `second` [INFO] [stdout] --> cardgame/src/rule.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | second: Card, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `second` [INFO] [stdout] --> cardgame/src/rule.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | second: Card, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bevy_reflect v0.5.0 [INFO] [stderr] Compiling bevy_ecs v0.5.0 [INFO] [stderr] Compiling bevy_math v0.5.0 [INFO] [stderr] Compiling bevy_app v0.5.0 [INFO] [stderr] Compiling bevy_log v0.5.0 [INFO] [stderr] Compiling bevy_core v0.5.0 [INFO] [stderr] Compiling bevy_transform v0.5.0 [INFO] [stderr] Compiling bevy_window v0.5.0 [INFO] [stderr] Compiling bevy_input v0.5.0 [INFO] [stderr] Compiling bevy_dynamic_plugin v0.5.0 [INFO] [stderr] Compiling bevy_diagnostic v0.5.0 [INFO] [stderr] Compiling bevy_asset v0.5.1 [INFO] [stderr] Compiling bevy_scene v0.5.0 [INFO] [stderr] Compiling bevy_internal v0.5.0 [INFO] [stderr] Compiling bevy_dylib v0.5.0 [INFO] [stderr] Compiling timeago v0.3.0 [INFO] [stderr] Compiling cardgame-server v0.1.0 (/opt/rustwide/workdir/cardgame-server) [INFO] [stderr] Compiling cardgame-client v0.1.0 (/opt/rustwide/workdir/cardgame-client) [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> cardgame-server/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> cardgame-server/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BiHashMap`, `BiMap` [INFO] [stdout] --> cardgame-server/src/server_lobby.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bimap::{BiHashMap, BiMap}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> cardgame-client/src/main.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | ... _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_type` [INFO] [stdout] --> cardgame-client/src/main.rs:150:56 [INFO] [stdout] | [INFO] [stdout] 150 | ... GameError::Win(player, player_type, score) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> cardgame-client/src/main.rs:150:69 [INFO] [stdout] | [INFO] [stdout] 150 | ... GameError::Win(player, player_type, score) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_time` [INFO] [stdout] --> cardgame-client/src/main.rs:186:60 [INFO] [stdout] | [INFO] [stdout] 186 | S2CMessage::MatchmakeStatus(count, expected_time, remaining_time) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards_mutex` [INFO] [stdout] --> cardgame-client/src/main.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | let (user_name, client_state, cards_mutex, landlord_name, last_packet_time) = mutexs; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cards_mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> cardgame-server/src/main.rs:190:41 [INFO] [stdout] | [INFO] [stdout] 190 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_type` [INFO] [stdout] --> cardgame-server/src/main.rs:228:74 [INFO] [stdout] | [INFO] [stdout] 228 | ... GameError::Win(user, player_type, score) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> cardgame-server/src/main.rs:228:87 [INFO] [stdout] | [INFO] [stdout] 228 | ... GameError::Win(user, player_type, score) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_to_user` [INFO] [stdout] --> cardgame-server/src/main.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let send_to_user = |user: &UserId, msg: &S2CMessage| { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_to_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cardgame-server/src/main.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | for i in 0..(lobby.waiting_list.len() / 3) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> cardgame-server/src/main.rs:303:41 [INFO] [stdout] | [INFO] [stdout] 303 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cardgame-server/src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut user_manager = UserManager::new(String::from("users")); [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: unused `Result` that must be used [INFO] [stdout] --> cardgame-server/src/main.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | ... lobby.start_game_by_name(&room_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bevy v0.5.0 [INFO] [stderr] Compiling bevy_spicy_networking v0.6.0 [INFO] [stderr] Compiling cardgame-common v0.1.0 (/opt/rustwide/workdir/cardgame-common) [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cardgame-bevy-server v0.1.0 (/opt/rustwide/workdir/cardgame-bevy-server) [INFO] [stderr] Compiling cardgame-bevy-client v0.1.0 (/opt/rustwide/workdir/cardgame-bevy-client) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lobby` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cardgame::{Game, GameState, Lobby, Room, RoomState}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use cardgame::user::{User, UserState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server_network::MessageTarget` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::server_network::MessageTarget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BiHashMap`, `BiMap` [INFO] [stdout] --> cardgame-bevy-server/src/lobby.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use bimap::{BiHashMap, BiMap}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BiHashMap` [INFO] [stdout] --> cardgame-bevy-server/src/server_network.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use bimap::{BiMap, BiHashMap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::log::LogPlugin` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::log::LogPlugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `thread`, `time` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{thread, time, io}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `TryRecvError` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::{TryRecvError, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChatMessage`, `ChatMessages` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::chat::{ChatMessages, ChatMessage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chat::ChatMessage::SystemMessage` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::chat::ChatMessage::SystemMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::logon::login` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::logon::login; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `archetype::Archetypes`, `component::Components`, `entity::Entities`, `reflect::TypeRegistry` [INFO] [stdout] --> cardgame-bevy-client/src/console_plugin.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ecs::{archetype::Archetypes, component::Components, entity::Entities}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | prelude::*, [INFO] [stdout] 4 | reflect::TypeRegistry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::ecs::schedule::ShouldRun` [INFO] [stdout] --> cardgame-bevy-client/src/console_plugin.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy::ecs::schedule::ShouldRun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | for game in query.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | for name in query.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | net: Res, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let err = match &**message { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cardgame-bevy-server/src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | mut commands: Commands, [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: unused variable: `player_type` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:349:44 [INFO] [stdout] | [INFO] [stdout] 349 | GameError::Win(player, player_type, score) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:349:57 [INFO] [stdout] | [INFO] [stdout] 349 | GameError::Win(player, player_type, score) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_time` [INFO] [stdout] --> cardgame-bevy-client/src/main.rs:386:48 [INFO] [stdout] | [INFO] [stdout] 386 | S2CMessage::MatchmakeStatus(count, expected_time, remaining_time) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> cardgame-bevy-client/src/game_render.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | fn build(&self, app: &mut AppBuilder) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> cardgame-bevy-client/src/console_plugin.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | time: Res