[INFO] cloning repository https://github.com/JonasAgger/battle_snek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonasAgger/battle_snek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasAgger%2Fbattle_snek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasAgger%2Fbattle_snek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3edd1cac755eb83d233d3c5e40f0f757e29c32d7 [INFO] building JonasAgger/battle_snek against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasAgger%2Fbattle_snek" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonasAgger/battle_snek on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] finished tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] tweaked toml for git repo https://github.com/JonasAgger/battle_snek written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JonasAgger/battle_snek 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building JonasAgger/battle_snek against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasAgger%2Fbattle_snek" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonasAgger/battle_snek on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] finished tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] tweaked toml for git repo https://github.com/JonasAgger/battle_snek written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JonasAgger/battle_snek 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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building JonasAgger/battle_snek against try#7587ff3622fbec0abf6ac551eab5226f22f5d958 for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonasAgger%2Fbattle_snek" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JonasAgger/battle_snek on toolchain 7587ff3622fbec0abf6ac551eab5226f22f5d958 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] finished tweaking git repo https://github.com/JonasAgger/battle_snek [INFO] tweaked toml for git repo https://github.com/JonasAgger/battle_snek written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JonasAgger/battle_snek 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" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ac3fc98df14ebded6f3fd1462ff44d1cc8bec3b8aee468dee4b43be2ff72313 [INFO] running `Command { std: "docker" "start" "-a" "5ac3fc98df14ebded6f3fd1462ff44d1cc8bec3b8aee468dee4b43be2ff72313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ac3fc98df14ebded6f3fd1462ff44d1cc8bec3b8aee468dee4b43be2ff72313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac3fc98df14ebded6f3fd1462ff44d1cc8bec3b8aee468dee4b43be2ff72313", kill_on_drop: false }` [INFO] [stdout] 5ac3fc98df14ebded6f3fd1462ff44d1cc8bec3b8aee468dee4b43be2ff72313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b068e040035ea2ed9aedc6f018dbcf61add0841ee0397aad400dcba1291539a4 [INFO] running `Command { std: "docker" "start" "-a" "b068e040035ea2ed9aedc6f018dbcf61add0841ee0397aad400dcba1291539a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling battle_mulle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `budget` [INFO] [stdout] --> src/logic/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let budget = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_budget` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimax_impl` is never used [INFO] [stdout] --> src/logic/minimax.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn minimax_impl( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.60s [INFO] running `Command { std: "docker" "inspect" "b068e040035ea2ed9aedc6f018dbcf61add0841ee0397aad400dcba1291539a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b068e040035ea2ed9aedc6f018dbcf61add0841ee0397aad400dcba1291539a4", kill_on_drop: false }` [INFO] [stdout] b068e040035ea2ed9aedc6f018dbcf61add0841ee0397aad400dcba1291539a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+7587ff3622fbec0abf6ac551eab5226f22f5d958" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4b73817e807891db6ee77a0de25278660ff605ce6623db6117a2267c59da0a5 [INFO] running `Command { std: "docker" "start" "-a" "d4b73817e807891db6ee77a0de25278660ff605ce6623db6117a2267c59da0a5", kill_on_drop: false }` [INFO] [stderr] Compiling battle_mulle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Snake` in this scope [INFO] [stdout] --> src/logic/minimax.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | let mut snake: Snake = vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Snake; [INFO] [stdout] | [INFO] [stdout] 211 + use crate::snake::Snake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | Point { x: 3, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | Point { x: 3, y: 2 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | Point { x: 3, y: 3 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let food = vec![Point { x: 0, y: 1 }]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | let h = snake.push_head(Point { x: 2, y: 1 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | snake.push_head(Point { x: 3, y: 0 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | snake.push_head(Point { x: 4, y: 1 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Snake` in this scope [INFO] [stdout] --> src/logic/minimax.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | let mut snake: Snake = vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Snake; [INFO] [stdout] | [INFO] [stdout] 211 + use crate::snake::Snake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Point { x: 4, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Point { x: 3, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | Point { x: 3, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let food = vec![Point { x: 2, y: 0 }]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:271:33 [INFO] [stdout] | [INFO] [stdout] 271 | let h = snake.push_head(Point { x: 4, y: 0 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | snake.push_head(Point { x: 4, y: 2 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Snake` in this scope [INFO] [stdout] --> src/logic/minimax.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | let mut snake: Snake = vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Snake; [INFO] [stdout] | [INFO] [stdout] 211 + use crate::snake::Snake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | Point { x: 4, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | Point { x: 3, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Point { x: 3, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | let food = vec![Point { x: 2, y: 0 }]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:312:33 [INFO] [stdout] | [INFO] [stdout] 312 | let h = snake.push_head(Point { x: 4, y: 0 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:316:25 [INFO] [stdout] | [INFO] [stdout] 316 | snake.push_head(Point { x: 4, y: 2 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Snake` in this scope [INFO] [stdout] --> src/logic/minimax.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | let mut snake: Snake = vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Snake; [INFO] [stdout] | [INFO] [stdout] 211 + use crate::snake::Snake; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | Point { x: 4, y: 2 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | Point { x: 3, y: 2 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | Point { x: 3, y: 1 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | Point { x: 3, y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let food = vec![Point { x: 2, y: 1 }]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | let h = snake.push_head(Point { x: 4, y: 1 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/logic/minimax.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | snake.push_head(Point { x: 4, y: 3 }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 211 + use crate::requests::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | let min_left = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 236 - let min_left = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] 236 + let min_left = minimax::<0, 5, 5>(&mut snake); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let min_down = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 240 - let min_down = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] 240 + let min_down = minimax::<0, 5, 5>(&mut snake); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | let min_right = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 244 - let min_right = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] 244 + let min_right = minimax::<0, 5, 5>(&mut snake); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | let min_down = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 272 - let min_down = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] 272 + let min_down = minimax::<0, 5, 5>(&mut snake); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | let min_up = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 276 - let min_up = minimax::<0, 5, 5>(&mut snake, &food, 0); [INFO] [stdout] 276 + let min_up = minimax::<0, 5, 5>(&mut snake); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:313:55 [INFO] [stdout] | [INFO] [stdout] 313 | let min_down = info_span!("down").in_scope(|| minimax::<1, 5, 5>(&mut snake, &food, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 313 - let min_down = info_span!("down").in_scope(|| minimax::<1, 5, 5>(&mut snake, &food, 1)); [INFO] [stdout] 313 + let min_down = info_span!("down").in_scope(|| minimax::<1, 5, 5>(&mut snake)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:317:51 [INFO] [stdout] | [INFO] [stdout] 317 | let min_up = info_span!("up").in_scope(|| minimax::<1, 5, 5>(&mut snake, &food, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 317 - let min_up = info_span!("up").in_scope(|| minimax::<1, 5, 5>(&mut snake, &food, 1)); [INFO] [stdout] 317 + let min_up = info_span!("up").in_scope(|| minimax::<1, 5, 5>(&mut snake)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:356:55 [INFO] [stdout] | [INFO] [stdout] 356 | let min_down = info_span!("down").in_scope(|| minimax::<2, 5, 5>(&mut snake, &food, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 356 - let min_down = info_span!("down").in_scope(|| minimax::<2, 5, 5>(&mut snake, &food, 2)); [INFO] [stdout] 356 + let min_down = info_span!("down").in_scope(|| minimax::<2, 5, 5>(&mut snake)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 3 arguments were supplied [INFO] [stdout] --> src/logic/minimax.rs:360:51 [INFO] [stdout] | [INFO] [stdout] 360 | let min_up = info_span!("up").in_scope(|| minimax::<2, 5, 5>(&mut snake, &food, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- - unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #2 of type `&Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/logic/minimax.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn minimax(state: &mut State) -> isize { [INFO] [stdout] | ^^^^^^^ ----------------- [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 360 - let min_up = info_span!("up").in_scope(|| minimax::<2, 5, 5>(&mut snake, &food, 2)); [INFO] [stdout] 360 + let min_up = info_span!("up").in_scope(|| minimax::<2, 5, 5>(&mut snake)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `budget` [INFO] [stdout] --> src/logic/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let budget = Instant::now(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_budget` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `battle_mulle` (bin "battle_mulle" test) due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d4b73817e807891db6ee77a0de25278660ff605ce6623db6117a2267c59da0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b73817e807891db6ee77a0de25278660ff605ce6623db6117a2267c59da0a5", kill_on_drop: false }` [INFO] [stdout] d4b73817e807891db6ee77a0de25278660ff605ce6623db6117a2267c59da0a5