[INFO] cloning repository https://github.com/Maceris/voguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maceris/voguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaceris%2Fvoguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaceris%2Fvoguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae9a0a6a6a633d5bd7fd382d66c389e823a6dac [INFO] checking Maceris/voguelike/dae9a0a6a6a633d5bd7fd382d66c389e823a6dac against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaceris%2Fvoguelike" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maceris/voguelike on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maceris/voguelike [INFO] finished tweaking git repo https://github.com/Maceris/voguelike [INFO] tweaked toml for git repo https://github.com/Maceris/voguelike written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maceris/voguelike 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c801234b5dbf83e45801cfa11111b93895c98955b19f9c37d04bc88de019796e [INFO] running `Command { std: "docker" "start" "-a" "c801234b5dbf83e45801cfa11111b93895c98955b19f9c37d04bc88de019796e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c801234b5dbf83e45801cfa11111b93895c98955b19f9c37d04bc88de019796e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c801234b5dbf83e45801cfa11111b93895c98955b19f9c37d04bc88de019796e", kill_on_drop: false }` [INFO] [stdout] c801234b5dbf83e45801cfa11111b93895c98955b19f9c37d04bc88de019796e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e001f82421b9e18c83b9d02fab75caf864616a0c9ee1d6af5cc8983901cfb7 [INFO] running `Command { std: "docker" "start" "-a" "76e001f82421b9e18c83b9d02fab75caf864616a0c9ee1d6af5cc8983901cfb7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking ringbuffer v0.15.0 [INFO] [stderr] Compiling traits v0.1.0 (/tmp/fixit/traits) [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking voguelike v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `voguelike` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/action.rs [INFO] [stderr] * src/ui/terminal/terminal_util.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($expression:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($first_command:expr_2021 $(, $command:expr_2021)* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:26:35 [INFO] [stderr] | [INFO] [stderr] 26 | ($first_command:expr_2021 $(, $command:expr_2021)* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `execute_action` [INFO] [stderr] --> src/action.rs:234:14 [INFO] [stderr] | [INFO] [stderr] 234 | macro_rules! execute_action { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objects` [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | let objects = game.components.get_object_components(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gen::map_gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `execute_action` [INFO] [stdout] --> src/action.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | macro_rules! execute_action { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | ($expression:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($expression:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr_2021 $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let objects = game.components.get_object_components(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Column<'a>` is more private than the item `terminal_window::Table::columns` [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub columns: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `terminal_window::Table::columns` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Column<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | struct Column <'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/action.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 89 | // Meta actions [INFO] [stdout] 90 | CloseMenu(CloseMenu), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | Restart(Restart), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | Restore(Restore), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | Save(Save), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | Answer(Answer), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 100 | Ask(Ask), [INFO] [stdout] | ^^^ [INFO] [stdout] 101 | AskFor(AskFor), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | Blow(Blow), [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | Burn(Burn), [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | Buy(Buy), [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | Clean(Clean), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Climb(Climb), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | Close(Close), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | Consult(Consult), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | Crush(Crush), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | Cut(Cut), [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Dig(Dig), [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | Disrobe(Disrobe), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | Drink(Drink), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | Drop(Drop), [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Eat(Eat), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Empty(Empty), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Enter(Enter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | Examine(Examine), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | Exit(Exit), [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | Fill(Fill), [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | GetOff(GetOff), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 123 | Give(Give), [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | Go(Go), [INFO] [stdout] 125 | Insert(Insert), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 126 | Inventory(Inventory), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | Jump(Jump), [INFO] [stdout] | ^^^^ [INFO] [stdout] 128 | JumpOver(JumpOver), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | Kiss(Kiss), [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | LetGo(LetGo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 131 | Listen(Listen), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 132 | Lock(Lock), [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | Look(Look), [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | LookUnder(LookUnder), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | NotUnderstood(NotUnderstood), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 136 | Open(Open), [INFO] [stdout] | ^^^^ [INFO] [stdout] 137 | Order(Order), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | Pray(Pray), [INFO] [stdout] | ^^^^ [INFO] [stdout] 139 | Pull(Pull), [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | Push(Push), [INFO] [stdout] | ^^^^ [INFO] [stdout] 141 | PushDir(PushDir), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 142 | PutOn(PutOn), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 143 | Receive(Receive), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | Remove(Remove), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | Search(Search), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 146 | Set(Set), [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | SetTo(SetTo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | Show(Show), [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | Sing(Sing), [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | Sleep(Sleep), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | Smell(Smell), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | Swim(Swim), [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | Swing(Swing), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | SwitchOff(SwitchOff), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 155 | SwitchOn(SwitchOn), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | Take(Take), [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | Taste(Taste), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | Tell(Tell), [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | Think(Think), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | ThrowAt(ThrowAt), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 161 | ThrownAt(ThrownAt), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | Tie(Tie), [INFO] [stdout] | ^^^ [INFO] [stdout] 163 | Touch(Touch), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 164 | Turn(Turn), [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Unlock(Unlock), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | Wait(Wait), [INFO] [stdout] | ^^^^ [INFO] [stdout] 167 | Wake(Wake), [INFO] [stdout] | ^^^^ [INFO] [stdout] 168 | WakeOther(WakeOther), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 169 | Wave(Wave), [INFO] [stdout] | ^^^^ [INFO] [stdout] 170 | WaveHands(WaveHands), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | Wear(Wear), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal` and `Number` are never constructed [INFO] [stdout] --> src/action.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum Noun { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 196 | Entity(EntityID), [INFO] [stdout] 197 | Literal(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleType` is never used [INFO] [stdout] --> src/action.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum RuleType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rule` is never used [INFO] [stdout] --> src/action.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Rule = fn(RuleType, Action) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_alive`, `get_alive_mut`, `get_creature`, `get_character`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_character(&self, entity: EntityID) -> Option<&Character> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | impl CharacterComponents { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 216 | impl_get_creature!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] 217 | impl_get_character!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 218 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 219 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_size`, `get_alive`, and `get_alive_mut` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl MetaComponents { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_alive`, `get_alive_mut`, `get_creature`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | impl MonsterComponents { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 291 | impl_get_creature!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] 292 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 293 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_size`, `get_alive`, `get_alive_mut`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl ObjectComponents { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 331 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 332 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/component.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl Components { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_meta_components(&self) -> &MetaComponents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn get_character(&self, entity: EntityID) -> Option<&Character> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAX_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const NAME_MAX_LENGTH: u16 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/item.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Item; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paused` is never constructed [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 9 | Menu(menu::MenuType), [INFO] [stdout] 10 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `material_map` and `tag_map` are never read [INFO] [stdout] --> src/game.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DataTables { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub material_map: MaterialMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub tag_map: TagMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_tables` is never read [INFO] [stdout] --> src/game.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub data_tables: DataTables, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `tags` are never read [INFO] [stdout] --> src/material.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MaterialData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub tags: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Alignment { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | ChaoticEvil, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | ChaoticGood, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | ChaoticNeutral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LawfulEvil, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | LawfulGood, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | LawfulNeutral, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | Neutral, [INFO] [stdout] 15 | NeutralEvil, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Class { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Barbarian, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Bard, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Cleric, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Druid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Fighter, [INFO] [stdout] 25 | Monk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Ranger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Sorcerer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Warlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Wizard [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DamageType` is never used [INFO] [stdout] --> src/tabletop.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DamageType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 51 | Dragonborn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | Dwarf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Elf, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Gnome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | HalfElf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | HalfOrc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | Halfling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Human, [INFO] [stdout] 59 | Tiefling [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Skill` is never used [INFO] [stdout] --> src/tabletop.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum Skill { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stat` is never used [INFO] [stdout] --> src/tabletop.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub enum Stat { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skill_stat` is never used [INFO] [stdout] --> src/tabletop.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn skill_stat(skill: Skill) -> Stat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAYS_IN_A_MONTH` is never used [INFO] [stdout] --> src/time.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const DAYS_IN_A_MONTH: u32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MONTHS_IN_A_YEAR` is never used [INFO] [stdout] --> src/time.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MONTHS_IN_A_YEAR: u32 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAYS_IN_A_YEAR` is never used [INFO] [stdout] --> src/time.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DAYS_IN_A_YEAR: u32 = DAYS_IN_A_MONTH * MONTHS_IN_A_YEAR; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Month` is never used [INFO] [stdout] --> src/time.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Month { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Character`, `NewCharacter`, and `Pause` are never constructed [INFO] [stdout] --> src/ui/menu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum MenuType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 25 | Character, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | Main, [INFO] [stdout] 27 | NewCharacter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_creation` is never read [INFO] [stdout] --> src/ui/menu.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MenuData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | pub character_creation: CharacterCreation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TabMenu` is never constructed [INFO] [stdout] --> src/ui/menu.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct TabMenu { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/ui/menu.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableRow` is never constructed [INFO] [stdout] --> src/ui/menu.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TableRow { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alignment`, `class`, `name`, `race`, `stat_points`, and `stats` are never read [INFO] [stdout] --> src/ui/menu.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CharacterCreation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 61 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub class: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub race: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | pub stat_points: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Border` is never used [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Text` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Option` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Option<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Window` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Menu` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Menu<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dialog` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Dialog<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Column <'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Table<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `voguelike` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/action.rs [INFO] [stderr] * src/ui/terminal/terminal_util.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gen::map_gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 18 | ($expression:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: unused macro definition: `execute_action` [INFO] [stdout] --> src/action.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | macro_rules! execute_action { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($first_command:expr_2021 $(, $command:expr_2021)* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:26:35 [INFO] [stderr] | [INFO] [stderr] 26 | ($first_command:expr_2021 $(, $command:expr_2021)* $(,)?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `execute_action` [INFO] [stderr] --> src/action.rs:234:14 [INFO] [stderr] | [INFO] [stderr] 234 | macro_rules! execute_action { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objects` [INFO] [stderr] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | let objects = game.components.get_object_components(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | ($expression:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 18 | ($expression:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr_2021 $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr)* $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($first_command:expr $(, $command:expr_2021)* $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let objects = game.components.get_object_components(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Column<'a>` is more private than the item `terminal_window::Table::columns` [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub columns: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `terminal_window::Table::columns` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Column<'a>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | struct Column <'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/action.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 89 | // Meta actions [INFO] [stdout] 90 | CloseMenu(CloseMenu), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | Restart(Restart), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | Restore(Restore), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | Save(Save), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | Answer(Answer), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 100 | Ask(Ask), [INFO] [stdout] | ^^^ [INFO] [stdout] 101 | AskFor(AskFor), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | Attack(Attack), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | Blow(Blow), [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | Burn(Burn), [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | Buy(Buy), [INFO] [stdout] | ^^^ [INFO] [stdout] 106 | Clean(Clean), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Climb(Climb), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 108 | Close(Close), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | Consult(Consult), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 110 | Crush(Crush), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | Cut(Cut), [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | Dig(Dig), [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | Disrobe(Disrobe), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | Drink(Drink), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 115 | Drop(Drop), [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Eat(Eat), [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Empty(Empty), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 118 | Enter(Enter), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | Examine(Examine), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | Exit(Exit), [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | Fill(Fill), [INFO] [stdout] | ^^^^ [INFO] [stdout] 122 | GetOff(GetOff), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 123 | Give(Give), [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | Go(Go), [INFO] [stdout] 125 | Insert(Insert), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 126 | Inventory(Inventory), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 127 | Jump(Jump), [INFO] [stdout] | ^^^^ [INFO] [stdout] 128 | JumpOver(JumpOver), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 129 | Kiss(Kiss), [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | LetGo(LetGo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 131 | Listen(Listen), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 132 | Lock(Lock), [INFO] [stdout] | ^^^^ [INFO] [stdout] 133 | Look(Look), [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | LookUnder(LookUnder), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | NotUnderstood(NotUnderstood), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 136 | Open(Open), [INFO] [stdout] | ^^^^ [INFO] [stdout] 137 | Order(Order), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | Pray(Pray), [INFO] [stdout] | ^^^^ [INFO] [stdout] 139 | Pull(Pull), [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | Push(Push), [INFO] [stdout] | ^^^^ [INFO] [stdout] 141 | PushDir(PushDir), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 142 | PutOn(PutOn), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 143 | Receive(Receive), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | Remove(Remove), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 145 | Search(Search), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 146 | Set(Set), [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | SetTo(SetTo), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | Show(Show), [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | Sing(Sing), [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | Sleep(Sleep), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | Smell(Smell), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | Swim(Swim), [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | Swing(Swing), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 154 | SwitchOff(SwitchOff), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 155 | SwitchOn(SwitchOn), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | Take(Take), [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | Taste(Taste), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | Tell(Tell), [INFO] [stdout] | ^^^^ [INFO] [stdout] 159 | Think(Think), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | ThrowAt(ThrowAt), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 161 | ThrownAt(ThrownAt), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | Tie(Tie), [INFO] [stdout] | ^^^ [INFO] [stdout] 163 | Touch(Touch), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 164 | Turn(Turn), [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Unlock(Unlock), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | Wait(Wait), [INFO] [stdout] | ^^^^ [INFO] [stdout] 167 | Wake(Wake), [INFO] [stdout] | ^^^^ [INFO] [stdout] 168 | WakeOther(WakeOther), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 169 | Wave(Wave), [INFO] [stdout] | ^^^^ [INFO] [stdout] 170 | WaveHands(WaveHands), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | Wear(Wear), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal` and `Number` are never constructed [INFO] [stdout] --> src/action.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub enum Noun { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 196 | Entity(EntityID), [INFO] [stdout] 197 | Literal(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | Number(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuleType` is never used [INFO] [stdout] --> src/action.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum RuleType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rule` is never used [INFO] [stdout] --> src/action.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | pub type Rule = fn(RuleType, Action) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_alive`, `get_alive_mut`, `get_creature`, `get_character`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_character(&self, entity: EntityID) -> Option<&Character> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | impl CharacterComponents { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 216 | impl_get_creature!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] 217 | impl_get_character!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 218 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 219 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_size`, `get_alive`, and `get_alive_mut` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl MetaComponents { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_alive`, `get_alive_mut`, `get_creature`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | impl MonsterComponents { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 290 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 291 | impl_get_creature!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] 292 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 293 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_size`, `get_alive`, `get_alive_mut`, `get_map_index`, and `get_position` are never used [INFO] [stdout] --> src/component.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | impl ObjectComponents { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | impl_get_alive!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] 331 | impl_get_map_index!(); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] 332 | impl_get_position!(); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_get_alive` which comes from the expansion of the macro `impl_get_position` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/component.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl Components { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_meta_components(&self) -> &MetaComponents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | fn get_alive(&self, entity: EntityID) -> Option<&Alive> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn get_alive_mut(&mut self, entity: EntityID) -> Option<&mut Alive> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn get_creature(&self, entity: EntityID) -> Option<&Creature> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn get_character(&self, entity: EntityID) -> Option<&Character> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn get_map_index(&self, entity: EntityID) -> Option<&MapIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub fn get_position(&self, entity: EntityID) -> Option<&Position> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_MAX_LENGTH` is never used [INFO] [stdout] --> src/constants.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const NAME_MAX_LENGTH: u16 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/item.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Item; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Paused` is never constructed [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 9 | Menu(menu::MenuType), [INFO] [stdout] 10 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `material_map` and `tag_map` are never read [INFO] [stdout] --> src/game.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DataTables { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub material_map: MaterialMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub tag_map: TagMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_tables` is never read [INFO] [stdout] --> src/game.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub data_tables: DataTables, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `tags` are never read [INFO] [stdout] --> src/material.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MaterialData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub parent: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub tags: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdvantageStatus` is never used [INFO] [stdout] --> src/tabletop.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum AdvantageStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Alignment { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | ChaoticEvil, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | ChaoticGood, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | ChaoticNeutral, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | LawfulEvil, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | LawfulGood, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | LawfulNeutral, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | Neutral, [INFO] [stdout] 15 | NeutralEvil, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Class { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Barbarian, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Bard, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Cleric, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Druid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Fighter, [INFO] [stdout] 25 | Monk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Paladin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Ranger, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | Rogue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | Sorcerer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | Warlock, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Wizard [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DamageType` is never used [INFO] [stdout] --> src/tabletop.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DamageType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tabletop.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Race { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 51 | Dragonborn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | Dwarf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Elf, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | Gnome, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | HalfElf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | HalfOrc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | Halfling, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | Human, [INFO] [stdout] 59 | Tiefling [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tiny`, `Small`, `Large`, `Huge`, and `Gargantuan` are never constructed [INFO] [stdout] --> src/tabletop.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum Size { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 63 | Tiny, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | Small, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | Medium, [INFO] [stdout] 66 | Large, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | Huge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Gargantuan [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Skill` is never used [INFO] [stdout] --> src/tabletop.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum Skill { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stat` is never used [INFO] [stdout] --> src/tabletop.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub enum Stat { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modifier` is never used [INFO] [stdout] --> src/tabletop.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn modifier(ability: u8) -> i8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `passive_score` is never used [INFO] [stdout] --> src/tabletop.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn passive_score(modifiers: i8, advantage: AdvantageStatus) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `carrying_capacity` is never used [INFO] [stdout] --> src/tabletop.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn carrying_capacity(strength: u8, size: Size) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_capacity` is never used [INFO] [stdout] --> src/tabletop.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn move_capacity(strength: u8, size: Size) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skill_stat` is never used [INFO] [stdout] --> src/tabletop.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn skill_stat(skill: Skill) -> Stat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAYS_IN_A_MONTH` is never used [INFO] [stdout] --> src/time.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const DAYS_IN_A_MONTH: u32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MONTHS_IN_A_YEAR` is never used [INFO] [stdout] --> src/time.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const MONTHS_IN_A_YEAR: u32 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DAYS_IN_A_YEAR` is never used [INFO] [stdout] --> src/time.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DAYS_IN_A_YEAR: u32 = DAYS_IN_A_MONTH * MONTHS_IN_A_YEAR; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Month` is never used [INFO] [stdout] --> src/time.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Month { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Character`, `NewCharacter`, and `Pause` are never constructed [INFO] [stdout] --> src/ui/menu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum MenuType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 25 | Character, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | Main, [INFO] [stdout] 27 | NewCharacter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_creation` is never read [INFO] [stdout] --> src/ui/menu.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MenuData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 33 | pub character_creation: CharacterCreation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TabMenu` is never constructed [INFO] [stdout] --> src/ui/menu.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct TabMenu { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/ui/menu.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableRow` is never constructed [INFO] [stdout] --> src/ui/menu.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TableRow { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alignment`, `class`, `name`, `race`, `stat_points`, and `stats` are never read [INFO] [stdout] --> src/ui/menu.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CharacterCreation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 61 | pub alignment: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub class: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | pub race: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | pub stat_points: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Border` is never used [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Text` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Option` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Option<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Window` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Menu` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Menu<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dialog` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Dialog<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Column` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct Column <'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Table` is never constructed [INFO] [stdout] --> src/ui/terminal/terminal_window.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Table<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking voguelike v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gen::map_gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 5 | use r#gen::map_gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 17 | mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gen::map_gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 5 | use r#gen::map_gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 17 | mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `execute_action` [INFO] [stdout] --> src/action.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | macro_rules! execute_action { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `execute_action` [INFO] [stdout] --> src/action.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | macro_rules! execute_action { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let objects = game.components.get_object_components(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objects` [INFO] [stdout] --> src/ui/terminal/terminal_util.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let objects = game.components.get_object_components(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voguelike` (bin "voguelike") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `voguelike` (bin "voguelike" test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "76e001f82421b9e18c83b9d02fab75caf864616a0c9ee1d6af5cc8983901cfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e001f82421b9e18c83b9d02fab75caf864616a0c9ee1d6af5cc8983901cfb7", kill_on_drop: false }` [INFO] [stdout] 76e001f82421b9e18c83b9d02fab75caf864616a0c9ee1d6af5cc8983901cfb7