[INFO] fetching crate poke-engine 0.0.45... [INFO] checking poke-engine-0.0.45 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate poke-engine 0.0.45 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate poke-engine 0.0.45 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate poke-engine 0.0.45 [INFO] tweaked toml for crates.io crate poke-engine 0.0.45 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poke-engine 0.0.45 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poke-engine 0.0.45 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded getrandom v0.2.15 [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded cfg-if v1.0.0 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.86 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded anstream v0.6.13 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded strsim v0.11.0 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded syn v2.0.76 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded libc v0.2.155 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02287df752898d2fd0bbdb069f46ee40b5fe1ab089fff33672e1fab33c780873 [INFO] running `Command { std: "docker" "start" "-a" "02287df752898d2fd0bbdb069f46ee40b5fe1ab089fff33672e1fab33c780873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02287df752898d2fd0bbdb069f46ee40b5fe1ab089fff33672e1fab33c780873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02287df752898d2fd0bbdb069f46ee40b5fe1ab089fff33672e1fab33c780873", kill_on_drop: false }` [INFO] [stdout] 02287df752898d2fd0bbdb069f46ee40b5fe1ab089fff33672e1fab33c780873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84b0b066b43efc29972b38f946d18f09b353915b45039c268f1b93a3fc30f1f [INFO] running `Command { std: "docker" "start" "-a" "a84b0b066b43efc29972b38f946d18f09b353915b45039c268f1b93a3fc30f1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking poke-engine v0.0.45 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:895:54 [INFO] [stdout] | [INFO] [stdout] 895 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:900:49 [INFO] [stdout] | [INFO] [stdout] 900 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1523:54 [INFO] [stdout] | [INFO] [stdout] 1523 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1528:49 [INFO] [stdout] | [INFO] [stdout] 1528 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1565:54 [INFO] [stdout] | [INFO] [stdout] 1565 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1570:49 [INFO] [stdout] | [INFO] [stdout] 1570 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1786:54 [INFO] [stdout] | [INFO] [stdout] 1786 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1791:49 [INFO] [stdout] | [INFO] [stdout] 1791 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1814:54 [INFO] [stdout] | [INFO] [stdout] 1814 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1819:49 [INFO] [stdout] | [INFO] [stdout] 1819 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TYPE_MATCHUP_DAMAGE_MULTIPICATION` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | * TYPE_MATCHUP_DAMAGE_MULTIPICATION[attacking_type_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TYPE_MATCHUP_DAMAGE_MULTIPICATION` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | * TYPE_MATCHUP_DAMAGE_MULTIPICATION[attacking_type_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRIT_MULTIPLIER` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:615:20 [INFO] [stdout] | [INFO] [stdout] 615 | crit_damage *= CRIT_MULTIPLIER; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 1.0 / (1 + MAX_SLEEP_TURNS - turns_asleep) as f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 354 | let healing_wish_consumed = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 363 | let healing_wish_consumed = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | if healing_wish_consumed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1833:52 [INFO] [stdout] | [INFO] [stdout] 1833 | hit_yourself_instruction.update_percentage(HIT_SELF_IN_CONFUSION_CHANCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1861:55 [INFO] [stdout] | [INFO] [stdout] 1861 | incoming_instructions.update_percentage(1.0 - HIT_SELF_IN_CONFUSION_CHANCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONSECUTIVE_PROTECT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1868:21 [INFO] [stdout] | [INFO] [stdout] 1868 | CONSECUTIVE_PROTECT_CHANCE.powi(attacking_side.side_conditions.protect as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BASE_CRIT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2284:17 [INFO] [stdout] | [INFO] [stdout] 2284 | BASE_CRIT_CHANCE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BASE_CRIT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2307:17 [INFO] [stdout] | [INFO] [stdout] 2307 | BASE_CRIT_CHANCE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_factor` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2958:21 [INFO] [stdout] | [INFO] [stdout] 2958 | damage_factor /= 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_factor` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2962:53 [INFO] [stdout] | [INFO] [stdout] 2962 | (active_pkmn.maxhp as f32 * damage_factor) as i16, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_amount` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:3355:21 [INFO] [stdout] | [INFO] [stdout] 3355 | damage_amount, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_amount` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:3357:31 [INFO] [stdout] | [INFO] [stdout] 3357 | active_pkmn.hp -= damage_amount; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Side` [INFO] [stdout] --> src/genx/choice_effects.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | PokemonType, Side, SideReference, State, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:895:54 [INFO] [stdout] | [INFO] [stdout] 895 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:900:49 [INFO] [stdout] | [INFO] [stdout] 900 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1523:54 [INFO] [stdout] | [INFO] [stdout] 1523 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1528:49 [INFO] [stdout] | [INFO] [stdout] 1528 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1565:54 [INFO] [stdout] | [INFO] [stdout] 1565 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1570:49 [INFO] [stdout] | [INFO] [stdout] 1570 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1786:54 [INFO] [stdout] | [INFO] [stdout] 1786 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1791:49 [INFO] [stdout] | [INFO] [stdout] 1791 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1814:54 [INFO] [stdout] | [INFO] [stdout] 1814 | new_weather_turns_remaining: WEATHER_ABILITY_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WEATHER_ABILITY_TURNS` in this scope [INFO] [stdout] --> src/genx/abilities.rs:1819:49 [INFO] [stdout] | [INFO] [stdout] 1819 | state.weather.turns_remaining = WEATHER_ABILITY_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TYPE_MATCHUP_DAMAGE_MULTIPICATION` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | * TYPE_MATCHUP_DAMAGE_MULTIPICATION[attacking_type_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TYPE_MATCHUP_DAMAGE_MULTIPICATION` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | * TYPE_MATCHUP_DAMAGE_MULTIPICATION[attacking_type_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CRIT_MULTIPLIER` in this scope [INFO] [stdout] --> src/genx/damage_calc.rs:615:20 [INFO] [stdout] | [INFO] [stdout] 615 | crit_damage *= CRIT_MULTIPLIER; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 1.0 / (1 + MAX_SLEEP_TURNS - turns_asleep) as f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 354 | let healing_wish_consumed = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 363 | let healing_wish_consumed = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `healing_wish_consumed` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | if healing_wish_consumed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1833:52 [INFO] [stdout] | [INFO] [stdout] 1833 | hit_yourself_instruction.update_percentage(HIT_SELF_IN_CONFUSION_CHANCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1861:55 [INFO] [stdout] | [INFO] [stdout] 1861 | incoming_instructions.update_percentage(1.0 - HIT_SELF_IN_CONFUSION_CHANCE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONSECUTIVE_PROTECT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:1868:21 [INFO] [stdout] | [INFO] [stdout] 1868 | CONSECUTIVE_PROTECT_CHANCE.powi(attacking_side.side_conditions.protect as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BASE_CRIT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2284:17 [INFO] [stdout] | [INFO] [stdout] 2284 | BASE_CRIT_CHANCE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BASE_CRIT_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2307:17 [INFO] [stdout] | [INFO] [stdout] 2307 | BASE_CRIT_CHANCE [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_factor` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2958:21 [INFO] [stdout] | [INFO] [stdout] 2958 | damage_factor /= 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_factor` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:2962:53 [INFO] [stdout] | [INFO] [stdout] 2962 | (active_pkmn.maxhp as f32 * damage_factor) as i16, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_amount` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:3355:21 [INFO] [stdout] | [INFO] [stdout] 3355 | damage_amount, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `damage_amount` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:3357:31 [INFO] [stdout] | [INFO] [stdout] 3357 | active_pkmn.hp -= damage_amount; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected_instructions` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:4089:34 [INFO] [stdout] | [INFO] [stdout] 4089 | assert_eq!(instructions, expected_instructions) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8233:40 [INFO] [stdout] | [INFO] [stdout] 8233 | percentage: 100.0 * (1.0 - HIT_SELF_IN_CONFUSION_CHANCE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8238:34 [INFO] [stdout] | [INFO] [stdout] 8238 | percentage: 100.0 * (HIT_SELF_IN_CONFUSION_CHANCE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8273:40 [INFO] [stdout] | [INFO] [stdout] 8273 | percentage: 100.0 * (1.0 - HIT_SELF_IN_CONFUSION_CHANCE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8281:33 [INFO] [stdout] | [INFO] [stdout] 8281 | percentage: 100.0 * HIT_SELF_IN_CONFUSION_CHANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8323:40 [INFO] [stdout] | [INFO] [stdout] 8323 | percentage: 100.0 * (1.0 - HIT_SELF_IN_CONFUSION_CHANCE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8331:33 [INFO] [stdout] | [INFO] [stdout] 8331 | percentage: 100.0 * HIT_SELF_IN_CONFUSION_CHANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8397:51 [INFO] [stdout] | [INFO] [stdout] 8397 | state.side_one.get_active().sleep_turns = MAX_SLEEP_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8413:37 [INFO] [stdout] | [INFO] [stdout] 8413 | previous_turns: MAX_SLEEP_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8438:51 [INFO] [stdout] | [INFO] [stdout] 8438 | state.side_one.get_active().sleep_turns = MAX_SLEEP_TURNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8446:40 [INFO] [stdout] | [INFO] [stdout] 8446 | percentage: 100.0 * (1.0 - HIT_SELF_IN_CONFUSION_CHANCE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8458:37 [INFO] [stdout] | [INFO] [stdout] 8458 | previous_turns: MAX_SLEEP_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HIT_SELF_IN_CONFUSION_CHANCE` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8464:33 [INFO] [stdout] | [INFO] [stdout] 8464 | percentage: 100.0 * HIT_SELF_IN_CONFUSION_CHANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_SLEEP_TURNS` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:8476:37 [INFO] [stdout] | [INFO] [stdout] 8476 | previous_turns: MAX_SLEEP_TURNS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expected_instructions` in this scope [INFO] [stdout] --> src/genx/generate_instructions.rs:10099:20 [INFO] [stdout] | [INFO] [stdout] 10099 | assert_eq!(expected_instructions, incoming_instructions) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Side` [INFO] [stdout] --> src/genx/choice_effects.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | PokemonType, Side, SideReference, State, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `destinybond_before_move` in this scope [INFO] [stdout] --> src/genx/choice_effects.rs:877:5 [INFO] [stdout] | [INFO] [stdout] 877 | destinybond_before_move(attacking_side, attacking_side_ref, choice, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `destinybond_before_move` in this scope [INFO] [stdout] --> src/genx/choice_effects.rs:877:5 [INFO] [stdout] | [INFO] [stdout] 877 | destinybond_before_move(attacking_side, attacking_side_ref, choice, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `defending_stat` is assigned to, but never used [INFO] [stdout] --> src/genx/damage_calc.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let defending_stat; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_defending_stat` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | defending_stat = PokemonBoostableStat::Defense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | defending_stat = PokemonBoostableStat::Defense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | defending_stat = PokemonBoostableStat::SpecialDefense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/genx/damage_calc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/genx/damage_calc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | mut defending_final_stat, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `defending_stat` is assigned to, but never used [INFO] [stdout] --> src/genx/damage_calc.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let defending_stat; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_defending_stat` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | defending_stat = PokemonBoostableStat::Defense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | defending_stat = PokemonBoostableStat::Defense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `defending_stat` is never read [INFO] [stdout] --> src/genx/damage_calc.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | defending_stat = PokemonBoostableStat::SpecialDefense; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/genx/damage_calc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/genx/damage_calc.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | mut defending_final_stat, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poke-engine` (lib) due to 27 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poke-engine` (lib test) due to 42 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a84b0b066b43efc29972b38f946d18f09b353915b45039c268f1b93a3fc30f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84b0b066b43efc29972b38f946d18f09b353915b45039c268f1b93a3fc30f1f", kill_on_drop: false }` [INFO] [stdout] a84b0b066b43efc29972b38f946d18f09b353915b45039c268f1b93a3fc30f1f