[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [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] validating manifest of git repo https://github.com/iwyatt/dcg 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/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] 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27b70d3dd516ae1eec56efc5f59d59401d88d1d5df5409d0f18ff0780e94fffe [INFO] running `Command { std: "docker" "start" "-a" "27b70d3dd516ae1eec56efc5f59d59401d88d1d5df5409d0f18ff0780e94fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27b70d3dd516ae1eec56efc5f59d59401d88d1d5df5409d0f18ff0780e94fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b70d3dd516ae1eec56efc5f59d59401d88d1d5df5409d0f18ff0780e94fffe", kill_on_drop: false }` [INFO] [stdout] 27b70d3dd516ae1eec56efc5f59d59401d88d1d5df5409d0f18ff0780e94fffe [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946eaee44c6f84eeb3dc517ce895bdbbb9b8c26b2419e1ac987d517fd2dc58e1 [INFO] running `Command { std: "docker" "start" "-a" "946eaee44c6f84eeb3dc517ce895bdbbb9b8c26b2419e1ac987d517fd2dc58e1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [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)]` 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)]` 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)]` 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: 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)]` 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)]` 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/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)]` 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)]` 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: 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: 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>, [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, //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: 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: 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: 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: 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] = note: `CharType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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)]` 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>, [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, //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: 29 warnings emitted [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] = note: `CharType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.47s [INFO] running `Command { std: "docker" "inspect" "946eaee44c6f84eeb3dc517ce895bdbbb9b8c26b2419e1ac987d517fd2dc58e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946eaee44c6f84eeb3dc517ce895bdbbb9b8c26b2419e1ac987d517fd2dc58e1", kill_on_drop: false }` [INFO] [stdout] 946eaee44c6f84eeb3dc517ce895bdbbb9b8c26b2419e1ac987d517fd2dc58e1 [INFO] checking iwyatt/dcg against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwyatt%2Fdcg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iwyatt/dcg on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04073a5ae4cb408fc2a4e16d47dcfbcfe16feb5a25355fa1ab618326949a59b4 [INFO] running `Command { std: "docker" "start" "-a" "04073a5ae4cb408fc2a4e16d47dcfbcfe16feb5a25355fa1ab618326949a59b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04073a5ae4cb408fc2a4e16d47dcfbcfe16feb5a25355fa1ab618326949a59b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04073a5ae4cb408fc2a4e16d47dcfbcfe16feb5a25355fa1ab618326949a59b4", kill_on_drop: false }` [INFO] [stdout] 04073a5ae4cb408fc2a4e16d47dcfbcfe16feb5a25355fa1ab618326949a59b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95be0f0c932cc59fa56e7d0c99a1f0e3f16ac83d0b86f42f3eb18acb4291846 [INFO] running `Command { std: "docker" "start" "-a" "a95be0f0c932cc59fa56e7d0c99a1f0e3f16ac83d0b86f42f3eb18acb4291846", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [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)]` 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)]` 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)]` 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: 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)]` 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)]` 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/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)]` 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)]` 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>, [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, //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] = note: `CharType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: 29 warnings emitted [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)]` 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>, [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, //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] = note: `CharType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s [INFO] running `Command { std: "docker" "inspect" "a95be0f0c932cc59fa56e7d0c99a1f0e3f16ac83d0b86f42f3eb18acb4291846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95be0f0c932cc59fa56e7d0c99a1f0e3f16ac83d0b86f42f3eb18acb4291846", kill_on_drop: false }` [INFO] [stdout] a95be0f0c932cc59fa56e7d0c99a1f0e3f16ac83d0b86f42f3eb18acb4291846