[INFO] fetching crate poke-engine 0.0.42... [INFO] testing poke-engine-0.0.42 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate poke-engine 0.0.42 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate poke-engine 0.0.42 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate poke-engine 0.0.42 [INFO] tweaked toml for crates.io crate poke-engine 0.0.42 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate poke-engine 0.0.42 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poke-engine 0.0.42 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77b2f080ab27797c41f7756e62ab50de000a9fcfb8bd1270a13083c68c920bef [INFO] running `Command { std: "docker" "start" "-a" "77b2f080ab27797c41f7756e62ab50de000a9fcfb8bd1270a13083c68c920bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77b2f080ab27797c41f7756e62ab50de000a9fcfb8bd1270a13083c68c920bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b2f080ab27797c41f7756e62ab50de000a9fcfb8bd1270a13083c68c920bef", kill_on_drop: false }` [INFO] [stdout] 77b2f080ab27797c41f7756e62ab50de000a9fcfb8bd1270a13083c68c920bef [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f7bebe1436309f771153c285afc34fc71de8cba11ea66eb76cf03b2d83bb8d9 [INFO] running `Command { std: "docker" "start" "-a" "4f7bebe1436309f771153c285afc34fc71de8cba11ea66eb76cf03b2d83bb8d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.76 [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.42 (/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:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | 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:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 333 | 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:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | healing_wish_consumed = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 342 | 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:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | 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:1811:52 [INFO] [stdout] | [INFO] [stdout] 1811 | 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:1839:55 [INFO] [stdout] | [INFO] [stdout] 1839 | 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:1844:13 [INFO] [stdout] | [INFO] [stdout] 1844 | 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:2258:17 [INFO] [stdout] | [INFO] [stdout] 2258 | 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:2281:17 [INFO] [stdout] | [INFO] [stdout] 2281 | 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:2934:21 [INFO] [stdout] | [INFO] [stdout] 2934 | 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:2938:53 [INFO] [stdout] | [INFO] [stdout] 2938 | (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:3343:21 [INFO] [stdout] | [INFO] [stdout] 3343 | 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:3345:31 [INFO] [stdout] | [INFO] [stdout] 3345 | 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:856:5 [INFO] [stdout] | [INFO] [stdout] 856 | 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" "4f7bebe1436309f771153c285afc34fc71de8cba11ea66eb76cf03b2d83bb8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7bebe1436309f771153c285afc34fc71de8cba11ea66eb76cf03b2d83bb8d9", kill_on_drop: false }` [INFO] [stdout] 4f7bebe1436309f771153c285afc34fc71de8cba11ea66eb76cf03b2d83bb8d9