[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fni2scmn%2Fbattlesnake_exploration" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ni2scmn/battlesnake_exploration on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded is-terminal v0.4.15 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded uuid v1.13.2 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded atomic v0.5.3 [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded rand_core v0.9.1 [INFO] [stderr] Downloaded rand v0.9.0 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded binascii v0.1.4 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] [stderr] Downloaded zerocopy-derive v0.8.18 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded zerocopy v0.8.18 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d39c631036a0d62eb5654830b52931b86bc794a47a38f6f27db9e6f386d64f3e [INFO] running `Command { std: "docker" "start" "-a" "d39c631036a0d62eb5654830b52931b86bc794a47a38f6f27db9e6f386d64f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d39c631036a0d62eb5654830b52931b86bc794a47a38f6f27db9e6f386d64f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d39c631036a0d62eb5654830b52931b86bc794a47a38f6f27db9e6f386d64f3e", kill_on_drop: false }` [INFO] [stdout] d39c631036a0d62eb5654830b52931b86bc794a47a38f6f27db9e6f386d64f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cf9f6501abc035b4e828586a89517508f09e7ccabfd4810a804e37da8cbc3c4 [INFO] running `Command { std: "docker" "start" "-a" "5cf9f6501abc035b4e828586a89517508f09e7ccabfd4810a804e37da8cbc3c4", 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 memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling futures v0.3.31 [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 serde_json v1.0.138 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling rand_core v0.9.1 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling uuid v1.13.2 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.24 [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 1m 57s [INFO] running `Command { std: "docker" "inspect" "5cf9f6501abc035b4e828586a89517508f09e7ccabfd4810a804e37da8cbc3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf9f6501abc035b4e828586a89517508f09e7ccabfd4810a804e37da8cbc3c4", kill_on_drop: false }` [INFO] [stdout] 5cf9f6501abc035b4e828586a89517508f09e7ccabfd4810a804e37da8cbc3c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08cc280e8ae39a5c2b3b1959493998d57a696f30d8a51b747e730349260e6aaf [INFO] running `Command { std: "docker" "start" "-a" "08cc280e8ae39a5c2b3b1959493998d57a696f30d8a51b747e730349260e6aaf", 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.82s [INFO] running `Command { std: "docker" "inspect" "08cc280e8ae39a5c2b3b1959493998d57a696f30d8a51b747e730349260e6aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08cc280e8ae39a5c2b3b1959493998d57a696f30d8a51b747e730349260e6aaf", kill_on_drop: false }` [INFO] [stdout] 08cc280e8ae39a5c2b3b1959493998d57a696f30d8a51b747e730349260e6aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 68b7e2e18ea1c38e2e98d415630fcce171dffe4814af75991cf2f5aad9cae597 [INFO] running `Command { std: "docker" "start" "-a" "68b7e2e18ea1c38e2e98d415630fcce171dffe4814af75991cf2f5aad9cae597", 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.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/battlesnake_exploration-666a63ccb504609b) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test flood_fill::tests::test_all_cells_blocked ... ok [INFO] [stdout] test flood_fill::tests::test_edge_case_with_single_cell ... ok [INFO] [stdout] test flood_fill::tests::test_basic_flood_fill ... ok [INFO] [stdout] test flood_fill::tests::test_flood_fill_with_isolated_blocked_cells ... ok [INFO] [stdout] test pathfinding::tests::test_large_numbers ... ok [INFO] [stdout] test pathfinding::tests::test_corner_to_corner_with_blockage ... ok [INFO] [stdout] test pathfinding::tests::test_forced_longer_path ... ok [INFO] [stdout] test pathfinding::tests::test_negative_coordinates ... ok [INFO] [stdout] test pathfinding::tests::test_no_path ... 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_direct_path ... ok [INFO] [stdout] test pathfinding::tests::test_mixed_sign_coordinates ... 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_path_for_dijkstra ... 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_with_obstacles2 ... ok [INFO] [stdout] test flood_fill::tests::test_unblocked_flood_fill ... ok [INFO] [stdout] test pathfinding::tests::test_empty_targets ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "68b7e2e18ea1c38e2e98d415630fcce171dffe4814af75991cf2f5aad9cae597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b7e2e18ea1c38e2e98d415630fcce171dffe4814af75991cf2f5aad9cae597", kill_on_drop: false }` [INFO] [stdout] 68b7e2e18ea1c38e2e98d415630fcce171dffe4814af75991cf2f5aad9cae597