[INFO] cloning repository https://github.com/Yuta-Takegami/Jurgen_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yuta-Takegami/Jurgen_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuta-Takegami%2FJurgen_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuta-Takegami%2FJurgen_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c38a0942efcec8089b97adc645ee0f8743aa70f9
[INFO] checking Yuta-Takegami/Jurgen_game against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuta-Takegami%2FJurgen_game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yuta-Takegami/Jurgen_game
[INFO] finished tweaking git repo https://github.com/Yuta-Takegami/Jurgen_game
[INFO] tweaked toml for git repo https://github.com/Yuta-Takegami/Jurgen_game written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yuta-Takegami/Jurgen_game on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yuta-Takegami/Jurgen_game 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 699e82252ac508c502d84c195030a1ef7216783b2e8562bb3590053754130a87
[INFO] running `Command { std: "docker" "start" "-a" "699e82252ac508c502d84c195030a1ef7216783b2e8562bb3590053754130a87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "699e82252ac508c502d84c195030a1ef7216783b2e8562bb3590053754130a87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "699e82252ac508c502d84c195030a1ef7216783b2e8562bb3590053754130a87", kill_on_drop: false }`
[INFO] [stdout] 699e82252ac508c502d84c195030a1ef7216783b2e8562bb3590053754130a87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43194f72ade28a16fbb7daca098c67249fbb84f64127bbcba67186129865d17b
[INFO] running `Command { std: "docker" "start" "-a" "43194f72ade28a16fbb7daca098c67249fbb84f64127bbcba67186129865d17b", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking widestring v1.0.2
[INFO] [stderr]     Checking dxguid-sys v0.2.0
[INFO] [stderr]    Compiling dxgi-sys v0.2.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling d3dcompiler-sys v0.2.0
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling d3d12-sys v0.2.0
[INFO] [stderr]     Checking Jurgen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if (select == "1".to_string()){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         if (select == "1".to_string()){
[INFO] [stdout] 66 +         if select == "1".to_string() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if (select == "2".to_string()){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         if (select == "2".to_string()){
[INFO] [stdout] 70 +         if select == "2".to_string() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |                    ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout] 80 +                 if damage > self.attack * 0.05  {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |                    ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 86 -                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout] 86 +                 if damage > self.attack * 0.05  {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:98:11
[INFO] [stdout]    |
[INFO] [stdout] 98 |         if(self.hit_point < 0){
[INFO] [stdout]    |           ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         if(self.hit_point < 0){
[INFO] [stdout] 98 +         if self.hit_point < 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Situation` is never constructed
[INFO] [stdout]   --> src/lib.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Situation {
[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_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Tresure` is never constructed
[INFO] [stdout]   --> src/lib.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Tresure {
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Situation {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 44 |     layer: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 45 |     coin: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     fame: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 47 |     exp: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     leadersLevel: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 49 |     num_of_tresure: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     num_of_operator: 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` and `id` are never read
[INFO] [stdout]   --> src/lib.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Tresure {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 54 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Jurgen` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `jurgen`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `leadersLevel` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     leadersLevel: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `leaders_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if (select == "1".to_string()){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         if (select == "1".to_string()){
[INFO] [stdout] 66 +         if select == "1".to_string() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Jurgen` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if (select == "2".to_string()){
[INFO] [stdout]    |            ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         if (select == "2".to_string()){
[INFO] [stdout] 70 +         if select == "2".to_string() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |                    ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout] 80 +                 if damage > self.attack * 0.05  {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |                    ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 86 -                 if (damage > self.attack * 0.05) {enemy.hit_point -= damage as i32;}
[INFO] [stdout] 86 +                 if damage > self.attack * 0.05  {enemy.hit_point -= damage as i32;}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:98:11
[INFO] [stdout]    |
[INFO] [stdout] 98 |         if(self.hit_point < 0){
[INFO] [stdout]    |           ^                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 98 -         if(self.hit_point < 0){
[INFO] [stdout] 98 +         if self.hit_point < 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Situation` is never constructed
[INFO] [stdout]   --> src/lib.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Situation {
[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_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Tresure` is never constructed
[INFO] [stdout]   --> src/lib.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Tresure {
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Situation {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 44 |     layer: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 45 |     coin: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     fame: u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 47 |     exp: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     leadersLevel: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 49 |     num_of_tresure: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 50 |     num_of_operator: 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` and `id` are never read
[INFO] [stdout]   --> src/lib.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Tresure {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 54 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 55 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `leadersLevel` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     leadersLevel: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `leaders_level`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Jurgen` (lib test) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "43194f72ade28a16fbb7daca098c67249fbb84f64127bbcba67186129865d17b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43194f72ade28a16fbb7daca098c67249fbb84f64127bbcba67186129865d17b", kill_on_drop: false }`
[INFO] [stdout] 43194f72ade28a16fbb7daca098c67249fbb84f64127bbcba67186129865d17b
