[INFO] cloning repository https://github.com/NewfolderGames/lights-out [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NewfolderGames/lights-out" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNewfolderGames%2Flights-out", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNewfolderGames%2Flights-out'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b133e2fcd8650cbff713dd63c5ffa1bbe31dabe4 [INFO] checking NewfolderGames/lights-out against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNewfolderGames%2Flights-out" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NewfolderGames/lights-out [INFO] finished tweaking git repo https://github.com/NewfolderGames/lights-out [INFO] tweaked toml for git repo https://github.com/NewfolderGames/lights-out written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NewfolderGames/lights-out on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NewfolderGames/lights-out 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded serde_json v1.0.120 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 709c0de6c02b51e474d4a0488e29d93b6e8a9434f7d89f15589ce3d0c5169d2f [INFO] running `Command { std: "docker" "start" "-a" "709c0de6c02b51e474d4a0488e29d93b6e8a9434f7d89f15589ce3d0c5169d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "709c0de6c02b51e474d4a0488e29d93b6e8a9434f7d89f15589ce3d0c5169d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709c0de6c02b51e474d4a0488e29d93b6e8a9434f7d89f15589ce3d0c5169d2f", kill_on_drop: false }` [INFO] [stdout] 709c0de6c02b51e474d4a0488e29d93b6e8a9434f7d89f15589ce3d0c5169d2f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6c24deb3b528787a0338e37e497a2dd6058bbd17bdde25d54ffe4c543395177 [INFO] running `Command { std: "docker" "start" "-a" "f6c24deb3b528787a0338e37e497a2dd6058bbd17bdde25d54ffe4c543395177", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking lights_out v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/core/thing/building/data.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | value *= (1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - value *= (1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64)); [INFO] [stdout] 308 + value *= 1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/core/thing/building/data.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | value *= (1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 - value *= (1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64)); [INFO] [stdout] 308 + value *= 1f64 + modifier_storage.value("global.speed", ModifierCalculationMethod::Additive).min(0f64) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/core/thing/building/asset.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BuildingAsset { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unlocked_productions` and `is_unlocked` are never read [INFO] [stdout] --> src/core/thing/building/data.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Building { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | unlocked_productions: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_unlocked` and `unlock` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unlock(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count`, `add_count`, `set_count`, `active_count`, `add_active_count`, and `set_active_count` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn count(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn add_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn active_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_active_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_active_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `active_productions`, `unlocked_productions`, `unlock_production`, `is_production_unlocked`, `is_production_active`, and `set_active_production` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn active_productions(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn unlocked_productions(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn unlock_production(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_production_unlocked(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn is_production_active(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn set_active_production(&mut self, key: &str, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_prices` is never used [INFO] [stdout] --> src/core/thing/building/data.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Building { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn calculated_prices(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/thing/building/manager.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BuildingManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, name: &str) -> Option<&Building> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn unlock(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn unlock_production(&mut self, name: &str, production: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_active_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_active_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_storages` is never used [INFO] [stdout] --> src/core/thing/building/manager.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl BuildingManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn calculated_storages(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `category` is never read [INFO] [stdout] --> src/core/thing/resource/asset.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceAsset { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_unlocked` is never read [INFO] [stdout] --> src/core/thing/resource/data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Resource { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/thing/resource/data.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn count(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn add_count(&mut self, count: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_count(&mut self, count: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn capacity(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_capacity(&mut self, capacity: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn unlock(&mut self, is_unlocked: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production` and `consumption` are never used [INFO] [stdout] --> src/core/thing/resource/data.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn production(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn consumption(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/core/thing/resource/manager.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceManager{ [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn count(&self, name: &str) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `category`, `price`, `price_multiplier`, `unlocks`, and `modifiers` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpgradeAsset { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | /// Category of the upgrade. [INFO] [stdout] 9 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub price: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | /// Multiplier of the upgrade price. [INFO] [stdout] 14 | pub price_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub unlocks: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Modifiers that the upgrade provides. [INFO] [stdout] 19 | pub modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpgradePrice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | /// Resource value. [INFO] [stdout] 29 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thing` and `name` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UpgradeUnlock { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub thing: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | /// Unlock name. [INFO] [stdout] 39 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `calculation` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct UpgradeModifier { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | /// Generated value of the modifier. [INFO] [stdout] 49 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | /// Calculation method of the modifier. [INFO] [stdout] 51 | pub calculation: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asset`, `count`, `calculated_prices`, and `is_unlocked` are never read [INFO] [stdout] --> src/core/thing/upgrade/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Upgrade { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | asset: UpgradeAsset, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | calculated_prices: ResourceStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `asset`, `is_unlocked`, and `unlock` are never used [INFO] [stdout] --> src/core/thing/upgrade/data.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Upgrade { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn asset(&self) -> &UpgradeAsset { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn unlock(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_prices` is never used [INFO] [stdout] --> src/core/thing/upgrade/data.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Upgrade { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn calculated_prices(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_from_str`, `load_from_asset`, and `add` are never used [INFO] [stdout] --> src/core/thing/upgrade/manager.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl UpgradeManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_from_str(&mut self, upgrade_asset_str: &str) -> serde_json::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn load_from_asset(&mut self, upgrade_asset: UpgradeAsset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add(&mut self, upgrade: Upgrade) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `set_value`, and `calculation_method` are never used [INFO] [stdout] --> src/core/thing/modifier/entry.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ModifierEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_value(&mut self, value: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn calculation_method(&self) -> ModifierCalculationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str_safe` is never used [INFO] [stdout] --> src/core/thing/modifier/entry.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl ModifierCalculationMethod { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_str_safe(method: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/building/manager.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> Iter<'_, String, Building> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/resource/storage.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self) -> Iter<'_, String, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/modifier/storage.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter<'_, String, ModifierEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/core/thing/building/asset.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BuildingAsset { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `unlocked_productions` and `is_unlocked` are never read [INFO] [stdout] --> src/core/thing/building/data.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Building { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | unlocked_productions: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_unlocked` and `unlock` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unlock(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count`, `add_count`, `set_count`, `active_count`, `add_active_count`, and `set_active_count` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn count(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn add_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn active_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn add_active_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_active_count(&mut self, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `active_productions`, `unlocked_productions`, `unlock_production`, `is_production_unlocked`, `is_production_active`, and `set_active_production` are never used [INFO] [stdout] --> src/core/thing/building/data.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn active_productions(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn unlocked_productions(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn unlock_production(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn is_production_unlocked(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn is_production_active(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn set_active_production(&mut self, key: &str, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_prices` is never used [INFO] [stdout] --> src/core/thing/building/data.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Building { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn calculated_prices(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/thing/building/manager.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BuildingManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, name: &str) -> Option<&Building> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn unlock(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn unlock_production(&mut self, name: &str, production: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_active_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_active_count(&mut self, name: &str, count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_storages` is never used [INFO] [stdout] --> src/core/thing/building/manager.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl BuildingManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn calculated_storages(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `category` is never read [INFO] [stdout] --> src/core/thing/resource/asset.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceAsset { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_unlocked` is never read [INFO] [stdout] --> src/core/thing/resource/data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Resource { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/thing/resource/data.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn count(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn add_count(&mut self, count: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_count(&mut self, count: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn capacity(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_capacity(&mut self, capacity: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn unlock(&mut self, is_unlocked: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `production` and `consumption` are never used [INFO] [stdout] --> src/core/thing/resource/data.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Resource { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn production(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn consumption(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/core/thing/resource/manager.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ResourceManager{ [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn count(&self, name: &str) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `category`, `price`, `price_multiplier`, `unlocks`, and `modifiers` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpgradeAsset { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | /// Category of the upgrade. [INFO] [stdout] 9 | pub category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub price: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | /// Multiplier of the upgrade price. [INFO] [stdout] 14 | pub price_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub unlocks: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Modifiers that the upgrade provides. [INFO] [stdout] 19 | pub modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct UpgradePrice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | /// Resource value. [INFO] [stdout] 29 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thing` and `name` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UpgradeUnlock { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub thing: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | /// Unlock name. [INFO] [stdout] 39 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `calculation` are never read [INFO] [stdout] --> src/core/thing/upgrade/asset.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct UpgradeModifier { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | /// Generated value of the modifier. [INFO] [stdout] 49 | pub value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | /// Calculation method of the modifier. [INFO] [stdout] 51 | pub calculation: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asset`, `count`, `calculated_prices`, and `is_unlocked` are never read [INFO] [stdout] --> src/core/thing/upgrade/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Upgrade { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | asset: UpgradeAsset, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | calculated_prices: ResourceStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | is_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `asset`, `is_unlocked`, and `unlock` are never used [INFO] [stdout] --> src/core/thing/upgrade/data.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Upgrade { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn asset(&self) -> &UpgradeAsset { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_unlocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn unlock(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculated_prices` is never used [INFO] [stdout] --> src/core/thing/upgrade/data.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Upgrade { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn calculated_prices(&self) -> &ResourceStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_from_str`, `load_from_asset`, and `add` are never used [INFO] [stdout] --> src/core/thing/upgrade/manager.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl UpgradeManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load_from_str(&mut self, upgrade_asset_str: &str) -> serde_json::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn load_from_asset(&mut self, upgrade_asset: UpgradeAsset) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add(&mut self, upgrade: Upgrade) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `set_value`, and `calculation_method` are never used [INFO] [stdout] --> src/core/thing/modifier/entry.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ModifierEntry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set_value(&mut self, value: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn calculation_method(&self) -> ModifierCalculationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str_safe` is never used [INFO] [stdout] --> src/core/thing/modifier/entry.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl ModifierCalculationMethod { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn from_str_safe(method: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/building/manager.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> Iter<'_, String, Building> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/resource/storage.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn iter(&self) -> Iter<'_, String, f64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/thing/modifier/storage.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn iter(&self) -> Iter<'_, String, ModifierEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.34s [INFO] running `Command { std: "docker" "inspect" "f6c24deb3b528787a0338e37e497a2dd6058bbd17bdde25d54ffe4c543395177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c24deb3b528787a0338e37e497a2dd6058bbd17bdde25d54ffe4c543395177", kill_on_drop: false }` [INFO] [stdout] f6c24deb3b528787a0338e37e497a2dd6058bbd17bdde25d54ffe4c543395177