[INFO] cloning repository https://github.com/csauve/slughorn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csauve/slughorn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4c82f2f4169ca156b13d7053117a55db419f54 [INFO] testing csauve/slughorn against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/csauve/slughorn [INFO] finished tweaking git repo https://github.com/csauve/slughorn [INFO] tweaked toml for git repo https://github.com/csauve/slughorn written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/csauve/slughorn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61e694f86ad90028a1d5dbf13637985ffccf8f1efb65edb92075325afcf42920 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61e694f86ad90028a1d5dbf13637985ffccf8f1efb65edb92075325afcf42920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61e694f86ad90028a1d5dbf13637985ffccf8f1efb65edb92075325afcf42920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e694f86ad90028a1d5dbf13637985ffccf8f1efb65edb92075325afcf42920", kill_on_drop: false }` [INFO] [stdout] 61e694f86ad90028a1d5dbf13637985ffccf8f1efb65edb92075325afcf42920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dfa6050102eef76808a41672779894f6159bdaa6ea3a124d8c46e0548bb5876 [INFO] running `Command { std: "docker" "start" "-a" "3dfa6050102eef76808a41672779894f6159bdaa6ea3a124d8c46e0548bb5876", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling bookworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `linear` [INFO] [stdout] --> src/game/offset.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn linear(self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/game/offset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn abs(&self) -> Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/path.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Path { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/game/path.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_bounds(&self) -> Option<(Coord, Coord)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `slide_end` [INFO] [stdout] --> src/game/path.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn slide_end(&mut self, offset: Offset) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_start` [INFO] [stdout] --> src/game/path.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pop_start(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/game/path.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn dist(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/game/path.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn end(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/game/snake.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn tail(&self) -> Coord { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_closest_snake_by_pathfind` [INFO] [stdout] --> src/game/board.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_closest_snake_by_pathfind(&self, coord: Coord) -> Option<(usize, UnitAbs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enemies` [INFO] [stdout] --> src/game/board.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn enemies(&self) -> &[Snake] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/game/board.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn area(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/host.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub id: ApiSnakeId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/host.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub config: ApiSnakeConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "3dfa6050102eef76808a41672779894f6159bdaa6ea3a124d8c46e0548bb5876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dfa6050102eef76808a41672779894f6159bdaa6ea3a124d8c46e0548bb5876", kill_on_drop: false }` [INFO] [stdout] 3dfa6050102eef76808a41672779894f6159bdaa6ea3a124d8c46e0548bb5876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e50fa9a8ce5925c9c48d547c9b6ae53e4bbb69bf15d2c7ffa1e437e41f900e5 [INFO] running `Command { std: "docker" "start" "-a" "8e50fa9a8ce5925c9c48d547c9b6ae53e4bbb69bf15d2c7ffa1e437e41f900e5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bookworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/game/offset.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn abs(&self) -> Offset { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/path.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Path { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/game/path.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_bounds(&self) -> Option<(Coord, Coord)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_closest_snake_by_pathfind` [INFO] [stdout] --> src/game/board.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn get_closest_snake_by_pathfind(&self, coord: Coord) -> Option<(usize, UnitAbs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/game/board.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn area(&self) -> UnitAbs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/host.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub id: ApiSnakeId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `config` [INFO] [stdout] --> src/host.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub config: ApiSnakeConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_head_to_head_kill` [INFO] [stdout] --> src/brain.rs:356:8 [INFO] [stdout] | [INFO] [stdout] 356 | fn test_head_to_head_kill() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.49s [INFO] running `Command { std: "docker" "inspect" "8e50fa9a8ce5925c9c48d547c9b6ae53e4bbb69bf15d2c7ffa1e437e41f900e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e50fa9a8ce5925c9c48d547c9b6ae53e4bbb69bf15d2c7ffa1e437e41f900e5", kill_on_drop: false }` [INFO] [stdout] 8e50fa9a8ce5925c9c48d547c9b6ae53e4bbb69bf15d2c7ffa1e437e41f900e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cffad5b53de8f9b3fa18c3ec611952075e2b894d401ce1c99cec28d681c9938c [INFO] running `Command { std: "docker" "start" "-a" "cffad5b53de8f9b3fa18c3ec611952075e2b894d401ce1c99cec28d681c9938c", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: associated function is never used: `abs` [INFO] [stdout] running 34 tests [INFO] [stderr] --> src/game/offset.rs:67:12 [INFO] [stdout] test api::tests::test_parse_basic ... ok [INFO] [stderr] | [INFO] [stdout] test game::board::tests::test_from_api_basic ... ok [INFO] [stderr] 67 | pub fn abs(&self) -> Offset { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game/path.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new() -> Path { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_bounds` [INFO] [stderr] --> src/game/path.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn get_bounds(&self) -> Option<(Coord, Coord)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_closest_snake_by_pathfind` [INFO] [stderr] --> src/game/board.rs:273:12 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn get_closest_snake_by_pathfind(&self, coord: Coord) -> Option<(usize, UnitAbs)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `area` [INFO] [stderr] --> src/game/board.rs:406:12 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn area(&self) -> UnitAbs { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/host.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub id: ApiSnakeId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `config` [INFO] [stderr] --> src/host.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub config: ApiSnakeConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_head_to_head_kill` [INFO] [stderr] --> src/brain.rs:356:8 [INFO] [stderr] | [INFO] [stderr] 356 | fn test_head_to_head_kill() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bookworm` (bin "bookworm" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bookworm-c6093bb903840999) [INFO] [stdout] test brain::tests::test_almost_trapped ... ok [INFO] [stdout] test game::board::tests::test_advance ... ok [INFO] [stdout] test game::coord::tests::test_bound ... ok [INFO] [stdout] test game::coord::tests::test_coord_and_offset ... ok [INFO] [stdout] test game::coord::tests::test_coord_ops ... ok [INFO] [stdout] test game::coord::tests::test_dir_into_offset ... ok [INFO] [stdout] test game::offset::tests::test_linear ... ok [INFO] [stdout] test game::offset::tests::test_manhattan_dist ... ok [INFO] [stdout] test game::offset::tests::test_offset_ops ... ok [INFO] [stdout] test game::path::tests::test_extend ... ok [INFO] [stdout] test game::path::tests::test_new_basic ... ok [INFO] [stdout] test game::path::tests::test_length ... ok [INFO] [stdout] test game::path::tests::test_slide ... ok [INFO] [stdout] test game::path::tests::test_start_end ... ok [INFO] [stdout] test game::path::tests::test_pop ... ok [INFO] [stdout] test game::snake::tests::test_snake_body ... ok [INFO] [stdout] test game::snake::tests::test_from_api_ok ... ok [INFO] [stdout] test util::tests::test ... ok [INFO] [stdout] test game::board::tests::test_from_api_official ... ok [INFO] [stdout] test game::board::tests::test_you_die ... ok [INFO] [stdout] test brain::tests::test_lookahead_basic ... ok [INFO] [stdout] test brain::tests::test_enemy_already_trapped ... ok [INFO] [stdout] test brain::tests::test_avoid_starvation ... ok [INFO] [stdout] test brain::tests::test_lookahead_best_dead_end ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death ... ok [INFO] [stdout] test brain::tests::test_trap_enemy ... ok [INFO] [stdout] test brain::tests::test_avoid_trap_opportunity ... ok [INFO] [stdout] test brain::tests::test_lookahead_avoid_dead_end ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death2 ... ok [INFO] [stdout] test brain::tests::test_facing_wall ... ok [INFO] [stdout] test brain::tests::test_facing_other ... ok [INFO] [stdout] test brain::tests::test_facing_self ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- brain::tests::test_facing_self stdout ---- [INFO] [stdout] thread 'brain::tests::test_facing_self' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Left`, [INFO] [stdout] right: `Right`', src/brain.rs:241:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560eaa9aa97c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x560eaa9aa97c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560eaa9aa97c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x560eaa9aa97c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x560eaa9cde0c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x560eaa9a67a5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x560eaa9ac420 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x560eaa9ac420 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x560eaa9ac420 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x560eaa9ac006 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x560eaa9acad4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x560eaa9ac5b0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x560eaa9aae34 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x560eaa9ac519 - rust_begin_unwind [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x560eaa828d91 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x560eaa9cc3b8 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x560eaa84e0ca - core::panicking::assert_failed::h862c6fe1ea70559d [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panicking.rs:144:5 [INFO] [stdout] 17: 0x560eaa88d445 - bookworm::brain::tests::test_facing_self::hefca158a483cdb01 [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:241:9 [INFO] [stdout] 18: 0x560eaa88d32a - bookworm::brain::tests::test_facing_self::{{closure}}::h9a41923d2bbdc16b [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:239:5 [INFO] [stdout] 19: 0x560eaa8404be - core::ops::function::FnOnce::call_once::h44ce010dacc74a7e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x560eaa8dcbe3 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x560eaa8dcbe3 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x560eaa8db7f7 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x560eaa8db7f7 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x560eaa8db7f7 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x560eaa8db7f7 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x560eaa8db7f7 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x560eaa8db7f7 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x560eaa8db7f7 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x560eaa8a8a9e - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x560eaa8a8a9e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x560eaa8ad7f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x560eaa8ad7f8 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x560eaa8ad7f8 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x560eaa8ad7f8 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x560eaa8ad7f8 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x560eaa8ad7f8 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x560eaa8ad7f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x560eaa9b1663 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x560eaa9b1663 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x560eaa9b1663 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f5b75166609 - start_thread [INFO] [stdout] 42: 0x7f5b74f38293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] brain::tests::test_facing_self [INFO] [stdout] [INFO] [stdout] test result: FAILED. 33 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bookworm' [INFO] running `Command { std: "docker" "inspect" "cffad5b53de8f9b3fa18c3ec611952075e2b894d401ce1c99cec28d681c9938c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffad5b53de8f9b3fa18c3ec611952075e2b894d401ce1c99cec28d681c9938c", kill_on_drop: false }` [INFO] [stdout] cffad5b53de8f9b3fa18c3ec611952075e2b894d401ce1c99cec28d681c9938c