[INFO] cloning repository https://github.com/0xEquinox/online-poker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xEquinox/online-poker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2Fonline-poker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2Fonline-poker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b7a99336b7eb29bf54ff3c4997bad5288b13d3e [INFO] testing 0xEquinox/online-poker against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xEquinox%2Fonline-poker" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xEquinox/online-poker on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0xEquinox/online-poker [INFO] finished tweaking git repo https://github.com/0xEquinox/online-poker [INFO] tweaked toml for git repo https://github.com/0xEquinox/online-poker written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/0xEquinox/online-poker already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_codegen v0.5.0 [INFO] [stderr] Downloaded rustversion v1.0.15 [INFO] [stderr] Downloaded figment v0.10.15 [INFO] [stderr] Downloaded rocket v0.5.0 [INFO] [stderr] Downloaded rocket_http v0.5.0 [INFO] [stderr] Downloaded cc v1.0.91 [INFO] [stderr] Downloaded getrandom v0.2.13 [INFO] [stderr] Downloaded rocket_ws v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da3e3481672b5ae999016c24c08c70bf81a0abe1c3f12684c253c8f4594f7174 [INFO] running `Command { std: "docker" "start" "-a" "da3e3481672b5ae999016c24c08c70bf81a0abe1c3f12684c253c8f4594f7174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3e3481672b5ae999016c24c08c70bf81a0abe1c3f12684c253c8f4594f7174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3e3481672b5ae999016c24c08c70bf81a0abe1c3f12684c253c8f4594f7174", kill_on_drop: false }` [INFO] [stdout] da3e3481672b5ae999016c24c08c70bf81a0abe1c3f12684c253c8f4594f7174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e664acb271a3215c3d16e04e96656afc5c598cada5119392e88cccd82ea3c3 [INFO] running `Command { std: "docker" "start" "-a" "f8e664acb271a3215c3d16e04e96656afc5c598cada5119392e88cccd82ea3c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling getrandom v0.2.13 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling figment v0.10.15 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.9 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling rocket_ws v0.1.0 [INFO] [stderr] Compiling poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rocket::http::hyper::upgrade` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::hyper::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel`, `error::RecvError` [INFO] [stdout] --> src/game.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::tokio::sync::broadcast::{channel, error::RecvError, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Card`, `Deck` [INFO] [stdout] --> src/lobby.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::deck::{Card, Deck}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/lobby.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/websocket.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::tokio::sync::broadcast::{error::RecvError, channel, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/websocket.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | Err(RecvError::Lagged(n)) => continue [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/deck.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_n` and `shuffle` are never used [INFO] [stdout] --> src/deck.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn draw_n(&mut self, n: i32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn shuffle(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "f8e664acb271a3215c3d16e04e96656afc5c598cada5119392e88cccd82ea3c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e664acb271a3215c3d16e04e96656afc5c598cada5119392e88cccd82ea3c3", kill_on_drop: false }` [INFO] [stdout] f8e664acb271a3215c3d16e04e96656afc5c598cada5119392e88cccd82ea3c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc6c89b4271e12fad3f64f3e4fc1cd073fe6bf303745ed57d93747f74359df83 [INFO] running `Command { std: "docker" "start" "-a" "bc6c89b4271e12fad3f64f3e4fc1cd073fe6bf303745ed57d93747f74359df83", kill_on_drop: false }` [INFO] [stderr] Compiling poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rocket::http::hyper::upgrade` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::hyper::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel`, `error::RecvError` [INFO] [stdout] --> src/game.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::tokio::sync::broadcast::{channel, error::RecvError, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Card`, `Deck` [INFO] [stdout] --> src/lobby.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::deck::{Card, Deck}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/lobby.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `channel` [INFO] [stdout] --> src/websocket.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::tokio::sync::broadcast::{error::RecvError, channel, Sender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/websocket.rs:17:43 [INFO] [stdout] | [INFO] [stdout] 17 | Err(RecvError::Lagged(n)) => continue [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/deck.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_n` and `shuffle` are never used [INFO] [stdout] --> src/deck.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn draw_n(&mut self, n: i32) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn shuffle(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "bc6c89b4271e12fad3f64f3e4fc1cd073fe6bf303745ed57d93747f74359df83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6c89b4271e12fad3f64f3e4fc1cd073fe6bf303745ed57d93747f74359df83", kill_on_drop: false }` [INFO] [stdout] bc6c89b4271e12fad3f64f3e4fc1cd073fe6bf303745ed57d93747f74359df83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab697e6ff80f474ca4e8641fdc2f69f3a02939fa90d2c825df12309f3c1efc50 [INFO] running `Command { std: "docker" "start" "-a" "ab697e6ff80f474ca4e8641fdc2f69f3a02939fa90d2c825df12309f3c1efc50", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rocket::http::hyper::upgrade` [INFO] [stderr] --> src/game.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rocket::http::hyper::upgrade; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `channel`, `error::RecvError` [INFO] [stderr] --> src/game.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | use rocket::tokio::sync::broadcast::{channel, error::RecvError, Sender}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Card`, `Deck` [INFO] [stderr] --> src/lobby.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::deck::{Card, Deck}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dashmap::DashMap` [INFO] [stderr] --> src/lobby.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use dashmap::DashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `channel` [INFO] [stderr] --> src/websocket.rs:2:56 [INFO] [stderr] | [INFO] [stderr] 2 | use rocket::tokio::sync::broadcast::{error::RecvError, channel, Sender}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/websocket.rs:17:43 [INFO] [stderr] | [INFO] [stderr] 17 | Err(RecvError::Lagged(n)) => continue [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/deck.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | for i in 0..n { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: methods `draw_n` and `shuffle` are never used [INFO] [stderr] --> src/deck.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Deck { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn draw_n(&mut self, n: i32) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn shuffle(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `poker` (bin "poker" test) generated 8 warnings (run `cargo fix --bin "poker" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/poker-4fc002e9f1c0f12b) [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" "ab697e6ff80f474ca4e8641fdc2f69f3a02939fa90d2c825df12309f3c1efc50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab697e6ff80f474ca4e8641fdc2f69f3a02939fa90d2c825df12309f3c1efc50", kill_on_drop: false }` [INFO] [stdout] ab697e6ff80f474ca4e8641fdc2f69f3a02939fa90d2c825df12309f3c1efc50