[INFO] cloning repository https://github.com/IsseW/RpgStats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IsseW/RpgStats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsseW%2FRpgStats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsseW%2FRpgStats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8a233a21c47e1ead56437ee53d788bf2c15973c [INFO] checking IsseW/RpgStats against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsseW%2FRpgStats" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IsseW/RpgStats on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IsseW/RpgStats [INFO] finished tweaking git repo https://github.com/IsseW/RpgStats [INFO] tweaked toml for git repo https://github.com/IsseW/RpgStats written to /workspace/builds/worker-110/source/Cargo.toml [INFO] crate git repo https://github.com/IsseW/RpgStats already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2015d9dd4c015b0c5b370f8701f01746dc812af744dc04f727e2b12fd8a477a [INFO] running `Command { std: "docker" "start" "-a" "d2015d9dd4c015b0c5b370f8701f01746dc812af744dc04f727e2b12fd8a477a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2015d9dd4c015b0c5b370f8701f01746dc812af744dc04f727e2b12fd8a477a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2015d9dd4c015b0c5b370f8701f01746dc812af744dc04f727e2b12fd8a477a", kill_on_drop: false }` [INFO] [stdout] d2015d9dd4c015b0c5b370f8701f01746dc812af744dc04f727e2b12fd8a477a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 086d44b141b88e9eee356f3d259232a3bdca1ea5088424525ff1cce2be485f4f [INFO] running `Command { std: "docker" "start" "-a" "086d44b141b88e9eee356f3d259232a3bdca1ea5088424525ff1cce2be485f4f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unstringify v0.1.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking aigame v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `aigame` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/stats/stats.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[E0425]: cannot find value `ty` in this scope [INFO] [stderr] --> src/stats/stats.rs:28:53 [INFO] [stderr] | [INFO] [stderr] 28 | stat_check!($m, $($name1) *, $(|_ty| { $(if ty == Stat::$name3 { $stats.update_stat(Stat::$name2) } ), *}); *) [INFO] [stderr] | ^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 86 | / stats! { [INFO] [stderr] 87 | | // Senses [INFO] [stderr] 88 | | [ [INFO] [stderr] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stderr] ... | [INFO] [stderr] 289 | | ] [INFO] [stderr] 290 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `stat_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find value `ty` in this scope [INFO] [stdout] --> src/stats/stats.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | stat_check!($m, $($name1) *, $(|_ty| { $(if ty == Stat::$name3 { $stats.update_stat(Stat::$name2) } ), *}); *) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `stat_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseStat` [INFO] [stdout] --> src/stats/resource.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stats::{Stat, BaseStat, Stats}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaseStat` [INFO] [stdout] --> src/stats/effect.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stats::{Stat, BaseStat, Stats}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dmg` [INFO] [stdout] --> src/stats/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::dmg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aigame` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/stats/stats.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | stat_check!($m, $($name1) *, $(|ty| { $(if ty == Stat::$name3 { $stats.update_stat(Stat::$name2) } ), *}); *) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `stat_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/stats/stats.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | stat_check!($m, $($name1) *, $(|ty| { $(if ty == Stat::$name3 { $stats.update_stat(Stat::$name2) } ), *}); *) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stat_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BodyPartType` [INFO] [stdout] --> src/creature/body_part.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum BodyPartType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BodyPart` [INFO] [stdout] --> src/creature/body_part.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BodyPart { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Creature` [INFO] [stdout] --> src/creature/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Creature { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `distribution` [INFO] [stdout] --> src/stats/stats.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn distribution(x: f32, half: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hearing` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Smell` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vision` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReactionTime` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Speed` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `JumpHeight` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DodgeTime` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PhysicalCritChance` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MagicalCritChance` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ElementalCritChance` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PhysicalDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CuttingDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MagicalDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MentalDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CurseDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HolyDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FireDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IceDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ElectricDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EarthDamage` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PhysicalArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CuttingArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MagicalArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MentalArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CurseArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HolyArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FireArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IceArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ElectricArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EarthArmor` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PhysicalReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PhysicalReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CuttingReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CuttingReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MagicalReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MagicalReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MentalReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MentalReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CurseReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CurseReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HolyReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HolyReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FireReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FireReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IceReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IceReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WindReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ElectricReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ElectricReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EarthReduction` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EarthReductionFlat` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxHealth` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HealthRegen` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxMana` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ManaRegen` [INFO] [stdout] --> src/stats/stats.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NUM_STATS` [INFO] [stdout] --> src/stats/stats.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | const NUM_STATS: usize = count_idents!($($name), *); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NAMES` [INFO] [stdout] --> src/stats/stats.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | const NAMES: [&'static str; NUM_STATS] = [$(stringify!([<$name:lower>])), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base_stat_changed` [INFO] [stdout] --> src/stats/stats.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn base_stat_changed(stats: &mut Stats, changed: BaseStat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stat_changed` [INFO] [stdout] --> src/stats/stats.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | fn stat_changed(stats: &mut Stats, changed: Stat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/stats/stats.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn update(&self, stats: &mut Stats) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_updated` [INFO] [stdout] --> src/stats/stats.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn on_updated(&self, stats: &mut Stats) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / stats! { [INFO] [stdout] 87 | | // Senses [INFO] [stdout] 88 | | [ [INFO] [stdout] 89 | | Hearing: Hearing, Sense: : |stats: &mut Stats| { [INFO] [stdout] ... | [INFO] [stdout] 289 | | ] [INFO] [stdout] 290 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hearing` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Smell` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vision` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Strength` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dexterity` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Intelligence` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vitality` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Defence` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sense` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Charisma` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wisdom` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Luck` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Karma` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Weight` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Size` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fire` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ice` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wind` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Electric` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Earth` [INFO] [stdout] --> src/stats/base_stat.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_STAT_ITER` [INFO] [stdout] --> src/stats/base_stat.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub const BASE_STAT_ITER: [BaseStat; NUM_BASE_STATS] = [$(BaseStat::$name), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NAMES` [INFO] [stdout] --> src/stats/base_stat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | const NAMES: [&'static str; NUM_BASE_STATS] = [$(stringify!($name)), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SHORTS` [INFO] [stdout] --> src/stats/base_stat.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | const SHORTS: [&'static str; NUM_BASE_STATS] = [$($short), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CAN_LEVEL` [INFO] [stdout] --> src/stats/base_stat.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | const CAN_LEVEL: [bool; NUM_BASE_STATS] = [$($can_level), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/stats/base_stat.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_short` [INFO] [stdout] --> src/stats/base_stat.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_short(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_level` [INFO] [stdout] --> src/stats/base_stat.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn can_level(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | / base_stats! { [INFO] [stdout] 41 | | Hearing "hear" false, [INFO] [stdout] 42 | | Smell "smell" false, [INFO] [stdout] 43 | | Vision "vis" false, [INFO] [stdout] ... | [INFO] [stdout] 63 | | Earth "earth" false, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `base_stats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ones` [INFO] [stdout] --> src/stats/base_stat.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn ones() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HP` [INFO] [stdout] --> src/stats/resource.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mana` [INFO] [stdout] --> src/stats/resource.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NUM_RESOURCES` [INFO] [stdout] --> src/stats/resource.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | const NUM_RESOURCES: usize = count_idents!($($name), *); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NAMES` [INFO] [stdout] --> src/stats/resource.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | const NAMES: [&'static str; NUM_RESOURCES] = [$(stringify!($name)), *]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/stats/resource.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `regen` [INFO] [stdout] --> src/stats/resource.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn regen(&self, stats: &Stats) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/stats/resource.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn max(&self, stats: &Stats) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | / resources! { [INFO] [stdout] 34 | | HP, [INFO] [stdout] 35 | | max => |stats: &Stats| { [INFO] [stdout] 36 | | stats[Stat::MaxHealth] [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `resources` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConsumptionType` [INFO] [stdout] --> src/stats/resource.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ConsumptionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ResourceConsumption` [INFO] [stdout] --> src/stats/resource.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ResourceConsumption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `EffectData` [INFO] [stdout] --> src/stats/effect.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct EffectData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fire` [INFO] [stdout] --> src/stats/effect.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Poison` [INFO] [stdout] --> src/stats/effect.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slow` [INFO] [stdout] --> src/stats/effect.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/stats/effect.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/stats/effect.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | fn start(&self, stats: &mut Stats, data: &mut EffectData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/stats/effect.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | fn update(&self, stats: &mut Stats, data: &mut EffectData, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/stats/effect.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | fn end(&self, stats: &mut Stats, data: &mut EffectData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / effects! { [INFO] [stdout] 48 | | Fire, [INFO] [stdout] 49 | | update => |stats: &mut Stats, data: &mut EffectData, delta: f32| { [INFO] [stdout] 50 | | stats.apply_damage(&dmg!(Fire: data.strength * delta)); [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `effects` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Physical` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cutting` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Magic` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mental` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Curse` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Holy` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fire` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ice` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wind` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Electric` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Earth` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pure` [INFO] [stdout] --> src/stats/damage.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | $($name), * [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dmg` [INFO] [stdout] --> src/stats/damage.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Dmg { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create` [INFO] [stdout] --> src/stats/damage.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn create(dmgs: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/stats/damage.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(dmgs: HashMap, dodgeable: bool, speed: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_dealt` [INFO] [stdout] --> src/stats/damage.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn calculate_dealt(&self, stats: &Stats) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_taken` [INFO] [stdout] --> src/stats/damage.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn calculate_taken(&self, stats: &Stats) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_dodge` [INFO] [stdout] --> src/stats/damage.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn can_dodge(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_speed` [INFO] [stdout] --> src/stats/damage.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn get_speed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum` [INFO] [stdout] --> src/stats/damage.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn sum(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | / damages! { [INFO] [stdout] 76 | | Physical, [INFO] [stdout] 77 | | dmg => |stats: &Stats, val: f32| { [INFO] [stdout] 78 | | val * stats[Stat::PhysicalDamage] * if thread_rng().gen::() < stats[Stat::PhysicalCritChance] { 2.0 } else { 1.0 } // Maybe ... [INFO] [stdout] ... | [INFO] [stdout] 159 | | }, [INFO] [stdout] 160 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `damages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DmgResult` [INFO] [stdout] --> src/stats/damage.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | pub enum DmgResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StatGain` [INFO] [stdout] --> src/stats/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StatGain { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_stats_mul` [INFO] [stdout] --> src/stats/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | base_stats_mul: BaseStats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stats_add` [INFO] [stdout] --> src/stats/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | stats_add: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stats_mul` [INFO] [stdout] --> src/stats/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | stats_mul: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/stats/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn new(base: BaseStats) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_stat` [INFO] [stdout] --> src/stats/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn set_stat(&mut self, stat: Stat, value: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_stat` [INFO] [stdout] --> src/stats/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn mul_stat(&mut self, stat: Stat, value: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_stat` [INFO] [stdout] --> src/stats/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn add_stat(&mut self, stat: Stat, value: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recalculate_stat` [INFO] [stdout] --> src/stats/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn recalculate_stat(&mut self, stat: Stat, current: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_base` [INFO] [stdout] --> src/stats/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_base(&mut self, stat: BaseStat, value: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_base` [INFO] [stdout] --> src/stats/mod.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn mul_base(&mut self, stat: BaseStat, value: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recalculate_base_stat` [INFO] [stdout] --> src/stats/mod.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn recalculate_base_stat(&mut self, stat: BaseStat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_stat` [INFO] [stdout] --> src/stats/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn update_stat(&mut self, stat: Stat) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_resources` [INFO] [stdout] --> src/stats/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn update_resources(&mut self, delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_resource` [INFO] [stdout] --> src/stats/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn add_resource(&mut self, resource: Resource, max: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_resource` [INFO] [stdout] --> src/stats/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn consume_resource(&mut self, consumption: ResourceConsumption) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_base` [INFO] [stdout] --> src/stats/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_base(&self, accessor: T) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_damage` [INFO] [stdout] --> src/stats/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn apply_damage(&mut self, dmg : &Dmg) -> DmgResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_gain` [INFO] [stdout] --> src/stats/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn add_gain(&mut self, stat_gain: &StatGain) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 158 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "086d44b141b88e9eee356f3d259232a3bdca1ea5088424525ff1cce2be485f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086d44b141b88e9eee356f3d259232a3bdca1ea5088424525ff1cce2be485f4f", kill_on_drop: false }` [INFO] [stdout] 086d44b141b88e9eee356f3d259232a3bdca1ea5088424525ff1cce2be485f4f