[INFO] cloning repository https://github.com/Jafosterja/Battleships-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jafosterja/Battleships-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJafosterja%2FBattleships-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJafosterja%2FBattleships-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2e33ce0c663abb0f075c742eedb9e6b26cd270b
[INFO] checking Jafosterja/Battleships-Rust against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJafosterja%2FBattleships-Rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jafosterja/Battleships-Rust
[INFO] finished tweaking git repo https://github.com/Jafosterja/Battleships-Rust
[INFO] tweaked toml for git repo https://github.com/Jafosterja/Battleships-Rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jafosterja/Battleships-Rust on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jafosterja/Battleships-Rust 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ce98a7f0d1d4bdd34765469d4052e5c9e998a8a04207897625d122b8de4cced
[INFO] running `Command { std: "docker" "start" "-a" "2ce98a7f0d1d4bdd34765469d4052e5c9e998a8a04207897625d122b8de4cced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ce98a7f0d1d4bdd34765469d4052e5c9e998a8a04207897625d122b8de4cced", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ce98a7f0d1d4bdd34765469d4052e5c9e998a8a04207897625d122b8de4cced", kill_on_drop: false }`
[INFO] [stdout] 2ce98a7f0d1d4bdd34765469d4052e5c9e998a8a04207897625d122b8de4cced
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5211f3ce71f02999bc432a43e56f202284d4f9e99f80e12a3974d760d371472d
[INFO] running `Command { std: "docker" "start" "-a" "5211f3ce71f02999bc432a43e56f202284d4f9e99f80e12a3974d760d371472d", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking Battleships-Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |         if(y == 10)
[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] 157 -         if(y == 10)
[INFO] [stdout] 157 +         if y == 10 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |         if(y == 10)
[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] 157 -         if(y == 10)
[INFO] [stdout] 157 +         if y == 10 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ship.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for mut p in 0..5{
[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/ship.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         for mut p in 0..5{
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:129:21
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:92:31
[INFO] [stdout]     |
[INFO] [stdout]  92 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 122 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]   --> src/ship.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut x_initial = ' ';
[INFO] [stdout]    |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 99 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]    |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:94:29
[INFO] [stdout]     |
[INFO] [stdout]  94 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 109 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:335:21
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:286:31
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 316 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:287:29
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 293 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:288:29
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 303 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ship.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for mut p in 0..5{
[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/ship.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         for mut p in 0..5{
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:419:21
[INFO] [stdout]     |
[INFO] [stdout] 419 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:371:31
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 401 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:372:29
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 378 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:373:29
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 388 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:495:21
[INFO] [stdout]     |
[INFO] [stdout] 495 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:452:31
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 484 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 459 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:454:29
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 470 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:129:21
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:139:21
[INFO] [stdout]     |
[INFO] [stdout] 139 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:92:31
[INFO] [stdout]     |
[INFO] [stdout]  92 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 122 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]   --> src/ship.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut x_initial = ' ';
[INFO] [stdout]    |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 99 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]    |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:94:29
[INFO] [stdout]     |
[INFO] [stdout]  94 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 109 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:577:21
[INFO] [stdout]     |
[INFO] [stdout] 577 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:583:21
[INFO] [stdout]     |
[INFO] [stdout] 583 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:591:21
[INFO] [stdout]     |
[INFO] [stdout] 591 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:598:21
[INFO] [stdout]     |
[INFO] [stdout] 598 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:574:21
[INFO] [stdout]     |
[INFO] [stdout] 574 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:534:31
[INFO] [stdout]     |
[INFO] [stdout] 534 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 564 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:535:29
[INFO] [stdout]     |
[INFO] [stdout] 535 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 541 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:536:29
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 551 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:335:21
[INFO] [stdout]     |
[INFO] [stdout] 335 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:286:31
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 316 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:287:29
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 293 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:288:29
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 303 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:411:21
[INFO] [stdout]     |
[INFO] [stdout] 411 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:419:21
[INFO] [stdout]     |
[INFO] [stdout] 419 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:371:31
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 401 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:372:29
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 378 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:373:29
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 388 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut t_ip = ip.trim().to_owned() + ":80";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `check_if_hit` is never read
[INFO] [stdout]    --> src/main.rs:168:36
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut check_if_hit = 0;
[INFO] [stdout]     |                                    ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 172 |                     check_if_hit = player.myships[ships].check(cords);
[INFO] [stdout]     |                     ------------------------------------------------- `check_if_hit` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:495:21
[INFO] [stdout]     |
[INFO] [stdout] 495 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:452:31
[INFO] [stdout]     |
[INFO] [stdout] 452 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 484 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 459 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:454:29
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 470 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_addr`
[INFO] [stdout]    --> src/main.rs:199:27
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let (mut result_sock, result_addr) = listener.accept().unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:577:21
[INFO] [stdout]     |
[INFO] [stdout] 577 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:583:21
[INFO] [stdout]     |
[INFO] [stdout] 583 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:591:21
[INFO] [stdout]     |
[INFO] [stdout] 591 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_player` is never used
[INFO] [stdout]   --> src/tests.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn build_test_player() -> Player{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ship.rs:598:21
[INFO] [stdout]     |
[INFO] [stdout] 598 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |           ----^^^^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_carr` is never used
[INFO] [stdout]   --> src/tests.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn build_test_carr() -> Ship{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/ship.rs:574:21
[INFO] [stdout]     |
[INFO] [stdout] 574 |                 let s = convert_char_to_int(&x_initial);
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_bs` is never used
[INFO] [stdout]   --> src/tests.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn build_test_bs() -> Ship{
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dir_initial` is never read
[INFO] [stdout]    --> src/ship.rs:534:31
[INFO] [stdout]     |
[INFO] [stdout] 534 |         let mut dir_initial = ' ';
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 564 |             dir_initial = trimmed_dir.pop().unwrap();
[INFO] [stdout]     |             ---------------------------------------- `dir_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_cruiser` is never used
[INFO] [stdout]   --> src/tests.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn build_test_cruiser() -> Ship{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_sub` is never used
[INFO] [stdout]   --> src/tests.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn build_test_sub() -> Ship{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x_initial` is never read
[INFO] [stdout]    --> src/ship.rs:535:29
[INFO] [stdout]     |
[INFO] [stdout] 535 |         let mut x_initial = ' ';
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 541 |             x_initial = trimmedx.pop().unwrap();
[INFO] [stdout]     |             ----------------------------------- `x_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_test_dest` is never used
[INFO] [stdout]   --> src/tests.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub fn build_test_dest() -> Ship{//build a test destroyer
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y_initial` is never read
[INFO] [stdout]    --> src/ship.rs:536:29
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let mut y_initial = 0;
[INFO] [stdout]     |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 551 |             y_initial = trimmedy.chars().next().unwrap().to_digit(10).unwrap();
[INFO] [stdout]     |             ------------------------------------------------------------------ `y_initial` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:331:21
[INFO] [stdout]     |
[INFO] [stdout] 331 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[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 `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:351:21
[INFO] [stdout]     |
[INFO] [stdout] 351 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:415:21
[INFO] [stdout]     |
[INFO] [stdout] 415 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:424:21
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:433:21
[INFO] [stdout]     |
[INFO] [stdout] 433 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:441:21
[INFO] [stdout]     |
[INFO] [stdout] 441 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:577:25
[INFO] [stdout]     |
[INFO] [stdout] 577 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:583:25
[INFO] [stdout]     |
[INFO] [stdout] 583 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:591:25
[INFO] [stdout]     |
[INFO] [stdout] 591 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:598:25
[INFO] [stdout]     |
[INFO] [stdout] 598 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut t_ip = ip.trim().to_owned() + ":80";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `check_if_hit` is never read
[INFO] [stdout]    --> src/main.rs:168:36
[INFO] [stdout]     |
[INFO] [stdout] 168 |             let mut check_if_hit = 0;
[INFO] [stdout]     |                                    ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 172 |                     check_if_hit = player.myships[ships].check(cords);
[INFO] [stdout]     |                     ------------------------------------------------- `check_if_hit` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_addr`
[INFO] [stdout]    --> src/main.rs:199:27
[INFO] [stdout]     |
[INFO] [stdout] 199 |     let (mut result_sock, result_addr) = listener.accept().unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:331:21
[INFO] [stdout]     |
[INFO] [stdout] 331 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[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 `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:351:21
[INFO] [stdout]     |
[INFO] [stdout] 351 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Battleship` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 | ...   let Battleship = Ship{ shiptype : "Battleship".to_string(), cordinates: [a,b,c,d,Default::default()], status : false, index :...
[INFO] [stdout]     |           ^^^^^^^^^^ help: convert the identifier to snake case: `battleship`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:415:21
[INFO] [stdout]     |
[INFO] [stdout] 415 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:424:21
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:433:21
[INFO] [stdout]     |
[INFO] [stdout] 433 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Cruiser` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:441:21
[INFO] [stdout]     |
[INFO] [stdout] 441 | ...   let Cruiser = Ship{ shiptype : "Cruiser".to_string(), cordinates: [a,b,c,Default::default(),Default::default()], status : fal...
[INFO] [stdout]     |           ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cruiser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:577:25
[INFO] [stdout]     |
[INFO] [stdout] 577 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:583:25
[INFO] [stdout]     |
[INFO] [stdout] 583 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:591:25
[INFO] [stdout]     |
[INFO] [stdout] 591 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Destroyer` should have a snake case name
[INFO] [stdout]    --> src/ship.rs:598:25
[INFO] [stdout]     |
[INFO] [stdout] 598 | ...   let mut Destroyer = Ship{ shiptype : "Destroyer".to_string(), cordinates: [a,b,Default::default(),Default::default(),Default:...
[INFO] [stdout]     |               ^^^^^^^^^ help: convert the identifier to snake case: `destroyer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "5211f3ce71f02999bc432a43e56f202284d4f9e99f80e12a3974d760d371472d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5211f3ce71f02999bc432a43e56f202284d4f9e99f80e12a3974d760d371472d", kill_on_drop: false }`
[INFO] [stdout] 5211f3ce71f02999bc432a43e56f202284d4f9e99f80e12a3974d760d371472d
