[INFO] cloning repository https://github.com/Simhyeon/cardserver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simhyeon/cardserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fcardserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fcardserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 200b7c3794d4da29c0334a07c04c1c799e11fc51
[INFO] checking Simhyeon/cardserver against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fcardserver" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Simhyeon/cardserver
[INFO] finished tweaking git repo https://github.com/Simhyeon/cardserver
[INFO] tweaked toml for git repo https://github.com/Simhyeon/cardserver written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simhyeon/cardserver on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Simhyeon/cardserver 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-futures v0.2.4
[INFO] [stderr]   Downloaded urlencoding v1.1.1
[INFO] [stderr]   Downloaded warp v0.2.5
[INFO] [stderr]   Downloaded pin-project-lite v0.2.0
[INFO] [stderr]   Downloaded log v0.4.11
[INFO] [stderr]   Downloaded futures-core v0.3.8
[INFO] [stderr]   Downloaded opaque-debug v0.3.0
[INFO] [stderr]   Downloaded pin-project-lite v0.1.11
[INFO] [stderr]   Downloaded hermit-abi v0.1.17
[INFO] [stderr]   Downloaded utf-8 v0.7.5
[INFO] [stderr]   Downloaded block-buffer v0.9.0
[INFO] [stderr]   Downloaded futures-sink v0.3.8
[INFO] [stderr]   Downloaded generic-array v0.14.4
[INFO] [stderr]   Downloaded cpuid-bool v0.1.2
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.6
[INFO] [stderr]   Downloaded futures-task v0.3.8
[INFO] [stderr]   Downloaded digest v0.9.0
[INFO] [stderr]   Downloaded input_buffer v0.3.1
[INFO] [stderr]   Downloaded tokio-macros v0.2.6
[INFO] [stderr]   Downloaded futures-io v0.3.8
[INFO] [stderr]   Downloaded sha-1 v0.9.2
[INFO] [stderr]   Downloaded http-body v0.3.1
[INFO] [stderr]   Downloaded sha-1 v0.8.2
[INFO] [stderr]   Downloaded tower-service v0.3.0
[INFO] [stderr]   Downloaded futures-macro v0.3.8
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.7
[INFO] [stderr]   Downloaded strum_macros v0.20.1
[INFO] [stderr]   Downloaded strum v0.20.0
[INFO] [stderr]   Downloaded futures-channel v0.3.8
[INFO] [stderr]   Downloaded pin-project-internal v1.0.2
[INFO] [stderr]   Downloaded mime_guess v2.0.3
[INFO] [stderr]   Downloaded tokio-tungstenite v0.11.0
[INFO] [stderr]   Downloaded dtoa v0.4.7
[INFO] [stderr]   Downloaded tokio-util v0.3.1
[INFO] [stderr]   Downloaded pin-project-internal v0.4.27
[INFO] [stderr]   Downloaded getrandom v0.2.0
[INFO] [stderr]   Downloaded typenum v1.12.0
[INFO] [stderr]   Downloaded futures-executor v0.3.8
[INFO] [stderr]   Downloaded serde_derive v1.0.118
[INFO] [stderr]   Downloaded time v0.1.44
[INFO] [stderr]   Downloaded rand_core v0.6.0
[INFO] [stderr]   Downloaded tinyvec v1.1.0
[INFO] [stderr]   Downloaded signal-hook-registry v1.3.0
[INFO] [stderr]   Downloaded uuid v0.8.1
[INFO] [stderr]   Downloaded indexmap v1.6.1
[INFO] [stderr]   Downloaded pin-project v1.0.2
[INFO] [stderr]   Downloaded multipart v0.17.0
[INFO] [stderr]   Downloaded heck v0.3.2
[INFO] [stderr]   Downloaded tungstenite v0.11.1
[INFO] [stderr]   Downloaded headers v0.3.2
[INFO] [stderr]   Downloaded serde v1.0.118
[INFO] [stderr]   Downloaded futures v0.3.8
[INFO] [stderr]   Downloaded http v0.2.2
[INFO] [stderr]   Downloaded rand v0.8.0
[INFO] [stderr]   Downloaded h2 v0.2.7
[INFO] [stderr]   Downloaded unicode-segmentation v1.7.1
[INFO] [stderr]   Downloaded futures-util v0.3.8
[INFO] [stderr]   Downloaded hyper v0.13.9
[INFO] [stderr]   Downloaded syn v1.0.57
[INFO] [stderr]   Downloaded tokio v0.2.24
[INFO] [stderr]   Downloaded libc v0.2.81
[INFO] [stderr]   Downloaded pin-project v0.4.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf
[INFO] running `Command { std: "docker" "start" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking futures-core v0.3.8
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking futures-sink v0.3.8
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking futures-io v0.3.8
[INFO] [stderr]     Checking pin-project-lite v0.1.11
[INFO] [stderr]     Checking futures-task v0.3.8
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking http v0.2.2
[INFO] [stderr]     Checking futures-channel v0.3.8
[INFO] [stderr]    Compiling getrandom v0.2.0
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking pin-project-lite v0.2.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]     Checking tracing v0.1.22
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking dtoa v0.4.7
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking urlencoding v1.1.1
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand_core v0.6.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.0
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.2
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking headers v0.3.2
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking multipart v0.17.0
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]     Checking tungstenite v0.11.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]     Checking tokio v0.2.24
[INFO] [stderr]     Checking pin-project v1.0.2
[INFO] [stderr]     Checking futures-util v0.3.8
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking tracing-futures v0.2.4
[INFO] [stderr]     Checking futures-executor v0.3.8
[INFO] [stderr]     Checking futures v0.3.8
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.11.0
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking hyper v0.13.9
[INFO] [stderr]     Checking warp v0.2.5
[INFO] [stderr]     Checking card_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/models.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerAction`
[INFO] [stdout]   --> src/handlers.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::models::{Connection, UserRequest, PlayerAction, ServerResponse, ResponseType, ResponseValue, InternalRequest, IntReqType,...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Distribution` and `Uniform`
[INFO] [stdout]  --> src/test.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::{Distribution, Uniform};
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::routes::*`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::routes::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/models.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlayerAction`
[INFO] [stdout]   --> src/handlers.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::models::{Connection, UserRequest, PlayerAction, ServerResponse, ResponseType, ResponseValue, InternalRequest, IntReqType,...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Distribution` and `Uniform`
[INFO] [stdout]  --> src/test.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::distributions::{Distribution, Uniform};
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod test;
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::routes::*`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::routes::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/handlers.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::{FutureExt, StreamExt, SinkExt};
[INFO] [stdout]   |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]  --> src/handlers.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures::{FutureExt, StreamExt, SinkExt};
[INFO] [stdout]   |                                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `req` is never read
[INFO] [stdout]    --> src/handlers.rs:224:32
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let mut req: UserRequest = UserRequest::dummy();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 225 |     if let Ok(request) = serde_json::from_str(msg) {
[INFO] [stdout] 226 |         req = request;
[INFO] [stdout]     |         --- `req` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `req` is never read
[INFO] [stdout]    --> src/handlers.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut req: InternalRequest = InternalRequest::dummy();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 161 |     if let Ok(request) = serde_json::from_str(msg) {
[INFO] [stdout] 162 |         req = request;
[INFO] [stdout]     |         --- `req` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut cards: Vec<Card> = vec![
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut cards_2 = vec![];
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut merged = cards.iter().chain(cards_2.iter()).cloned().collect::<Vec<Card>>();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `req` is never read
[INFO] [stdout]    --> src/handlers.rs:224:32
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let mut req: UserRequest = UserRequest::dummy();
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 225 |     if let Ok(request) = serde_json::from_str(msg) {
[INFO] [stdout] 226 |         req = request;
[INFO] [stdout]     |         --- `req` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `req` is never read
[INFO] [stdout]    --> src/handlers.rs:160:36
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut req: InternalRequest = InternalRequest::dummy();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 161 |     if let Ok(request) = serde_json::from_str(msg) {
[INFO] [stdout] 162 |         req = request;
[INFO] [stdout]     |         --- `req` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut cards: Vec<Card> = vec![
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut cards_2 = vec![];
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut merged = cards.iter().chain(cards_2.iter()).cloned().collect::<Vec<Card>>();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `room_id` is never read
[INFO] [stdout]   --> src/models.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Connection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 27 |     pub room_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models.rs:744:12
[INFO] [stdout]     |
[INFO] [stdout] 743 | impl Card {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 744 |     pub fn new(card_type: CardType, number: u8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `manual_comb_test` is never used
[INFO] [stdout]   --> src/test.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn manual_comb_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/handlers.rs:184:44
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let room_id_clone = room_id.clone().to_string();
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `room_id` is never read
[INFO] [stdout]   --> src/models.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Connection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 27 |     pub room_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models.rs:744:12
[INFO] [stdout]     |
[INFO] [stdout] 743 | impl Card {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 744 |     pub fn new(card_type: CardType, number: u8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `manual_comb_test` is never used
[INFO] [stdout]   --> src/test.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn manual_comb_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand_comb_test` is never used
[INFO] [stdout]   --> src/test.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn rand_comb_test() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/handlers.rs:184:44
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 let room_id_clone = room_id.clone().to_string();
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.82s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf", kill_on_drop: false }`
[INFO] [stdout] 81559f4a5f2bd44c7ed96f110b3a3f20c42f589828ceeb22fde0f0faf5fd1cdf
