[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#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csauve/slughorn on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/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-tc1/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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.1.2 [INFO] [stderr] Downloaded bytes v0.5.3 [INFO] [stderr] Downloaded hyper v0.13.1 [INFO] [stderr] Downloaded tokio-macros v0.2.4 [INFO] [stderr] Downloaded tokio v0.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bf1d3b5c82946d37fbee6efc62e137b436f3faefbbe932e5674d2f5f28b4ee [INFO] running `Command { std: "docker" "start" "-a" "29bf1d3b5c82946d37fbee6efc62e137b436f3faefbbe932e5674d2f5f28b4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bf1d3b5c82946d37fbee6efc62e137b436f3faefbbe932e5674d2f5f28b4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bf1d3b5c82946d37fbee6efc62e137b436f3faefbbe932e5674d2f5f28b4ee", kill_on_drop: false }` [INFO] [stdout] 29bf1d3b5c82946d37fbee6efc62e137b436f3faefbbe932e5674d2f5f28b4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 635b9f430f51b23888677900fef42c5d615e891d99af922c4c65370effbe4b7f [INFO] running `Command { std: "docker" "start" "-a" "635b9f430f51b23888677900fef42c5d615e891d99af922c4c65370effbe4b7f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task 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 memoffset v0.5.3 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [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 crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.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 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 crossbeam-deque v0.7.2 [INFO] [stderr] Compiling chrono v0.4.10 [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 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 `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 24.84s [INFO] running `Command { std: "docker" "inspect" "635b9f430f51b23888677900fef42c5d615e891d99af922c4c65370effbe4b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "635b9f430f51b23888677900fef42c5d615e891d99af922c4c65370effbe4b7f", kill_on_drop: false }` [INFO] [stdout] 635b9f430f51b23888677900fef42c5d615e891d99af922c4c65370effbe4b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a0ed4cf01d7317a7dd0873b9326269c5ec55c2193fc3ac0f12ce2e10dfec99de [INFO] running `Command { std: "docker" "start" "-a" "a0ed4cf01d7317a7dd0873b9326269c5ec55c2193fc3ac0f12ce2e10dfec99de", 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.31s [INFO] running `Command { std: "docker" "inspect" "a0ed4cf01d7317a7dd0873b9326269c5ec55c2193fc3ac0f12ce2e10dfec99de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ed4cf01d7317a7dd0873b9326269c5ec55c2193fc3ac0f12ce2e10dfec99de", kill_on_drop: false }` [INFO] [stdout] a0ed4cf01d7317a7dd0873b9326269c5ec55c2193fc3ac0f12ce2e10dfec99de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 22914194b682e96c0668ca51ee6807f62bdb6b53fefde2efbd7d28375cb82cb9 [INFO] running `Command { std: "docker" "start" "-a" "22914194b682e96c0668ca51ee6807f62bdb6b53fefde2efbd7d28375cb82cb9", 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.06s [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_advance ... 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::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_dir_into_offset ... ok [INFO] [stdout] test game::coord::tests::test_coord_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::offset::tests::test_offset_ops ... ok [INFO] [stdout] test game::path::tests::test_extend ... 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 util::tests::test ... 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 brain::tests::test_almost_trapped ... ok [INFO] [stdout] test brain::tests::test_lookahead_best_dead_end ... ok [INFO] [stdout] test brain::tests::test_trap_enemy ... ok [INFO] [stdout] test brain::tests::test_enemy_already_trapped ... ok [INFO] [stdout] test brain::tests::test_facing_self ... ok [INFO] [stdout] test brain::tests::test_avoid_trap_opportunity ... ok [INFO] [stdout] test brain::tests::test_avoid_head_to_head_death ... 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_lookahead_avoid_dead_end ... ok [INFO] [stdout] test brain::tests::test_lookahead_basic ... ok [INFO] [stdout] test brain::tests::test_facing_wall ... ok [INFO] [stdout] test brain::tests::test_facing_other ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22914194b682e96c0668ca51ee6807f62bdb6b53fefde2efbd7d28375cb82cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22914194b682e96c0668ca51ee6807f62bdb6b53fefde2efbd7d28375cb82cb9", kill_on_drop: false }` [INFO] [stdout] 22914194b682e96c0668ca51ee6807f62bdb6b53fefde2efbd7d28375cb82cb9