[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] checking KiruyaMomochi/PowerMagic against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiruyaMomochi%2FPowerMagic" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KiruyaMomochi/PowerMagic on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KiruyaMomochi/PowerMagic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-rt v0.5.11
[INFO] [stderr]   Downloaded crc v2.1.0
[INFO] [stderr]   Downloaded atoi v0.4.0
[INFO] [stderr]   Downloaded hashlink v0.7.0
[INFO] [stderr]   Downloaded crc-catalog v1.1.1
[INFO] [stderr]   Downloaded sqlformat v0.1.8
[INFO] [stderr]   Downloaded spin v0.9.2
[INFO] [stderr]   Downloaded sqlx-macros v0.5.11
[INFO] [stderr]   Downloaded mio v0.8.1
[INFO] [stderr]   Downloaded bytemuck v1.8.0
[INFO] [stderr]   Downloaded sqlx v0.5.11
[INFO] [stderr]   Downloaded nom v7.1.0
[INFO] [stderr]   Downloaded futures-intrusive v0.4.0
[INFO] [stderr]   Downloaded sqlx-core v0.5.11
[INFO] [stderr]   Downloaded libsqlite3-sys v0.23.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f01c6676e90f528e65568e2d76dd27017196a68b652e6b4fa36f5e5725c3db06
[INFO] running `Command { std: "docker" "start" "-a" "f01c6676e90f528e65568e2d76dd27017196a68b652e6b4fa36f5e5725c3db06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f01c6676e90f528e65568e2d76dd27017196a68b652e6b4fa36f5e5725c3db06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f01c6676e90f528e65568e2d76dd27017196a68b652e6b4fa36f5e5725c3db06", kill_on_drop: false }`
[INFO] [stdout] f01c6676e90f528e65568e2d76dd27017196a68b652e6b4fa36f5e5725c3db06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b089f6fe0022afbf388f29c19e52b9da389255d25d1ff0baa3159efdbf5c342
[INFO] running `Command { std: "docker" "start" "-a" "7b089f6fe0022afbf388f29c19e52b9da389255d25d1ff0baa3159efdbf5c342", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling crossbeam-utils v0.8.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.23.2
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling mio v0.8.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]     Checking bytemuck v1.8.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]     Checking safe_arch v0.6.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking proc-macro2 v1.0.36
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]     Checking wide v0.7.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking quote v1.0.15
[INFO] [stderr]     Checking futures-executor v0.3.21
[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]     Checking simba v0.7.1
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling flume v0.10.12
[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]     Checking nalgebra v0.30.1
[INFO] [stderr]    Compiling sqlx-core v0.5.11
[INFO] [stderr]    Compiling sqlx-macros v0.5.11
[INFO] [stderr]     Checking sqlx v0.5.11
[INFO] [stderr]     Checking powermagic v0.1.0 (/opt/rustwide/workdir/powermagic)
[INFO] [stdout] warning: unused import: `crate::model::UnitStatusCoefficient`
[INFO] [stdout]  --> powermagic/src/unit.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use crate::model::UnitStatusCoefficient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MemorizedUnitCalculator`
[INFO] [stdout]   --> powermagic/src/unit.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use calc::{UnitCalculator, MemorizedUnitCalculator, StatusSetter};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UnitStateBuilder`
[INFO] [stdout]   --> powermagic/src/unit.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use state::{UnitState, UnitStateBuilder};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::UnitStatusCoefficient`
[INFO] [stdout]  --> powermagic/src/unit.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use crate::model::UnitStatusCoefficient;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MemorizedUnitCalculator`
[INFO] [stdout]   --> powermagic/src/unit.rs:10:32
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use calc::{UnitCalculator, MemorizedUnitCalculator, StatusSetter};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UnitStateBuilder`
[INFO] [stdout]   --> powermagic/src/unit.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use state::{UnitState, UnitStateBuilder};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut slots = self.state.unlock_rarity_6_slot.as_mut().unwrap();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:215:27
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       $(let $cache = &$self.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cache` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:215:27
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       $(let $cache = &$self.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: unused variable: `state`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                       $(let $state = &$self.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `state` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                       $(let $state = &$self.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: unused variable: `cache`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |                       $(let $cache = &$self.calculator.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cache` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |                       $(let $cache = &$self.calculator.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: unused variable: `state`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:227:27
[INFO] [stdout]     |
[INFO] [stdout] 227 |                       $(let $state = &$self.calculator.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `state` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:227:27
[INFO] [stdout]     |
[INFO] [stdout] 227 |                       $(let $state = &$self.calculator.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: 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] 
[INFO] [stdout] warning: variant `EquipmentEnhanceData` is never constructed
[INFO] [stdout]   --> powermagic/src/manager.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum DataManagerError {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     EquipmentEnhanceData(i64),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> powermagic/src/manager.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl DataManager {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 50 |     pub async fn new(connection: &str) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `coefficient_id` and `overall_coefficient` are never read
[INFO] [stdout]   --> powermagic/src/model.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct UnitStatusCoefficient {
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout]  9 |     pub coefficient_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub overall_coefficient: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitStatusCoefficient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> powermagic/src/model.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct UnitData {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     pub unit_id: i64,
[INFO] [stdout] 39 |     pub unit_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 40 |     pub kana: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 41 |     pub prefab_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub prefab_id_battle: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub is_limited: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 44 |     pub rarity: i64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 45 |     pub motion_type: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 46 |     pub se_type: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 47 |     pub move_speed: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 48 |     pub search_area_width: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     pub atk_type: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 50 |     pub normal_atk_cast_time: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub cutin_1: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 52 |     pub cutin_2: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 53 |     pub cutin1_star6: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 54 |     pub cutin2_star6: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 55 |     pub guild_id: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 56 |     pub exskill_display: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub comment: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 58 |     pub only_disp_owned: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     pub start_time: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 60 |     pub end_time: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 61 |     pub original_unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]   --> powermagic/src/model.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct PromotionBonus {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 67 |     pub unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PromotionBonus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `rarity`, `unit_material_id`, `consume_num`, and `consume_gold` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub struct UnitRarity {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout]  91 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]  92 |     pub rarity: i64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub unit_material_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 126 |     pub consume_num: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 127 |     pub consume_gold: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitRarity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]    --> powermagic/src/model.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct UnitPromotionStatus {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 135 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitPromotionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `unlock_flag`, `consume_gold`, `material_type`, `material_id`, and `material_count` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct UnlockRarity6 {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 159 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub unlock_flag: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 163 |     pub consume_gold: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 164 |     pub material_type: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 165 |     pub material_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 166 |     pub material_count: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnlockRarity6` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> powermagic/src/model.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct EquipmentData {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 189 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 190 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 192 |     pub promotion_level: i64,
[INFO] [stdout] 193 |     pub craft_flg: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 194 |     pub equipment_enhance_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 195 |     pub sale_price: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 196 |     pub require_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub enable_donation: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 214 |     pub accuracy: f64,
[INFO] [stdout] 215 |     pub display_item: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 216 |     pub item_type: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `equipment_id`, `equipment_name`, `description`, and `promotion_level` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct EquipmentEnhanceRate {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] 222 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 223 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 224 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 225 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentEnhanceRate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]    --> powermagic/src/model.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub struct UnitPromotion {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 251 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitPromotion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `needed_point` and `total_point` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 287 | pub struct EquipmentEnhanceData {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub needed_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 291 |     pub total_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentEnhanceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `needed_point`, `total_point`, `needed_mana`, and `rank` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub struct UniqueEquipmentEnhanceData {
[INFO] [stdout]     |            -------------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub needed_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 299 |     pub total_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 300 |     pub needed_mana: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 301 |     pub rank: i64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentEnhanceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> powermagic/src/model.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct UniqueEquipmentData {
[INFO] [stdout]     |            ------------------- fields in this struct
[INFO] [stdout] 307 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 308 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 309 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 310 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 311 |     pub craft_flg: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 312 |     pub equipment_enhance_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 313 |     pub sale_price: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 314 |     pub require_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     pub enable_donation: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `equipment_id`, `equipment_name`, `description`, and `promotion_level` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:338:9
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct UniqueEquipmentEnhanceRate {
[INFO] [stdout]     |            -------------------------- fields in this struct
[INFO] [stdout] 338 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 339 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 340 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 341 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentEnhanceRate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id` and `equip_slot` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 366 | pub struct UnitUniqueEquip {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 367 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 368 |     pub equip_slot: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitUniqueEquip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `sp_union_burst`, `sp_skill`, and `sp_skill_evolution` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 373 | pub struct UnitSkillData {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 374 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub sp_union_burst: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub sp_skill: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 413 |     pub sp_skill_evolution: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitSkillData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unlock_story_name` and `chara_id` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 499 | pub struct CharaStoryStatus {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 500 |     pub story_id: i64,
[INFO] [stdout] 501 |     pub unlock_story_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 523 |     pub chara_id: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CharaStoryStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `skill_id` is never read
[INFO] [stdout]   --> powermagic/src/unit.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct SkillLevelInfo {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 48 |     pub skill_id: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SkillLevelInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `max_enhancement_level` are never read
[INFO] [stdout]   --> powermagic/src/unit.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Unequipped {
[INFO] [stdout]    |     ---------- fields in this variant
[INFO] [stdout] 57 |         /// Equipment id
[INFO] [stdout] 58 |         id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |         max_enhancement_level: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EquipSlot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Equipped` is never constructed
[INFO] [stdout]   --> powermagic/src/unit.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum EquipSlot {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 |     Equipped {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EquipSlot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `equip`, `equip_0`, and `equip_full` are never used
[INFO] [stdout]    --> powermagic/src/unit.rs:86:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl EquipSlot {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn equip(&mut self, level: i32) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn equip_0(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn equip_full(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `story_group_id` is never read
[INFO] [stdout]    --> powermagic/src/unit.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct StoryGroup {
[INFO] [stdout]     |            ---------- field in this struct
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UnitStatusTrait` is never used
[INFO] [stdout]    --> powermagic/src/unit.rs:208:11
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub trait UnitStatusTrait<T> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `base_param`, `equip_param`, `story_param`, and `skill_level` are never used
[INFO] [stdout]    --> powermagic/src/unit/cache.rs:33:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl UnitCache {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  33 |     pub fn base_param(&self, rank: i32, level: i32, rarity: i32) -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn equip_param(&self, rank: i32, equip: &[(bool, i32)]) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn story_param(&self, watched_bonus: HashMap<i64, i64>) -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[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: multiple methods are never used
[INFO] [stdout]   --> powermagic/src/unit/calc.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait StatusSetter
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn wear_unlock_rarity_6_equipment(self) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn wear_all_equipments_0(self) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     fn wear_all_equipments(self, level: i32) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 46 |     fn unequip_all_equipments(self) -> Self;
[INFO] [stdout] 47 |     fn wear_unique_equipment(self, level: i32) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 |     fn watch_all_stories(self) -> Self;
[INFO] [stdout] 49 |     fn watch_story(self, story_group_id: i64, watched_count: usize) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 50 |     fn set_equipment(self, slot_id: usize, slot: EquipSlot) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 51 |     fn set_equipments(self, equipments: Vec<EquipSlot>) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 52 |
[INFO] [stdout] 53 |     fn watch_stories(self, stories: &[(i64, usize)]) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 212 |         impl UnitCalculator<'_> {
[INFO] [stdout]     |         ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn skill_power(&self, cache, state): skill -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn promotion_param(&self, cache, state): promotion -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn base_param(&self, cache, state): base -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn rank_equip_param(&self, cache, state): rank_equip -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub fn unique_equip_param(&self, cache, state): unique -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     pub fn rarity_6_param(&self, cache, state): rarity_6 -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn story_param(&self, cache, state): story -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn equip_param(&self, cache, state): equip -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn param(&self, cache, state): status -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     pub fn power(&self, cache, state): power -> f64 {
[INFO] [stdout]     |            ^^^^^
[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: struct `UnitChangedState` is never constructed
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:395:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | pub struct UnitChangedState {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_unique`, `set_rarity_6`, `reset`, `on_unique_change`, and `on_rarity_6_change` are never used
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:525:20
[INFO] [stdout]     |
[INFO] [stdout] 515 | impl UnitCalculatorNeedUpdate {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 525 |     set_dependent!(set_unique(unique) -> set_equip);
[INFO] [stdout]     |                    ^^^^^^^^^^
[INFO] [stdout] 526 |     set_dependent!(set_rarity_6(rarity_6) -> set_equip);
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout] 527 |
[INFO] [stdout] 528 |     pub fn reset(&mut self) -> &Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 550 |     set_change!(on_unique_change -> set_unique);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 551 |     set_change!(on_rarity_6_change -> set_rarity_6);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `set_dependent` which comes from the expansion of the macro `set_change` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]   --> powermagic/src/unit/data.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct UnitData {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     pub unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `base_param` is never used
[INFO] [stdout]   --> powermagic/src/unit/data.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl UnitData {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 22 |     pub fn base_param(&self, level: i32, rarity: i32, rank: i32) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `param` and `param_all` are never used
[INFO] [stdout]   --> powermagic/src/unit/data.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl StoryData {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn param(&self, bonus_stories: usize) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn param_all(&self) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `param` is never used
[INFO] [stdout]    --> powermagic/src/unit/data.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl EquipmentData {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 108 |     pub fn param(&self, enhancement_level: i32) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `param` is never used
[INFO] [stdout]    --> powermagic/src/unit/data.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl UniqueEquipmentData {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] 123 |     pub fn param(&self, enhancement_level: i32) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PromotionLevel` is never used
[INFO] [stdout]  --> powermagic/src/unit/define.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum PromotionLevel {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> powermagic/src/unit/state.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnitState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 11 |     /// Unit id
[INFO] [stdout] 12 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnitStateBuilder` is never constructed
[INFO] [stdout]   --> powermagic/src/unit/state.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct UnitStateBuilder<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitStateBuilderError` is never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:103:10
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub enum UnitStateBuilderError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_config`, `level`, `rank`, `rarity`, and `build` are never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl<'a> UnitStateBuilder<'a> {
[INFO] [stdout]     | ----------------------------- associated items in this implementation
[INFO] [stdout] 125 |     pub fn with_config(unit_config: &'a UnitData) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn level(mut self, level: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn rank(mut self, rank: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn rarity(mut self, rarity: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn build(self) -> Result<UnitState, UnitStateBuilderError> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `free_skill_power`, `union_burst_id_power`, `main_skill_id_power`, `ex_skill_id_power`, `free_skill_id_power`, and `skill_power` are never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl model::UnitStatusCoefficient {
[INFO] [stdout]     | --------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn free_skill_power(&self, level: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn union_burst_id_power(&self, level: i32, skill_id: i64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn main_skill_id_power(&self, level: i32, skill_id: i64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn ex_skill_id_power(&self, level: i32, rarity: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn free_skill_id_power(&self, level: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[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_evolution_skill` is never used
[INFO] [stdout]  --> powermagic/src/unit/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn is_evolution_skill<T>(skill_id: T) -> bool
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `skill_level` is never used
[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: variable does not need to be mutable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut slots = self.state.unlock_rarity_6_slot.as_mut().unwrap();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:215:27
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       $(let $cache = &$self.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cache` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:215:27
[INFO] [stdout]     |
[INFO] [stdout] 215 |                       $(let $cache = &$self.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: unused variable: `state`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                       $(let $state = &$self.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `state` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:216:27
[INFO] [stdout]     |
[INFO] [stdout] 216 |                       $(let $state = &$self.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: unused variable: `cache`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |                       $(let $cache = &$self.calculator.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cache` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:226:27
[INFO] [stdout]     |
[INFO] [stdout] 226 |                       $(let $cache = &$self.calculator.cache;
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: unused variable: `state`
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:227:27
[INFO] [stdout]     |
[INFO] [stdout] 227 |                       $(let $state = &$self.calculator.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `state` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:227:27
[INFO] [stdout]     |
[INFO] [stdout] 227 |                       $(let $state = &$self.calculator.state;)?)?
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 | / memorized_getter_ng! {
[INFO] [stdout] 245 | |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout] 246 | |         let rarity = &cache.rarity[state.rarity as usize - 1];
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | | }
[INFO] [stdout]     | |_- in this macro invocation
[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: 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] 
[INFO] [stdout] warning: variant `EquipmentEnhanceData` is never constructed
[INFO] [stdout]   --> powermagic/src/manager.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum DataManagerError {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 41 |     EquipmentEnhanceData(i64),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataManagerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> powermagic/src/manager.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl DataManager {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 50 |     pub async fn new(connection: &str) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `coefficient_id` and `overall_coefficient` are never read
[INFO] [stdout]   --> powermagic/src/model.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct UnitStatusCoefficient {
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout]  9 |     pub coefficient_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub overall_coefficient: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitStatusCoefficient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> powermagic/src/model.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct UnitData {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     pub unit_id: i64,
[INFO] [stdout] 39 |     pub unit_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 40 |     pub kana: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 41 |     pub prefab_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 42 |     pub prefab_id_battle: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub is_limited: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 44 |     pub rarity: i64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 45 |     pub motion_type: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 46 |     pub se_type: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 47 |     pub move_speed: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 48 |     pub search_area_width: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     pub atk_type: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 50 |     pub normal_atk_cast_time: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub cutin_1: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 52 |     pub cutin_2: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 53 |     pub cutin1_star6: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 54 |     pub cutin2_star6: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 55 |     pub guild_id: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 56 |     pub exskill_display: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 57 |     pub comment: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 58 |     pub only_disp_owned: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     pub start_time: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 60 |     pub end_time: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 61 |     pub original_unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]   --> powermagic/src/model.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct PromotionBonus {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 67 |     pub unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PromotionBonus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `rarity`, `unit_material_id`, `consume_num`, and `consume_gold` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:91:9
[INFO] [stdout]     |
[INFO] [stdout]  90 | pub struct UnitRarity {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout]  91 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]  92 |     pub rarity: i64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub unit_material_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 126 |     pub consume_num: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 127 |     pub consume_gold: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitRarity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]    --> powermagic/src/model.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct UnitPromotionStatus {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 135 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitPromotionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `unlock_flag`, `consume_gold`, `material_type`, `material_id`, and `material_count` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct UnlockRarity6 {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 159 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub unlock_flag: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 163 |     pub consume_gold: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 164 |     pub material_type: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 165 |     pub material_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 166 |     pub material_count: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnlockRarity6` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> powermagic/src/model.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct EquipmentData {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 189 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 190 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 192 |     pub promotion_level: i64,
[INFO] [stdout] 193 |     pub craft_flg: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 194 |     pub equipment_enhance_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 195 |     pub sale_price: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 196 |     pub require_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub enable_donation: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 214 |     pub accuracy: f64,
[INFO] [stdout] 215 |     pub display_item: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 216 |     pub item_type: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `equipment_id`, `equipment_name`, `description`, and `promotion_level` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct EquipmentEnhanceRate {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] 222 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 223 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 224 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 225 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentEnhanceRate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]    --> powermagic/src/model.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub struct UnitPromotion {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 251 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitPromotion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `needed_point` and `total_point` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 287 | pub struct EquipmentEnhanceData {
[INFO] [stdout]     |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub needed_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 291 |     pub total_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `EquipmentEnhanceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `needed_point`, `total_point`, `needed_mana`, and `rank` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub struct UniqueEquipmentEnhanceData {
[INFO] [stdout]     |            -------------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub needed_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 299 |     pub total_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 300 |     pub needed_mana: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 301 |     pub rank: i64,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentEnhanceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> powermagic/src/model.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub struct UniqueEquipmentData {
[INFO] [stdout]     |            ------------------- fields in this struct
[INFO] [stdout] 307 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 308 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 309 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 310 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 311 |     pub craft_flg: i64,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 312 |     pub equipment_enhance_point: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 313 |     pub sale_price: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 314 |     pub require_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     pub enable_donation: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `equipment_id`, `equipment_name`, `description`, and `promotion_level` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:338:9
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct UniqueEquipmentEnhanceRate {
[INFO] [stdout]     |            -------------------------- fields in this struct
[INFO] [stdout] 338 |     pub equipment_id: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 339 |     pub equipment_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 340 |     pub description: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 341 |     pub promotion_level: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UniqueEquipmentEnhanceRate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id` and `equip_slot` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 366 | pub struct UnitUniqueEquip {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 367 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 368 |     pub equip_slot: i64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitUniqueEquip` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unit_id`, `sp_union_burst`, `sp_skill`, and `sp_skill_evolution` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:374:9
[INFO] [stdout]     |
[INFO] [stdout] 373 | pub struct UnitSkillData {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 374 |     pub unit_id: i64,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub sp_union_burst: i64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub sp_skill: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 413 |     pub sp_skill_evolution: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UnitSkillData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `unlock_story_name` and `chara_id` are never read
[INFO] [stdout]    --> powermagic/src/model.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 499 | pub struct CharaStoryStatus {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 500 |     pub story_id: i64,
[INFO] [stdout] 501 |     pub unlock_story_name: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 523 |     pub chara_id: Vec<i64>,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CharaStoryStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `skill_id` is never read
[INFO] [stdout]   --> powermagic/src/unit.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct SkillLevelInfo {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 48 |     pub skill_id: i64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SkillLevelInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `max_enhancement_level` are never read
[INFO] [stdout]   --> powermagic/src/unit.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     Unequipped {
[INFO] [stdout]    |     ---------- fields in this variant
[INFO] [stdout] 57 |         /// Equipment id
[INFO] [stdout] 58 |         id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |         max_enhancement_level: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EquipSlot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Equipped` is never constructed
[INFO] [stdout]   --> powermagic/src/unit.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum EquipSlot {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 63 |     Equipped {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EquipSlot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `equip`, `equip_0`, and `equip_full` are never used
[INFO] [stdout]    --> powermagic/src/unit.rs:86:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl EquipSlot {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn equip(&mut self, level: i32) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn equip_0(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn equip_full(&mut self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `story_group_id` is never read
[INFO] [stdout]    --> powermagic/src/unit.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct StoryGroup {
[INFO] [stdout]     |            ---------- field in this struct
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UnitStatusTrait` is never used
[INFO] [stdout]    --> powermagic/src/unit.rs:208:11
[INFO] [stdout]     |
[INFO] [stdout] 208 | pub trait UnitStatusTrait<T> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `base_param`, `equip_param`, `story_param`, and `skill_level` are never used
[INFO] [stdout]    --> powermagic/src/unit/cache.rs:33:12
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl UnitCache {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  33 |     pub fn base_param(&self, rank: i32, level: i32, rarity: i32) -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn equip_param(&self, rank: i32, equip: &[(bool, i32)]) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn story_param(&self, watched_bonus: HashMap<i64, i64>) -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[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: multiple methods are never used
[INFO] [stdout]   --> powermagic/src/unit/calc.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait StatusSetter
[INFO] [stdout]    |           ------------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn wear_unlock_rarity_6_equipment(self) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn wear_all_equipments_0(self) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     fn wear_all_equipments(self, level: i32) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 46 |     fn unequip_all_equipments(self) -> Self;
[INFO] [stdout] 47 |     fn wear_unique_equipment(self, level: i32) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 48 |     fn watch_all_stories(self) -> Self;
[INFO] [stdout] 49 |     fn watch_story(self, story_group_id: i64, watched_count: usize) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 50 |     fn set_equipment(self, slot_id: usize, slot: EquipSlot) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 51 |     fn set_equipments(self, equipments: Vec<EquipSlot>) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 52 |
[INFO] [stdout] 53 |     fn watch_stories(self, stories: &[(i64, usize)]) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 212 |         impl UnitCalculator<'_> {
[INFO] [stdout]     |         ----------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn rarity_param(&self, cache, state): rarity -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn skill_power(&self, cache, state): skill -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn promotion_param(&self, cache, state): promotion -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn base_param(&self, cache, state): base -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub fn rank_equip_param(&self, cache, state): rank_equip -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 333 |     pub fn unique_equip_param(&self, cache, state): unique -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     pub fn rarity_6_param(&self, cache, state): rarity_6 -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn story_param(&self, cache, state): story -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn equip_param(&self, cache, state): equip -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn param(&self, cache, state): status -> UnitStatus<i64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 384 |     pub fn power(&self, cache, state): power -> f64 {
[INFO] [stdout]     |            ^^^^^
[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: struct `UnitChangedState` is never constructed
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:395:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | pub struct UnitChangedState {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_unique`, `set_rarity_6`, `reset`, `on_unique_change`, and `on_rarity_6_change` are never used
[INFO] [stdout]    --> powermagic/src/unit/calc.rs:525:20
[INFO] [stdout]     |
[INFO] [stdout] 515 | impl UnitCalculatorNeedUpdate {
[INFO] [stdout]     | ----------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 525 |     set_dependent!(set_unique(unique) -> set_equip);
[INFO] [stdout]     |                    ^^^^^^^^^^
[INFO] [stdout] 526 |     set_dependent!(set_rarity_6(rarity_6) -> set_equip);
[INFO] [stdout]     |                    ^^^^^^^^^^^^
[INFO] [stdout] 527 |
[INFO] [stdout] 528 |     pub fn reset(&mut self) -> &Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 550 |     set_change!(on_unique_change -> set_unique);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 551 |     set_change!(on_rarity_6_change -> set_rarity_6);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `set_dependent` which comes from the expansion of the macro `set_change` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `unit_id` is never read
[INFO] [stdout]   --> powermagic/src/unit/data.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct UnitData {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     pub unit_id: i64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `base_param` is never used
[INFO] [stdout]   --> powermagic/src/unit/data.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl UnitData {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 22 |     pub fn base_param(&self, level: i32, rarity: i32, rank: i32) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `param` and `param_all` are never used
[INFO] [stdout]   --> powermagic/src/unit/data.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl StoryData {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn param(&self, bonus_stories: usize) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn param_all(&self) -> UnitStatus<i64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `param` is never used
[INFO] [stdout]    --> powermagic/src/unit/data.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl EquipmentData {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] 108 |     pub fn param(&self, enhancement_level: i32) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `param` is never used
[INFO] [stdout]    --> powermagic/src/unit/data.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl UniqueEquipmentData {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] 123 |     pub fn param(&self, enhancement_level: i32) -> UnitStatus<f64> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PromotionLevel` is never used
[INFO] [stdout]  --> powermagic/src/unit/define.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum PromotionLevel {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> powermagic/src/unit/state.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UnitState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 11 |     /// Unit id
[INFO] [stdout] 12 |     pub id: i64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnitState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnitStateBuilder` is never constructed
[INFO] [stdout]   --> powermagic/src/unit/state.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct UnitStateBuilder<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UnitStateBuilderError` is never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:103:10
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub enum UnitStateBuilderError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_config`, `level`, `rank`, `rarity`, and `build` are never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl<'a> UnitStateBuilder<'a> {
[INFO] [stdout]     | ----------------------------- associated items in this implementation
[INFO] [stdout] 125 |     pub fn with_config(unit_config: &'a UnitData) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn level(mut self, level: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn rank(mut self, rank: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn rarity(mut self, rarity: i32) -> UnitStateBuilder<'a> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn build(self) -> Result<UnitState, UnitStateBuilderError> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `free_skill_power`, `union_burst_id_power`, `main_skill_id_power`, `ex_skill_id_power`, `free_skill_id_power`, and `skill_power` are never used
[INFO] [stdout]    --> powermagic/src/unit/state.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | impl model::UnitStatusCoefficient {
[INFO] [stdout]     | --------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn free_skill_power(&self, level: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn union_burst_id_power(&self, level: i32, skill_id: i64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn main_skill_id_power(&self, level: i32, skill_id: i64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     pub fn ex_skill_id_power(&self, level: i32, rarity: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn free_skill_id_power(&self, level: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[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_evolution_skill` is never used
[INFO] [stdout]  --> powermagic/src/unit/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn is_evolution_skill<T>(skill_id: T) -> bool
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `skill_level` is never used
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "7b089f6fe0022afbf388f29c19e52b9da389255d25d1ff0baa3159efdbf5c342", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b089f6fe0022afbf388f29c19e52b9da389255d25d1ff0baa3159efdbf5c342", kill_on_drop: false }`
[INFO] [stdout] 7b089f6fe0022afbf388f29c19e52b9da389255d25d1ff0baa3159efdbf5c342
