[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 master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuta-Takegami%2FJurgen_game" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yuta-Takegami/Jurgen_game on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dxgi-sys v0.2.0
[INFO] [stderr]   Downloaded user32-sys v0.2.0
[INFO] [stderr]   Downloaded widestring v1.0.2
[INFO] [stderr]   Downloaded dxguid-sys v0.2.0
[INFO] [stderr]   Downloaded d3dcompiler-sys v0.2.0
[INFO] [stderr]   Downloaded d3d12-sys v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3444468cf2729a74ae77151e3c8964021b90d6fbbb4c2176dfff0bb0df4d053b
[INFO] running `Command { std: "docker" "start" "-a" "3444468cf2729a74ae77151e3c8964021b90d6fbbb4c2176dfff0bb0df4d053b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3444468cf2729a74ae77151e3c8964021b90d6fbbb4c2176dfff0bb0df4d053b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3444468cf2729a74ae77151e3c8964021b90d6fbbb4c2176dfff0bb0df4d053b", kill_on_drop: false }`
[INFO] [stdout] 3444468cf2729a74ae77151e3c8964021b90d6fbbb4c2176dfff0bb0df4d053b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 003bcc796f66f23c6855623610d3029d2ce4c3704afd80d67c45ad4e14ff073e
[INFO] running `Command { std: "docker" "start" "-a" "003bcc796f66f23c6855623610d3029d2ce4c3704afd80d67c45ad4e14ff073e", 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 d3dcompiler-sys v0.2.0
[INFO] [stderr]    Compiling d3d12-sys v0.2.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling dxgi-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] 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] 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: 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] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[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] [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] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if(jurgen.speed > killer.speed){
[INFO] [stdout]    |           ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -         if(jurgen.speed > killer.speed){
[INFO] [stdout] 31 +         if jurgen.speed > killer.speed {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[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] [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] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if(jurgen.speed > killer.speed){
[INFO] [stdout]    |           ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -         if(jurgen.speed > killer.speed){
[INFO] [stdout] 31 +         if jurgen.speed > killer.speed {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut jurgen = crate::lib::Operator{
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut killer = crate::lib::Enemy{
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dead`, `Burning`, `Stuned`, and `Sleep` are never constructed
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Paramator {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 4 |     Normal,
[INFO] [stdout] 5 |     Dead,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Burning,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Stuned,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Sleep
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Specialist`, `Deffencer`, `Shooter`, `Caster`, and `Healer` are never constructed
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Job {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 12 |     Attacker,
[INFO] [stdout] 13 |     Specialist,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     Deffencer,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 15 |     Shooter,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     Caster,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Healer
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Operator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout] 22 |     pub job: Job,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 23 |     pub hit_point: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 24 |     pub attack: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 25 |     pub deffence: f32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub magic_resistance: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub speed: f32,
[INFO] [stdout] 28 |     pub target: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 29 |     pub paramator: Paramator
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hit_point`, `attack`, `deffence`, `magic_resistance`, `target`, and `paramator` are never read
[INFO] [stdout]   --> src/lib.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Enemy {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 33 |     pub name: String,
[INFO] [stdout] 34 |     pub hit_point: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 35 |     pub attack: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     pub deffence: f32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 37 |     pub magic_resistance: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub speed: f32,
[INFO] [stdout] 39 |     pub target: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 40 |     pub paramator: Paramator
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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] 
[INFO] [stdout] warning: 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] 
[INFO] [stdout] warning: methods `command`, `attack`, and `death_judge` are never used
[INFO] [stdout]   --> src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Operator {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 61 |     pub fn command(&mut self, enemy :&mut Enemy ){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn attack(&mut self, enemy :&mut Enemy){
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn death_judge(&mut self){
[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] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut jurgen = crate::lib::Operator{
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut killer = crate::lib::Enemy{
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dead`, `Burning`, `Stuned`, and `Sleep` are never constructed
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Paramator {
[INFO] [stdout]   |          --------- variants in this enum
[INFO] [stdout] 4 |     Normal,
[INFO] [stdout] 5 |     Dead,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Burning,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 7 |     Stuned,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Sleep
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Specialist`, `Deffencer`, `Shooter`, `Caster`, and `Healer` are never constructed
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Job {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 12 |     Attacker,
[INFO] [stdout] 13 |     Specialist,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     Deffencer,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 15 |     Shooter,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     Caster,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     Healer
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Operator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout] 22 |     pub job: Job,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 23 |     pub hit_point: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 24 |     pub attack: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 25 |     pub deffence: f32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub magic_resistance: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     pub speed: f32,
[INFO] [stdout] 28 |     pub target: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 29 |     pub paramator: Paramator
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hit_point`, `attack`, `deffence`, `magic_resistance`, `target`, and `paramator` are never read
[INFO] [stdout]   --> src/lib.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Enemy {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 33 |     pub name: String,
[INFO] [stdout] 34 |     pub hit_point: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 35 |     pub attack: f32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 36 |     pub deffence: f32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 37 |     pub magic_resistance: f32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     pub speed: f32,
[INFO] [stdout] 39 |     pub target: u8,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 40 |     pub paramator: Paramator
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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] 
[INFO] [stdout] warning: 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] 
[INFO] [stdout] warning: methods `command`, `attack`, and `death_judge` are never used
[INFO] [stdout]   --> src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl Operator {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 61 |     pub fn command(&mut self, enemy :&mut Enemy ){
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn attack(&mut self, enemy :&mut Enemy){
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn death_judge(&mut self){
[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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "003bcc796f66f23c6855623610d3029d2ce4c3704afd80d67c45ad4e14ff073e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "003bcc796f66f23c6855623610d3029d2ce4c3704afd80d67c45ad4e14ff073e", kill_on_drop: false }`
[INFO] [stdout] 003bcc796f66f23c6855623610d3029d2ce4c3704afd80d67c45ad4e14ff073e
