[INFO] cloning repository https://github.com/oloshe/rust-uno-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oloshe/rust-uno-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foloshe%2Frust-uno-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9003d9db0339286c706eb29fe2a6feb65e0a325 [INFO] testing oloshe/rust-uno-cli 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%2Foloshe%2Frust-uno-cli" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oloshe/rust-uno-cli 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/oloshe/rust-uno-cli [INFO] finished tweaking git repo https://github.com/oloshe/rust-uno-cli [INFO] tweaked toml for git repo https://github.com/oloshe/rust-uno-cli written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/oloshe/rust-uno-cli 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-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 2604a02d28881243de4cf5c12f003455cc5b4e78bee6abf1cb60f3fb6f76f412 [INFO] running `Command { std: "docker" "start" "-a" "2604a02d28881243de4cf5c12f003455cc5b4e78bee6abf1cb60f3fb6f76f412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2604a02d28881243de4cf5c12f003455cc5b4e78bee6abf1cb60f3fb6f76f412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2604a02d28881243de4cf5c12f003455cc5b4e78bee6abf1cb60f3fb6f76f412", kill_on_drop: false }` [INFO] [stdout] 2604a02d28881243de4cf5c12f003455cc5b4e78bee6abf1cb60f3fb6f76f412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 5a986df1df4042e6edc7fb93961824fb0c92556edf8a479d8463938f0410bb87 [INFO] running `Command { std: "docker" "start" "-a" "5a986df1df4042e6edc7fb93961824fb0c92556edf8a479d8463938f0410bb87", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling local_ipaddress v0.1.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling indicatif v0.16.0 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling rust_uno_cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter` [INFO] [stdout] --> src/net/client.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufReader, BufWriter, Read, Write}, net::{TcpStream, ToSocketAddrs}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::style` [INFO] [stdout] --> src/net/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use console::style; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stdout] --> src/net/client.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/base/room.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::Index`, `self`, `thread`, `time::Duration` [INFO] [stdout] --> src/client/loopper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, io::{self, Result}, ops::Index, process::exit, sync::Mutex, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Emoji` [INFO] [stdout] --> src/client/loopper.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use console::{Emoji, Term, style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetRoomListDTO`, `GetRoomListResp` [INFO] [stdout] --> src/client/loopper.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{base::player::Player, dto::room_dto::{GetRoomListDTO, GetRoomListResp}, net::client::Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `steam` [INFO] [stdout] --> src/net/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | steam: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/net/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | status: ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/net/client.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn send<'a, T, R, F>(&mut self, data: &'a T, buf: &'a mut [u8], f: F) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/base/card.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Number(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Functional` [INFO] [stdout] --> src/base/card.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Functional(FunctionalCard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Universal` [INFO] [stdout] --> src/base/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Universal(UniversalCard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus2` [INFO] [stdout] --> src/base/card.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reverse` [INFO] [stdout] --> src/base/card.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Skip` [INFO] [stdout] --> src/base/card.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus4` [INFO] [stdout] --> src/base/card.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ColorSwitch` [INFO] [stdout] --> src/base/card.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Normal` [INFO] [stdout] --> src/base/card.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Normal(NormalColor), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/base/card.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Yellow` [INFO] [stdout] --> src/base/card.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/base/card.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/base/card.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/base/card.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_number_card` [INFO] [stdout] --> src/base/card.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new_number_card(num: u8, card_color: NormalColor) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_functional_card` [INFO] [stdout] --> src/base/card.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new_functional_card(functional_type: FunctionalCard, card_color: NormalColor) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_universal_card` [INFO] [stdout] --> src/base/card.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new_universal_card(universal_type: UniversalCard) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/base/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/base/player.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RoomList` [INFO] [stdout] --> src/base/room.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct RoomList (Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/room.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(list: Vec) -> RoomList{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `owner` [INFO] [stdout] --> src/base/game_data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | owner: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/game_data.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/game_data.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(id: String) -> GameData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_card` [INFO] [stdout] --> src/base/game_data.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_card(&mut self, card: Card) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ready` [INFO] [stdout] --> src/client/dealer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Ready, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/client/dealer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Started, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Clockwise` [INFO] [stdout] --> src/client/dealer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Clockwise, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Counterclockwise` [INFO] [stdout] --> src/client/dealer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Counterclockwise [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game_state` [INFO] [stdout] --> src/client/dealer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | game_state: GameState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `players` [INFO] [stdout] --> src/client/dealer.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | players: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/client/dealer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/dealer.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> Dealer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_card` [INFO] [stdout] --> src/client/dealer.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn new_card(card_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_player` [INFO] [stdout] --> src/client/dealer.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn add_player(&mut self, p: &'a Player) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_count` [INFO] [stdout] --> src/client/dealer.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn player_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_game` [INFO] [stdout] --> src/client/dealer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn start_game(&mut self) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_game_data` [INFO] [stdout] --> src/client/dealer.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn reset_game_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle_card` [INFO] [stdout] --> src/client/dealer.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn shuffle_card(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distribute_card` [INFO] [stdout] --> src/client/dealer.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | fn distribute_card(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_a_card` [INFO] [stdout] --> src/client/dealer.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_a_card(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_game_data` [INFO] [stdout] --> src/client/dealer.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn print_game_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/client/loopper.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | client: Client, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.05s [INFO] running `Command { std: "docker" "inspect" "5a986df1df4042e6edc7fb93961824fb0c92556edf8a479d8463938f0410bb87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a986df1df4042e6edc7fb93961824fb0c92556edf8a479d8463938f0410bb87", kill_on_drop: false }` [INFO] [stdout] 5a986df1df4042e6edc7fb93961824fb0c92556edf8a479d8463938f0410bb87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] effb6a61634401aaa69373a53c23562754f021de1d5a041eb7c9f72748f0e6bf [INFO] running `Command { std: "docker" "start" "-a" "effb6a61634401aaa69373a53c23562754f021de1d5a041eb7c9f72748f0e6bf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust_uno_cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufReader`, `BufWriter` [INFO] [stdout] --> src/net/client.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufReader, BufWriter, Read, Write}, net::{TcpStream, ToSocketAddrs}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::style` [INFO] [stdout] --> src/net/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use console::style; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stdout] --> src/net/client.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/base/room.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `ops::Index`, `self`, `thread`, `time::Duration` [INFO] [stdout] --> src/client/loopper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, io::{self, Result}, ops::Index, process::exit, sync::Mutex, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Emoji` [INFO] [stdout] --> src/client/loopper.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use console::{Emoji, Term, style}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetRoomListDTO`, `GetRoomListResp` [INFO] [stdout] --> src/client/loopper.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{base::player::Player, dto::room_dto::{GetRoomListDTO, GetRoomListResp}, net::client::Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `steam` [INFO] [stdout] --> src/net/client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | steam: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/net/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | status: ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/net/client.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn send<'a, T, R, F>(&mut self, data: &'a T, buf: &'a mut [u8], f: F) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/base/card.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Number(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Functional` [INFO] [stdout] --> src/base/card.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Functional(FunctionalCard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Universal` [INFO] [stdout] --> src/base/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Universal(UniversalCard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus2` [INFO] [stdout] --> src/base/card.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reverse` [INFO] [stdout] --> src/base/card.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Skip` [INFO] [stdout] --> src/base/card.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus4` [INFO] [stdout] --> src/base/card.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ColorSwitch` [INFO] [stdout] --> src/base/card.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Normal` [INFO] [stdout] --> src/base/card.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Normal(NormalColor), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `All` [INFO] [stdout] --> src/base/card.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Yellow` [INFO] [stdout] --> src/base/card.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/base/card.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/base/card.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/base/card.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/card.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_number_card` [INFO] [stdout] --> src/base/card.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new_number_card(num: u8, card_color: NormalColor) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_functional_card` [INFO] [stdout] --> src/base/card.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new_functional_card(functional_type: FunctionalCard, card_color: NormalColor) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_universal_card` [INFO] [stdout] --> src/base/card.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new_universal_card(universal_type: UniversalCard) -> Card { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/base/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/base/player.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RoomList` [INFO] [stdout] --> src/base/room.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct RoomList (Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/room.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(list: Vec) -> RoomList{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `owner` [INFO] [stdout] --> src/base/game_data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | owner: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/base/game_data.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/base/game_data.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(id: String) -> GameData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_card` [INFO] [stdout] --> src/base/game_data.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_card(&mut self, card: Card) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ready` [INFO] [stdout] --> src/client/dealer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Ready, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Started` [INFO] [stdout] --> src/client/dealer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Started, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Clockwise` [INFO] [stdout] --> src/client/dealer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Clockwise, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Counterclockwise` [INFO] [stdout] --> src/client/dealer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Counterclockwise [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `game_state` [INFO] [stdout] --> src/client/dealer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | game_state: GameState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `players` [INFO] [stdout] --> src/client/dealer.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | players: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/client/dealer.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | direction: Direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/client/dealer.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/client/dealer.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new() -> Dealer<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_card` [INFO] [stdout] --> src/client/dealer.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | fn new_card(card_stack: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_player` [INFO] [stdout] --> src/client/dealer.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn add_player(&mut self, p: &'a Player) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `player_count` [INFO] [stdout] --> src/client/dealer.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn player_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_game` [INFO] [stdout] --> src/client/dealer.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn start_game(&mut self) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_game_data` [INFO] [stdout] --> src/client/dealer.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn reset_game_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle_card` [INFO] [stdout] --> src/client/dealer.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn shuffle_card(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distribute_card` [INFO] [stdout] --> src/client/dealer.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | fn distribute_card(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_a_card` [INFO] [stdout] --> src/client/dealer.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_a_card(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_game_data` [INFO] [stdout] --> src/client/dealer.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn print_game_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/client/loopper.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | client: Client, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.52s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_uno_cli-0b7eaadddda7b3d7) [INFO] running `Command { std: "docker" "inspect" "effb6a61634401aaa69373a53c23562754f021de1d5a041eb7c9f72748f0e6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "effb6a61634401aaa69373a53c23562754f021de1d5a041eb7c9f72748f0e6bf", kill_on_drop: false }` [INFO] [stdout] effb6a61634401aaa69373a53c23562754f021de1d5a041eb7c9f72748f0e6bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f5ec2a21144cfeec9f63428f45c925118f16538726b370d94e8a9e623f8c0d2 [INFO] running `Command { std: "docker" "start" "-a" "4f5ec2a21144cfeec9f63428f45c925118f16538726b370d94e8a9e623f8c0d2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `BufReader`, `BufWriter` [INFO] [stderr] --> src/net/client.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{io::{BufReader, BufWriter, Read, Write}, net::{TcpStream, ToSocketAddrs}}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(unused)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stderr] [INFO] [stderr] warning: unused import: `console::style` [INFO] [stderr] --> src/net/client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use console::style; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stderr] --> src/net/client.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/base/room.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `borrow::BorrowMut`, `ops::Index`, `self`, `thread`, `time::Duration` [INFO] [stderr] --> src/client/loopper.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{borrow::BorrowMut, io::{self, Result}, ops::Index, process::exit, sync::Mutex, thread, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Emoji` [INFO] [stderr] --> src/client/loopper.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use console::{Emoji, Term, style}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GetRoomListDTO`, `GetRoomListResp` [INFO] [stderr] --> src/client/loopper.rs:7:51 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{base::player::Player, dto::room_dto::{GetRoomListDTO, GetRoomListResp}, net::client::Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `steam` [INFO] [stderr] --> src/net/client.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | steam: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/net/client.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | status: ConnectionStatus, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send` [INFO] [stderr] --> src/net/client.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | pub async fn send<'a, T, R, F>(&mut self, data: &'a T, buf: &'a mut [u8], f: F) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/base/card.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Number(u8), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 4 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Functional` [INFO] [stderr] --> src/base/card.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Functional(FunctionalCard), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 4 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Universal` [INFO] [stderr] --> src/base/card.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Universal(UniversalCard), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CardType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 4 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plus2` [INFO] [stderr] --> src/base/card.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Reverse` [INFO] [stderr] --> src/base/card.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Skip` [INFO] [stderr] --> src/base/card.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum FunctionalCard { Plus2, Reverse, Skip } [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FunctionalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plus4` [INFO] [stderr] --> src/base/card.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 18 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ColorSwitch` [INFO] [stderr] --> src/base/card.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum UniversalCard { Plus4, ColorSwitch } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UniversalCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 18 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Normal` [INFO] [stderr] --> src/base/card.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Normal(NormalColor), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `All` [INFO] [stderr] --> src/base/card.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | All, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `CardColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Yellow` [INFO] [stderr] --> src/base/card.rs:40:24 [INFO] [stderr] | [INFO] [stderr] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 39 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Red` [INFO] [stderr] --> src/base/card.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 39 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Blue` [INFO] [stderr] --> src/base/card.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 39 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Green` [INFO] [stderr] --> src/base/card.rs:40:43 [INFO] [stderr] | [INFO] [stderr] 40 | pub enum NormalColor { Yellow, Red, Blue, Green } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NormalColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/card.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 39 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_number_card` [INFO] [stderr] --> src/base/card.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn new_number_card(num: u8, card_color: NormalColor) -> Card { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_functional_card` [INFO] [stderr] --> src/base/card.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn new_functional_card(functional_type: FunctionalCard, card_color: NormalColor) -> Card { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_universal_card` [INFO] [stderr] --> src/base/card.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn new_universal_card(universal_type: UniversalCard) -> Card { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_id` [INFO] [stderr] --> src/base/player.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_id(&self) -> &String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_name` [INFO] [stderr] --> src/base/player.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_name(&self) -> &String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RoomList` [INFO] [stderr] --> src/base/room.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | struct RoomList (Vec); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/base/room.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(list: Vec) -> RoomList{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `owner` [INFO] [stderr] --> src/base/game_data.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | owner: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/base/game_data.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/base/game_data.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(id: String) -> GameData { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_card` [INFO] [stderr] --> src/base/game_data.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn add_card(&mut self, card: Card) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ready` [INFO] [stderr] --> src/client/dealer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Ready, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Started` [INFO] [stderr] --> src/client/dealer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Started, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Clockwise` [INFO] [stderr] --> src/client/dealer.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Clockwise, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Counterclockwise` [INFO] [stderr] --> src/client/dealer.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Counterclockwise [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `game_state` [INFO] [stderr] --> src/client/dealer.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | game_state: GameState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `players` [INFO] [stderr] --> src/client/dealer.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | players: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `direction` [INFO] [stderr] --> src/client/dealer.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | direction: Direction, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Dealer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/client/dealer.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/client/dealer.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new() -> Dealer<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_card` [INFO] [stderr] --> src/client/dealer.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | fn new_card(card_stack: &mut Vec) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_player` [INFO] [stderr] --> src/client/dealer.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn add_player(&mut self, p: &'a Player) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `player_count` [INFO] [stderr] --> src/client/dealer.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn player_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `start_game` [INFO] [stderr] --> src/client/dealer.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn start_game(&mut self) -> Result<(), &str> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset_game_data` [INFO] [stderr] --> src/client/dealer.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | fn reset_game_data(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shuffle_card` [INFO] [stderr] --> src/client/dealer.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn shuffle_card(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distribute_card` [INFO] [stderr] --> src/client/dealer.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | fn distribute_card(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_a_card` [INFO] [stderr] --> src/client/dealer.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn get_a_card(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_game_data` [INFO] [stderr] --> src/client/dealer.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn print_game_data(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client` [INFO] [stderr] --> src/client/loopper.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | client: Client, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_uno_cli` (bin "rust_uno_cli" test) generated 52 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.52s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_uno_cli-0b7eaadddda7b3d7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f5ec2a21144cfeec9f63428f45c925118f16538726b370d94e8a9e623f8c0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5ec2a21144cfeec9f63428f45c925118f16538726b370d94e8a9e623f8c0d2", kill_on_drop: false }` [INFO] [stdout] 4f5ec2a21144cfeec9f63428f45c925118f16538726b370d94e8a9e623f8c0d2