[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] checking mrpiguy/rust-battlesnake against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrpiguy%2Frust-battlesnake" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mrpiguy/rust-battlesnake on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time v0.3.11
[INFO] [stderr]   Downloaded either v1.7.0
[INFO] [stderr]   Downloaded ubyte v0.10.2
[INFO] [stderr]   Downloaded tracing-core v0.1.28
[INFO] [stderr]   Downloaded spin v0.9.3
[INFO] [stderr]   Downloaded generator v0.7.0
[INFO] [stderr]   Downloaded multer v2.0.2
[INFO] [stderr]   Downloaded serde_json v1.0.82
[INFO] [stderr]   Downloaded figment v0.10.6
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a223d5065a19daf33e26fb2f56d14771731ef56098d63af9b06a07fd799cde3
[INFO] running `Command { std: "docker" "start" "-a" "0a223d5065a19daf33e26fb2f56d14771731ef56098d63af9b06a07fd799cde3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a223d5065a19daf33e26fb2f56d14771731ef56098d63af9b06a07fd799cde3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a223d5065a19daf33e26fb2f56d14771731ef56098d63af9b06a07fd799cde3", kill_on_drop: false }`
[INFO] [stdout] 0a223d5065a19daf33e26fb2f56d14771731ef56098d63af9b06a07fd799cde3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b00851555a896b7465c774d54a909d06da0bcde81a1a02c88e281f260b557de
[INFO] running `Command { std: "docker" "start" "-a" "9b00851555a896b7465c774d54a909d06da0bcde81a1a02c88e281f260b557de", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[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 proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling ref-cast v1.0.7
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling uncased v0.9.7
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking polyval v0.5.3
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking aead v0.4.3
[INFO] [stderr]     Checking ctr v0.8.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking ghash v0.4.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling time v0.3.11
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]    Compiling figment v0.10.6
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]    Compiling state v0.5.3
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling rocket v0.5.0-rc.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking spin v0.9.3
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling devise_core v0.3.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 async-stream-impl v0.3.3
[INFO] [stderr]    Compiling devise_codegen v0.3.1
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]    Compiling pear v0.2.3
[INFO] [stderr]    Compiling rocket_http v0.5.0-rc.2
[INFO] [stderr]    Compiling devise v0.3.1
[INFO] [stderr]    Compiling rocket_codegen v0.5.0-rc.2
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking ubyte v0.10.2
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking 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: 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: 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] [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 52.38s
[INFO] running `Command { std: "docker" "inspect" "9b00851555a896b7465c774d54a909d06da0bcde81a1a02c88e281f260b557de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b00851555a896b7465c774d54a909d06da0bcde81a1a02c88e281f260b557de", kill_on_drop: false }`
[INFO] [stdout] 9b00851555a896b7465c774d54a909d06da0bcde81a1a02c88e281f260b557de
