[INFO] cloning repository https://github.com/mrpiguy/rust-battlesnake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrpiguy/rust-battlesnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrpiguy%2Frust-battlesnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrpiguy%2Frust-battlesnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b408eb04e38fc22766c782900e24a5b6e674bd4
[INFO] building mrpiguy/rust-battlesnake against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrpiguy%2Frust-battlesnake" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mrpiguy/rust-battlesnake
[INFO] finished tweaking git repo https://github.com/mrpiguy/rust-battlesnake
[INFO] tweaked toml for git repo https://github.com/mrpiguy/rust-battlesnake written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mrpiguy/rust-battlesnake on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mrpiguy/rust-battlesnake 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24140df3f6dd7821e92197d5f64ee7a569affd449a770d2e5417c972a5b4e152
[INFO] running `Command { std: "docker" "start" "-a" "24140df3f6dd7821e92197d5f64ee7a569affd449a770d2e5417c972a5b4e152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24140df3f6dd7821e92197d5f64ee7a569affd449a770d2e5417c972a5b4e152", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24140df3f6dd7821e92197d5f64ee7a569affd449a770d2e5417c972a5b4e152", kill_on_drop: false }`
[INFO] [stdout] 24140df3f6dd7821e92197d5f64ee7a569affd449a770d2e5417c972a5b4e152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 288829b9df70fab7df090a4144b6dfdeba6be00f7f821123723925be875b254a
[INFO] running `Command { std: "docker" "start" "-a" "288829b9df70fab7df090a4144b6dfdeba6be00f7f821123723925be875b254a", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.28
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling ref-cast v1.0.7
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling uncased v0.9.7
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling time v0.3.11
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling state v0.5.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling figment v0.10.6
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling devise_core v0.3.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling rocket v0.5.0-rc.2
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling spin v0.9.3
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling pear_codegen v0.2.3
[INFO] [stderr]    Compiling ref-cast-impl v1.0.7
[INFO] [stderr]    Compiling devise_codegen v0.3.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling devise v0.3.1
[INFO] [stderr]    Compiling pear v0.2.3
[INFO] [stderr]    Compiling async-stream v0.3.3
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling rocket_http v0.5.0-rc.2
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-util v0.6.10
[INFO] [stderr]    Compiling tokio-stream v0.1.9
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-rc.2
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling ubyte v0.10.2
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling rust_snake v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/logic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Battlesnake`, `Board`, and `Game`
[INFO] [stdout]  --> src/logic.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{Battlesnake, Board, Game,GameState,Node};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/logic.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut new_gs = gs.clone();
[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/logic.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let mut new_gs = gs.clone();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gs`
[INFO] [stdout]   --> src/logic.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_gs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snakeid`
[INFO] [stdout]   --> src/logic.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakeid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut gamestate = GameState{
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_snake` is never used
[INFO] [stdout]    --> src/main.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl Battlesnake{
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn move_snake(&mut self, direction : String, food: &Vec<Coord>){
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `minimax` is never used
[INFO] [stdout]   --> src/logic.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn minimax(gs:GameState) -> String{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_tree` is never used
[INFO] [stdout]   --> src/logic.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn build_tree(gs: GameState,max_depth: u32, depth: u32, dir:String, snake:String) -> Node {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getOptimumScore` is never used
[INFO] [stdout]   --> src/logic.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn getOptimumScore(opt: u32, children:&Vec<Node>) -> &Node{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score_func` is never used
[INFO] [stdout]   --> src/logic.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getOptimumScore` should have a snake case name
[INFO] [stdout]   --> src/logic.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn getOptimumScore(opt: u32, children:&Vec<Node>) -> &Node{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_optimum_score`
[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 2m 00s
[INFO] running `Command { std: "docker" "inspect" "288829b9df70fab7df090a4144b6dfdeba6be00f7f821123723925be875b254a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "288829b9df70fab7df090a4144b6dfdeba6be00f7f821123723925be875b254a", kill_on_drop: false }`
[INFO] [stdout] 288829b9df70fab7df090a4144b6dfdeba6be00f7f821123723925be875b254a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4b6be171781188a9b0ab0f9e96cedc41433986c7f4061994de1eda789769abf
[INFO] running `Command { std: "docker" "start" "-a" "c4b6be171781188a9b0ab0f9e96cedc41433986c7f4061994de1eda789769abf", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_snake v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/logic.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Battlesnake`, `Board`, and `Game`
[INFO] [stdout]  --> src/logic.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{Battlesnake, Board, Game,GameState,Node};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/logic.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut new_gs = gs.clone();
[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/logic.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let mut new_gs = gs.clone();
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gs`
[INFO] [stdout]   --> src/logic.rs:96:15
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |               ^^ help: if this is intentional, prefix it with an underscore: `_gs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snakeid`
[INFO] [stdout]   --> src/logic.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snakeid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut gamestate = GameState{
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_snake` is never used
[INFO] [stdout]    --> src/main.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl Battlesnake{
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn move_snake(&mut self, direction : String, food: &Vec<Coord>){
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `minimax` is never used
[INFO] [stdout]   --> src/logic.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn minimax(gs:GameState) -> String{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_tree` is never used
[INFO] [stdout]   --> src/logic.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn build_tree(gs: GameState,max_depth: u32, depth: u32, dir:String, snake:String) -> Node {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getOptimumScore` is never used
[INFO] [stdout]   --> src/logic.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn getOptimumScore(opt: u32, children:&Vec<Node>) -> &Node{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score_func` is never used
[INFO] [stdout]   --> src/logic.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn score_func(gs: &GameState, snakeid:&String) -> i32{
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getOptimumScore` should have a snake case name
[INFO] [stdout]   --> src/logic.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn getOptimumScore(opt: u32, children:&Vec<Node>) -> &Node{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_optimum_score`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s
[INFO] running `Command { std: "docker" "inspect" "c4b6be171781188a9b0ab0f9e96cedc41433986c7f4061994de1eda789769abf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4b6be171781188a9b0ab0f9e96cedc41433986c7f4061994de1eda789769abf", kill_on_drop: false }`
[INFO] [stdout] c4b6be171781188a9b0ab0f9e96cedc41433986c7f4061994de1eda789769abf
