[INFO] cloning repository https://github.com/jiricodes/battlesnake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiricodes/battlesnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiricodes%2Fbattlesnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiricodes%2Fbattlesnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b6d9b04732c8b698e5313919009fba5db08f509
[INFO] testing jiricodes/battlesnake against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiricodes%2Fbattlesnake" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jiricodes/battlesnake
[INFO] finished tweaking git repo https://github.com/jiricodes/battlesnake
[INFO] tweaked toml for git repo https://github.com/jiricodes/battlesnake written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jiricodes/battlesnake on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 247 packages to latest compatible versions
[INFO] [stderr]       Adding actix-web v3.3.3 (available: v4.13.0)
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.1)
[INFO] [stderr]       Adding colored v2.2.0 (available: v3.1.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.121
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.121
[INFO] [stderr]   Downloaded potential_utf v0.1.5
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]   Downloaded zerofrom v0.1.7
[INFO] [stderr]   Downloaded base-x v0.2.11
[INFO] [stderr]   Downloaded const_fn v0.4.12
[INFO] [stderr]   Downloaded yoke-derive v0.8.2
[INFO] [stderr]   Downloaded idna_adapter v1.2.2
[INFO] [stderr]   Downloaded zerofrom-derive v0.1.7
[INFO] [stderr]   Downloaded rayon v1.12.0
[INFO] [stderr]   Downloaded num_cpus v1.17.0
[INFO] [stderr]   Downloaded zerovec-derive v0.11.3
[INFO] [stderr]   Downloaded writeable v0.6.3
[INFO] [stderr]   Downloaded pin-project-internal v1.1.12
[INFO] [stderr]   Downloaded pin-project-internal v0.4.30
[INFO] [stderr]   Downloaded opaque-debug v0.3.1
[INFO] [stderr]   Downloaded net2 v0.2.39
[INFO] [stderr]   Downloaded tinystr v0.8.3
[INFO] [stderr]   Downloaded litemap v0.8.2
[INFO] [stderr]   Downloaded yoke v0.8.2
[INFO] [stderr]   Downloaded generic-array v0.14.9
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded bytestring v1.5.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.121
[INFO] [stderr]   Downloaded icu_provider v2.2.0
[INFO] [stderr]   Downloaded icu_normalizer v2.2.0
[INFO] [stderr]   Downloaded icu_normalizer_data v2.2.0
[INFO] [stderr]   Downloaded tinyvec v1.11.0
[INFO] [stderr]   Downloaded resolv-conf v0.7.6
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.121
[INFO] [stderr]   Downloaded icu_locale_core v2.2.0
[INFO] [stderr]   Downloaded pin-project v1.1.12
[INFO] [stderr]   Downloaded pin-project v0.4.30
[INFO] [stderr]   Downloaded cc v1.2.62
[INFO] [stderr]   Downloaded zerotrie v0.2.4
[INFO] [stderr]   Downloaded icu_collections v2.2.0
[INFO] [stderr]   Downloaded icu_properties v2.2.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.48
[INFO] [stderr]   Downloaded js-sys v0.3.98
[INFO] [stderr]   Downloaded zerovec v0.11.6
[INFO] [stderr]   Downloaded typenum v1.20.0
[INFO] [stderr]   Downloaded icu_properties_data v2.2.0
[INFO] [stderr]   Downloaded brotli-decompressor v2.5.1
[INFO] [stderr]   Downloaded chrono v0.4.44
[INFO] [stderr]   Downloaded zerocopy v0.8.48
[INFO] [stderr]   Downloaded brotli v3.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a04bf337d8fec9a739c5cc4e2214f12062f14b709dae54f7548078b551084fbf
[INFO] running `Command { std: "docker" "start" "-a" "a04bf337d8fec9a739c5cc4e2214f12062f14b709dae54f7548078b551084fbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a04bf337d8fec9a739c5cc4e2214f12062f14b709dae54f7548078b551084fbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a04bf337d8fec9a739c5cc4e2214f12062f14b709dae54f7548078b551084fbf", kill_on_drop: false }`
[INFO] [stdout] a04bf337d8fec9a739c5cc4e2214f12062f14b709dae54f7548078b551084fbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 79163665ee04afb41a32e59d626b0bc903da5dddfd8275a9a474125cbac584c6
[INFO] running `Command { std: "docker" "start" "-a" "79163665ee04afb41a32e59d626b0bc903da5dddfd8275a9a474125cbac584c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling const_fn v0.4.12
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling resolv-conf v0.7.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling brotli v3.5.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling bytestring v1.5.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling actix-macros v0.1.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling actix-web-codegen v0.4.0
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pin-project v0.4.30
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.12
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling pin-project v1.1.12
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-router v0.2.7
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling actix-server v1.0.4
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-proto v0.19.7
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.7
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-http v2.2.2
[INFO] [stderr]    Compiling awc v2.0.3
[INFO] [stderr]    Compiling actix-web v3.3.3
[INFO] [stderr]    Compiling battlesnake v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[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 import: `web`
[INFO] [stdout]  --> src/main.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `astar::Astar`
[INFO] [stdout]  --> src/battlesnake/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use astar::Astar;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reverse`
[INFO] [stdout]  --> src/battlesnake/astar.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::{Ordering, Reverse};
[INFO] [stdout]   |                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GameGrid` and `GridObject`
[INFO] [stdout]  --> src/battlesnake/heuristic.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::grid::{GameGrid, GridObject};
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sym`
[INFO] [stdout]   --> src/battlesnake/domove.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let sym = GridObject::Snake(gameinfo.get_my_index());
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_sym`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `move_point` is never read
[INFO] [stdout]   --> src/battlesnake/domove.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut move_point = Point::new(0, 0);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 96 |             move_point = head.get_right();
[INFO] [stdout]    |             ----------------------------- `move_point` 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: unused variable: `end`
[INFO] [stdout]   --> src/battlesnake/heuristic.rs:82:42
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn battlesnake(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstarNode` is never constructed
[INFO] [stdout]   --> src/battlesnake/astar.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct AstarNode {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_children`, `is_end`, `get_path`, `extend_with_child`, and `get_gscore` are never used
[INFO] [stdout]   --> src/battlesnake/astar.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl AstarNode {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(point: Point) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn get_children(&self, grid: &GameGrid, heur: &Heuristic) -> Vec<(i32, Point)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn is_end(&self, end: &Point) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get_path(&self) -> Vec<Point> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn extend_with_child(&self, child: &Point, step: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn get_gscore(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AstarQueue` is never constructed
[INFO] [stdout]   --> src/battlesnake/astar.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct AstarQueue {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `enqueue`, `dequeue`, `len`, and `point_already_reached` are never used
[INFO] [stdout]    --> src/battlesnake/astar.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl AstarQueue {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  99 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn enqueue(&mut self, node: AstarNode) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn dequeue(&mut self) -> Option<AstarNode> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn len(&self) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn point_already_reached(&mut self, point: &Point, fscore: i32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Astar` is never constructed
[INFO] [stdout]    --> src/battlesnake/astar.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Astar {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `solve`, `get_path`, and `get_cost` are never used
[INFO] [stdout]    --> src/battlesnake/astar.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl Astar {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 142 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     pub fn solve(&mut self, start: Point, end: Point, grid: &GameGrid, heur: &Heuristic) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn get_path(&self) -> Vec<Point> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn get_cost(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dfs` is never constructed
[INFO] [stdout]  --> src/battlesnake/dfs.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Dfs {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_atleast_len`, `get_path`, `get_length`, and `get_cost` are never used
[INFO] [stdout]   --> src/battlesnake/dfs.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Dfs {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn get_atleast_len(&mut self, start: &Point, grid: &GameGrid, atleast: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn get_path(&self) -> Vec<Point> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn get_length(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn get_cost(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `default`, and `as_option_string` are never used
[INFO] [stdout]    --> src/battlesnake/domove.rs:22:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Move {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout]  22 |     pub fn new(input: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn default() -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn as_option_string(input: &str) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GridObjectLog` is never used
[INFO] [stdout]   --> src/battlesnake/game_logger.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | enum GridObjectLog {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameGridLog` is never constructed
[INFO] [stdout]   --> src/battlesnake/game_logger.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct GameGridLog {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/battlesnake/game_logger.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl GameGridLog {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  84 |     fn new(dimensions: (usize, usize)) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn from_api(gameinfo: &GameInfo) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn is_in_bounds(&self, pos: &Point) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn get_index(&self, pos: &Point) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn set_snakes(&mut self, snakes: Vec<Vec<Point>>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     fn set_food(&mut self, food: &Vec<Point>) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameStateLog` is never constructed
[INFO] [stdout]    --> src/battlesnake/game_logger.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct GameStateLog {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_api` and `print` are never used
[INFO] [stdout]    --> src/battlesnake/game_logger.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl GameStateLog {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 190 |     pub fn from_api(data: &GameInfo) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GridObject` is never used
[INFO] [stdout]  --> src/battlesnake/grid.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum GridObject {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_snake`, `is_considerable`, and `is_accessible` are never used
[INFO] [stdout]   --> src/battlesnake/grid.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl GridObject {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 17 |     pub fn is_snake(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn is_considerable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn is_accessible(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameGrid` is never constructed
[INFO] [stdout]   --> src/battlesnake/grid.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct GameGrid {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/battlesnake/grid.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl GameGrid {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  74 |     pub fn new(dimensions: (usize, usize)) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn from_api(gameinfo: &GameInfo) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn get_index(&self, pos: &Point) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn get_value(&self, pos: &Point) -> GridObject {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn get_value_at_index(&self, i: usize) -> GridObject {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn is_accessible(&self, pos: &Point) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn is_in_bounds(&self, pos: &Point) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn set_snakes(&mut self, snakes: Vec<Vec<Point>>) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn set_food(&mut self, food: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn set_food_for_print(&mut self, food: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_hazards(&mut self, hazard: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn set_collision_chance(&mut self, collision: &Vec<Point>, hp: i32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn ignore_hazard(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn get_width(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn get_height(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HeurMethod` is never used
[INFO] [stdout]  --> src/battlesnake/heuristic.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum HeurMethod {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Heuristic` is never constructed
[INFO] [stdout]   --> src/battlesnake/heuristic.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Heuristic {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/battlesnake/heuristic.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Heuristic {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(heur_method: HeurMethod) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn manhattan(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn euclidean(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn is_in_bounds(&self, p: &Point) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn battlesnake_init(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn battlesnake(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_value(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/battlesnake/input.rs:52:12
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl GameInfo {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn get_my_head(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     pub fn get_my_health(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn get_my_index(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn get_snake_bodies(&self) -> Vec<Vec<Point>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn get_head_collision_hazard(&self) -> Vec<Point> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_my_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn get_my_length(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn get_heads(&self) -> Vec<Point> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_win(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `extend_front` are never used
[INFO] [stdout]   --> src/battlesnake/path.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Path {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn extend_front(&mut self, offset: &Point) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/battlesnake/point.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Point {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn get_x(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn get_y(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  32 |     pub fn get_right(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn get_left(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     pub fn get_up(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn get_down(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn get_neighbours(&self) -> Vec<Point> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn distance_squared(&self, other: &Self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn distance(&self, other: &Self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn find_closest(&self, others: Vec<Self>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn get_neighbour_direction(self, neighbour: Self) -> Option<Direction> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_neighbour(self, other: Point) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "79163665ee04afb41a32e59d626b0bc903da5dddfd8275a9a474125cbac584c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79163665ee04afb41a32e59d626b0bc903da5dddfd8275a9a474125cbac584c6", kill_on_drop: false }`
[INFO] [stdout] 79163665ee04afb41a32e59d626b0bc903da5dddfd8275a9a474125cbac584c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfe63f494783db9081637deeb98d4f735d8ccad2260eb5e214bf24394d3e39d9
[INFO] running `Command { std: "docker" "start" "-a" "bfe63f494783db9081637deeb98d4f735d8ccad2260eb5e214bf24394d3e39d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling battlesnake v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[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 import: `web`
[INFO] [stdout]  --> src/main.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `astar::Astar`
[INFO] [stdout]  --> src/battlesnake/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use astar::Astar;
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reverse`
[INFO] [stdout]  --> src/battlesnake/astar.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::{Ordering, Reverse};
[INFO] [stdout]   |                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GameGrid` and `GridObject`
[INFO] [stdout]  --> src/battlesnake/heuristic.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::grid::{GameGrid, GridObject};
[INFO] [stdout]   |                   ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sym`
[INFO] [stdout]   --> src/battlesnake/domove.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let sym = GridObject::Snake(gameinfo.get_my_index());
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_sym`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `move_point` is never read
[INFO] [stdout]   --> src/battlesnake/domove.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut move_point = Point::new(0, 0);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 96 |             move_point = head.get_right();
[INFO] [stdout]    |             ----------------------------- `move_point` 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: unused variable: `end`
[INFO] [stdout]   --> src/battlesnake/heuristic.rs:82:42
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn battlesnake(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/battlesnake/heuristic.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/battlesnake/heuristic.rs:122:17
[INFO] [stdout]     |
[INFO] [stdout] 122 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/battlesnake/heuristic.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `closest_empty` is never read
[INFO] [stdout]    --> src/battlesnake/astar.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Astar {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 137 |     solution: Option<(f32, Vec<Point>)>,
[INFO] [stdout] 138 |     closest_empty: Option<(f32, Vec<Point>)>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `default`, and `as_option_string` are never used
[INFO] [stdout]    --> src/battlesnake/domove.rs:22:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Move {
[INFO] [stdout]     | --------- associated functions in this implementation
[INFO] [stdout]  22 |     pub fn new(input: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn default() -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn as_option_string(input: &str) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Hazard` and `Collisionchance` are never constructed
[INFO] [stdout]   --> src/battlesnake/grid.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum GridObject {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Hazard,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     Collisionchance(i32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GridObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_snake` and `is_considerable` are never used
[INFO] [stdout]   --> src/battlesnake/grid.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl GridObject {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 17 |     pub fn is_snake(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn is_considerable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ignore_hazard` is never read
[INFO] [stdout]   --> src/battlesnake/grid.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct GameGrid {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     ignore_hazard: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/battlesnake/grid.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl GameGrid {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn from_api(gameinfo: &GameInfo) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn get_value_at_index(&self, i: usize) -> GridObject {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn set_food(&mut self, food: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn set_food_for_print(&mut self, food: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_hazards(&mut self, hazard: &Vec<Point>) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn set_collision_chance(&mut self, collision: &Vec<Point>, hp: i32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn ignore_hazard(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn get_width(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn get_height(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Euclidean` is never constructed
[INFO] [stdout]  --> src/battlesnake/heuristic.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum HeurMethod {
[INFO] [stdout]   |          ---------- variant in this enum
[INFO] [stdout] 8 |     Manhattan,
[INFO] [stdout] 9 |     Euclidean,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `HeurMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `method` is never read
[INFO] [stdout]   --> src/battlesnake/heuristic.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Heuristic {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 14 |     method: HeurMethod,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/battlesnake/input.rs:52:12
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl GameInfo {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn get_my_head(&self) -> Point {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |     pub fn get_my_health(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  60 |     pub fn get_my_index(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn get_head_collision_hazard(&self) -> Vec<Point> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_my_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn get_my_length(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_win(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/battlesnake/path.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Path {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_neighbour` is never used
[INFO] [stdout]    --> src/battlesnake/point.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Point {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn is_neighbour(self, other: Point) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.72s
[INFO] running `Command { std: "docker" "inspect" "bfe63f494783db9081637deeb98d4f735d8ccad2260eb5e214bf24394d3e39d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfe63f494783db9081637deeb98d4f735d8ccad2260eb5e214bf24394d3e39d9", kill_on_drop: false }`
[INFO] [stdout] bfe63f494783db9081637deeb98d4f735d8ccad2260eb5e214bf24394d3e39d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 717a1d257bf289ba7f6eef11adaacd8727844d81c61c7ae6281a42460b38a88f
[INFO] running `Command { std: "docker" "start" "-a" "717a1d257bf289ba7f6eef11adaacd8727844d81c61c7ae6281a42460b38a88f", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `web`
[INFO] [stderr]  --> src/main.rs:9:28
[INFO] [stderr]   |
[INFO] [stderr] 9 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stderr]   |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `astar::Astar`
[INFO] [stderr]  --> src/battlesnake/mod.rs:1:9
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub use astar::Astar;
[INFO] [stderr]   |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Reverse`
[INFO] [stderr]  --> src/battlesnake/astar.rs:7:26
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::cmp::{Ordering, Reverse};
[INFO] [stderr]   |                          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `GameGrid` and `GridObject`
[INFO] [stderr]  --> src/battlesnake/heuristic.rs:3:19
[INFO] [stderr]   |
[INFO] [stderr] 3 | use super::grid::{GameGrid, GridObject};
[INFO] [stderr]   |                   ^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sym`
[INFO] [stderr]   --> src/battlesnake/domove.rs:38:13
[INFO] [stderr]    |
[INFO] [stderr] 38 |         let sym = GridObject::Snake(gameinfo.get_my_index());
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_sym`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `move_point` is never read
[INFO] [stderr]   --> src/battlesnake/domove.rs:50:30
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let mut move_point = Point::new(0, 0);
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 96 |             move_point = head.get_right();
[INFO] [stderr]    |             ----------------------------- `move_point` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]   --> src/battlesnake/heuristic.rs:82:42
[INFO] [stderr]    |
[INFO] [stderr] 82 |     fn battlesnake(&self, start: &Point, end: &Point) -> f32 {
[INFO] [stderr]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]    --> src/battlesnake/heuristic.rs:105:17
[INFO] [stderr]     |
[INFO] [stderr] 105 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]    --> src/battlesnake/heuristic.rs:122:17
[INFO] [stderr]     |
[INFO] [stderr] 122 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]    --> src/battlesnake/heuristic.rs:140:17
[INFO] [stderr]     |
[INFO] [stderr] 140 |         for (i, val) in expected.iter().enumerate() {
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: field `closest_empty` is never read
[INFO] [stderr]    --> src/battlesnake/astar.rs:138:5
[INFO] [stderr]     |
[INFO] [stderr] 136 | pub struct Astar {
[INFO] [stderr]     |            ----- field in this struct
[INFO] [stderr] 137 |     solution: Option<(f32, Vec<Point>)>,
[INFO] [stderr] 138 |     closest_empty: Option<(f32, Vec<Point>)>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new`, `default`, and `as_option_string` are never used
[INFO] [stderr]    --> src/battlesnake/domove.rs:22:12
[INFO] [stderr]     |
[INFO] [stderr]  21 | impl Move {
[INFO] [stderr]     | --------- associated functions in this implementation
[INFO] [stderr]  22 |     pub fn new(input: &str) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 143 |     pub fn default() -> Self {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 150 |     pub fn as_option_string(input: &str) -> Option<String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Hazard` and `Collisionchance` are never constructed
[INFO] [stderr]   --> src/battlesnake/grid.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub enum GridObject {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 11 |     Hazard,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 12 |     Collisionchance(i32),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GridObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_snake` and `is_considerable` are never used
[INFO] [stderr]   --> src/battlesnake/grid.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl GridObject {
[INFO] [stderr]    | --------------- methods in this implementation
[INFO] [stderr] 17 |     pub fn is_snake(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub fn is_considerable(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `ignore_hazard` is never read
[INFO] [stderr]   --> src/battlesnake/grid.rs:70:5
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub struct GameGrid {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 70 |     ignore_hazard: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/battlesnake/grid.rs:83:12
[INFO] [stderr]     |
[INFO] [stderr]  73 | impl GameGrid {
[INFO] [stderr]     | ------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  83 |     pub fn from_api(gameinfo: &GameInfo) -> Self {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  92 |     pub fn reset(&mut self) {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn get_value_at_index(&self, i: usize) -> GridObject {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 147 |     pub fn set_food(&mut self, food: &Vec<Point>) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub fn set_food_for_print(&mut self, food: &Vec<Point>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 175 |     pub fn set_hazards(&mut self, hazard: &Vec<Point>) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 190 |     pub fn set_collision_chance(&mut self, collision: &Vec<Point>, hp: i32) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 205 |     pub fn ignore_hazard(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 209 |     pub fn get_width(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     pub fn get_height(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Euclidean` is never constructed
[INFO] [stderr]  --> src/battlesnake/heuristic.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub enum HeurMethod {
[INFO] [stderr]   |          ---------- variant in this enum
[INFO] [stderr] 8 |     Manhattan,
[INFO] [stderr] 9 |     Euclidean,
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `HeurMethod` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `method` is never read
[INFO] [stderr]   --> src/battlesnake/heuristic.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Heuristic {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 14 |     method: HeurMethod,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/battlesnake/input.rs:52:12
[INFO] [stderr]     |
[INFO] [stderr]  40 | impl GameInfo {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  52 |     pub fn get_my_head(&self) -> Point {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  56 |     pub fn get_my_health(&self) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  60 |     pub fn get_my_index(&self) -> usize {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  87 |     pub fn get_head_collision_hazard(&self) -> Vec<Point> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn get_my_id(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 114 |     pub fn get_my_length(&self) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 126 |     pub fn is_win(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/battlesnake/path.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl Path {
[INFO] [stderr]    | --------- associated function in this implementation
[INFO] [stderr] 12 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_neighbour` is never used
[INFO] [stderr]    --> src/battlesnake/point.rs:106:12
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl Point {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 106 |     pub fn is_neighbour(self, other: Point) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `battlesnake` (bin "battlesnake" test) generated 22 warnings (run `cargo fix --bin "battlesnake" -p battlesnake --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/battlesnake-4bcd6f99b811ca36)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test battlesnake::astar::test::basic_battlesnake ... ok
[INFO] [stdout] test battlesnake::dfs::test::no_way ... ok
[INFO] [stdout] test battlesnake::board::test::from_api ... ok
[INFO] [stdout] test battlesnake::dfs::test::dfs_simple ... ok
[INFO] [stdout] test battlesnake::astar::test::basic_manhattan ... ok
[INFO] [stdout] test battlesnake::board::test::advance ... ok
[INFO] [stdout] test battlesnake::dfs::test::way_out ... ok
[INFO] [stdout] test battlesnake::grid::test::grid_get_value ... ok
[INFO] [stdout] test battlesnake::grid::test::grid_is_in_bounds ... ok
[INFO] [stdout] test battlesnake::heuristic::test::manhattan_00 ... ok
[INFO] [stdout] test battlesnake::game_logger::test::print ... ok
[INFO] [stdout] test battlesnake::heuristic::test::manhattan_inner ... ok
[INFO] [stdout] test battlesnake::heuristic::test::manhattan_outter ... ok
[INFO] [stdout] test battlesnake::path::test::basics ... ok
[INFO] [stdout] test battlesnake::path::test::extend ... ok
[INFO] [stdout] test battlesnake::point::test::closest ... ok
[INFO] [stdout] test battlesnake::input::test::test_input ... ok
[INFO] [stdout] test battlesnake::point::test::directions ... ok
[INFO] [stdout] test battlesnake::snake::test::basics ... ok
[INFO] [stdout] test battlesnake::board::test::available_moves ... ok
[INFO] [stdout] test battlesnake::board::test::astar ... ok
[INFO] [stdout] test battlesnake::path::test::extend_dir ... ok
[INFO] [stdout] test battlesnake::minimax::test::test_test ... ok
[INFO] [stdout] test battlesnake::game_logger::test::session_basic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "717a1d257bf289ba7f6eef11adaacd8727844d81c61c7ae6281a42460b38a88f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "717a1d257bf289ba7f6eef11adaacd8727844d81c61c7ae6281a42460b38a88f", kill_on_drop: false }`
[INFO] [stdout] 717a1d257bf289ba7f6eef11adaacd8727844d81c61c7ae6281a42460b38a88f
