[INFO] cloning repository https://github.com/LunarTides/Hearthstone.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LunarTides/Hearthstone.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunarTides%2FHearthstone.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunarTides%2FHearthstone.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17343e9a409ce752ebe5ef02bc9c60a4fc85b378 [INFO] checking LunarTides/Hearthstone.rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunarTides%2FHearthstone.rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LunarTides/Hearthstone.rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LunarTides/Hearthstone.rs [INFO] finished tweaking git repo https://github.com/LunarTides/Hearthstone.rs [INFO] tweaked toml for git repo https://github.com/LunarTides/Hearthstone.rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LunarTides/Hearthstone.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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d5f283243f81eadc6d31674e9ceb14e9166f46378c91c37ecd0d46e0dcd2093 [INFO] running `Command { std: "docker" "start" "-a" "0d5f283243f81eadc6d31674e9ceb14e9166f46378c91c37ecd0d46e0dcd2093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5f283243f81eadc6d31674e9ceb14e9166f46378c91c37ecd0d46e0dcd2093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5f283243f81eadc6d31674e9ceb14e9166f46378c91c37ecd0d46e0dcd2093", kill_on_drop: false }` [INFO] [stdout] 0d5f283243f81eadc6d31674e9ceb14e9166f46378c91c37ecd0d46e0dcd2093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c88864da9dab17fe63d38d4154caafe965029c000528c88f7fedadfd3a9df8 [INFO] running `Command { std: "docker" "start" "-a" "86c88864da9dab17fe63d38d4154caafe965029c000528c88f7fedadfd3a9df8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.23.0 [INFO] [stderr] Checking hearthstone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Weapon`, `Hero`, `Location`, and `None` are never constructed [INFO] [stdout] --> src/enums.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CardType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Weapon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Hero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | None, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MinionTribe { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | Beast, [INFO] [stdout] 14 | Demon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Dragon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Elemental, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Mech, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Murloc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Naga, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Pirate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Quilboar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Totem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Undead, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinionTribe` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum SpellSchool { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 30 | Arcane, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Fel, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Fire, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Frost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Holy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Nature, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Shadow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellSchool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum CardClass { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | DeathKnight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | DemonHunter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 44 | Druid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | Hunter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Priest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Shaman, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | Warlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | Warrior, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Common`, `Rare`, `Epic`, and `Legendary` are never constructed [INFO] [stdout] --> src/enums.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum CardRarity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 58 | Free, [INFO] [stdout] 59 | Common, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | Rare, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Epic, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | Legendary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardRarity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Armor` and `Health` are never constructed [INFO] [stdout] --> src/enums.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum CostType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 67 | Mana, [INFO] [stdout] 68 | Armor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | Health, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CostType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum CardKeyword { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 74 | DivineShield, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | Lifesteal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | Poisonous, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | Reborn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | Rush, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | Stealth, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | Taunt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | Tradeable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Windfury, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | Outcast, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | CastOnDraw, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | Charge, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | MegaWindfury, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | Echo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Magnetic, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | Twinspell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | Elusive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | Cleave, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | Colossal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | Corrupt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardKeyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blood`, `Frost`, and `Unholy` are never constructed [INFO] [stdout] --> src/enums.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum CardRunes { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 100 | Blood, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | Frost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Unholy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardRunes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum Ability { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 107 | Adapt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | Battlecry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | Cast, [INFO] [stdout] 110 | Combo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | Deathrattle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | Finale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | Frenzy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | HeroPower, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | HonorableKill, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 116 | Infuse, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | Inspire, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | Invoke, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | Outcast, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | Overheal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | Overkill, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | Passive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 123 | Spellburst, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | StartOfGame, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 125 | Use, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | [INFO] [stdout] 127 | Placeholders, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | Remove, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | HandPassive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | Tick, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | HandTick, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/card.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub cost: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub card_types: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub classes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub rarities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub collectible: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub stats: Option<[usize; 2]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub tribes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub spell_schools: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub durability: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub cooldown: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub heropower_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub heropower_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub keywords: HashMap>, [INFO] [stdout] 35 | pub runes: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub deck_settings: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub conditioned: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | pub storage: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | pub cost_type: CostType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `durability`, `cooldown`, `heropower_text`, and `heropower_cost` are never read [INFO] [stdout] --> src/card.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Blueprint { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | durability: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | cooldown: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | heropower_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 122 | heropower_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blueprint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_durability`, `with_cooldown`, `with_heropower_text`, and `with_heropower_cost` are never used [INFO] [stdout] --> src/card.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Blueprint { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn with_durability(mut self, durability: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn with_cooldown(mut self, cooldown: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn with_heropower_text(mut self, heropower_text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn with_heropower_cost(mut self, heropower_cost: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setup` is never used [INFO] [stdout] --> src/game.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn setup(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/player.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Weapon`, `Hero`, `Location`, and `None` are never constructed [INFO] [stdout] --> src/enums.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum CardType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Weapon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | Hero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | None, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MinionTribe { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | Beast, [INFO] [stdout] 14 | Demon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Dragon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Elemental, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Mech, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Murloc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | Naga, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Pirate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Quilboar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Totem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Undead, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | All, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinionTribe` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum SpellSchool { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 30 | Arcane, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Fel, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Fire, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | Frost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Holy, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Nature, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Shadow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellSchool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum CardClass { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | DeathKnight, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | DemonHunter, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 44 | Druid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | Hunter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Priest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Shaman, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | Warlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | Warrior, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Common`, `Rare`, `Epic`, and `Legendary` are never constructed [INFO] [stdout] --> src/enums.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum CardRarity { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 58 | Free, [INFO] [stdout] 59 | Common, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | Rare, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Epic, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | Legendary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardRarity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Armor` and `Health` are never constructed [INFO] [stdout] --> src/enums.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum CostType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 67 | Mana, [INFO] [stdout] 68 | Armor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 69 | Health, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CostType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum CardKeyword { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 74 | DivineShield, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | Lifesteal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | Poisonous, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 77 | Reborn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | Rush, [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | Stealth, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 80 | Taunt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | Tradeable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | Windfury, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | Outcast, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | CastOnDraw, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | Charge, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | MegaWindfury, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | Echo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Magnetic, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 89 | Twinspell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | Elusive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 91 | Cleave, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | Colossal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | Corrupt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardKeyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blood`, `Frost`, and `Unholy` are never constructed [INFO] [stdout] --> src/enums.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum CardRunes { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 100 | Blood, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | Frost, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Unholy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardRunes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/enums.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub enum Ability { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 107 | Adapt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | Battlecry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 109 | Cast, [INFO] [stdout] 110 | Combo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | Deathrattle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | Finale, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | Frenzy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | HeroPower, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | HonorableKill, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 116 | Infuse, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | Inspire, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | Invoke, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 119 | Outcast, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | Overheal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | Overkill, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | Passive, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 123 | Spellburst, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | StartOfGame, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 125 | Use, [INFO] [stdout] | ^^^ [INFO] [stdout] 126 | [INFO] [stdout] 127 | Placeholders, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 128 | Condition, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | Remove, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | HandPassive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 131 | Tick, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | HandTick, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/card.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Card { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub cost: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub card_types: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub classes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub rarities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub collectible: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub stats: Option<[usize; 2]>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub tribes: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | pub spell_schools: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub durability: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | pub cooldown: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub heropower_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub heropower_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub keywords: HashMap>, [INFO] [stdout] 35 | pub runes: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub deck_settings: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub conditioned: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | pub storage: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | pub cost_type: CostType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `durability`, `cooldown`, `heropower_text`, and `heropower_cost` are never read [INFO] [stdout] --> src/card.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Blueprint { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | durability: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | cooldown: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 121 | heropower_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 122 | heropower_cost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blueprint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_durability`, `with_cooldown`, `with_heropower_text`, and `with_heropower_cost` are never used [INFO] [stdout] --> src/card.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Blueprint { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn with_durability(mut self, durability: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn with_cooldown(mut self, cooldown: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn with_heropower_text(mut self, heropower_text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn with_heropower_cost(mut self, heropower_cost: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setup` is never used [INFO] [stdout] --> src/game.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn setup(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/player.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.61s [INFO] running `Command { std: "docker" "inspect" "86c88864da9dab17fe63d38d4154caafe965029c000528c88f7fedadfd3a9df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c88864da9dab17fe63d38d4154caafe965029c000528c88f7fedadfd3a9df8", kill_on_drop: false }` [INFO] [stdout] 86c88864da9dab17fe63d38d4154caafe965029c000528c88f7fedadfd3a9df8