[INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/justinwash/R-COM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinwash/R-COM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20e4477bf9e3e251853237a6b8e8d46417512473 [INFO] building justinwash/R-COM against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinwash%2FR-COM" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justinwash/R-COM on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/justinwash/R-COM [INFO] finished tweaking git repo https://github.com/justinwash/R-COM [INFO] tweaked toml for git repo https://github.com/justinwash/R-COM written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/justinwash/R-COM 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_terminal v0.2.6 [INFO] [stderr] Downloaded crossterm_input v0.3.9 [INFO] [stderr] Downloaded crossterm_screen v0.2.5 [INFO] [stderr] Downloaded crossterm_utils v0.2.4 [INFO] [stderr] Downloaded crossterm_style v0.4.1 [INFO] [stderr] Downloaded crossterm_cursor v0.2.6 [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded crossterm v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 726361c70b011b70c50329bd479299df26265554275e0a12f740e45709adb9ac [INFO] running `Command { std: "docker" "start" "-a" "726361c70b011b70c50329bd479299df26265554275e0a12f740e45709adb9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "726361c70b011b70c50329bd479299df26265554275e0a12f740e45709adb9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726361c70b011b70c50329bd479299df26265554275e0a12f740e45709adb9ac", kill_on_drop: false }` [INFO] [stdout] 726361c70b011b70c50329bd479299df26265554275e0a12f740e45709adb9ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc7f552c1807b3f2d4e6dbdc04725a57bb156c9781e6540a3cbe3dcfaf16a17 [INFO] running `Command { std: "docker" "start" "-a" "edc7f552c1807b3f2d4e6dbdc04725a57bb156c9781e6540a3cbe3dcfaf16a17", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling crossterm_utils v0.2.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossterm_cursor v0.2.6 [INFO] [stderr] Compiling crossterm_screen v0.2.5 [INFO] [stderr] Compiling crossterm_style v0.4.1 [INFO] [stderr] Compiling crossterm_input v0.3.9 [INFO] [stderr] Compiling crossterm_terminal v0.2.6 [INFO] [stderr] Compiling crossterm v0.10.2 [INFO] [stderr] Compiling r-com v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Soldier` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use soldier::{ Soldier }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use utilities::{ Position }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear_details` [INFO] [stdout] --> src/main.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | use ui::{ init_ui, draw_details, clear_details }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/cursor.rs:43:69 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn cursor_goto(mut cursor: TerminalCursor, origin: &(u16, u16), destination: Position) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hp` is never read [INFO] [stdout] --> src/soldier.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Soldier { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] 5 | pub hp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Deploy`, `EnemyTurn`, and `Action` are never constructed [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Deploy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | EnemyTurn, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Select(Select), [INFO] [stdout] 5 | Action(Action), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Terrain`, `Object`, `Enemy`, and `Soldier` are never constructed [INFO] [stdout] --> src/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Select { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 9 | None, [INFO] [stdout] 10 | Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Soldier [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | Move, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Fire, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Sprint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | UseItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | HunkerDown, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | Reload, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | ChangeWeapon [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_details` is never used [INFO] [stdout] --> src/ui.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn clear_details(initial_position: &Position) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cursor_goto` is never used [INFO] [stdout] --> src/cursor.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn cursor_goto(mut cursor: TerminalCursor, origin: &(u16, u16), destination: Position) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "edc7f552c1807b3f2d4e6dbdc04725a57bb156c9781e6540a3cbe3dcfaf16a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc7f552c1807b3f2d4e6dbdc04725a57bb156c9781e6540a3cbe3dcfaf16a17", kill_on_drop: false }` [INFO] [stdout] edc7f552c1807b3f2d4e6dbdc04725a57bb156c9781e6540a3cbe3dcfaf16a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40c63ed70c34835d1f7646901c2bf29f093c215045664507fad800a66cc3b89d [INFO] running `Command { std: "docker" "start" "-a" "40c63ed70c34835d1f7646901c2bf29f093c215045664507fad800a66cc3b89d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling r-com v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Soldier` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use soldier::{ Soldier }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/main.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use utilities::{ Position }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear_details` [INFO] [stdout] --> src/main.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | use ui::{ init_ui, draw_details, clear_details }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/cursor.rs:43:69 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn cursor_goto(mut cursor: TerminalCursor, origin: &(u16, u16), destination: Position) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hp` is never read [INFO] [stdout] --> src/soldier.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Soldier { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub name: String, [INFO] [stdout] 5 | pub hp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Deploy`, `EnemyTurn`, and `Action` are never constructed [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 2 | Deploy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | EnemyTurn, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | Select(Select), [INFO] [stdout] 5 | Action(Action), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Terrain`, `Object`, `Enemy`, and `Soldier` are never constructed [INFO] [stdout] --> src/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Select { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 9 | None, [INFO] [stdout] 10 | Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Enemy, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Soldier [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Action { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | Move, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Fire, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | Sprint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | UseItem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | HunkerDown, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | Reload, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | ChangeWeapon [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_details` is never used [INFO] [stdout] --> src/ui.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn clear_details(initial_position: &Position) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cursor_goto` is never used [INFO] [stdout] --> src/cursor.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn cursor_goto(mut cursor: TerminalCursor, origin: &(u16, u16), destination: Position) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "40c63ed70c34835d1f7646901c2bf29f093c215045664507fad800a66cc3b89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40c63ed70c34835d1f7646901c2bf29f093c215045664507fad800a66cc3b89d", kill_on_drop: false }` [INFO] [stdout] 40c63ed70c34835d1f7646901c2bf29f093c215045664507fad800a66cc3b89d