[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] building ni2scmn/battlesnake_exploration against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fni2scmn%2Fbattlesnake_exploration" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ni2scmn/battlesnake_exploration on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 041c98ee04d8ebbba5d13792041d8970d7f3f69b7a8a512fef680e74c0e7eb5e [INFO] running `Command { std: "docker" "start" "-a" "041c98ee04d8ebbba5d13792041d8970d7f3f69b7a8a512fef680e74c0e7eb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "041c98ee04d8ebbba5d13792041d8970d7f3f69b7a8a512fef680e74c0e7eb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "041c98ee04d8ebbba5d13792041d8970d7f3f69b7a8a512fef680e74c0e7eb5e", kill_on_drop: false }` [INFO] [stdout] 041c98ee04d8ebbba5d13792041d8970d7f3f69b7a8a512fef680e74c0e7eb5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad1a3f5615b7cb4da8521ab844f0c1721db15e69c25481275daf7277c2ddc60 [INFO] running `Command { std: "docker" "start" "-a" "cad1a3f5615b7cb4da8521ab844f0c1721db15e69c25481275daf7277c2ddc60", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling http-body v0.4.6 [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 regex-automata v0.4.9 [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 figment v0.10.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling rand_core v0.9.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling colorchoice v1.0.3 [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 ref-cast v1.0.23 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [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_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [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 multer v3.1.0 [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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 19s [INFO] running `Command { std: "docker" "inspect" "cad1a3f5615b7cb4da8521ab844f0c1721db15e69c25481275daf7277c2ddc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad1a3f5615b7cb4da8521ab844f0c1721db15e69c25481275daf7277c2ddc60", kill_on_drop: false }` [INFO] [stdout] cad1a3f5615b7cb4da8521ab844f0c1721db15e69c25481275daf7277c2ddc60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9698f931a1811683ef5af065dce2c2bf33e96032fda08665c2ac51743072a39c [INFO] running `Command { std: "docker" "start" "-a" "9698f931a1811683ef5af065dce2c2bf33e96032fda08665c2ac51743072a39c", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "9698f931a1811683ef5af065dce2c2bf33e96032fda08665c2ac51743072a39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9698f931a1811683ef5af065dce2c2bf33e96032fda08665c2ac51743072a39c", kill_on_drop: false }` [INFO] [stdout] 9698f931a1811683ef5af065dce2c2bf33e96032fda08665c2ac51743072a39c