[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#a40ec913238f4f188d97c41aa605cb486451acf2+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsauve%2Fslughorn" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn on toolchain a40ec913238f4f188d97c41aa605cb486451acf2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457049f47596f3c63ff6d65a9362d537014dcaa5d9d811908899ad87fa2aaf70 [INFO] running `Command { std: "docker" "start" "-a" "457049f47596f3c63ff6d65a9362d537014dcaa5d9d811908899ad87fa2aaf70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457049f47596f3c63ff6d65a9362d537014dcaa5d9d811908899ad87fa2aaf70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457049f47596f3c63ff6d65a9362d537014dcaa5d9d811908899ad87fa2aaf70", kill_on_drop: false }` [INFO] [stdout] 457049f47596f3c63ff6d65a9362d537014dcaa5d9d811908899ad87fa2aaf70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf48e5da78f004526665f250bb12e1e34d20eb18582b1e9c2587ff565a31b24d [INFO] running `Command { std: "docker" "start" "-a" "bf48e5da78f004526665f250bb12e1e34d20eb18582b1e9c2587ff565a31b24d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [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 futures-task v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling tower-service v0.3.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 uuid v0.8.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [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 `linear` is never used [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 `abs` is never used [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 `new` is never used [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 `get_bounds` is never used [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 `slide_end` is never used [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 `pop_start` is never used [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 `dist` is never used [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 `end` is never used [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 `tail` is never used [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 `get_closest_snake_by_pathfind` is never used [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 `enemies` is never used [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 `area` is never used [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: fields `id` and `config` are never read [INFO] [stdout] --> src/host.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct LiveSnake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub id: ApiSnakeId, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub addr: String, [INFO] [stdout] 18 | pub config: ApiSnakeConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveSnake` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.74s [INFO] running `Command { std: "docker" "inspect" "bf48e5da78f004526665f250bb12e1e34d20eb18582b1e9c2587ff565a31b24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf48e5da78f004526665f250bb12e1e34d20eb18582b1e9c2587ff565a31b24d", kill_on_drop: false }` [INFO] [stdout] bf48e5da78f004526665f250bb12e1e34d20eb18582b1e9c2587ff565a31b24d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bbc50dc597159ec09bdbda42b0260f87609ac43bf68faebf2e1ac5be5840390b [INFO] running `Command { std: "docker" "start" "-a" "bbc50dc597159ec09bdbda42b0260f87609ac43bf68faebf2e1ac5be5840390b", kill_on_drop: false }` [INFO] [stderr] Compiling bookworm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `abs` is never used [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 `new` is never used [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 `get_bounds` is never used [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 `get_closest_snake_by_pathfind` is never used [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 `area` is never used [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: fields `id` and `config` are never read [INFO] [stdout] --> src/host.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct LiveSnake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 16 | pub id: ApiSnakeId, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub addr: String, [INFO] [stdout] 18 | pub config: ApiSnakeConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiveSnake` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_head_to_head_kill` is never used [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "bbc50dc597159ec09bdbda42b0260f87609ac43bf68faebf2e1ac5be5840390b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc50dc597159ec09bdbda42b0260f87609ac43bf68faebf2e1ac5be5840390b", kill_on_drop: false }` [INFO] [stdout] bbc50dc597159ec09bdbda42b0260f87609ac43bf68faebf2e1ac5be5840390b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 174a8b6269684bdbc659e18e8fa920ef3721b40de251e18f44d158a6b40b25f9 [INFO] running `Command { std: "docker" "start" "-a" "174a8b6269684bdbc659e18e8fa920ef3721b40de251e18f44d158a6b40b25f9", kill_on_drop: false }` [INFO] [stderr] warning: associated function `abs` is never used [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 `new` is never used [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 `get_bounds` is never used [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 `get_closest_snake_by_pathfind` is never used [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 `area` is never used [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: fields `id` and `config` are never read [INFO] [stderr] --> src/host.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | struct LiveSnake { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 16 | pub id: ApiSnakeId, [INFO] [stderr] | ^^ [INFO] [stderr] 17 | pub addr: String, [INFO] [stderr] 18 | pub config: ApiSnakeConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiveSnake` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `test_head_to_head_kill` is never used [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 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/bookworm-f09ee30044f76df3) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test api::tests::test_parse_basic ... ok [INFO] [stdout] test game::board::tests::test_from_api_basic ... ok [INFO] [stdout] test game::board::tests::test_from_api_official ... ok [INFO] [stdout] test game::coord::tests::test_bound ... ok [INFO] [stdout] test game::board::tests::test_advance ... ok [INFO] [stdout] test game::board::tests::test_you_die ... ok [INFO] [stdout] test game::coord::tests::test_coord_ops ... ok [INFO] [stdout] test game::coord::tests::test_coord_and_offset ... 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::offset::tests::test_linear ... ok [INFO] [stdout] test game::coord::tests::test_dir_into_offset ... ok [INFO] [stdout] test game::path::tests::test_length ... 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_slide ... ok [INFO] [stdout] test game::path::tests::test_start_end ... ok [INFO] [stdout] test game::snake::tests::test_snake_body ... ok [INFO] [stdout] test util::tests::test ... ok [INFO] [stdout] test game::snake::tests::test_from_api_ok ... ok [INFO] [stdout] test brain::tests::test_almost_trapped ... ok [INFO] [stdout] test brain::tests::test_lookahead_best_dead_end ... ok [INFO] [stdout] test brain::tests::test_enemy_already_trapped ... ok [INFO] [stdout] test brain::tests::test_lookahead_basic ... ok [INFO] [stdout] test brain::tests::test_facing_self ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death2 ... ok [INFO] [stdout] test brain::tests::test_avoid_starvation ... 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_trap_enemy ... 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_lookahead_avoid_dead_end ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- brain::tests::test_lookahead_avoid_dead_end stdout ---- [INFO] [stdout] thread 'brain::tests::test_lookahead_avoid_dead_end' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Right`, [INFO] [stdout] right: `Up`', src/brain.rs:292:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x8197881 - std::backtrace_rs::backtrace::libunwind::trace::h104fa452555c99d8 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x8197881 - std::backtrace_rs::backtrace::trace_unsynchronized::h0a8252d88f024747 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x8197881 - std::sys_common::backtrace::_print_fmt::h5cd63a03c21f7741 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x8197881 - ::fmt::hbd8d931cffed74c6 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x81d61bc - core::fmt::write::hf9516172e71ddf40 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x8194f6b - std::io::Write::write_fmt::hdf04330b9e16e0c0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x8197686 - std::sys_common::backtrace::_print::hb81277fe50a8d899 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x8197686 - std::sys_common::backtrace::print::ha87c182f636b8daf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x8199265 - std::panicking::default_hook::{{closure}}::he705de5c2afaeb86 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x8198f65 - std::panicking::default_hook::h18d980bdf65e921f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x8176f8c - core::ops::function::Fn::call::h352171db07b38cc9 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:79:5 [INFO] [stdout] 11: 0x80f0ae9 - as core::ops::function::Fn>::call::h087b52e51e83fc8e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 12: 0x80f0ae9 - test::test_main::{{closure}}::hb854e86f34352ae6 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x81999a1 - as core::ops::function::Fn>::call::h843cec44e0c3e0b1 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 14: 0x81999a1 - std::panicking::rust_panic_with_hook::he61419fbe644c5af [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x819975c - std::panicking::begin_panic_handler::{{closure}}::h2a512cdc056f1e5c [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x8197cfa - std::sys_common::backtrace::__rust_end_short_backtrace::h00cf281ca60df1fa [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x8199433 - rust_begin_unwind [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c670 - core::panicking::panic_fmt::h5fe5ec922118750e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x804c9eb - core::panicking::assert_failed_inner::hf44341f56f20e308 [INFO] [stdout] 20: 0x8074abd - core::panicking::assert_failed::h6cc7e24732f03323 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panicking.rs:212:5 [INFO] [stdout] 21: 0x80aad1c - bookworm::brain::tests::test_lookahead_avoid_dead_end::h44f69a7d06e9b0b2 [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:292:9 [INFO] [stdout] 22: 0x80aab67 - bookworm::brain::tests::test_lookahead_avoid_dead_end::{{closure}}::hdf9bd84224741276 [INFO] [stdout] at /opt/rustwide/workdir/src/brain.rs:290:40 [INFO] [stdout] 23: 0x806c7dd - core::ops::function::FnOnce::call_once::h3edffae88c5385eb [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x80f553e - core::ops::function::FnOnce::call_once::h91d0dfda8bb9938e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x80f553e - test::__rust_begin_short_backtrace::h1b678021c2c7c382 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:656:18 [INFO] [stdout] 26: 0x80c9070 - test::run_test::{{closure}}::h0608bfc5582d1472 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:647:30 [INFO] [stdout] 27: 0x80c9070 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0171ab92c79d505a [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x80f46b7 - as core::ops::function::FnOnce>::call_once::h44bb5e1b0b78658f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 29: 0x80f46b7 - as core::ops::function::FnOnce<()>>::call_once::hf14b9bc9243bc6b0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x80f46b7 - std::panicking::try::do_call::h2614ccc7313d3f7f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x80f46b7 - std::panicking::try::h9ae839d4ad9722f8 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x80f46b7 - std::panic::catch_unwind::hc1cb34e922e62e51 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panic.rs:140:14 [INFO] [stdout] 33: 0x80f46b7 - test::run_test_in_process::he32539bd91b43aae [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:679:27 [INFO] [stdout] 34: 0x80f46b7 - test::run_test::run_test_inner::{{closure}}::h251e49a2e77c04ae [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:573:39 [INFO] [stdout] 35: 0x80c39fa - test::run_test::run_test_inner::{{closure}}::h8efa48cfafca95a9 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:600:37 [INFO] [stdout] 36: 0x80c39fa - std::sys_common::backtrace::__rust_begin_short_backtrace::hd8d1cab504dcff1d [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x80c936b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6b7049d1c34b0ebf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 38: 0x80c936b - as core::ops::function::FnOnce<()>>::call_once::h851a140381089cab [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x80c936b - std::panicking::try::do_call::hd62be527b2c88583 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x80c936b - std::panicking::try::h224f4be6bf8f39b0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x80c936b - std::panic::catch_unwind::he51e6d58f5cc977e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panic.rs:140:14 [INFO] [stdout] 42: 0x80c936b - std::thread::Builder::spawn_unchecked_::{{closure}}::hdeb5cc8debe6cfbf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x80c936b - core::ops::function::FnOnce::call_once{{vtable.shim}}::h37aeaa4cf4078e37 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x819d96d - as core::ops::function::FnOnce>::call_once::hbcf52fd66176976e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x819d96d - as core::ops::function::FnOnce>::call_once::h5505c14554e15331 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 46: 0x819d96d - std::sys::unix::thread::Thread::new::thread_start::h6464f27a12864ff1 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] brain::tests::test_lookahead_avoid_dead_end [INFO] [stdout] [INFO] [stdout] test result: FAILED. 33 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bookworm` [INFO] running `Command { std: "docker" "inspect" "174a8b6269684bdbc659e18e8fa920ef3721b40de251e18f44d158a6b40b25f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "174a8b6269684bdbc659e18e8fa920ef3721b40de251e18f44d158a6b40b25f9", kill_on_drop: false }` [INFO] [stdout] 174a8b6269684bdbc659e18e8fa920ef3721b40de251e18f44d158a6b40b25f9