[INFO] cloning repository https://github.com/AdamEkelof/battlesnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamEkelof/battlesnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamEkelof%2Fbattlesnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamEkelof%2Fbattlesnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f103e4f455ccb7e4dcd777644cd9ce073aeec69c [INFO] checking AdamEkelof/battlesnake against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamEkelof%2Fbattlesnake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AdamEkelof/battlesnake [INFO] finished tweaking git repo https://github.com/AdamEkelof/battlesnake [INFO] tweaked toml for git repo https://github.com/AdamEkelof/battlesnake written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AdamEkelof/battlesnake on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AdamEkelof/battlesnake 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded bytemuck v1.23.0 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded winnow v0.7.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f527270067d7f94e95066cb0463477ee8aadfdabe51eaa9e577824c803c7229 [INFO] running `Command { std: "docker" "start" "-a" "1f527270067d7f94e95066cb0463477ee8aadfdabe51eaa9e577824c803c7229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f527270067d7f94e95066cb0463477ee8aadfdabe51eaa9e577824c803c7229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f527270067d7f94e95066cb0463477ee8aadfdabe51eaa9e577824c803c7229", kill_on_drop: false }` [INFO] [stdout] 1f527270067d7f94e95066cb0463477ee8aadfdabe51eaa9e577824c803c7229 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01abbaa45aad7bd824a133fa6811f1628c34d27c49155161eead1cef451c950 [INFO] running `Command { std: "docker" "start" "-a" "c01abbaa45aad7bd824a133fa6811f1628c34d27c49155161eead1cef451c950", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking winnow v0.7.9 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking starter-snake-rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/simple.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let mut any_collision = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/simple.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut dead = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `any_collision` [INFO] [stdout] --> src/logic/simple.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let mut any_collision = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_any_collision` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dead` [INFO] [stdout] --> src/logic/simple.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut dead = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/simple.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let mut any_collision = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/simple.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut dead = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `any_collision` [INFO] [stdout] --> src/logic/simple.rs:615:13 [INFO] [stdout] | [INFO] [stdout] 615 | let mut any_collision = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_any_collision` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dead` [INFO] [stdout] --> src/logic/simple.rs:616:13 [INFO] [stdout] | [INFO] [stdout] 616 | let mut dead = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/logic/simple.rs:770:13 [INFO] [stdout] | [INFO] [stdout] 770 | let mut snake = create_snake_at( [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct GameInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 103 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/logic/mm_search.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn print(&self, prefix: String, is_last: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flood_fill_heuristic` is never used [INFO] [stdout] --> src/logic/simple.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl SimpleBoard { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | fn flood_fill_heuristic(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collision_with_body` is never used [INFO] [stdout] --> src/logic/simple.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 495 | impl SimpleSnake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 557 | fn collision_with_body(&self, movement: Movement) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct GameInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 103 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/logic/mm_search.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn print(&self, prefix: String, is_last: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flood_fill_heuristic` is never used [INFO] [stdout] --> src/logic/simple.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl SimpleBoard { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | fn flood_fill_heuristic(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collision_with_body` is never used [INFO] [stdout] --> src/logic/simple.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 495 | impl SimpleSnake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 557 | fn collision_with_body(&self, movement: Movement) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.75s [INFO] running `Command { std: "docker" "inspect" "c01abbaa45aad7bd824a133fa6811f1628c34d27c49155161eead1cef451c950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01abbaa45aad7bd824a133fa6811f1628c34d27c49155161eead1cef451c950", kill_on_drop: false }` [INFO] [stdout] c01abbaa45aad7bd824a133fa6811f1628c34d27c49155161eead1cef451c950