[INFO] fetching crate poke-engine 0.0.17...
[INFO] checking poke-engine-0.0.17 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate poke-engine 0.0.17 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate poke-engine 0.0.17 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate poke-engine 0.0.17
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate poke-engine 0.0.17
[INFO] tweaked toml for crates.io crate poke-engine 0.0.17 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate poke-engine 0.0.17 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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 376ee4d469d42a47e3c8aaa654cb034121aebc4873d210c0a6a92f4f45b87b77
[INFO] running `Command { std: "docker" "start" "-a" "376ee4d469d42a47e3c8aaa654cb034121aebc4873d210c0a6a92f4f45b87b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "376ee4d469d42a47e3c8aaa654cb034121aebc4873d210c0a6a92f4f45b87b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "376ee4d469d42a47e3c8aaa654cb034121aebc4873d210c0a6a92f4f45b87b77", kill_on_drop: false }`
[INFO] [stdout] 376ee4d469d42a47e3c8aaa654cb034121aebc4873d210c0a6a92f4f45b87b77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe7ab42a7e468e0d7f2423c79ded30a68f26d573011d2f6a8ecea1ba8b2f5ab0
[INFO] running `Command { std: "docker" "start" "-a" "fe7ab42a7e468e0d7f2423c79ded30a68f26d573011d2f6a8ecea1ba8b2f5ab0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.76
[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.17 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `TYPE_MATCHUP_DAMAGE_MULTIPICATION` in this scope
[INFO] [stdout]    --> src/damage_calc.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |         * 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/damage_calc.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 |         * 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 `MAX_SLEEP_TURNS` in this scope
[INFO] [stdout]   --> src/generate_instructions.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         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 `damage_factor` in this scope
[INFO] [stdout]     --> src/generate_instructions.rs:2328:21
[INFO] [stdout]      |
[INFO] [stdout] 2328 |                     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/generate_instructions.rs:2332:53
[INFO] [stdout]      |
[INFO] [stdout] 2332 |                         (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/generate_instructions.rs:2656:21
[INFO] [stdout]      |
[INFO] [stdout] 2656 |                     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/generate_instructions.rs:2658:31
[INFO] [stdout]      |
[INFO] [stdout] 2658 |             active_pkmn.hp -= damage_amount;
[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/damage_calc.rs:113:11
[INFO] [stdout]     |
[INFO] [stdout] 113 |         * 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/damage_calc.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 |         * 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 `MAX_SLEEP_TURNS` in this scope
[INFO] [stdout]   --> src/generate_instructions.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         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 `damage_factor` in this scope
[INFO] [stdout]     --> src/generate_instructions.rs:2328:21
[INFO] [stdout]      |
[INFO] [stdout] 2328 |                     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/generate_instructions.rs:2332:53
[INFO] [stdout]      |
[INFO] [stdout] 2332 |                         (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/generate_instructions.rs:2656:21
[INFO] [stdout]      |
[INFO] [stdout] 2656 |                     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/generate_instructions.rs:2658:31
[INFO] [stdout]      |
[INFO] [stdout] 2658 |             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/generate_instructions.rs:3118:34
[INFO] [stdout]      |
[INFO] [stdout] 3118 |         assert_eq!(instructions, expected_instructions)
[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/generate_instructions.rs:7373:51
[INFO] [stdout]      |
[INFO] [stdout] 7373 |         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/generate_instructions.rs:7389:37
[INFO] [stdout]      |
[INFO] [stdout] 7389 |                     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/generate_instructions.rs:7413:51
[INFO] [stdout]      |
[INFO] [stdout] 7413 |         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/generate_instructions.rs:7433:37
[INFO] [stdout]      |
[INFO] [stdout] 7433 |                     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/generate_instructions.rs:7451:37
[INFO] [stdout]      |
[INFO] [stdout] 7451 |                     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/generate_instructions.rs:9054:20
[INFO] [stdout]      |
[INFO] [stdout] 9054 |         assert_eq!(expected_instructions, incoming_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/damage_calc.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |     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/damage_calc.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |             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/damage_calc.rs:408:17
[INFO] [stdout]     |
[INFO] [stdout] 408 |                 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/damage_calc.rs:416:17
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 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/damage_calc.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     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/damage_calc.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |     let (attacking_final_stat, 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/damage_calc.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |     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/damage_calc.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |             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/damage_calc.rs:408:17
[INFO] [stdout]     |
[INFO] [stdout] 408 |                 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/damage_calc.rs:416:17
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 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/damage_calc.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     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/damage_calc.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |     let (attacking_final_stat, 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 7 previous errors; 6 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 14 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fe7ab42a7e468e0d7f2423c79ded30a68f26d573011d2f6a8ecea1ba8b2f5ab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe7ab42a7e468e0d7f2423c79ded30a68f26d573011d2f6a8ecea1ba8b2f5ab0", kill_on_drop: false }`
[INFO] [stdout] fe7ab42a7e468e0d7f2423c79ded30a68f26d573011d2f6a8ecea1ba8b2f5ab0
