[INFO] cloning repository https://github.com/BudiNverse/cabo.rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BudiNverse/cabo.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e364a118c90a40f7020c1aff70749a37d9908181
[INFO] checking BudiNverse/cabo.rs against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBudiNverse%2Fcabo.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BudiNverse/cabo.rs on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BudiNverse/cabo.rs
[INFO] finished tweaking git repo https://github.com/BudiNverse/cabo.rs
[INFO] tweaked toml for git repo https://github.com/BudiNverse/cabo.rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/BudiNverse/cabo.rs 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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.87
[INFO] [stderr]   Downloaded rand_os v0.1.2
[INFO] [stderr]   Downloaded rand_pcg v0.1.1
[INFO] [stderr]   Downloaded quote v0.6.11
[INFO] [stderr]   Downloaded num-derive v0.2.4
[INFO] [stderr]   Downloaded proc-macro2 v0.4.27
[INFO] [stderr]   Downloaded ryu v0.2.7
[INFO] [stderr]   Downloaded serde_json v1.0.38
[INFO] [stderr]   Downloaded syn v0.15.26
[INFO] [stderr]   Downloaded libc v0.2.48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c828de3fc6b72ffb63adf05d9814e5a4cade6e9ec59bbcdfbbad14231930839
[INFO] running `Command { std: "docker" "start" "-a" "9c828de3fc6b72ffb63adf05d9814e5a4cade6e9ec59bbcdfbbad14231930839", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c828de3fc6b72ffb63adf05d9814e5a4cade6e9ec59bbcdfbbad14231930839", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c828de3fc6b72ffb63adf05d9814e5a4cade6e9ec59bbcdfbbad14231930839", kill_on_drop: false }`
[INFO] [stdout] 9c828de3fc6b72ffb63adf05d9814e5a4cade6e9ec59bbcdfbbad14231930839
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] caa2aab9c927fefa7ad364338624ade0ec9edb0db924087836f9a51ab4c5a394
[INFO] running `Command { std: "docker" "start" "-a" "caa2aab9c927fefa7ad364338624ade0ec9edb0db924087836f9a51ab4c5a394", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling serde v1.0.87
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling syn v0.15.26
[INFO] [stderr]     Checking serde_json v1.0.38
[INFO] [stderr]     Checking cabo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `num_derive`
[INFO] [stdout]  --> src/models/card.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use num_derive;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deck`
[INFO] [stdout]  --> src/main.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::game::{Deck, Game};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `num_derive`
[INFO] [stdout]  --> src/models/card.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use num_derive;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deck`
[INFO] [stdout]  --> src/main.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::game::{Deck, Game};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/models/game.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Ok(r) => (),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/models/game.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/card.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CardValue {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(value: Value, suit: Suit) -> CardValue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CardPosition` is never constructed
[INFO] [stdout]   --> src/models/card.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct CardPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CardPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]   --> src/models/card.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Card {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/card.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Card {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(value: Option<CardValue>, position: CardPosition) -> Card {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ended` is never constructed
[INFO] [stdout]   --> src/models/game.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum GameState {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Ended,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/models/game.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 17 |     pub id: u32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `has_ended` is never used
[INFO] [stdout]   --> src/models/game.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Game {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn has_ended() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]  --> src/models/message.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Message {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSError` is never constructed
[INFO] [stdout]   --> src/models/message.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct WSError {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WSError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]  --> src/models/player.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     /// id is unique to the game only. There can be multiple ppl with the same id in diff games
[INFO] [stdout] 6 |     pub id: u32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     /// username is unique to the game only. There can be multiple ppl with the same username in diff games
[INFO] [stdout] 8 |     pub username: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |         Ok(r) => (),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/card.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl CardValue {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(value: Value, suit: Suit) -> CardValue {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CardPosition` is never constructed
[INFO] [stdout]   --> src/models/card.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct CardPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CardPosition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Card` is never constructed
[INFO] [stdout]   --> src/models/card.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Card {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Card` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/card.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Card {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(value: Option<CardValue>, position: CardPosition) -> Card {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ended` is never constructed
[INFO] [stdout]   --> src/models/game.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum GameState {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Ended,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/models/game.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 17 |     pub id: u32,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `has_ended` is never used
[INFO] [stdout]   --> src/models/game.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Game {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn has_ended() {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]  --> src/models/message.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Message {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSError` is never constructed
[INFO] [stdout]   --> src/models/message.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct WSError {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WSError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/models/card.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_VALUE`
[INFO] [stdout] 50 | pub enum Value {
[INFO] [stdout]    |          ----- `Value` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_VALUE`
[INFO] [stdout] 50 | pub enum Value {
[INFO] [stdout]    |          ----- `Value` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_SUIT`
[INFO] [stdout] 67 | pub enum Suit {
[INFO] [stdout]    |          ---- `Suit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_SUIT`
[INFO] [stdout] 67 | pub enum Suit {
[INFO] [stdout]    |          ---- `Suit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_POSITION`
[INFO] [stdout] 75 | pub enum Position {
[INFO] [stdout]    |          -------- `Position` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_POSITION`
[INFO] [stdout] 75 | pub enum Position {
[INFO] [stdout]    |          -------- `Position` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `username` are never read
[INFO] [stdout]  --> src/models/player.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     /// id is unique to the game only. There can be multiple ppl with the same id in diff games
[INFO] [stdout] 6 |     pub id: u32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     /// username is unique to the game only. There can be multiple ppl with the same username in diff games
[INFO] [stdout] 8 |     pub username: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/models/card.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let _ = fmt.write_str(format!("{:?} {:?}", self.value, self.suit).as_str());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_VALUE`
[INFO] [stdout] 50 | pub enum Value {
[INFO] [stdout]    |          ----- `Value` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_VALUE`
[INFO] [stdout] 50 | pub enum Value {
[INFO] [stdout]    |          ----- `Value` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_SUIT`
[INFO] [stdout] 67 | pub enum Suit {
[INFO] [stdout]    |          ---- `Suit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_SUIT`
[INFO] [stdout] 67 | pub enum Suit {
[INFO] [stdout]    |          ---- `Suit` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FROMPRIMITIVE_FOR_POSITION`
[INFO] [stdout] 75 | pub enum Position {
[INFO] [stdout]    |          -------- `Position` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/models/card.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(FromPrimitive, ToPrimitive, Debug)]
[INFO] [stdout]    |                         ^----------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         `ToPrimitive` is not local
[INFO] [stdout]    |                         move the `impl` block outside of this constant `_IMPL_NUM_TOPRIMITIVE_FOR_POSITION`
[INFO] [stdout] 75 | pub enum Position {
[INFO] [stdout]    |          -------- `Position` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.28s
[INFO] running `Command { std: "docker" "inspect" "caa2aab9c927fefa7ad364338624ade0ec9edb0db924087836f9a51ab4c5a394", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caa2aab9c927fefa7ad364338624ade0ec9edb0db924087836f9a51ab4c5a394", kill_on_drop: false }`
[INFO] [stdout] caa2aab9c927fefa7ad364338624ade0ec9edb0db924087836f9a51ab4c5a394
