[INFO] cloning repository https://github.com/KiruyaMomochi/PowerMagic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KiruyaMomochi/PowerMagic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiruyaMomochi%2FPowerMagic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiruyaMomochi%2FPowerMagic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40527143d757495c869be4175d9bc596b0f88e5 [INFO] testing KiruyaMomochi/PowerMagic against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiruyaMomochi%2FPowerMagic" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KiruyaMomochi/PowerMagic on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KiruyaMomochi/PowerMagic [INFO] finished tweaking git repo https://github.com/KiruyaMomochi/PowerMagic [INFO] tweaked toml for git repo https://github.com/KiruyaMomochi/PowerMagic written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/KiruyaMomochi/PowerMagic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.5.11 [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded bytemuck v1.8.0 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded sqlx-rt v0.5.11 [INFO] [stderr] Downloaded crossbeam-queue v0.3.4 [INFO] [stderr] Downloaded sqlx-core v0.5.11 [INFO] [stderr] Downloaded sqlx v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7784416efaca06bb6586b4bdd84567aa928a4f440d2f2080f043d7e94c4b1ae4 [INFO] running `Command { std: "docker" "start" "-a" "7784416efaca06bb6586b4bdd84567aa928a4f440d2f2080f043d7e94c4b1ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7784416efaca06bb6586b4bdd84567aa928a4f440d2f2080f043d7e94c4b1ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7784416efaca06bb6586b4bdd84567aa928a4f440d2f2080f043d7e94c4b1ae4", kill_on_drop: false }` [INFO] [stdout] 7784416efaca06bb6586b4bdd84567aa928a4f440d2f2080f043d7e94c4b1ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e372698317cf0e22996911bd278410e057762469207695fcf5b507d436089dbb [INFO] running `Command { std: "docker" "start" "-a" "e372698317cf0e22996911bd278410e057762469207695fcf5b507d436089dbb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling derive-macro v0.1.0 (/opt/rustwide/workdir/derive-macro) [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling powermagic v0.1.0 (/opt/rustwide/workdir/powermagic) [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> powermagic/src/unit/calc.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn equip_param(&self, cache, state): equip -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> powermagic/src/unit/calc.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn power(&self, cache, state): power -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_evolution` [INFO] [stdout] --> powermagic/src/unit/state.rs:278:46 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn ex_skill_power(&self, level: i32, is_evolution: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_evolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> powermagic/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut calculator = UnitCalculator::new(&unit_cache) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EquipmentEnhanceData` [INFO] [stdout] --> powermagic/src/manager.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | EquipmentEnhanceData(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DataManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/manager.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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] --> powermagic/src/manager.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn new(connection: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_full` [INFO] [stdout] --> powermagic/src/unit.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn equip_full(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `story_group_id` [INFO] [stdout] --> powermagic/src/unit.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | story_group_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoryGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn base_param(&self, rank: i32, level: i32, rarity: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn equip_param(&self, rank: i32, equip: &[(bool, i32)]) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `story_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn story_param(&self, watched_bonus: HashMap) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_level` [INFO] [stdout] --> powermagic/src/unit/cache.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn skill_level(&self, level: i32, rarity: i32, is_unique_equipped: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_power` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `promotion_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank_equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity_6_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `story_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> powermagic/src/unit/calc.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn reset(&mut self) -> &Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/data.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn base_param(&self, level: i32, rarity: i32, rank: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn param(&self, bonus_stories: usize) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param_all` [INFO] [stdout] --> powermagic/src/unit/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn param_all(&self) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bronze` [INFO] [stdout] --> powermagic/src/unit/define.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Bronze = 1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Copper1` [INFO] [stdout] --> powermagic/src/unit/define.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Copper1 = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Copper2` [INFO] [stdout] --> powermagic/src/unit/define.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Copper2 = 3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver1` [INFO] [stdout] --> powermagic/src/unit/define.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Silver1 = 4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver2` [INFO] [stdout] --> powermagic/src/unit/define.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Silver2 = 5, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver3` [INFO] [stdout] --> powermagic/src/unit/define.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Silver3 = 6, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold1` [INFO] [stdout] --> powermagic/src/unit/define.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Gold1 = 7, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold2` [INFO] [stdout] --> powermagic/src/unit/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Gold2 = 8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold3` [INFO] [stdout] --> powermagic/src/unit/define.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Gold3 = 9, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold4` [INFO] [stdout] --> powermagic/src/unit/define.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Gold4 = 10, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple1` [INFO] [stdout] --> powermagic/src/unit/define.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Purple1 = 11, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple2` [INFO] [stdout] --> powermagic/src/unit/define.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Purple2 = 12, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple3` [INFO] [stdout] --> powermagic/src/unit/define.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Purple3 = 13, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple4` [INFO] [stdout] --> powermagic/src/unit/define.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Purple4 = 14, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple5` [INFO] [stdout] --> powermagic/src/unit/define.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Purple5 = 15, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple6` [INFO] [stdout] --> powermagic/src/unit/define.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Purple6 = 16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple7` [INFO] [stdout] --> powermagic/src/unit/define.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Purple7 = 17, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red1` [INFO] [stdout] --> powermagic/src/unit/define.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Red1 = 18, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red2` [INFO] [stdout] --> powermagic/src/unit/define.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Red2 = 19, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red3` [INFO] [stdout] --> powermagic/src/unit/define.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Red3 = 20, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green1` [INFO] [stdout] --> powermagic/src/unit/define.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Green1 = 21, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green2` [INFO] [stdout] --> powermagic/src/unit/define.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Green2 = 22, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green3` [INFO] [stdout] --> powermagic/src/unit/define.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Green3 = 23, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange1` [INFO] [stdout] --> powermagic/src/unit/define.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Orange1 = 24, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange2` [INFO] [stdout] --> powermagic/src/unit/define.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Orange2 = 25, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange3` [INFO] [stdout] --> powermagic/src/unit/define.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Orange3 = 26, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange4` [INFO] [stdout] --> powermagic/src/unit/define.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Orange4 = 27, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidValue` [INFO] [stdout] --> powermagic/src/unit/define.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | InvalidValue = -1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `unit_config` [INFO] [stdout] --> powermagic/src/unit/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | unit_config: &'a UnitData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rarity` [INFO] [stdout] --> powermagic/src/unit/state.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | Rarity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Level` [INFO] [stdout] --> powermagic/src/unit/state.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Promotion` [INFO] [stdout] --> powermagic/src/unit/state.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Promotion, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Skill` [INFO] [stdout] --> powermagic/src/unit/state.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Skill, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EquipSlot` [INFO] [stdout] --> powermagic/src/unit/state.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | EquipSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UniqueEquipSlot` [INFO] [stdout] --> powermagic/src/unit/state.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | UniqueEquipSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnlockRarity6Slot` [INFO] [stdout] --> powermagic/src/unit/state.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | UnlockRarity6Slot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Story` [INFO] [stdout] --> powermagic/src/unit/state.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Story, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rarity6` [INFO] [stdout] --> powermagic/src/unit/state.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Rarity6, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_config` [INFO] [stdout] --> powermagic/src/unit/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn with_config(unit_config: &'a UnitData) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> powermagic/src/unit/state.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn level(mut self, level: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> powermagic/src/unit/state.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn rank(mut self, rank: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity` [INFO] [stdout] --> powermagic/src/unit/state.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn rarity(mut self, rarity: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> powermagic/src/unit/state.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free_skill_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn free_skill_power(&self, level: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_burst_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn union_burst_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn main_skill_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ex_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn ex_skill_id_power(&self, level: i32, rarity: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn free_skill_id_power(&self, level: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn skill_power(&self, skill: &UnitSkill, level: i32, rarity: i32, unique_equipped: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_evolution_skill` [INFO] [stdout] --> powermagic/src/unit/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_evolution_skill(skill_id: T) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skill_level` [INFO] [stdout] --> powermagic/src/unit/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn skill_level<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.29s [INFO] running `Command { std: "docker" "inspect" "e372698317cf0e22996911bd278410e057762469207695fcf5b507d436089dbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e372698317cf0e22996911bd278410e057762469207695fcf5b507d436089dbb", kill_on_drop: false }` [INFO] [stdout] e372698317cf0e22996911bd278410e057762469207695fcf5b507d436089dbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1b8132d6ed15632524cfaaddc80bd1367303fb32dd3ee862aacd54c277411ae [INFO] running `Command { std: "docker" "start" "-a" "e1b8132d6ed15632524cfaaddc80bd1367303fb32dd3ee862aacd54c277411ae", kill_on_drop: false }` [INFO] [stderr] Compiling derive-macro v0.1.0 (/opt/rustwide/workdir/derive-macro) [INFO] [stderr] Compiling powermagic v0.1.0 (/opt/rustwide/workdir/powermagic) [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> powermagic/src/unit/calc.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:365:38 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn equip_param(&self, cache, state): equip -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> powermagic/src/unit/calc.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:380:32 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> powermagic/src/unit/calc.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn power(&self, cache, state): power -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_evolution` [INFO] [stdout] --> powermagic/src/unit/state.rs:278:46 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn ex_skill_power(&self, level: i32, is_evolution: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_evolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> powermagic/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut calculator = UnitCalculator::new(&unit_cache) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EquipmentEnhanceData` [INFO] [stdout] --> powermagic/src/manager.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | EquipmentEnhanceData(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DataManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/manager.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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] --> powermagic/src/manager.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn new(connection: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_full` [INFO] [stdout] --> powermagic/src/unit.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn equip_full(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `story_group_id` [INFO] [stdout] --> powermagic/src/unit.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | story_group_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StoryGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn base_param(&self, rank: i32, level: i32, rarity: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn equip_param(&self, rank: i32, equip: &[(bool, i32)]) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `story_param` [INFO] [stdout] --> powermagic/src/unit/cache.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn story_param(&self, watched_bonus: HashMap) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_level` [INFO] [stdout] --> powermagic/src/unit/cache.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn skill_level(&self, level: i32, rarity: i32, is_unique_equipped: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_power` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `promotion_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank_equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique_equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity_6_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `story_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equip_param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | / memorized_getter_ng! { [INFO] [stdout] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stdout] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stdout] 247 | | [INFO] [stdout] ... | [INFO] [stdout] 388 | | } [INFO] [stdout] 389 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> powermagic/src/unit/calc.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn reset(&mut self) -> &Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_param` [INFO] [stdout] --> powermagic/src/unit/data.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn base_param(&self, level: i32, rarity: i32, rank: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn param(&self, bonus_stories: usize) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param_all` [INFO] [stdout] --> powermagic/src/unit/data.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn param_all(&self) -> UnitStatus { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `param` [INFO] [stdout] --> powermagic/src/unit/data.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bronze` [INFO] [stdout] --> powermagic/src/unit/define.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Bronze = 1, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Copper1` [INFO] [stdout] --> powermagic/src/unit/define.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Copper1 = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Copper2` [INFO] [stdout] --> powermagic/src/unit/define.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Copper2 = 3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver1` [INFO] [stdout] --> powermagic/src/unit/define.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Silver1 = 4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver2` [INFO] [stdout] --> powermagic/src/unit/define.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Silver2 = 5, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Silver3` [INFO] [stdout] --> powermagic/src/unit/define.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Silver3 = 6, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold1` [INFO] [stdout] --> powermagic/src/unit/define.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Gold1 = 7, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold2` [INFO] [stdout] --> powermagic/src/unit/define.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Gold2 = 8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold3` [INFO] [stdout] --> powermagic/src/unit/define.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Gold3 = 9, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Gold4` [INFO] [stdout] --> powermagic/src/unit/define.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Gold4 = 10, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple1` [INFO] [stdout] --> powermagic/src/unit/define.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Purple1 = 11, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple2` [INFO] [stdout] --> powermagic/src/unit/define.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Purple2 = 12, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple3` [INFO] [stdout] --> powermagic/src/unit/define.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Purple3 = 13, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple4` [INFO] [stdout] --> powermagic/src/unit/define.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Purple4 = 14, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple5` [INFO] [stdout] --> powermagic/src/unit/define.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Purple5 = 15, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple6` [INFO] [stdout] --> powermagic/src/unit/define.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Purple6 = 16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Purple7` [INFO] [stdout] --> powermagic/src/unit/define.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Purple7 = 17, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red1` [INFO] [stdout] --> powermagic/src/unit/define.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Red1 = 18, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red2` [INFO] [stdout] --> powermagic/src/unit/define.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Red2 = 19, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red3` [INFO] [stdout] --> powermagic/src/unit/define.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Red3 = 20, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green1` [INFO] [stdout] --> powermagic/src/unit/define.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Green1 = 21, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green2` [INFO] [stdout] --> powermagic/src/unit/define.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Green2 = 22, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green3` [INFO] [stdout] --> powermagic/src/unit/define.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Green3 = 23, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange1` [INFO] [stdout] --> powermagic/src/unit/define.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Orange1 = 24, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange2` [INFO] [stdout] --> powermagic/src/unit/define.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Orange2 = 25, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange3` [INFO] [stdout] --> powermagic/src/unit/define.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Orange3 = 26, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orange4` [INFO] [stdout] --> powermagic/src/unit/define.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Orange4 = 27, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidValue` [INFO] [stdout] --> powermagic/src/unit/define.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | InvalidValue = -1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/define.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `unit_config` [INFO] [stdout] --> powermagic/src/unit/state.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | unit_config: &'a UnitData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rarity` [INFO] [stdout] --> powermagic/src/unit/state.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | Rarity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Level` [INFO] [stdout] --> powermagic/src/unit/state.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Promotion` [INFO] [stdout] --> powermagic/src/unit/state.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Promotion, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Skill` [INFO] [stdout] --> powermagic/src/unit/state.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Skill, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EquipSlot` [INFO] [stdout] --> powermagic/src/unit/state.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | EquipSlot, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UniqueEquipSlot` [INFO] [stdout] --> powermagic/src/unit/state.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | UniqueEquipSlot, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnlockRarity6Slot` [INFO] [stdout] --> powermagic/src/unit/state.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | UnlockRarity6Slot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Story` [INFO] [stdout] --> powermagic/src/unit/state.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Story, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rarity6` [INFO] [stdout] --> powermagic/src/unit/state.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Rarity6, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> powermagic/src/unit/state.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_config` [INFO] [stdout] --> powermagic/src/unit/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn with_config(unit_config: &'a UnitData) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> powermagic/src/unit/state.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn level(mut self, level: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank` [INFO] [stdout] --> powermagic/src/unit/state.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn rank(mut self, rank: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rarity` [INFO] [stdout] --> powermagic/src/unit/state.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn rarity(mut self, rarity: i32) -> UnitStateBuilder<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> powermagic/src/unit/state.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free_skill_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn free_skill_power(&self, level: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union_burst_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn union_burst_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `main_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn main_skill_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ex_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn ex_skill_id_power(&self, level: i32, rarity: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `free_skill_id_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn free_skill_id_power(&self, level: i32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skill_power` [INFO] [stdout] --> powermagic/src/unit/state.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn skill_power(&self, skill: &UnitSkill, level: i32, rarity: i32, unique_equipped: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_evolution_skill` [INFO] [stdout] --> powermagic/src/unit/utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn is_evolution_skill(skill_id: T) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `skill_level` [INFO] [stdout] --> powermagic/src/unit/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn skill_level<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 84 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "e1b8132d6ed15632524cfaaddc80bd1367303fb32dd3ee862aacd54c277411ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b8132d6ed15632524cfaaddc80bd1367303fb32dd3ee862aacd54c277411ae", kill_on_drop: false }` [INFO] [stdout] e1b8132d6ed15632524cfaaddc80bd1367303fb32dd3ee862aacd54c277411ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 061e4e911024934f34d5643ca1ec201631c6ac6a59d1f426d7b8fe205666681b [INFO] running `Command { std: "docker" "start" "-a" "061e4e911024934f34d5643ca1ec201631c6ac6a59d1f426d7b8fe205666681b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cache` [INFO] [stderr] --> powermagic/src/unit/calc.rs:298:30 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> powermagic/src/unit/calc.rs:298:37 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn base_param(&self, cache, state): base -> UnitStatus { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> powermagic/src/unit/calc.rs:365:38 [INFO] [stderr] | [INFO] [stderr] 365 | pub fn equip_param(&self, cache, state): equip -> UnitStatus { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cache` [INFO] [stderr] --> powermagic/src/unit/calc.rs:380:25 [INFO] [stderr] | [INFO] [stderr] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> powermagic/src/unit/calc.rs:380:32 [INFO] [stderr] | [INFO] [stderr] 380 | pub fn param(&self, cache, state): status -> UnitStatus { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> powermagic/src/unit/calc.rs:384:32 [INFO] [stderr] | [INFO] [stderr] 384 | pub fn power(&self, cache, state): power -> f64 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_evolution` [INFO] [stderr] --> powermagic/src/unit/state.rs:278:46 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn ex_skill_power(&self, level: i32, is_evolution: bool) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_evolution` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> powermagic/src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let mut calculator = UnitCalculator::new(&unit_cache) [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EquipmentEnhanceData` [INFO] [stderr] --> powermagic/src/manager.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | EquipmentEnhanceData(i64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DataManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/manager.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> powermagic/src/manager.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | pub async fn new(connection: &str) -> Result> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `equip_full` [INFO] [stderr] --> powermagic/src/unit.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn equip_full(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `story_group_id` [INFO] [stderr] --> powermagic/src/unit.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | story_group_id: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StoryGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit.rs:197:10 [INFO] [stderr] | [INFO] [stderr] 197 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `base_param` [INFO] [stderr] --> powermagic/src/unit/cache.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn base_param(&self, rank: i32, level: i32, rarity: i32) -> UnitStatus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `equip_param` [INFO] [stderr] --> powermagic/src/unit/cache.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn equip_param(&self, rank: i32, equip: &[(bool, i32)]) -> UnitStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `story_param` [INFO] [stderr] --> powermagic/src/unit/cache.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn story_param(&self, watched_bonus: HashMap) -> UnitStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `skill_level` [INFO] [stderr] --> powermagic/src/unit/cache.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn skill_level(&self, level: i32, rarity: i32, is_unique_equipped: bool) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rarity_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `skill_power` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `promotion_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `base_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rank_equip_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unique_equip_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rarity_6_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `story_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `equip_param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `param` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `power` [INFO] [stderr] --> powermagic/src/unit/calc.rs:214:17 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn $fn(&$self $($($(,$arg: $type)*)?)?) -> $ret { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 244 | / memorized_getter_ng! { [INFO] [stderr] 245 | | pub fn rarity_param(&self, cache, state): rarity -> UnitStatus { [INFO] [stderr] 246 | | let rarity = &cache.rarity[state.rarity as usize - 1]; [INFO] [stderr] 247 | | [INFO] [stderr] ... | [INFO] [stderr] 388 | | } [INFO] [stderr] 389 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `memorized_getter_ng` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset` [INFO] [stderr] --> powermagic/src/unit/calc.rs:528:12 [INFO] [stderr] | [INFO] [stderr] 528 | pub fn reset(&mut self) -> &Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `base_param` [INFO] [stderr] --> powermagic/src/unit/data.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn base_param(&self, level: i32, rarity: i32, rank: i32) -> UnitStatus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `param` [INFO] [stderr] --> powermagic/src/unit/data.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn param(&self, bonus_stories: usize) -> UnitStatus { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `param_all` [INFO] [stderr] --> powermagic/src/unit/data.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn param_all(&self) -> UnitStatus { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `param` [INFO] [stderr] --> powermagic/src/unit/data.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `param` [INFO] [stderr] --> powermagic/src/unit/data.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn param(&self, enhancement_level: i32) -> UnitStatus { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Bronze` [INFO] [stderr] --> powermagic/src/unit/define.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Bronze = 1, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Copper1` [INFO] [stderr] --> powermagic/src/unit/define.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Copper1 = 2, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Copper2` [INFO] [stderr] --> powermagic/src/unit/define.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Copper2 = 3, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Silver1` [INFO] [stderr] --> powermagic/src/unit/define.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Silver1 = 4, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Silver2` [INFO] [stderr] --> powermagic/src/unit/define.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Silver2 = 5, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Silver3` [INFO] [stderr] --> powermagic/src/unit/define.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Silver3 = 6, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gold1` [INFO] [stderr] --> powermagic/src/unit/define.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Gold1 = 7, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gold2` [INFO] [stderr] --> powermagic/src/unit/define.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Gold2 = 8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gold3` [INFO] [stderr] --> powermagic/src/unit/define.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Gold3 = 9, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Gold4` [INFO] [stderr] --> powermagic/src/unit/define.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Gold4 = 10, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple1` [INFO] [stderr] --> powermagic/src/unit/define.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Purple1 = 11, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple2` [INFO] [stderr] --> powermagic/src/unit/define.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Purple2 = 12, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple3` [INFO] [stderr] --> powermagic/src/unit/define.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Purple3 = 13, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple4` [INFO] [stderr] --> powermagic/src/unit/define.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Purple4 = 14, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple5` [INFO] [stderr] --> powermagic/src/unit/define.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Purple5 = 15, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple6` [INFO] [stderr] --> powermagic/src/unit/define.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Purple6 = 16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Purple7` [INFO] [stderr] --> powermagic/src/unit/define.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Purple7 = 17, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Red1` [INFO] [stderr] --> powermagic/src/unit/define.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Red1 = 18, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Red2` [INFO] [stderr] --> powermagic/src/unit/define.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | Red2 = 19, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Red3` [INFO] [stderr] --> powermagic/src/unit/define.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Red3 = 20, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Green1` [INFO] [stderr] --> powermagic/src/unit/define.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Green1 = 21, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Green2` [INFO] [stderr] --> powermagic/src/unit/define.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Green2 = 22, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Green3` [INFO] [stderr] --> powermagic/src/unit/define.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Green3 = 23, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Orange1` [INFO] [stderr] --> powermagic/src/unit/define.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Orange1 = 24, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Orange2` [INFO] [stderr] --> powermagic/src/unit/define.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | Orange2 = 25, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Orange3` [INFO] [stderr] --> powermagic/src/unit/define.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Orange3 = 26, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Orange4` [INFO] [stderr] --> powermagic/src/unit/define.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Orange4 = 27, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidValue` [INFO] [stderr] --> powermagic/src/unit/define.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | InvalidValue = -1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromotionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/define.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `unit_config` [INFO] [stderr] --> powermagic/src/unit/state.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | unit_config: &'a UnitData, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:89:10 [INFO] [stderr] | [INFO] [stderr] 89 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Rarity` [INFO] [stderr] --> powermagic/src/unit/state.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | Rarity, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Level` [INFO] [stderr] --> powermagic/src/unit/state.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | Level, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Promotion` [INFO] [stderr] --> powermagic/src/unit/state.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | Promotion, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Skill` [INFO] [stderr] --> powermagic/src/unit/state.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | Skill, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EquipSlot` [INFO] [stderr] --> powermagic/src/unit/state.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | EquipSlot, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UniqueEquipSlot` [INFO] [stderr] --> powermagic/src/unit/state.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | UniqueEquipSlot, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnlockRarity6Slot` [INFO] [stderr] --> powermagic/src/unit/state.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | UnlockRarity6Slot, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Story` [INFO] [stderr] --> powermagic/src/unit/state.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | Story, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Rarity6` [INFO] [stderr] --> powermagic/src/unit/state.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | Rarity6, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UnitStateBuilderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> powermagic/src/unit/state.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(thiserror::Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_config` [INFO] [stderr] --> powermagic/src/unit/state.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn with_config(unit_config: &'a UnitData) -> UnitStateBuilder<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `level` [INFO] [stderr] --> powermagic/src/unit/state.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn level(mut self, level: i32) -> UnitStateBuilder<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rank` [INFO] [stderr] --> powermagic/src/unit/state.rs:185:12 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn rank(mut self, rank: i32) -> UnitStateBuilder<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rarity` [INFO] [stderr] --> powermagic/src/unit/state.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn rarity(mut self, rarity: i32) -> UnitStateBuilder<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build` [INFO] [stderr] --> powermagic/src/unit/state.rs:215:12 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn build(self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `free_skill_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:282:12 [INFO] [stderr] | [INFO] [stderr] 282 | pub fn free_skill_power(&self, level: i32) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `union_burst_id_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:286:12 [INFO] [stderr] | [INFO] [stderr] 286 | pub fn union_burst_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `main_skill_id_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:290:12 [INFO] [stderr] | [INFO] [stderr] 290 | pub fn main_skill_id_power(&self, level: i32, skill_id: i64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `ex_skill_id_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:294:12 [INFO] [stderr] | [INFO] [stderr] 294 | pub fn ex_skill_id_power(&self, level: i32, rarity: i32) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `free_skill_id_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:298:12 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn free_skill_id_power(&self, level: i32) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `skill_power` [INFO] [stderr] --> powermagic/src/unit/state.rs:302:12 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn skill_power(&self, skill: &UnitSkill, level: i32, rarity: i32, unique_equipped: bool) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_evolution_skill` [INFO] [stderr] --> powermagic/src/unit/utils.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn is_evolution_skill(skill_id: T) -> bool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `skill_level` [INFO] [stderr] --> powermagic/src/unit/utils.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn skill_level<'a>( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `powermagic` (bin "powermagic" test) generated 84 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/derive_macro-d3138760cbef219b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/powermagic-9d76adcdc8661090) [INFO] [stdout] [INFO] [stderr] Doc-tests derive-macro [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "061e4e911024934f34d5643ca1ec201631c6ac6a59d1f426d7b8fe205666681b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061e4e911024934f34d5643ca1ec201631c6ac6a59d1f426d7b8fe205666681b", kill_on_drop: false }` [INFO] [stdout] 061e4e911024934f34d5643ca1ec201631c6ac6a59d1f426d7b8fe205666681b