[INFO] cloning repository https://github.com/NWise-DrownedOctopus/Errour_RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NWise-DrownedOctopus/Errour_RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNWise-DrownedOctopus%2FErrour_RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNWise-DrownedOctopus%2FErrour_RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 631c2a89f6e3261a23c46b0ed03e00e14c0eb27b [INFO] building NWise-DrownedOctopus/Errour_RS against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNWise-DrownedOctopus%2FErrour_RS" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NWise-DrownedOctopus/Errour_RS [INFO] finished tweaking git repo https://github.com/NWise-DrownedOctopus/Errour_RS [INFO] tweaked toml for git repo https://github.com/NWise-DrownedOctopus/Errour_RS written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NWise-DrownedOctopus/Errour_RS on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NWise-DrownedOctopus/Errour_RS 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 023398b4adc70aa163d3136a1c637d695170bb881b3d59b70f865858c77fde41 [INFO] running `Command { std: "docker" "start" "-a" "023398b4adc70aa163d3136a1c637d695170bb881b3d59b70f865858c77fde41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "023398b4adc70aa163d3136a1c637d695170bb881b3d59b70f865858c77fde41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023398b4adc70aa163d3136a1c637d695170bb881b3d59b70f865858c77fde41", kill_on_drop: false }` [INFO] [stdout] 023398b4adc70aa163d3136a1c637d695170bb881b3d59b70f865858c77fde41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] ab33c81de308ae3e8d161cb463e1d9422d574192613259f086807119a2b539c3 [INFO] running `Command { std: "docker" "start" "-a" "ab33c81de308ae3e8d161cb463e1d9422d574192613259f086807119a2b539c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling errour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::systems::input::collect_input` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::systems::input::collect_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut input_manager = InputManager::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creature_index` [INFO] [stdout] --> src/systems/damage.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | GameEvent::CreatureDied { creature_index } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `creature_index: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utils.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn handle_mouse_move (&mut self, x: f32, y: f32 ) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn handle_mouse_move (&mut self, x: f32, y: f32 ) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/utils.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn handle_mouse_down (&mut self, button: MouseButton ) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/utils.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn handle_key_press (&mut self, key: KeyCode) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_manager` [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut input_manager = InputManager::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MouseMove`, `MouseDown`, and `KeyPress` are never constructed [INFO] [stdout] --> src/managers/input_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InputEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 4 | MouseMove { x: f32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | MouseDown { button: MouseButton }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | KeyPress { key: KeyCode }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/managers/input_manager.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InputManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_event` and `drain_events` are never used [INFO] [stdout] --> src/managers/input_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_event (&mut self, event: InputEvent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn drain_events (&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_input` is never used [INFO] [stdout] --> src/systems/input.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn collect_input(input_manager: &mut InputManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/systems/input.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn process_input(input_manager: &mut InputManager, context: &mut GameContext) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InventoryAction` is never used [INFO] [stdout] --> src/systems/inventory.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum InventoryAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Io(io::Error), [INFO] [stdout] 37 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Json(SerdeError), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Json(SerdeError), [INFO] [stdout] 38 + Json(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_screen_cords` is never used [INFO] [stdout] --> src/utils.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn to_screen_cords (x: f32, y: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_virtual_cords` is never used [INFO] [stdout] --> src/utils.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn to_virtual_cords (sx: f32, sy: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SaveFile` is never constructed [INFO] [stdout] --> src/utils.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct SaveFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_save_file` is never used [INFO] [stdout] --> src/utils.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn load_save_file(path: &str) -> SaveFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.38s [INFO] running `Command { std: "docker" "inspect" "ab33c81de308ae3e8d161cb463e1d9422d574192613259f086807119a2b539c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab33c81de308ae3e8d161cb463e1d9422d574192613259f086807119a2b539c3", kill_on_drop: false }` [INFO] [stdout] ab33c81de308ae3e8d161cb463e1d9422d574192613259f086807119a2b539c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6b5075f402f3ea08c599914f08c1b45f5c836080048c6e2fbd6a802c64eadb8c [INFO] running `Command { std: "docker" "start" "-a" "6b5075f402f3ea08c599914f08c1b45f5c836080048c6e2fbd6a802c64eadb8c", kill_on_drop: false }` [INFO] [stderr] Compiling errour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::systems::input::collect_input` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::systems::input::collect_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut input_manager = InputManager::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creature_index` [INFO] [stdout] --> src/systems/damage.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | GameEvent::CreatureDied { creature_index } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `creature_index: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/utils.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn handle_mouse_move (&mut self, x: f32, y: f32 ) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn handle_mouse_move (&mut self, x: f32, y: f32 ) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/utils.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn handle_mouse_down (&mut self, button: MouseButton ) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/utils.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn handle_key_press (&mut self, key: KeyCode) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_manager` [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut input_manager = InputManager::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MouseMove`, `MouseDown`, and `KeyPress` are never constructed [INFO] [stdout] --> src/managers/input_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum InputEvent { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 4 | MouseMove { x: f32, y: f32 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | MouseDown { button: MouseButton }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | KeyPress { key: KeyCode }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/managers/input_manager.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InputManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub events: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_event` and `drain_events` are never used [INFO] [stdout] --> src/managers/input_manager.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_event (&mut self, event: InputEvent) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn drain_events (&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_input` is never used [INFO] [stdout] --> src/systems/input.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn collect_input(input_manager: &mut InputManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_input` is never used [INFO] [stdout] --> src/systems/input.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn process_input(input_manager: &mut InputManager, context: &mut GameContext) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InventoryAction` is never used [INFO] [stdout] --> src/systems/inventory.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum InventoryAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Io(io::Error), [INFO] [stdout] 37 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | Json(SerdeError), [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Json(SerdeError), [INFO] [stdout] 38 + Json(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_screen_cords` is never used [INFO] [stdout] --> src/utils.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn to_screen_cords (x: f32, y: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_virtual_cords` is never used [INFO] [stdout] --> src/utils.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn to_virtual_cords (sx: f32, sy: f32) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SaveFile` is never constructed [INFO] [stdout] --> src/utils.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct SaveFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_save_file` is never used [INFO] [stdout] --> src/utils.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn load_save_file(path: &str) -> SaveFile { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "6b5075f402f3ea08c599914f08c1b45f5c836080048c6e2fbd6a802c64eadb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b5075f402f3ea08c599914f08c1b45f5c836080048c6e2fbd6a802c64eadb8c", kill_on_drop: false }` [INFO] [stdout] 6b5075f402f3ea08c599914f08c1b45f5c836080048c6e2fbd6a802c64eadb8c