[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", 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] 384cfc8896a21b09d3952679908ad0ef41206149f47ef5d76fabbc55a0f99658 [INFO] running `Command { std: "docker" "start" "-a" "384cfc8896a21b09d3952679908ad0ef41206149f47ef5d76fabbc55a0f99658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "384cfc8896a21b09d3952679908ad0ef41206149f47ef5d76fabbc55a0f99658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384cfc8896a21b09d3952679908ad0ef41206149f47ef5d76fabbc55a0f99658", kill_on_drop: false }` [INFO] [stdout] 384cfc8896a21b09d3952679908ad0ef41206149f47ef5d76fabbc55a0f99658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57a56c10e81d3f49c383c54b9b59e8efb908eee362ea3d47320e72b7e553a26 [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" "f57a56c10e81d3f49c383c54b9b59e8efb908eee362ea3d47320e72b7e553a26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [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 getrandom v0.1.14 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.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 12s [INFO] running `Command { std: "docker" "inspect" "f57a56c10e81d3f49c383c54b9b59e8efb908eee362ea3d47320e72b7e553a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57a56c10e81d3f49c383c54b9b59e8efb908eee362ea3d47320e72b7e553a26", kill_on_drop: false }` [INFO] [stdout] f57a56c10e81d3f49c383c54b9b59e8efb908eee362ea3d47320e72b7e553a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50ef584664ff82e44de2b5e5b74f29be2dd0729158f2ff0a7fdbcf925e47ac8f [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" "50ef584664ff82e44de2b5e5b74f29be2dd0729158f2ff0a7fdbcf925e47ac8f", kill_on_drop: false }` [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 7.59s [INFO] running `Command { std: "docker" "inspect" "50ef584664ff82e44de2b5e5b74f29be2dd0729158f2ff0a7fdbcf925e47ac8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ef584664ff82e44de2b5e5b74f29be2dd0729158f2ff0a7fdbcf925e47ac8f", kill_on_drop: false }` [INFO] [stdout] 50ef584664ff82e44de2b5e5b74f29be2dd0729158f2ff0a7fdbcf925e47ac8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 186f65afe9c59925192f8bd900a2f6733c9ce2d60a2b8b19556457018b8ff34f [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" "186f65afe9c59925192f8bd900a2f6733c9ce2d60a2b8b19556457018b8ff34f", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `abs` [INFO] [stderr] --> src/game/offset.rs:67:12 [INFO] [stderr] | [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.13s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bookworm-c6093bb903840999) [INFO] [stdout] running 34 tests [INFO] [stdout] test game::board::tests::test_advance ... ok [INFO] [stdout] test game::board::tests::test_from_api_basic ... ok [INFO] [stdout] test api::tests::test_parse_basic ... ok [INFO] [stdout] test game::board::tests::test_you_die ... ok [INFO] [stdout] test game::board::tests::test_from_api_official ... ok [INFO] [stdout] test game::coord::tests::test_coord_ops ... 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_dir_into_offset ... ok [INFO] [stdout] test brain::tests::test_enemy_already_trapped ... ok [INFO] [stdout] test brain::tests::test_trap_enemy ... ok [INFO] [stdout] test game::offset::tests::test_offset_ops ... ok [INFO] [stdout] test game::offset::tests::test_linear ... ok [INFO] [stdout] test game::offset::tests::test_manhattan_dist ... 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_new_basic ... ok [INFO] [stdout] test game::path::tests::test_pop ... ok [INFO] [stdout] test game::path::tests::test_length ... ok [INFO] [stdout] test brain::tests::test_avoid_starvation ... ok [INFO] [stdout] test brain::tests::test_almost_trapped ... ok [INFO] [stdout] test brain::tests::test_lookahead_basic ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death2 ... ok [INFO] [stdout] test brain::tests::test_lookahead_avoid_dead_end ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death ... ok [INFO] [stdout] test game::snake::tests::test_from_api_ok ... ok [INFO] [stdout] test game::path::tests::test_extend ... ok [INFO] [stdout] test brain::tests::test_avoid_trap_opportunity ... ok [INFO] [stdout] test brain::tests::test_lookahead_best_dead_end ... ok [INFO] [stdout] test util::tests::test ... ok [INFO] [stdout] test game::snake::tests::test_snake_body ... ok [INFO] [stdout] test brain::tests::test_facing_other ... ok [INFO] [stdout] test brain::tests::test_facing_wall ... 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: 0x5563e29ba5ac - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5563e29ba5ac - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5563e29ba5ac - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5563e29ba5ac - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5563e29dd76c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5563e29b6365 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5563e29bc050 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5563e29bc050 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5563e29bc050 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5563e29bbc36 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5563e29bc704 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5563e29bc1e0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5563e29baa64 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5563e29bc149 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5563e2838d91 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5563e29dbd18 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x5563e285e06a - core::panicking::assert_failed::h862c6fe1ea70559d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5563e28a9c25 - bookworm::brain::tests::test_facing_self::hefca158a483cdb01 [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:241:9 [INFO] [stdout] 18: 0x5563e28a9b0a - bookworm::brain::tests::test_facing_self::{{closure}}::h59a37d716000278c [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:239:5 [INFO] [stdout] 19: 0x5563e28504de - core::ops::function::FnOnce::call_once::h44ce010dacc74a7e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5563e28ec933 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5563e28ec933 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x5563e28eb4c7 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x5563e28eb4c7 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5563e28eb4c7 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x5563e28eb4c7 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x5563e28eb4c7 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x5563e28eb4c7 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x5563e28eb4c7 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x5563e28b880e - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x5563e28b880e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x5563e28bd638 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x5563e28bd638 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5563e28bd638 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x5563e28bd638 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x5563e28bd638 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x5563e28bd638 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x5563e28bd638 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5563e29c1293 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x5563e29c1293 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5563e29c1293 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f448290c609 - start_thread [INFO] [stdout] 42: 0x7f44826de293 - 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.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bookworm' [INFO] running `Command { std: "docker" "inspect" "186f65afe9c59925192f8bd900a2f6733c9ce2d60a2b8b19556457018b8ff34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186f65afe9c59925192f8bd900a2f6733c9ce2d60a2b8b19556457018b8ff34f", kill_on_drop: false }` [INFO] [stdout] 186f65afe9c59925192f8bd900a2f6733c9ce2d60a2b8b19556457018b8ff34f