[INFO] fetching crate poke-engine 0.0.45...
[INFO] testing poke-engine-0.0.45 against 1.90.0 for beta-1.91-3
[INFO] extracting crate poke-engine 0.0.45 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate poke-engine 0.0.45 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap_derive v4.5.4
[INFO] [stderr]   Downloaded syn v2.0.76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e09a46633eab74b9413abd590f48904f340228cbd28d7108f3301b25ddda3f05
[INFO] running `Command { std: "docker" "start" "-a" "e09a46633eab74b9413abd590f48904f340228cbd28d7108f3301b25ddda3f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e09a46633eab74b9413abd590f48904f340228cbd28d7108f3301b25ddda3f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e09a46633eab74b9413abd590f48904f340228cbd28d7108f3301b25ddda3f05", kill_on_drop: false }`
[INFO] [stdout] e09a46633eab74b9413abd590f48904f340228cbd28d7108f3301b25ddda3f05
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 212d709dc365a778d617335b8e6b6f96c0af4f75e5cce1e65c103330b872e96d
[INFO] running `Command { std: "docker" "start" "-a" "212d709dc365a778d617335b8e6b6f96c0af4f75e5cce1e65c103330b872e96d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]    Compiling clap v4.5.4
[INFO] [stderr]    Compiling 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 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] 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] running `Command { std: "docker" "inspect" "212d709dc365a778d617335b8e6b6f96c0af4f75e5cce1e65c103330b872e96d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "212d709dc365a778d617335b8e6b6f96c0af4f75e5cce1e65c103330b872e96d", kill_on_drop: false }`
[INFO] [stdout] 212d709dc365a778d617335b8e6b6f96c0af4f75e5cce1e65c103330b872e96d
