[INFO] cloning repository https://github.com/iwyatt/dcg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwyatt/dcg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwyatt%2Fdcg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwyatt%2Fdcg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b449aed9f20a5c6946bb4ccaeea30fdca697355a
[INFO] checking iwyatt/dcg against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwyatt%2Fdcg" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iwyatt/dcg
[INFO] finished tweaking git repo https://github.com/iwyatt/dcg
[INFO] tweaked toml for git repo https://github.com/iwyatt/dcg written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iwyatt/dcg on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iwyatt/dcg 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded async-trait v0.1.73
[INFO] [stderr]   Downloaded sha256 v1.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51399a48e6a6ceedc352b29fb88f2664eedbaed62ff8a21eb490360c77045e6b
[INFO] running `Command { std: "docker" "start" "-a" "51399a48e6a6ceedc352b29fb88f2664eedbaed62ff8a21eb490360c77045e6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51399a48e6a6ceedc352b29fb88f2664eedbaed62ff8a21eb490360c77045e6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51399a48e6a6ceedc352b29fb88f2664eedbaed62ff8a21eb490360c77045e6b", kill_on_drop: false }`
[INFO] [stdout] 51399a48e6a6ceedc352b29fb88f2664eedbaed62ff8a21eb490360c77045e6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e883b31a2672a067054741c7f295505de3b537fb3486507e284123fcda0a7487
[INFO] running `Command { std: "docker" "start" "-a" "e883b31a2672a067054741c7f295505de3b537fb3486507e284123fcda0a7487", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]     Checking typenum v1.16.0
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]     Checking pin-project-lite v0.2.12
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking tokio v1.32.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking sha256 v1.3.0
[INFO] [stderr]     Checking dcg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `chrono::*`
[INFO] [stdout]  --> src/inventory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::*;
[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: `sha256::digest`
[INFO] [stdout]  --> src/inventory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha256::digest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Index`
[INFO] [stdout]  --> src/actors.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cmp, ops::Index};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::*`
[INFO] [stdout]  --> src/inventory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::*;
[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: `sha256::digest`
[INFO] [stdout]  --> src/inventory.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha256::digest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Index`
[INFO] [stdout]  --> src/actors.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cmp, ops::Index};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/inventory.rs:414:23
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn use_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_name`
[INFO] [stdout]    --> src/inventory.rs:414:46
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn use_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/inventory.rs:415:23
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn new_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_name`
[INFO] [stdout]    --> src/inventory.rs:415:46
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn new_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/actors.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_actor(mut name: String) -> Actor {
[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: unused variable: `actor`
[INFO] [stdout]    --> src/actors.rs:225:26
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn update_buff_stack(actor: &mut Actor) {}
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn start_tutorial_campaign(mut player: &mut Actor, campaign: Campaign) {
[INFO] [stdout]    |                            ----^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     for i in 1..=puzzle.num_attempts {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |     let mut player_input: String = match player_input.trim().parse() {
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `npc`
[INFO] [stdout]    --> src/main.rs:558:42
[INFO] [stdout]     |
[INFO] [stdout] 558 | fn player_action_nothing(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_npc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:563:23
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn player_action_talk(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `npc`
[INFO] [stdout]    --> src/main.rs:563:39
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn player_action_talk(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_npc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PlayerFlee` and `NPCFlee` are never constructed
[INFO] [stdout]    --> src/main.rs:736:5
[INFO] [stdout]     |
[INFO] [stdout] 733 | enum EncounterResult {
[INFO] [stdout]     |      --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 736 |     PlayerFlee,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 737 |     NPCFlee,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `hash` are never read
[INFO] [stdout]  --> src/maps.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Campaign {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 6 |     pub id: i64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout] 8 |     pub hash: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Campaign` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Quest {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 15 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Quest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Map {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 21 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Map` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Location {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 28 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Location` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/maps.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Encounter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 35 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub reward_items: Vec<Option<InventoryItem>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub reward_xp: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub reward_gold: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 43 |     pub failure_effect: EncounterFailureEffect,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     pub success_effect: EncounterSuccessEffect,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub next_encounters: Vec<NextEncounter>, //surprise
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Encounter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> src/maps.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Puzzle {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 51 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 52 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Puzzle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> src/maps.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct PuzzleSolution {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 60 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 61 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PuzzleSolution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GainItem` is never constructed
[INFO] [stdout]   --> src/maps.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum EncounterSuccessEffect {
[INFO] [stdout]    |          ---------------------- variant in this enum
[INFO] [stdout] 77 |     NoEffect,
[INFO] [stdout] 78 |     GainItem,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncounterSuccessEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/maps.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub enum EncounterFailureEffect {
[INFO] [stdout]    |          ---------------------- variants in this enum
[INFO] [stdout] 83 |     LoseHP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 84 |     LoseMP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 85 |     LoseXP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 86 |     LoseGold,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     LoseItem,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 88 |     LoseEquipment,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 89 |     ApplyBadBuff,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncounterFailureEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `condition`, and `next_encounter_id` are never read
[INFO] [stdout]   --> src/maps.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct NextEncounter {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 95 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 96 |     pub condition: NextEncounterCondition,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 97 |     pub next_encounter_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NextEncounter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/maps.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub enum NextEncounterCondition {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] 102 |     EncounterSuccess,
[INFO] [stdout] 103 |     EncounterFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |     PuzzleSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 105 |     PuzzleFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 106 |     CombatSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 107 |     ActorBarterSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 108 |     ActorBarterFail,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 109 |     FindTrapsSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 110 |     FindTrapsFail,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 111 |     FindTrapsSprung,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NextEncounterCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EncumberenceValue`, `Offense`, `ArmorValue`, `Regeneration`, and `WeaponBaseDamage` are never constructed
[INFO] [stdout]   --> src/actors.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum AttributeName {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |     EncumberenceValue,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     Defense,
[INFO] [stdout] 55 |     Offense,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 56 |     ArmorValue,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 57 |     Regeneration,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 58 |     WeaponBaseDamage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AttributeName` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CharType` is never used
[INFO] [stdout]   --> src/actors.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum CharType {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/inventory.rs:414:23
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn use_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_name`
[INFO] [stdout]    --> src/inventory.rs:414:46
[INFO] [stdout]     |
[INFO] [stdout] 414 |     fn use_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `character`
[INFO] [stdout]    --> src/inventory.rs:415:23
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn new_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item_name`
[INFO] [stdout]    --> src/inventory.rs:415:46
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn new_consumable(character: &mut Actor, item_name: &String) {}
[INFO] [stdout]     |                                              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/actors.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_actor(mut name: String) -> Actor {
[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: unused variable: `actor`
[INFO] [stdout]    --> src/actors.rs:225:26
[INFO] [stdout]     |
[INFO] [stdout] 225 |     fn update_buff_stack(actor: &mut Actor) {}
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn start_tutorial_campaign(mut player: &mut Actor, campaign: Campaign) {
[INFO] [stdout]    |                            ----^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     for i in 1..=puzzle.num_attempts {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:527:9
[INFO] [stdout]     |
[INFO] [stdout] 527 |     let mut player_input: String = match player_input.trim().parse() {
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `npc`
[INFO] [stdout]    --> src/main.rs:558:42
[INFO] [stdout]     |
[INFO] [stdout] 558 | fn player_action_nothing(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_npc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:563:23
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn player_action_talk(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `npc`
[INFO] [stdout]    --> src/main.rs:563:39
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn player_action_talk(player: &Actor, npc: &Actor) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_npc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PlayerFlee` and `NPCFlee` are never constructed
[INFO] [stdout]    --> src/main.rs:736:5
[INFO] [stdout]     |
[INFO] [stdout] 733 | enum EncounterResult {
[INFO] [stdout]     |      --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 736 |     PlayerFlee,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 737 |     NPCFlee,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `hash` are never read
[INFO] [stdout]  --> src/maps.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Campaign {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 6 |     pub id: i64,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout] 8 |     pub hash: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Campaign` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Quest {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 15 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Quest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Map {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 21 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Map` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/maps.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Location {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 28 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Location` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/maps.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Encounter {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 35 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 36 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub reward_items: Vec<Option<InventoryItem>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub reward_xp: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub reward_gold: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 43 |     pub failure_effect: EncounterFailureEffect,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     pub success_effect: EncounterSuccessEffect,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub next_encounters: Vec<NextEncounter>, //surprise
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Encounter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> src/maps.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Puzzle {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 51 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 52 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Puzzle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]   --> src/maps.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct PuzzleSolution {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 60 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 61 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PuzzleSolution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GainItem` is never constructed
[INFO] [stdout]   --> src/maps.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum EncounterSuccessEffect {
[INFO] [stdout]    |          ---------------------- variant in this enum
[INFO] [stdout] 77 |     NoEffect,
[INFO] [stdout] 78 |     GainItem,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncounterSuccessEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/maps.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub enum EncounterFailureEffect {
[INFO] [stdout]    |          ---------------------- variants in this enum
[INFO] [stdout] 83 |     LoseHP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 84 |     LoseMP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 85 |     LoseXP,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 86 |     LoseGold,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 87 |     LoseItem,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 88 |     LoseEquipment,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 89 |     ApplyBadBuff,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncounterFailureEffect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `condition`, and `next_encounter_id` are never read
[INFO] [stdout]   --> src/maps.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct NextEncounter {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 95 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 96 |     pub condition: NextEncounterCondition,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 97 |     pub next_encounter_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NextEncounter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/maps.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub enum NextEncounterCondition {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] 102 |     EncounterSuccess,
[INFO] [stdout] 103 |     EncounterFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |     PuzzleSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 105 |     PuzzleFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 106 |     CombatSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 107 |     ActorBarterSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 108 |     ActorBarterFail,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 109 |     FindTrapsSuccess,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 110 |     FindTrapsFail,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 111 |     FindTrapsSprung,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NextEncounterCondition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EncumberenceValue`, `Offense`, `ArmorValue`, `Regeneration`, and `WeaponBaseDamage` are never constructed
[INFO] [stdout]   --> src/actors.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum AttributeName {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 53 |     EncumberenceValue,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 54 |     Defense,
[INFO] [stdout] 55 |     Offense,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 56 |     ArmorValue,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 57 |     Regeneration,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 58 |     WeaponBaseDamage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AttributeName` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CharType` is never used
[INFO] [stdout]   --> src/actors.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub enum CharType {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.18s
[INFO] running `Command { std: "docker" "inspect" "e883b31a2672a067054741c7f295505de3b537fb3486507e284123fcda0a7487", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e883b31a2672a067054741c7f295505de3b537fb3486507e284123fcda0a7487", kill_on_drop: false }`
[INFO] [stdout] e883b31a2672a067054741c7f295505de3b537fb3486507e284123fcda0a7487
