[INFO] cloning repository https://github.com/StableCrimson/pokemon-api-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StableCrimson/pokemon-api-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStableCrimson%2Fpokemon-api-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStableCrimson%2Fpokemon-api-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d9034c3ce5df64622e7d2e901930fd33546e2ac [INFO] checking StableCrimson/pokemon-api-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStableCrimson%2Fpokemon-api-rs" "/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/StableCrimson/pokemon-api-rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StableCrimson/pokemon-api-rs [INFO] finished tweaking git repo https://github.com/StableCrimson/pokemon-api-rs [INFO] tweaked toml for git repo https://github.com/StableCrimson/pokemon-api-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/StableCrimson/pokemon-api-rs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3140eb8cc7396b0e3ee64682c27d07844bc8b97d11908eb26e2c4fe19e30ff2d [INFO] running `Command { std: "docker" "start" "-a" "3140eb8cc7396b0e3ee64682c27d07844bc8b97d11908eb26e2c4fe19e30ff2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3140eb8cc7396b0e3ee64682c27d07844bc8b97d11908eb26e2c4fe19e30ff2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3140eb8cc7396b0e3ee64682c27d07844bc8b97d11908eb26e2c4fe19e30ff2d", kill_on_drop: false }` [INFO] [stdout] 3140eb8cc7396b0e3ee64682c27d07844bc8b97d11908eb26e2c4fe19e30ff2d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3dc22b9765930f013991367b6eabec268ef892eb29e0fe02d2126767e3aeca0 [INFO] running `Command { std: "docker" "start" "-a" "b3dc22b9765930f013991367b6eabec268ef892eb29e0fe02d2126767e3aeca0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking pokemon-api-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Normal = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Fighting = 0x01, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Flying = 0x02, [INFO] [stdout] 11 | Poison = 0x03, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Ground = 0x04, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rock = 0x05, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Bird = 0x06, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Bug = 0x07, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Ghost = 0x08, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Unused = 0x09, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Fire = 0x14, [INFO] [stdout] 19 | Water = 0x15, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Grass = 0x16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Electric = 0x17, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psychic = 0x18, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Ice = 0x19, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Dragon = 0x1A, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `MediumFast`, `MediumSlow`, and `Slow` are never constructed [INFO] [stdout] --> src/pokemon.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum GrowthRate { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | MediumFast = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | MediumSlow = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Fast = 4, [INFO] [stdout] 32 | Slow = 5, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowthRate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/pokemon.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PokemonSpecies { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 122 | pokedex_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | base_stats: BaseStats, [INFO] [stdout] 125 | type1: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | type2: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | catch_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 128 | base_exp_yield: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | growth_rate: GrowthRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSpecies` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct MoveSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 157 | move1: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | move2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 159 | move3: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | move4: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | move1_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | move2_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | move3_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | move4_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `replace_move` are never used [INFO] [stdout] --> src/pokemon.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl MoveSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn replace_move(&mut self, index: usize, new_move: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_hp`, `status`, `original_trainer`, `nickname`, `exp`, and `moveset` are never read [INFO] [stdout] --> src/pokemon.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Pokemon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 214 | species: PokemonSpecies, [INFO] [stdout] 215 | current_hp: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 219 | original_trainer: Trainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | nickname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | exp: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | moveset: MoveSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pokemon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/pokemon.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Pokemon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn set_status(&mut self, status: Status) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `trainer_id`, and `party` are never read [INFO] [stdout] --> src/trainer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Trainer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub trainer_id: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub party: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Normal = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Fighting = 0x01, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Flying = 0x02, [INFO] [stdout] 11 | Poison = 0x03, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Ground = 0x04, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rock = 0x05, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Bird = 0x06, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Bug = 0x07, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Ghost = 0x08, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Unused = 0x09, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Fire = 0x14, [INFO] [stdout] 19 | Water = 0x15, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Grass = 0x16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Electric = 0x17, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psychic = 0x18, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Ice = 0x19, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Dragon = 0x1A, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `MediumFast`, `MediumSlow`, and `Slow` are never constructed [INFO] [stdout] --> src/pokemon.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum GrowthRate { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | MediumFast = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | MediumSlow = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Fast = 4, [INFO] [stdout] 32 | Slow = 5, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowthRate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/pokemon.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PokemonSpecies { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 122 | pokedex_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | base_stats: BaseStats, [INFO] [stdout] 125 | type1: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | type2: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | catch_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 128 | base_exp_yield: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | growth_rate: GrowthRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSpecies` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct MoveSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 157 | move1: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | move2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 159 | move3: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | move4: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | move1_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | move2_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | move3_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | move4_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `replace_move` are never used [INFO] [stdout] --> src/pokemon.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl MoveSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn replace_move(&mut self, index: usize, new_move: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_hp`, `status`, `original_trainer`, `nickname`, `exp`, and `moveset` are never read [INFO] [stdout] --> src/pokemon.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Pokemon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 214 | species: PokemonSpecies, [INFO] [stdout] 215 | current_hp: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 219 | original_trainer: Trainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | nickname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | exp: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | moveset: MoveSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pokemon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/pokemon.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Pokemon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn set_status(&mut self, status: Status) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `trainer_id`, and `party` are never read [INFO] [stdout] --> src/trainer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Trainer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub trainer_id: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub party: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.62s [INFO] running `Command { std: "docker" "inspect" "b3dc22b9765930f013991367b6eabec268ef892eb29e0fe02d2126767e3aeca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3dc22b9765930f013991367b6eabec268ef892eb29e0fe02d2126767e3aeca0", kill_on_drop: false }` [INFO] [stdout] b3dc22b9765930f013991367b6eabec268ef892eb29e0fe02d2126767e3aeca0 [INFO] checking StableCrimson/pokemon-api-rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStableCrimson%2Fpokemon-api-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StableCrimson/pokemon-api-rs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StableCrimson/pokemon-api-rs [INFO] finished tweaking git repo https://github.com/StableCrimson/pokemon-api-rs [INFO] tweaked toml for git repo https://github.com/StableCrimson/pokemon-api-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/StableCrimson/pokemon-api-rs 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37468554b220cfa50994e0d215ce47065f972157aeeee36a985452eda8d2972 [INFO] running `Command { std: "docker" "start" "-a" "f37468554b220cfa50994e0d215ce47065f972157aeeee36a985452eda8d2972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37468554b220cfa50994e0d215ce47065f972157aeeee36a985452eda8d2972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37468554b220cfa50994e0d215ce47065f972157aeeee36a985452eda8d2972", kill_on_drop: false }` [INFO] [stdout] f37468554b220cfa50994e0d215ce47065f972157aeeee36a985452eda8d2972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4121cd792bdef70ecb4442f97ae9b2297c5aaa1d1e675d6b6f2d7d9395885e8f [INFO] running `Command { std: "docker" "start" "-a" "4121cd792bdef70ecb4442f97ae9b2297c5aaa1d1e675d6b6f2d7d9395885e8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking pokemon-api-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Normal = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Fighting = 0x01, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Flying = 0x02, [INFO] [stdout] 11 | Poison = 0x03, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Ground = 0x04, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rock = 0x05, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Bird = 0x06, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Bug = 0x07, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Ghost = 0x08, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Unused = 0x09, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Fire = 0x14, [INFO] [stdout] 19 | Water = 0x15, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Grass = 0x16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Electric = 0x17, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psychic = 0x18, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Ice = 0x19, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Dragon = 0x1A, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `MediumFast`, `MediumSlow`, and `Slow` are never constructed [INFO] [stdout] --> src/pokemon.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum GrowthRate { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | MediumFast = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | MediumSlow = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Fast = 4, [INFO] [stdout] 32 | Slow = 5, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowthRate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/pokemon.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PokemonSpecies { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 122 | pokedex_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | base_stats: BaseStats, [INFO] [stdout] 125 | type1: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | type2: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | catch_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 128 | base_exp_yield: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | growth_rate: GrowthRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSpecies` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct MoveSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 157 | move1: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | move2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 159 | move3: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | move4: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | move1_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | move2_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | move3_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | move4_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `replace_move` are never used [INFO] [stdout] --> src/pokemon.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl MoveSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn replace_move(&mut self, index: usize, new_move: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_hp`, `status`, `original_trainer`, `nickname`, `exp`, and `moveset` are never read [INFO] [stdout] --> src/pokemon.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Pokemon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 214 | species: PokemonSpecies, [INFO] [stdout] 215 | current_hp: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 219 | original_trainer: Trainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | nickname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | exp: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | moveset: MoveSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pokemon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/pokemon.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Pokemon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn set_status(&mut self, status: Status) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `trainer_id`, and `party` are never read [INFO] [stdout] --> src/trainer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Trainer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub trainer_id: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub party: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Normal = 0x00, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Fighting = 0x01, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Flying = 0x02, [INFO] [stdout] 11 | Poison = 0x03, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Ground = 0x04, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Rock = 0x05, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Bird = 0x06, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Bug = 0x07, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Ghost = 0x08, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Unused = 0x09, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Fire = 0x14, [INFO] [stdout] 19 | Water = 0x15, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Grass = 0x16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Electric = 0x17, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Psychic = 0x18, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Ice = 0x19, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Dragon = 0x1A, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `MediumFast`, `MediumSlow`, and `Slow` are never constructed [INFO] [stdout] --> src/pokemon.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum GrowthRate { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | MediumFast = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | MediumSlow = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 31 | Fast = 4, [INFO] [stdout] 32 | Slow = 5, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GrowthRate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/pokemon.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct PokemonSpecies { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 122 | pokedex_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | base_stats: BaseStats, [INFO] [stdout] 125 | type1: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | type2: Type, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | catch_rate: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 128 | base_exp_yield: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | growth_rate: GrowthRate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PokemonSpecies` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pokemon.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct MoveSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 157 | move1: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | move2: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 159 | move3: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 160 | move4: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 161 | move1_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | move2_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 163 | move3_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 164 | move4_pp: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveSet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `replace_move` are never used [INFO] [stdout] --> src/pokemon.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl MoveSet { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn replace_move(&mut self, index: usize, new_move: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_hp`, `status`, `original_trainer`, `nickname`, `exp`, and `moveset` are never read [INFO] [stdout] --> src/pokemon.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Pokemon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 214 | species: PokemonSpecies, [INFO] [stdout] 215 | current_hp: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 219 | original_trainer: Trainer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 220 | nickname: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 221 | exp: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | moveset: MoveSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pokemon` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_status` is never used [INFO] [stdout] --> src/pokemon.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl Pokemon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn set_status(&mut self, status: Status) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `trainer_id`, and `party` are never read [INFO] [stdout] --> src/trainer.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Trainer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub trainer_id: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub party: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.45s [INFO] running `Command { std: "docker" "inspect" "4121cd792bdef70ecb4442f97ae9b2297c5aaa1d1e675d6b6f2d7d9395885e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4121cd792bdef70ecb4442f97ae9b2297c5aaa1d1e675d6b6f2d7d9395885e8f", kill_on_drop: false }` [INFO] [stdout] 4121cd792bdef70ecb4442f97ae9b2297c5aaa1d1e675d6b6f2d7d9395885e8f