[INFO] cloning repository https://github.com/veeenu/pvptimize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veeenu/pvptimize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 123d81897d7d43475552dadd0751352b93a6da91 [INFO] checking veeenu/pvptimize against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/veeenu/pvptimize on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/veeenu/pvptimize [INFO] finished tweaking git repo https://github.com/veeenu/pvptimize [INFO] tweaked toml for git repo https://github.com/veeenu/pvptimize written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/veeenu/pvptimize 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5a0fab2af14a527e8bba8eab5b8658a373f24d68ba5c06efd0d47e4a404d8d5 [INFO] running `Command { std: "docker" "start" "-a" "b5a0fab2af14a527e8bba8eab5b8658a373f24d68ba5c06efd0d47e4a404d8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5a0fab2af14a527e8bba8eab5b8658a373f24d68ba5c06efd0d47e4a404d8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5a0fab2af14a527e8bba8eab5b8658a373f24d68ba5c06efd0d47e4a404d8d5", kill_on_drop: false }` [INFO] [stdout] b5a0fab2af14a527e8bba8eab5b8658a373f24d68ba5c06efd0d47e4a404d8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b5681c84fefdb1f8e452aa18469fcae35b9bbf4c639af4fd85112fff1e149d [INFO] running `Command { std: "docker" "start" "-a" "98b5681c84fefdb1f8e452aa18469fcae35b9bbf4c639af4fd85112fff1e149d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking pvptimize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/gamemaster.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pokemon::*` [INFO] [stdout] --> src/model/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pokemon::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/gamemaster.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PokemonInstance` [INFO] [stdout] --> src/ranker.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{Level, Mechanics, PokemonInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamemaster::*` [INFO] [stdout] --> src/model/battle.rs:401:7 [INFO] [stdout] | [INFO] [stdout] 401 | use crate::gamemaster::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ranker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/model/battle.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pokemon::*` [INFO] [stdout] --> src/model/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pokemon::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamemaster::GameMaster` [INFO] [stdout] --> src/model/mod.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | use crate::gamemaster::GameMaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PokemonInstance` [INFO] [stdout] --> src/ranker.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::{Level, Mechanics, PokemonInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ranker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::gamemaster::GameMaster` [INFO] [stdout] --> src/ranker.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | use crate::gamemaster::GameMaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/ranker.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_level` [INFO] [stdout] --> src/ranker.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let min_level = cpms.iter() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enabled` is never read [INFO] [stdout] --> src/gamemaster.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AvatarCustomization { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 6 | enabled: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvatarCustomization` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `form` and `asset_bundle_suffix` are never read [INFO] [stdout] --> src/gamemaster.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct FormDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | form: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | asset_bundle_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pokemon` and `forms` are never read [INFO] [stdout] --> src/gamemaster.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 38 | pokemon: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | forms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Form` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stardust_to_unlock` and `candy_to_unlock` are never read [INFO] [stdout] --> src/gamemaster.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThirdMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 67 | stardust_to_unlock: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | candy_to_unlock: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThirdMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family_id`, `third_move`, and `candy_to_evolve` are never read [INFO] [stdout] --> src/gamemaster.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct PokemonSettings { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 74 | pub pokemon_id: String, [INFO] [stdout] 75 | family_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | third_move: ThirdMove, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | candy_to_evolve: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `candy_cost`, `stardust_cost`, `shadow_stardust_multiplier`, `shadow_candy_multiplier`, `purified_stardust_multiplier`, and `purified_candy_multiplier` are never read [INFO] [stdout] --> src/gamemaster.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct PokemonUpgrades { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | candy_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | stardust_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 92 | shadow_stardust_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | shadow_candy_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | purified_stardust_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | purified_candy_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonUpgrades` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template_id` is never read [INFO] [stdout] --> src/gamemaster.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ItemTemplate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 119 | template_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Idle` is never constructed [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MoveStateMachine { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | Neutral, [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveStateMachine` 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: method `available` is never used [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl Shields { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `would_charged_kill` is never used [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 147 | impl<'a> TurnState<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PokemonInstance { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max_statproduct` is never used [INFO] [stdout] --> src/ranker.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn max_statproduct(mech: &Mechanics, pokemon_id: &str, cap: usize) -> Result<(i32, i32, i32, Level, u32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_level` [INFO] [stdout] --> src/ranker.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let min_level = cpms.iter() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enabled` is never read [INFO] [stdout] --> src/gamemaster.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AvatarCustomization { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 6 | enabled: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvatarCustomization` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `form` and `asset_bundle_suffix` are never read [INFO] [stdout] --> src/gamemaster.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | struct FormDetail { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | form: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | asset_bundle_suffix: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pokemon` and `forms` are never read [INFO] [stdout] --> src/gamemaster.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Form { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 38 | pokemon: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | forms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Form` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stardust_to_unlock` and `candy_to_unlock` are never read [INFO] [stdout] --> src/gamemaster.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ThirdMove { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 67 | stardust_to_unlock: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | candy_to_unlock: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThirdMove` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `family_id`, `third_move`, and `candy_to_evolve` are never read [INFO] [stdout] --> src/gamemaster.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct PokemonSettings { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 74 | pub pokemon_id: String, [INFO] [stdout] 75 | family_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | third_move: ThirdMove, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 83 | candy_to_evolve: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSettings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `candy_cost`, `stardust_cost`, `shadow_stardust_multiplier`, `shadow_candy_multiplier`, `purified_stardust_multiplier`, and `purified_candy_multiplier` are never read [INFO] [stdout] --> src/gamemaster.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct PokemonUpgrades { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | candy_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 91 | stardust_cost: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 92 | shadow_stardust_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | shadow_candy_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | purified_stardust_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | purified_candy_multiplier: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonUpgrades` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template_id` is never read [INFO] [stdout] --> src/gamemaster.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ItemTemplate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 119 | template_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemTemplate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Idle` is never constructed [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MoveStateMachine { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | Neutral, [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveStateMachine` 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: method `available` is never used [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl Shields { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `would_charged_kill` is never used [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 147 | impl<'a> TurnState<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct PokemonInstance { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "98b5681c84fefdb1f8e452aa18469fcae35b9bbf4c639af4fd85112fff1e149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b5681c84fefdb1f8e452aa18469fcae35b9bbf4c639af4fd85112fff1e149d", kill_on_drop: false }` [INFO] [stdout] 98b5681c84fefdb1f8e452aa18469fcae35b9bbf4c639af4fd85112fff1e149d