[INFO] cloning repository https://github.com/ni2scmn/battlesnake_exploration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ni2scmn/battlesnake_exploration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fni2scmn%2Fbattlesnake_exploration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fni2scmn%2Fbattlesnake_exploration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50dcc09f4e571572d6ec47a3d77f58032b287408 [INFO] testing ni2scmn/battlesnake_exploration against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fni2scmn%2Fbattlesnake_exploration" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ni2scmn/battlesnake_exploration on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ni2scmn/battlesnake_exploration [INFO] finished tweaking git repo https://github.com/ni2scmn/battlesnake_exploration [INFO] tweaked toml for git repo https://github.com/ni2scmn/battlesnake_exploration written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ni2scmn/battlesnake_exploration 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebe0b77360369e8cc34d965a4e4644dbaa75c620564d2d0662588793d3846cb0 [INFO] running `Command { std: "docker" "start" "-a" "ebe0b77360369e8cc34d965a4e4644dbaa75c620564d2d0662588793d3846cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe0b77360369e8cc34d965a4e4644dbaa75c620564d2d0662588793d3846cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe0b77360369e8cc34d965a4e4644dbaa75c620564d2d0662588793d3846cb0", kill_on_drop: false }` [INFO] [stdout] ebe0b77360369e8cc34d965a4e4644dbaa75c620564d2d0662588793d3846cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a3893420f66a6a816385490657348725ee692881a864b5bd6328729a92c3af1 [INFO] running `Command { std: "docker" "start" "-a" "3a3893420f66a6a816385490657348725ee692881a864b5bd6328729a92c3af1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_core v0.9.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling uuid v1.13.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling battlesnake_exploration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/strategy.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | fn make_move(&self, game: &Game, board: &Board, snake: &Battlesnake) -> Move { [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: `game_state` [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_start(game_state: Json) -> Status { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle_game_over(game_state: Json) -> Status { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_distance_ref` and `get_predecessor_ref` are never used [INFO] [stdout] --> src/pathfinding.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DijkResult { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 20 | pub fn get_distance_ref(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_predecessor_ref(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhatten_distance` is never used [INFO] [stdout] --> src/pathfinding.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn manhatten_distance(pos: Coord, targets: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "3a3893420f66a6a816385490657348725ee692881a864b5bd6328729a92c3af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a3893420f66a6a816385490657348725ee692881a864b5bd6328729a92c3af1", kill_on_drop: false }` [INFO] [stdout] 3a3893420f66a6a816385490657348725ee692881a864b5bd6328729a92c3af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a13397b46c9d4951cbf787227d75003ff91b8f220aa055e8e9bc2e584b6b0444 [INFO] running `Command { std: "docker" "start" "-a" "a13397b46c9d4951cbf787227d75003ff91b8f220aa055e8e9bc2e584b6b0444", kill_on_drop: false }` [INFO] [stderr] Compiling battlesnake_exploration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/strategy.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | fn make_move(&self, game: &Game, board: &Board, snake: &Battlesnake) -> Move { [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: `game_state` [INFO] [stdout] --> src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_start(game_state: Json) -> Status { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle_game_over(game_state: Json) -> Status { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_predecessor_ref` is never used [INFO] [stdout] --> src/pathfinding.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DijkResult { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_predecessor_ref(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "a13397b46c9d4951cbf787227d75003ff91b8f220aa055e8e9bc2e584b6b0444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13397b46c9d4951cbf787227d75003ff91b8f220aa055e8e9bc2e584b6b0444", kill_on_drop: false }` [INFO] [stdout] a13397b46c9d4951cbf787227d75003ff91b8f220aa055e8e9bc2e584b6b0444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b109af740b578ccd958a30cb6fe3fd8f262571eded3f334b93cb4c0f0691767e [INFO] running `Command { std: "docker" "start" "-a" "b109af740b578ccd958a30cb6fe3fd8f262571eded3f334b93cb4c0f0691767e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> src/strategy.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | fn make_move(&self, game: &Game, board: &Board, snake: &Battlesnake) -> Move { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_state` [INFO] [stderr] --> src/main.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | fn handle_start(game_state: Json) -> Status { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game_state` [INFO] [stderr] --> src/main.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | fn handle_game_over(game_state: Json) -> Status { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stderr] [INFO] [stderr] warning: method `get_predecessor_ref` is never used [INFO] [stderr] --> src/pathfinding.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl DijkResult { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn get_predecessor_ref(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `battlesnake_exploration` (bin "battlesnake_exploration" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/battlesnake_exploration-2ad3b5ec9dcb41a3) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test flood_fill::tests::test_basic_flood_fill ... ok [INFO] [stdout] test flood_fill::tests::test_all_cells_blocked ... ok [INFO] [stdout] test flood_fill::tests::test_flood_fill_with_isolated_blocked_cells ... ok [INFO] [stdout] test flood_fill::tests::test_edge_case_with_single_cell ... ok [INFO] [stdout] test pathfinding::tests::test_direct_path ... ok [INFO] [stdout] test pathfinding::tests::test_large_numbers ... ok [INFO] [stdout] test pathfinding::tests::test_empty_targets ... ok [INFO] [stdout] test pathfinding::tests::test_forced_longer_path ... ok [INFO] [stdout] test pathfinding::tests::test_mixed_sign_coordinates ... ok [INFO] [stdout] test flood_fill::tests::test_simple_wall_flood_fill ... ok [INFO] [stdout] test pathfinding::tests::test_multiple_targets ... ok [INFO] [stdout] test pathfinding::tests::test_corner_to_corner_with_blockage ... ok [INFO] [stdout] test pathfinding::tests::test_path_for_dijkstra ... ok [INFO] [stdout] test pathfinding::tests::test_same_position ... ok [INFO] [stdout] test pathfinding::tests::test_same_start_and_goal ... ok [INFO] [stdout] test pathfinding::tests::test_with_obstacles2 ... ok [INFO] [stdout] test pathfinding::tests::test_shortest_path_direction_for_dijkstra ... ok [INFO] [stdout] test pathfinding::tests::test_single_target ... ok [INFO] [stdout] test pathfinding::tests::test_with_obstacles ... ok [INFO] [stdout] test pathfinding::tests::test_no_path ... ok [INFO] [stdout] test pathfinding::tests::test_negative_coordinates ... ok [INFO] [stdout] test flood_fill::tests::test_unblocked_flood_fill ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b109af740b578ccd958a30cb6fe3fd8f262571eded3f334b93cb4c0f0691767e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b109af740b578ccd958a30cb6fe3fd8f262571eded3f334b93cb4c0f0691767e", kill_on_drop: false }` [INFO] [stdout] b109af740b578ccd958a30cb6fe3fd8f262571eded3f334b93cb4c0f0691767e