[INFO] cloning repository https://github.com/surprisedpika/pmdm-sim-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/surprisedpika/pmdm-sim-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurprisedpika%2Fpmdm-sim-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurprisedpika%2Fpmdm-sim-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0743805cfc39c8f0d5d54438fbef5c875138e5c [INFO] checking surprisedpika/pmdm-sim-rust against master#be181dd75c83d72fcc95538e235768bc367b76b9 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurprisedpika%2Fpmdm-sim-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/surprisedpika/pmdm-sim-rust on toolchain be181dd75c83d72fcc95538e235768bc367b76b9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/surprisedpika/pmdm-sim-rust [INFO] finished tweaking git repo https://github.com/surprisedpika/pmdm-sim-rust [INFO] tweaked toml for git repo https://github.com/surprisedpika/pmdm-sim-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/surprisedpika/pmdm-sim-rust 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" "+be181dd75c83d72fcc95538e235768bc367b76b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5001600742c71f5979d457825b0208c1a363355d5ee08ccc828780a4159d87 [INFO] running `Command { std: "docker" "start" "-a" "cf5001600742c71f5979d457825b0208c1a363355d5ee08ccc828780a4159d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5001600742c71f5979d457825b0208c1a363355d5ee08ccc828780a4159d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5001600742c71f5979d457825b0208c1a363355d5ee08ccc828780a4159d87", kill_on_drop: false }` [INFO] [stdout] cf5001600742c71f5979d457825b0208c1a363355d5ee08ccc828780a4159d87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3aed422183c181a197e2e2fdd99d3fdd5e1e743fec78830f968b0cc27d4f30 [INFO] running `Command { std: "docker" "start" "-a" "7c3aed422183c181a197e2e2fdd99d3fdd5e1e743fec78830f968b0cc27d4f30", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking pmdm-sim-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `offset_of_nested` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(offset_of_nested)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `offset_of_nested` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(offset_of_nested)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/pmdm.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/pmdm.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pmdm.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | value: i32, modifier: Pointer [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier` [INFO] [stdout] --> src/pmdm.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | value: i32, modifier: Pointer [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/pmdm.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/pmdm.rs:133:65 [INFO] [stdout] | [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/pmdm.rs:315:70 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn load(&mut self, memory: &mut Memory, this: Pointer, file: GameData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/pmdm.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | value: i32, modifier: Pointer [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier` [INFO] [stdout] --> src/pmdm.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | value: i32, modifier: Pointer [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/pmdm.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/pmdm.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/pmdm.rs:315:70 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn load(&mut self, memory: &mut Memory, this: Pointer, file: GameData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/types.rs:532:28 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/types.rs:532:49 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp` [INFO] [stdout] --> src/types.rs:532:70 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut memory = Memory::init(pmdm_address, pmdm_data); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut pmdm = pmdm_ptr.read(&memory).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MASTER_SWORD` is never used [INFO] [stdout] --> src/pmdm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MASTER_SWORD: &str = "Weapon_Sword_070"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPEATABLE_KEY_ITEMS` is never used [INFO] [stdout] --> src/pmdm.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const REPEATABLE_KEY_ITEMS: [&str; 10] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/types.rs:532:28 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/types.rs:532:49 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmp` [INFO] [stdout] --> src/types.rs:532:70 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pmdm.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl PauseMenuDataMgr { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 57 | fn get_item_head(&self, memory: &Memory, category: PouchCategory) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn reset_item(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn reset_item_and_pointers(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | [INFO] [stdout] 116 | fn update_after_adding_item(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn traverse_list1(&self, memory: &Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn traverse_list2(&self, memory: &Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn remove(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn drop(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn set_value( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn equip(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn unequip(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn pause(&self, memory: &Memory, this: Pointer) { self.traverse_list1(memory, this); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn sync(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn load(&mut self, memory: &mut Memory, this: Pointer, file: GameData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn offset(&mut self, memory: &mut Memory, this: Pointer, num: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum PouchItemType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 19 | Sword, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Bow, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Shield, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | ArmorHead, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | ArmorUpper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | ArmorLower, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Food, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | KeyItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PouchItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum PouchCategory { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 37 | Sword, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Bow, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Shield, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Armor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | Food, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | KeyItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PouchCategory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ItemUse { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 52 | WeaponSmallSword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | WeaponLargeSword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | WeaponSpear, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | WeaponBow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | WeaponShield, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | ArmorHead, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | ArmorLower, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | ArmorUpper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | Item, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | ImportantItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 62 | CureItem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemUse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut memory = Memory::init(pmdm_address, pmdm_data); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut pmdm = pmdm_ptr.read(&memory).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum WeaponModifier { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 71 | #[default] None, [INFO] [stdout] 72 | AddAtk = 0x1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | AddLife = 0x2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | AddCrit = 0x4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | AddThrow = 0x8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | AddSpreadFire = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | AddZoomRapid = 0x20, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | AddRapidFire = 0x40, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | AddSurfMaster = 0x80, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | AddGuard = 0x100, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | IsYellow = 0x80000000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeaponModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum CookEffectId { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 89 | #[default] None = -1, [INFO] [stdout] 90 | LifeRecover = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | LifeMaxUp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | ResistHot = 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | ResistCold, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | ResistElectric, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | AttackUp = 10, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 96 | DefenseUp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | Quietness, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | MovingSpeed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | GutsRecover, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | ExGutsMaxUp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | Fireproof, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CookEffectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_equal`, `is_equal_str`, and `clear` are never used [INFO] [stdout] --> src/types.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl FixedSafeString { [INFO] [stdout] | --------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_equal(&mut self, memory: &mut Memory, this: Pointer, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn is_equal_str(&mut self, memory: &mut Memory, this: Pointer, other: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn clear(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/types.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 470 | impl OffsetList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 471 | fn obj_to_list_node(&self, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | fn list_node_to_obj(&self, node: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn list_node_to_obj_with_null_check(&self, node: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn erase(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) where [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn prev(&self, memory: &Memory, this: Pointer, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn next(&self, memory: &Memory, this: Pointer, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn nth(&self, memory: &Memory, n: i32) -> Pointer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDataItem` is never constructed [INFO] [stdout] --> src/types.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | pub struct GameDataItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameDataItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameData` is never used [INFO] [stdout] --> src/types.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | pub type GameData = Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MASTER_SWORD` is never used [INFO] [stdout] --> src/pmdm.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MASTER_SWORD: &str = "Weapon_Sword_070"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPEATABLE_KEY_ITEMS` is never used [INFO] [stdout] --> src/pmdm.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const REPEATABLE_KEY_ITEMS: [&str; 10] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pmdm.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl PauseMenuDataMgr { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 57 | fn get_item_head(&self, memory: &Memory, category: PouchCategory) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn reset_item(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn reset_item_and_pointers(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn update_inventory_info(&self, memory: &Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | [INFO] [stdout] 114 | fn update_list_heads(&mut self, memory: &mut Memory, this: Pointer) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | [INFO] [stdout] 116 | fn update_after_adding_item(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn sort_predicate(memory: &Memory, lhs: Pointer, rhs: Pointer) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn traverse_list1(&self, memory: &Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn traverse_list2(&self, memory: &Memory, this: Pointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn remove(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn drop(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn set_value( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn equip(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn unequip(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn pause(&self, memory: &Memory, this: Pointer) { self.traverse_list1(memory, this); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn sync(&mut self, memory: &mut Memory, this: Pointer) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn save(&self, memory: &Memory, this: Pointer) -> GameData { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn load(&mut self, memory: &mut Memory, this: Pointer, file: GameData) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn offset(&mut self, memory: &mut Memory, this: Pointer, num: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum PouchItemType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 19 | Sword, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Bow, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Shield, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | ArmorHead, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | ArmorUpper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | ArmorLower, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Food, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | KeyItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PouchItemType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum PouchCategory { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 37 | Sword, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Bow, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Shield, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Armor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | Food, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | KeyItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PouchCategory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ItemUse { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 52 | WeaponSmallSword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | WeaponLargeSword, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | WeaponSpear, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | WeaponBow, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | WeaponShield, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | ArmorHead, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | ArmorLower, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | ArmorUpper, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | Item, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | ImportantItem, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 62 | CureItem, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemUse` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum WeaponModifier { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 71 | #[default] None, [INFO] [stdout] 72 | AddAtk = 0x1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | AddLife = 0x2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | AddCrit = 0x4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | AddThrow = 0x8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | AddSpreadFire = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 77 | AddZoomRapid = 0x20, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | AddRapidFire = 0x40, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | AddSurfMaster = 0x80, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | AddGuard = 0x100, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 81 | IsYellow = 0x80000000, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeaponModifier` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum CookEffectId { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 89 | #[default] None = -1, [INFO] [stdout] 90 | LifeRecover = 1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | LifeMaxUp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | ResistHot = 4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | ResistCold, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 94 | ResistElectric, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | AttackUp = 10, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 96 | DefenseUp, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 97 | Quietness, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | MovingSpeed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | GutsRecover, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 100 | ExGutsMaxUp, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | Fireproof, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CookEffectId` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_equal`, `is_equal_str`, and `clear` are never used [INFO] [stdout] --> src/types.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl FixedSafeString { [INFO] [stdout] | --------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_equal(&mut self, memory: &mut Memory, this: Pointer, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn is_equal_str(&mut self, memory: &mut Memory, this: Pointer, other: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn clear(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/types.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 470 | impl OffsetList { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 471 | fn obj_to_list_node(&self, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | fn list_node_to_obj(&self, node: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn list_node_to_obj_with_null_check(&self, node: Pointer) -> Pointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn erase(&mut self, memory: &mut Memory, this: Pointer, item: Pointer) where [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn prev(&self, memory: &Memory, this: Pointer, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn next(&self, memory: &Memory, this: Pointer, obj: Pointer) -> Pointer { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn nth(&self, memory: &Memory, n: i32) -> Pointer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn sort(&mut self, memory: &mut Memory, this: Pointer, cmp: fn( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDataItem` is never constructed [INFO] [stdout] --> src/types.rs:589:12 [INFO] [stdout] | [INFO] [stdout] 589 | pub struct GameDataItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameDataItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameData` is never used [INFO] [stdout] --> src/types.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | pub type GameData = Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.83s [INFO] running `Command { std: "docker" "inspect" "7c3aed422183c181a197e2e2fdd99d3fdd5e1e743fec78830f968b0cc27d4f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3aed422183c181a197e2e2fdd99d3fdd5e1e743fec78830f968b0cc27d4f30", kill_on_drop: false }` [INFO] [stdout] 7c3aed422183c181a197e2e2fdd99d3fdd5e1e743fec78830f968b0cc27d4f30