[INFO] cloning repository https://github.com/kylestang/battlesnake-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylestang/battlesnake-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylestang%2Fbattlesnake-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylestang%2Fbattlesnake-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 679b1bb1dd064ad5ba072ae3fc18d96c8852a31e [INFO] checking kylestang/battlesnake-rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylestang%2Fbattlesnake-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylestang/battlesnake-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylestang/battlesnake-rust [INFO] finished tweaking git repo https://github.com/kylestang/battlesnake-rust [INFO] tweaked toml for git repo https://github.com/kylestang/battlesnake-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/kylestang/battlesnake-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8bdee7b893bbf289d4444999ef5f4d85618465ebabd3b2fcaf0f0d540b4d3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc8bdee7b893bbf289d4444999ef5f4d85618465ebabd3b2fcaf0f0d540b4d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8bdee7b893bbf289d4444999ef5f4d85618465ebabd3b2fcaf0f0d540b4d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8bdee7b893bbf289d4444999ef5f4d85618465ebabd3b2fcaf0f0d540b4d3a", kill_on_drop: false }` [INFO] [stdout] cc8bdee7b893bbf289d4444999ef5f4d85618465ebabd3b2fcaf0f0d540b4d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c90a746c8bd01998f95a3fc5ce7bc73ce3661fe56bee2294d2e0ce8ee2b9355 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c90a746c8bd01998f95a3fc5ce7bc73ce3661fe56bee2294d2e0ce8ee2b9355", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.24 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking indexmap v1.6.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.24 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.0.2 [INFO] [stderr] Checking curunir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/decision.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::{Coordinate, Game, Battlesnake, Board, MoveResponse}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/decision.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::{Coordinate, Game, Battlesnake, Board, MoveResponse}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/decision.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/decision.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/decision.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `you` [INFO] [stdout] --> src/decision.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_you` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/decision.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `turn` [INFO] [stdout] --> src/decision.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_turn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/decision.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `you` [INFO] [stdout] --> src/decision.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decision(game: &Game, turn: i64, board: &Board, you: &Battlesnake) -> MoveResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_you` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_x` [INFO] [stdout] --> src/structures.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_x(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_y` [INFO] [stdout] --> src/structures.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_y(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/structures.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ruleset` [INFO] [stdout] --> src/structures.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_ruleset(&self) -> &Ruleset { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_timeout` [INFO] [stdout] --> src/structures.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_timeout(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/structures.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_version` [INFO] [stdout] --> src/structures.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_version(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/structures.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/structures.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_health` [INFO] [stdout] --> src/structures.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_health(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_body` [INFO] [stdout] --> src/structures.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_body(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_latency` [INFO] [stdout] --> src/structures.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_latency(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_head` [INFO] [stdout] --> src/structures.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_head(&self) -> &Coordinate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/structures.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_length(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shout` [INFO] [stdout] --> src/structures.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_shout(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_height(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/structures.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_width(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_food` [INFO] [stdout] --> src/structures.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_food(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hazards` [INFO] [stdout] --> src/structures.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_hazards(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snakes` [INFO] [stdout] --> src/structures.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get_snakes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(x: i64, y: i64) -> Coordinate { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_x` [INFO] [stdout] --> src/structures.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_x(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_y` [INFO] [stdout] --> src/structures.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_y(&self) -> i64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(id: String, ruleset: Ruleset, timeout: i64) -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/structures.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ruleset` [INFO] [stdout] --> src/structures.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_ruleset(&self) -> &Ruleset { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_timeout` [INFO] [stdout] --> src/structures.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_timeout(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(name: String, version: String) -> Ruleset { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/structures.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_version` [INFO] [stdout] --> src/structures.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn get_version(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/structures.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_id(&self) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/structures.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_health` [INFO] [stdout] --> src/structures.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_health(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_body` [INFO] [stdout] --> src/structures.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_body(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_latency` [INFO] [stdout] --> src/structures.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn get_latency(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_head` [INFO] [stdout] --> src/structures.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_head(&self) -> &Coordinate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/structures.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_length(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shout` [INFO] [stdout] --> src/structures.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn get_shout(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn new(height: i64, width: i64, food: Vec, hazards: Vec, snakes: Vec) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_height(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/structures.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_width(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_food` [INFO] [stdout] --> src/structures.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_food(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hazards` [INFO] [stdout] --> src/structures.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_hazards(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snakes` [INFO] [stdout] --> src/structures.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn get_snakes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structures.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn new(game: Game, turn: i64, board: Board, you: Battlesnake) -> MoveRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "6c90a746c8bd01998f95a3fc5ce7bc73ce3661fe56bee2294d2e0ce8ee2b9355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c90a746c8bd01998f95a3fc5ce7bc73ce3661fe56bee2294d2e0ce8ee2b9355", kill_on_drop: false }` [INFO] [stdout] 6c90a746c8bd01998f95a3fc5ce7bc73ce3661fe56bee2294d2e0ce8ee2b9355