[INFO] cloning repository https://github.com/veeenu/pvptimize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/veeenu/pvptimize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 123d81897d7d43475552dadd0751352b93a6da91 [INFO] checking veeenu/pvptimize against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fveeenu%2Fpvptimize" "/workspace/builds/worker-43/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-43/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/veeenu/pvptimize on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/veeenu/pvptimize [INFO] finished tweaking git repo https://github.com/veeenu/pvptimize [INFO] tweaked toml for git repo https://github.com/veeenu/pvptimize written to /workspace/builds/worker-43/source/Cargo.toml [INFO] crate git repo https://github.com/veeenu/pvptimize already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a209671cbd5402a64a2c8842e925c704b0e95227092df8213c7c6f4837baf61b [INFO] running `Command { std: "docker" "start" "-a" "a209671cbd5402a64a2c8842e925c704b0e95227092df8213c7c6f4837baf61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a209671cbd5402a64a2c8842e925c704b0e95227092df8213c7c6f4837baf61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a209671cbd5402a64a2c8842e925c704b0e95227092df8213c7c6f4837baf61b", kill_on_drop: false }` [INFO] [stdout] a209671cbd5402a64a2c8842e925c704b0e95227092df8213c7c6f4837baf61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c47cdbea99bc1cd16820f2a90b93286d13490d98470e2ce2fb48be2690d93e6a [INFO] running `Command { std: "docker" "start" "-a" "c47cdbea99bc1cd16820f2a90b93286d13490d98470e2ce2fb48be2690d93e6a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking pvptimize v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/model/battle.rs (2 fixes) [INFO] [stderr] Fixed src/gamemaster.rs (2 fixes) [INFO] [stderr] Fixed src/ranker.rs (5 fixes) [INFO] [stderr] Fixed src/model/mod.rs (2 fixes) [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available` [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `would_charged_kill` [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_statproduct` [INFO] [stdout] --> src/ranker.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn max_statproduct(mech: &Mechanics, pokemon_id: &str, cap: usize) -> Result<(i32, i32, i32, Level, u32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available` [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `would_charged_kill` [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.15s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking pvptimize v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available` [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `would_charged_kill` [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_statproduct` [INFO] [stdout] --> src/ranker.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn max_statproduct(mech: &Mechanics, pokemon_id: &str, cap: usize) -> Result<(i32, i32, i32, Level, u32), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Idle` [INFO] [stdout] --> src/model/battle.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Idle(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `available` [INFO] [stdout] --> src/model/battle.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | fn available(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `would_charged_kill` [INFO] [stdout] --> src/model/battle.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | fn would_charged_kill(&self, choice: ChargedChoice, opponent: &TurnState<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/model/pokemon.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | level: Level, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iv_combinations` should have an upper case name [INFO] [stdout] --> src/ranker.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | static ref iv_combinations: Vec<(i32, i32, i32)> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IV_COMBINATIONS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "c47cdbea99bc1cd16820f2a90b93286d13490d98470e2ce2fb48be2690d93e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47cdbea99bc1cd16820f2a90b93286d13490d98470e2ce2fb48be2690d93e6a", kill_on_drop: false }` [INFO] [stdout] c47cdbea99bc1cd16820f2a90b93286d13490d98470e2ce2fb48be2690d93e6a