[INFO] updating cached repository https://github.com/csauve/slughorn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4c82f2f4169ca156b13d7053117a55db419f54 [INFO] testing csauve/slughorn against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 712571d7481086b08c754cb8df0cbf2a376fdc0be89e106b0df25864065244d0 [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" "712571d7481086b08c754cb8df0cbf2a376fdc0be89e106b0df25864065244d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "712571d7481086b08c754cb8df0cbf2a376fdc0be89e106b0df25864065244d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712571d7481086b08c754cb8df0cbf2a376fdc0be89e106b0df25864065244d0", kill_on_drop: false }` [INFO] [stdout] 712571d7481086b08c754cb8df0cbf2a376fdc0be89e106b0df25864065244d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] d214ad950d6e309a98155e3de31b3c4b0cc67adf989e5d2f7b10c52811dbaf60 [INFO] running `Command { std: "docker" "start" "-a" "d214ad950d6e309a98155e3de31b3c4b0cc67adf989e5d2f7b10c52811dbaf60", 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 autocfg v0.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling httparse v1.3.4 [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 try-lock v0.2.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [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 v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [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 crossbeam-queue v0.2.1 [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 rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [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 http-body v0.3.1 [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 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 futures-util v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "d214ad950d6e309a98155e3de31b3c4b0cc67adf989e5d2f7b10c52811dbaf60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d214ad950d6e309a98155e3de31b3c4b0cc67adf989e5d2f7b10c52811dbaf60", kill_on_drop: false }` [INFO] [stdout] d214ad950d6e309a98155e3de31b3c4b0cc67adf989e5d2f7b10c52811dbaf60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e18d90467ab4868501943fe46839febbc06d4c1050d279e8e0f4619047d6a31 [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" "7e18d90467ab4868501943fe46839febbc06d4c1050d279e8e0f4619047d6a31", 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.99s [INFO] running `Command { std: "docker" "inspect" "7e18d90467ab4868501943fe46839febbc06d4c1050d279e8e0f4619047d6a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e18d90467ab4868501943fe46839febbc06d4c1050d279e8e0f4619047d6a31", kill_on_drop: false }` [INFO] [stdout] 7e18d90467ab4868501943fe46839febbc06d4c1050d279e8e0f4619047d6a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] f4d8860d4067ecabe6211b27bede5d6e5ee7cb6f112edaa0c3fb3ee3cda8c888 [INFO] running `Command { std: "docker" "start" "-a" "f4d8860d4067ecabe6211b27bede5d6e5ee7cb6f112edaa0c3fb3ee3cda8c888", 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: 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: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bookworm-435332441fd9e906 [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test api::tests::test_parse_basic ... ok [INFO] [stdout] test game::board::tests::test_advance ... ok [INFO] [stdout] test game::board::tests::test_from_api_basic ... ok [INFO] [stdout] test brain::tests::test_avoid_starvation ... ok [INFO] [stdout] test game::board::tests::test_you_die ... 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 brain::tests::test_trap_enemy ... ok [INFO] [stdout] test game::offset::tests::test_offset_ops ... ok [INFO] [stdout] test brain::tests::test_enemy_already_trapped ... ok [INFO] [stdout] test game::path::tests::test_length ... ok [INFO] [stdout] test game::board::tests::test_from_api_official ... ok [INFO] [stdout] test game::path::tests::test_new_basic ... ok [INFO] [stdout] test game::path::tests::test_slide ... ok [INFO] [stdout] test game::snake::tests::test_from_api_ok ... ok [INFO] [stdout] test game::path::tests::test_extend ... ok [INFO] [stdout] test game::snake::tests::test_snake_body ... ok [INFO] [stdout] test util::tests::test ... ok [INFO] [stdout] test brain::tests::test_lookahead_basic ... ok [INFO] [stdout] test brain::tests::test_lookahead_best_dead_end ... ok [INFO] [stdout] test game::path::tests::test_start_end ... ok [INFO] [stdout] test game::path::tests::test_pop ... ok [INFO] [stdout] test brain::tests::test_lookahead_avoid_dead_end ... ok [INFO] [stdout] test brain::tests::test_almost_trapped ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death2 ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death ... ok [INFO] [stdout] test brain::tests::test_avoid_trap_opportunity ... 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: 0x5605b048b6d5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5605b048b6d5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5605b048b6d5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5605b048b6d5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5605b04b432c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5605b038ce55 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5605b0485c11 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5605b048de40 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5605b048de40 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5605b048de40 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5605b048db3a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5605b048e483 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5605b048e07b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5605b048dfeb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x5605b03344b1 - bookworm::brain::tests::test_facing_self::h1210f320c088b224 [INFO] [stdout] at src/brain.rs:241 [INFO] [stdout] 15: 0x5605b033427a - bookworm::brain::tests::test_facing_self::{{closure}}::h560a20bf2f82ce32 [INFO] [stdout] at src/brain.rs:239 [INFO] [stdout] 16: 0x5605b036240e - core::ops::function::FnOnce::call_once::hc30d08c8a883097c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x5605b03b43cc - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x5605b03b43cc - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x5605b03b43cc - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x5605b03b43cc - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x5605b03b43cc - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x5605b03b43cc - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x5605b03b43cc - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5605b038c346 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5605b0391335 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5605b0391335 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5605b0391335 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x5605b0391335 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x5605b0391335 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5605b0391335 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5605b0391335 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x5605b049477a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x5605b049477a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5605b049477a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7facc8b89609 - start_thread [INFO] [stdout] 36: 0x7facc8a95103 - __clone [INFO] [stdout] 37: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bookworm' [INFO] running `Command { std: "docker" "inspect" "f4d8860d4067ecabe6211b27bede5d6e5ee7cb6f112edaa0c3fb3ee3cda8c888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4d8860d4067ecabe6211b27bede5d6e5ee7cb6f112edaa0c3fb3ee3cda8c888", kill_on_drop: false }` [INFO] [stdout] f4d8860d4067ecabe6211b27bede5d6e5ee7cb6f112edaa0c3fb3ee3cda8c888