[INFO] cloning repository https://github.com/Enzu83/pokemon-battle-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Enzu83/pokemon-battle-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzu83%2Fpokemon-battle-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzu83%2Fpokemon-battle-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1cc3d125a6fd1d2cb386027ce0a23ee624167e1
[INFO] checking Enzu83/pokemon-battle-sim against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzu83%2Fpokemon-battle-sim" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Enzu83/pokemon-battle-sim
[INFO] finished tweaking git repo https://github.com/Enzu83/pokemon-battle-sim
[INFO] tweaked toml for git repo https://github.com/Enzu83/pokemon-battle-sim written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Enzu83/pokemon-battle-sim on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Enzu83/pokemon-battle-sim 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7703f31349f77211d8e5e46a3d65a1b1ae5e5c57756b31eb4e7fe4c176b7796
[INFO] running `Command { std: "docker" "start" "-a" "e7703f31349f77211d8e5e46a3d65a1b1ae5e5c57756b31eb4e7fe4c176b7796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7703f31349f77211d8e5e46a3d65a1b1ae5e5c57756b31eb4e7fe4c176b7796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7703f31349f77211d8e5e46a3d65a1b1ae5e5c57756b31eb4e7fe4c176b7796", kill_on_drop: false }`
[INFO] [stdout] e7703f31349f77211d8e5e46a3d65a1b1ae5e5c57756b31eb4e7fe4c176b7796
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35fd00a00420fe0a3d9343835a2b8437656c8fe1df29b166f34bd30df480bc19
[INFO] running `Command { std: "docker" "start" "-a" "35fd00a00420fe0a3d9343835a2b8437656c8fe1df29b166f34bd30df480bc19", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking pokemon-battle-sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/data.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn read_pokedex(file_path: String) -> Result<HashMap<u32, Species>, Box<dyn Error>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/common/pokedex.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Species {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  3 |     pub name: String,
[INFO] [stdout]  4 |     types: (String, Option<String>), // single type or double type
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  5 |     abilities: (String, Option<String>, Option<String>), // at least 1 ability, max 3
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  6 |     gender_ratio: Option<(f64, f64)>, // male/female ratio or genderless
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  7 |     hp: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     att: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  9 |     def: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     spa: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 11 |     spd: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     spe: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `power`, `typ`, `accuracy`, `pp`, and `category` are never read
[INFO] [stdout]   --> src/common/moves.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Move {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 19 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     power: Option<u32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     typ: Type,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     accuracy: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     pp: Option<u32>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     category: Category,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Pokemon` is never constructed
[INFO] [stdout]  --> src/common/pokemon.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Pokemon {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Male` and `Female` are never constructed
[INFO] [stdout]  --> src/common/pokemon.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Gender {
[INFO] [stdout]   |      ------ variants in this enum
[INFO] [stdout] 4 |     Male,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Female,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/common/pokemon.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Pokemon {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  9 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     types: (String, Option<String>), // single type or double type
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     abilities: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     gender: Option<Gender>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     
[INFO] [stdout] 14 |     level: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     hp: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     att: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     def: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     spa: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     spd: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     spe: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     moves: (&'static Move, Option<&'static Move>, Option<&'static Move>, Option<&'static Move>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pokedex` is never read
[INFO] [stdout]   --> src/data.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Data {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     pokedex: HashMap<u32, Species>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_species` is never used
[INFO] [stdout]   --> src/data.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Data {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 17 |     pub fn get_species(&self, id: u32) -> Option<&Species> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon-battle-sim` (bin "pokemon-battle-sim" test) due to 1 previous error; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/data.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn read_pokedex(file_path: String) -> Result<HashMap<u32, Species>, Box<dyn Error>> {
[INFO] [stdout]    |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/common/pokedex.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub struct Species {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  3 |     pub name: String,
[INFO] [stdout]  4 |     types: (String, Option<String>), // single type or double type
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]  5 |     abilities: (String, Option<String>, Option<String>), // at least 1 ability, max 3
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  6 |     gender_ratio: Option<(f64, f64)>, // male/female ratio or genderless
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  7 |     hp: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     att: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  9 |     def: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     spa: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 11 |     spd: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 12 |     spe: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `power`, `typ`, `accuracy`, `pp`, and `category` are never read
[INFO] [stdout]   --> src/common/moves.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Move {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 19 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     power: Option<u32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     typ: Type,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 22 |     accuracy: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     pp: Option<u32>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     category: Category,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Move` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Pokemon` is never constructed
[INFO] [stdout]  --> src/common/pokemon.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Pokemon {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Male` and `Female` are never constructed
[INFO] [stdout]  --> src/common/pokemon.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Gender {
[INFO] [stdout]   |      ------ variants in this enum
[INFO] [stdout] 4 |     Male,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Female,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/common/pokemon.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Pokemon {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  9 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     types: (String, Option<String>), // single type or double type
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     abilities: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     gender: Option<Gender>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     
[INFO] [stdout] 14 |     level: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 15 |     hp: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 16 |     att: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     def: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     spa: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     spd: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     spe: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     moves: (&'static Move, Option<&'static Move>, Option<&'static Move>, Option<&'static Move>),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pokedex` is never read
[INFO] [stdout]   --> src/data.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Data {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 11 |     pokedex: HashMap<u32, Species>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_species` is never used
[INFO] [stdout]   --> src/data.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Data {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 17 |     pub fn get_species(&self, id: u32) -> Option<&Species> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon-battle-sim` (bin "pokemon-battle-sim") due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "35fd00a00420fe0a3d9343835a2b8437656c8fe1df29b166f34bd30df480bc19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35fd00a00420fe0a3d9343835a2b8437656c8fe1df29b166f34bd30df480bc19", kill_on_drop: false }`
[INFO] [stdout] 35fd00a00420fe0a3d9343835a2b8437656c8fe1df29b166f34bd30df480bc19
