[INFO] cloning repository https://github.com/thealexhoar/radium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thealexhoar/radium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthealexhoar%2Fradium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthealexhoar%2Fradium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c43be1e44a3e4870aa97e7c6ff7c479b9f975002 [INFO] checking thealexhoar/radium against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthealexhoar%2Fradium" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thealexhoar/radium on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thealexhoar/radium [INFO] finished tweaking git repo https://github.com/thealexhoar/radium [INFO] tweaked toml for git repo https://github.com/thealexhoar/radium written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thealexhoar/radium 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/thealexhoar/rust-sfml` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 011fa84f354838aeb033a9f211fbca19dd3b831b26ae06d58ab392a7acf69cef [INFO] running `Command { std: "docker" "start" "-a" "011fa84f354838aeb033a9f211fbca19dd3b831b26ae06d58ab392a7acf69cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "011fa84f354838aeb033a9f211fbca19dd3b831b26ae06d58ab392a7acf69cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "011fa84f354838aeb033a9f211fbca19dd3b831b26ae06d58ab392a7acf69cef", kill_on_drop: false }` [INFO] [stdout] 011fa84f354838aeb033a9f211fbca19dd3b831b26ae06d58ab392a7acf69cef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc12e6eb50bd5581d6d2382aec128a540132f6b7ee51b1c0419e77244b8f134 [INFO] running `Command { std: "docker" "start" "-a" "2bc12e6eb50bd5581d6d2382aec128a540132f6b7ee51b1c0419e77244b8f134", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling sfml-build v0.1.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling csfml-system-sys v0.2.1 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-window-sys v0.2.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-audio-sys v0.2.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-graphics-sys v0.3.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking sfml v0.12.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking radium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::controller::Controller` [INFO] [stdout] --> src/game/action/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::controller::Controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::behavior_node::BehaviorNode` [INFO] [stdout] --> src/game/behavior/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::behavior_node::BehaviorNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ComponentManager` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | &mut Space, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::controller::Controller` [INFO] [stdout] --> src/game/action/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::controller::Controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | &mut Blackboard [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Blackboard` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::behavior_node::BehaviorNode` [INFO] [stdout] --> src/game/behavior/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::behavior_node::BehaviorNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentManager` and `Space` [INFO] [stdout] --> src/game/game_core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::{ComponentManager, Engine, Entity, Scheduler, Space}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ComponentManager` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ButtonType` [INFO] [stdout] --> src/game/ui/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::mouse_interface::{ButtonType, MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | &mut Space, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuCore` [INFO] [stdout] --> src/menu/config_menu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuCore, MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | &mut Blackboard [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Blackboard` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseInput` [INFO] [stdout] --> src/menu/label.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use game::ui::{MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentManager` and `Space` [INFO] [stdout] --> src/game/game_core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::{ComponentManager, Engine, Entity, Scheduler, Space}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuType` [INFO] [stdout] --> src/menu/label.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ButtonType` [INFO] [stdout] --> src/game/ui/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::mouse_interface::{ButtonType, MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `menu::*` [INFO] [stdout] --> src/menu/menu_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuCore` [INFO] [stdout] --> src/menu/config_menu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuCore, MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::priority_queue::PriorityQueue` [INFO] [stdout] --> src/util/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/util/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseInput` [INFO] [stdout] --> src/menu/label.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use game::ui::{MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/util/priority_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuType` [INFO] [stdout] --> src/menu/label.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `menu::*` [INFO] [stdout] --> src/menu/menu_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::priority_queue::PriorityQueue` [INFO] [stdout] --> src/util/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/util/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/util/priority_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/component_manager.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/component_manager.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_core.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_core.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/core_manager.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | Some((e, dt)) => Some(e), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/core_manager.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | Some((e, dt)) => Some(e), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_manager.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut next_state = match self._state { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_manager.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut next_state = match self._state { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_box` [INFO] [stdout] --> src/ecs/component_manager.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | Some(ref data_box) => true, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_box` [INFO] [stdout] --> src/ecs/component_manager.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | Some(ref data_box) => true, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/ecs/engine.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/ecs/engine.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut chunk_x; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chunk_y; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut chunk_x; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chunk_y; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fc` [INFO] [stdout] --> src/game/action/move_action.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | ... Some(fc) => true, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/move_action.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/move_action.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fc` [INFO] [stdout] --> src/game/action/move_action.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | ... Some(fc) => true, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/move_action.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/move_action.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/action/wait_action.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | component_manager: &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/action/wait_action.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | space: &mut Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/wait_action.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/wait_action.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/action/wait_action.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | component_manager: &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/action/wait_action.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | space: &mut Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/wait_action.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/wait_action.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/game_core.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game/game_core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_batch` [INFO] [stdout] --> src/game/game_core.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | glyph_batch: &mut GlyphBatch, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/game/game_core.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/game/game_core.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | scheduler: &mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/game_core.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/game_core.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game/game_core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_batch` [INFO] [stdout] --> src/game/game_core.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | glyph_batch: &mut GlyphBatch, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/game/game_core.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/game/game_core.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | scheduler: &mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/game_core.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 77 | GameState::PlayerTurn => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | GameState::EnemyTurn => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 98 | / GameState::PlayerAction | [INFO] [stdout] 99 | | GameState::EnemyAction => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 77 | GameState::PlayerTurn => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | GameState::EnemyTurn => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 98 | / GameState::PlayerAction | [INFO] [stdout] 99 | | GameState::EnemyAction => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut out_state = CoreState::Game; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut out_state = CoreState::Game; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_taken` [INFO] [stdout] --> src/game/game_core.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_taken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/game/game_core.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | events: &Vec [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_taken` [INFO] [stdout] --> src/game/game_core.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_taken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/game/game_core.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | events: &Vec [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/render_system.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/render/render_system.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/render_system.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/render/render_system.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/render/selection_render_system.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/selection_render_system.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/render/selection_render_system.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/selection_render_system.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/ui/console_system.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/console_system.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/console_system.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/console_system.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/console_system.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/ui/console_system.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/console_system.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/console_system.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/console_system.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/console_system.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/info_system.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/info_system.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/info_system.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/info_system.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/info_system.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/info_system.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/info_system.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/info_system.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/draw_target.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _data: (0..size).map(|i| None).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/draw_target.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _data: (0..size).map(|i| None).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | Some(mut tile) => Some(tile.overlay(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | Some(mut tile) => Some(tile.overlay_soft(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | Some(mut tile) => Some(tile.overlay(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | Some(mut tile) => Some(tile.overlay_soft(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut chars = text.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let mut val = char_val as u32; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut chars = text.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let mut val = char_val as u32; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut fg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut bg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut out_x:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out_y:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut fg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut bg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut out_x:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out_y:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some(color) => other.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Some(color) => other.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | Some(color) => other.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(color) => self.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(color) => self.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Some(color) => self.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some(color) => other.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Some(color) => other.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | Some(color) => other.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(color) => self.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(color) => self.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Some(color) => self.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/graphics/window.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | SFEvent::KeyPressed {code, alt, ctrl, shift, system } [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `system: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/config_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/game_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/graphics/window.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | SFEvent::KeyPressed {code, alt, ctrl, shift, system } [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `system: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/label.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/menu/label.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/menu/label.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/menu/label.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/config_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/game_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/menu_core.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/label.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/menu/label.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/menu/label.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/menu/label.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 48 | MenuType::Config => self._config_menu.update( [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | MenuType::Game => self._game_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | MenuType::Main => self._main_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dz` [INFO] [stdout] --> src/util/math.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let dz = delta.z as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/menu_core.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 48 | MenuType::Config => self._config_menu.update( [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | MenuType::Game => self._game_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | MenuType::Main => self._main_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dz` [INFO] [stdout] --> src/util/math.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let dz = delta.z as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entity`, `entities_with_one`, `entities_with_many`, and `component_exists` are never used [INFO] [stdout] --> src/ecs/component_manager.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ComponentManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn entities_with_one(&self, id: TypeId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn entities_with_many(&self, ids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn component_exists(&self, id:TypeId, entity:Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/ecs/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn load(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `west` and `north` are never read [INFO] [stdout] --> src/ecs/space.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub west: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub north: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Controller` is never used [INFO] [stdout] --> src/game/action/controller.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_force` is never used [INFO] [stdout] --> src/game/action/move_action.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_force( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BehaviorNode` is never used [INFO] [stdout] --> src/game/behavior/behavior_node.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BehaviorNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorResult` is never used [INFO] [stdout] --> src/game/behavior/behavior_result.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum BehaviorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_entities` is never read [INFO] [stdout] --> src/game/blackboard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blackboard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub enemy_entities: HashSet [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyAction` is never constructed [INFO] [stdout] --> src/game/game_core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | EnemyAction [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/game/game_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GameCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/render/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set(&mut self, x: i32, y: i32, z: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonType` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseInput` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MouseInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_width`, `game_height`, `info_width`, and `info_height` are never read [INFO] [stdout] --> src/game/ui/mouse_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MouseInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | game_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | game_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | info_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | info_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mouse_pressed`, `mouse_released`, `mouse_down`, `mouse_up`, `current_input`, and `input_pos` are never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MouseInterface { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn mouse_pressed(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mouse_released(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn mouse_down(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mouse_up(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn current_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn input_pos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/rgb_color.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RGBColor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_rgba_f(r:f32, g:f32, b:f32, a:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_from_rgb_f(r:f32, g:f32, b:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn frac_stepdown(&self, step:u32, frac:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn lin_stepdown(&self, step:u32, mag:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn grayscale(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn grayscale_pow_stepdown(&self, step: u32, pow:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn magenta() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cyan() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overlay_tiles_rect`, `overlay_tiles_rect_soft`, `overlay_from_draw_target`, `overlay_from_draw_target_subrect`, `overlay_soft_from_draw_target`, and `overlay_soft_from_draw_target_subrect` are never used [INFO] [stdout] --> src/graphics/draw_target.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawTarget { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn overlay_tiles_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn overlay_tiles_rect_soft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn overlay_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn overlay_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn overlay_soft_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn overlay_soft_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_null_color` and `get_tile_from_pos` are never used [INFO] [stdout] --> src/graphics/glyph_batch.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GlyphBatch { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_null_color(&mut self, color:RGBColor) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_tile_from_pos(&self, x:u32, y:u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mouse_pos` is never used [INFO] [stdout] --> src/graphics/window.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mouse_pos(&self) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/menu/menu_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MenuCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deselect` is never used [INFO] [stdout] --> src/menu/menu_object.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait MenuObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn deselect(&mut self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_direct` is never used [INFO] [stdout] --> src/util/math.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn distance_direct(p0: Point, p1: Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_manhattan` is never used [INFO] [stdout] --> src/util/math.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn distance_manhattan(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entity`, `entities_with_one`, `entities_with_many`, and `component_exists` are never used [INFO] [stdout] --> src/ecs/component_manager.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ComponentManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn entities_with_one(&self, id: TypeId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn entities_with_many(&self, ids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn component_exists(&self, id:TypeId, entity:Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_diag` is never used [INFO] [stdout] --> src/util/math.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn distance_diag(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/ecs/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn load(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `swap`, and `swap_in_place` are never used [INFO] [stdout] --> src/util/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_tuple(tuple:(i32, i32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn swap(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn swap_in_place(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `west` and `north` are never read [INFO] [stdout] --> src/ecs/space.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub west: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub north: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `priority` is never read [INFO] [stdout] --> src/util/priority_queue.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | struct Entry { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub priority: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Controller` is never used [INFO] [stdout] --> src/game/action/controller.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_force` is never used [INFO] [stdout] --> src/game/action/move_action.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_force( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `insert`, and `pop` are never used [INFO] [stdout] --> src/util/priority_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PriorityQueue { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> PriorityQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capacity(capacity:usize) -> PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn insert(&mut self, value:T, priority: i32) -> &T{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BehaviorNode` is never used [INFO] [stdout] --> src/game/behavior/behavior_node.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BehaviorNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorResult` is never used [INFO] [stdout] --> src/game/behavior/behavior_result.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum BehaviorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_entities` is never read [INFO] [stdout] --> src/game/blackboard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blackboard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub enemy_entities: HashSet [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyAction` is never constructed [INFO] [stdout] --> src/game/game_core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | EnemyAction [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/game/game_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GameCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/render/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set(&mut self, x: i32, y: i32, z: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonType` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseInput` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MouseInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_width`, `game_height`, `info_width`, and `info_height` are never read [INFO] [stdout] --> src/game/ui/mouse_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MouseInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | game_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | game_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | info_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | info_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mouse_pressed`, `mouse_released`, `mouse_down`, `mouse_up`, `current_input`, and `input_pos` are never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MouseInterface { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn mouse_pressed(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mouse_released(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn mouse_down(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mouse_up(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn current_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn input_pos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/rgb_color.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RGBColor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_rgba_f(r:f32, g:f32, b:f32, a:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_from_rgb_f(r:f32, g:f32, b:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn frac_stepdown(&self, step:u32, frac:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn lin_stepdown(&self, step:u32, mag:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn grayscale(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn grayscale_pow_stepdown(&self, step: u32, pow:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn magenta() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cyan() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overlay_tiles_rect`, `overlay_tiles_rect_soft`, `overlay_from_draw_target`, `overlay_from_draw_target_subrect`, `overlay_soft_from_draw_target`, and `overlay_soft_from_draw_target_subrect` are never used [INFO] [stdout] --> src/graphics/draw_target.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawTarget { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn overlay_tiles_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn overlay_tiles_rect_soft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn overlay_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn overlay_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn overlay_soft_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn overlay_soft_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_null_color` and `get_tile_from_pos` are never used [INFO] [stdout] --> src/graphics/glyph_batch.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GlyphBatch { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_null_color(&mut self, color:RGBColor) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_tile_from_pos(&self, x:u32, y:u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mouse_pos` is never used [INFO] [stdout] --> src/graphics/window.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mouse_pos(&self) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/menu/menu_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MenuCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deselect` is never used [INFO] [stdout] --> src/menu/menu_object.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait MenuObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn deselect(&mut self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_direct` is never used [INFO] [stdout] --> src/util/math.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn distance_direct(p0: Point, p1: Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_manhattan` is never used [INFO] [stdout] --> src/util/math.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn distance_manhattan(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_diag` is never used [INFO] [stdout] --> src/util/math.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn distance_diag(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `swap`, and `swap_in_place` are never used [INFO] [stdout] --> src/util/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_tuple(tuple:(i32, i32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn swap(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn swap_in_place(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `priority` is never read [INFO] [stdout] --> src/util/priority_queue.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | struct Entry { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub priority: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `insert`, and `pop` are never used [INFO] [stdout] --> src/util/priority_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PriorityQueue { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> PriorityQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capacity(capacity:usize) -> PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn insert(&mut self, value:T, priority: i32) -> &T{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.5.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2bc12e6eb50bd5581d6d2382aec128a540132f6b7ee51b1c0419e77244b8f134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc12e6eb50bd5581d6d2382aec128a540132f6b7ee51b1c0419e77244b8f134", kill_on_drop: false }` [INFO] [stdout] 2bc12e6eb50bd5581d6d2382aec128a540132f6b7ee51b1c0419e77244b8f134 [INFO] checking thealexhoar/radium against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthealexhoar%2Fradium" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thealexhoar/radium on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thealexhoar/radium [INFO] finished tweaking git repo https://github.com/thealexhoar/radium [INFO] tweaked toml for git repo https://github.com/thealexhoar/radium written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thealexhoar/radium 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e34eb9b04cc1baec6a6e9f17577e58e8f1cd3090013a459dea5a1e405deb4a29 [INFO] running `Command { std: "docker" "start" "-a" "e34eb9b04cc1baec6a6e9f17577e58e8f1cd3090013a459dea5a1e405deb4a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e34eb9b04cc1baec6a6e9f17577e58e8f1cd3090013a459dea5a1e405deb4a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34eb9b04cc1baec6a6e9f17577e58e8f1cd3090013a459dea5a1e405deb4a29", kill_on_drop: false }` [INFO] [stdout] e34eb9b04cc1baec6a6e9f17577e58e8f1cd3090013a459dea5a1e405deb4a29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 470f0d4ed81e081600c529ef04d1ac8ed554f543c1fc40a1eb4d7fb78525ed8b [INFO] running `Command { std: "docker" "start" "-a" "470f0d4ed81e081600c529ef04d1ac8ed554f543c1fc40a1eb4d7fb78525ed8b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling sfml-build v0.1.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Compiling csfml-system-sys v0.2.1 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-window-sys v0.2.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-graphics-sys v0.3.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Compiling csfml-audio-sys v0.2.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking sfml v0.12.0 (https://github.com/thealexhoar/rust-sfml#f64e10a9) [INFO] [stderr] Checking radium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::controller::Controller` [INFO] [stdout] --> src/game/action/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::controller::Controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::behavior_node::BehaviorNode` [INFO] [stdout] --> src/game/behavior/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::behavior_node::BehaviorNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ComponentManager` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | &mut Space, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | &mut Blackboard [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Blackboard` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentManager` and `Space` [INFO] [stdout] --> src/game/game_core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::{ComponentManager, Engine, Entity, Scheduler, Space}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ButtonType` [INFO] [stdout] --> src/game/ui/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::mouse_interface::{ButtonType, MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuCore` [INFO] [stdout] --> src/menu/config_menu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuCore, MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::controller::Controller` [INFO] [stdout] --> src/game/action/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::controller::Controller; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseInput` [INFO] [stdout] --> src/menu/label.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use game::ui::{MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::behavior_node::BehaviorNode` [INFO] [stdout] --> src/game/behavior/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::behavior_node::BehaviorNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ComponentManager` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuType` [INFO] [stdout] --> src/menu/label.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `menu::*` [INFO] [stdout] --> src/menu/menu_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | &mut Space, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Space` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::priority_queue::PriorityQueue` [INFO] [stdout] --> src/util/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/behavior/behavior_node.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | &mut Blackboard [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Blackboard` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/util/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentManager` and `Space` [INFO] [stdout] --> src/game/game_core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use ecs::{ComponentManager, Engine, Entity, Scheduler, Space}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/util/priority_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ButtonType` [INFO] [stdout] --> src/game/ui/mod.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::mouse_interface::{ButtonType, MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuCore` [INFO] [stdout] --> src/menu/config_menu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuCore, MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseInput` [INFO] [stdout] --> src/menu/label.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use game::ui::{MouseInput, MouseInterface}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MenuType` [INFO] [stdout] --> src/menu/label.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::{MenuObject, MenuType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `menu::*` [INFO] [stdout] --> src/menu/menu_object.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use menu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::priority_queue::PriorityQueue` [INFO] [stdout] --> src/util/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::priority_queue::PriorityQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/util/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/util/priority_queue.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/component_manager.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/component_manager.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | _data: HashMap<(TypeId, Entity), Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub passive_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_core.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ecs/engine.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub continuous_systems: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/game_core.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | current_action: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | _root_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/config_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/game_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/main_menu.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(root_menu_object: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/menu/menu_core.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/core_manager.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | Some((e, dt)) => Some(e), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/core_manager.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | Some((e, dt)) => Some(e), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_manager.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut next_state = match self._state { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_manager.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let mut next_state = match self._state { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_box` [INFO] [stdout] --> src/ecs/component_manager.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | Some(ref data_box) => true, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/ecs/engine.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_box` [INFO] [stdout] --> src/ecs/component_manager.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | Some(ref data_box) => true, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/ecs/engine.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut chunk_x; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chunk_y; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fc` [INFO] [stdout] --> src/game/action/move_action.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | ... Some(fc) => true, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/move_action.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/move_action.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut chunk_x; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecs/space.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chunk_y; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fc` [INFO] [stdout] --> src/game/action/move_action.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | ... Some(fc) => true, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/move_action.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/move_action.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/action/wait_action.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | component_manager: &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/action/wait_action.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | space: &mut Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/wait_action.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/wait_action.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/action/wait_action.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | component_manager: &mut ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/action/wait_action.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | space: &mut Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/action/wait_action.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/action/wait_action.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/game_core.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game/game_core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_batch` [INFO] [stdout] --> src/game/game_core.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | glyph_batch: &mut GlyphBatch, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/game/game_core.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/game/game_core.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | scheduler: &mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/game_core.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/game_core.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/game/game_core.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_batch` [INFO] [stdout] --> src/game/game_core.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | glyph_batch: &mut GlyphBatch, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/game/game_core.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scheduler` [INFO] [stdout] --> src/game/game_core.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | scheduler: &mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/game_core.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 77 | GameState::PlayerTurn => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | GameState::EnemyTurn => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 98 | / GameState::PlayerAction | [INFO] [stdout] 99 | | GameState::EnemyAction => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/game/game_core.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 77 | GameState::PlayerTurn => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 94 | GameState::EnemyTurn => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 98 | / GameState::PlayerAction | [INFO] [stdout] 99 | | GameState::EnemyAction => { [INFO] [stdout] | |__________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 162 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut out_state = CoreState::Game; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut out_state = CoreState::Game; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_taken` [INFO] [stdout] --> src/game/game_core.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_taken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/game/game_core.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | events: &Vec [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action_taken` [INFO] [stdout] --> src/game/game_core.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_taken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/game/game_core.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | events: &Vec [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/game_core.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let mut action_taken = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/render_system.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/render/render_system.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/render_system.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/render/render_system.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/render/selection_render_system.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/selection_render_system.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/render/selection_render_system.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/render/selection_render_system.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/ui/console_system.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/console_system.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/console_system.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/console_system.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/console_system.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/game/ui/console_system.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/console_system.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/console_system.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/console_system.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/console_system.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/info_system.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/info_system.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/info_system.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/info_system.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component_manager` [INFO] [stdout] --> src/game/ui/info_system.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | component_manager: &ComponentManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space` [INFO] [stdout] --> src/game/ui/info_system.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | space: &Space, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/game/ui/info_system.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | window: &mut Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game/ui/info_system.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | delta_time: f32 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/draw_target.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _data: (0..size).map(|i| None).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | Some(mut tile) => Some(tile.overlay(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/graphics/draw_target.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | _data: (0..size).map(|i| None).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | Some(mut tile) => Some(tile.overlay_soft(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | Some(mut tile) => Some(tile.overlay(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut chars = text.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | Some(mut tile) => Some(tile.overlay_soft(other)), [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let mut val = char_val as u32; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut fg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut bg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut out_x:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out_y:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut chars = text.chars(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/draw_target.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let mut val = char_val as u32; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut fg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut bg_renderstates = RenderStates::new ( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some(color) => other.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Some(color) => other.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | Some(color) => other.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut out_x:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(color) => self.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(color) => self.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/glyph_batch.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut out_y:u32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Some(color) => self.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/graphics/window.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | SFEvent::KeyPressed {code, alt, ctrl, shift, system } [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `system: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/config_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/game_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/label.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/menu/label.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/menu/label.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/menu/label.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | Some(color) => other.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Some(color) => other.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | Some(color) => other.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | Some(color) => self.fg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | Some(color) => self.bg_color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/graphics/tile.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | Some(color) => self.tile_id, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/menu_core.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 48 | MenuType::Config => self._config_menu.update( [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | MenuType::Game => self._game_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | MenuType::Main => self._main_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dz` [INFO] [stdout] --> src/util/math.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let dz = delta.z as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/graphics/window.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | SFEvent::KeyPressed {code, alt, ctrl, shift, system } [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `system: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/config_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/menu/game_menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let events = window.events(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/label.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | blackboard: &mut Blackboard, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/menu/label.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | engine: &mut Engine, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_interface` [INFO] [stdout] --> src/menu/label.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | mouse_interface: &mut MouseInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/menu/label.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | window: &mut Window [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entity`, `entities_with_one`, `entities_with_many`, and `component_exists` are never used [INFO] [stdout] --> src/ecs/component_manager.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ComponentManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn entities_with_one(&self, id: TypeId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn entities_with_many(&self, ids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn component_exists(&self, id:TypeId, entity:Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/ecs/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn load(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `west` and `north` are never read [INFO] [stdout] --> src/ecs/space.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub west: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub north: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Controller` is never used [INFO] [stdout] --> src/game/action/controller.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_force` is never used [INFO] [stdout] --> src/game/action/move_action.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_force( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BehaviorNode` is never used [INFO] [stdout] --> src/game/behavior/behavior_node.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BehaviorNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorResult` is never used [INFO] [stdout] --> src/game/behavior/behavior_result.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum BehaviorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_entities` is never read [INFO] [stdout] --> src/game/blackboard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blackboard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub enemy_entities: HashSet [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyAction` is never constructed [INFO] [stdout] --> src/game/game_core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | EnemyAction [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/game/game_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GameCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/render/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set(&mut self, x: i32, y: i32, z: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonType` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseInput` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MouseInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_width`, `game_height`, `info_width`, and `info_height` are never read [INFO] [stdout] --> src/game/ui/mouse_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MouseInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | game_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | game_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | info_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | info_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mouse_pressed`, `mouse_released`, `mouse_down`, `mouse_up`, `current_input`, and `input_pos` are never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MouseInterface { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn mouse_pressed(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mouse_released(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn mouse_down(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mouse_up(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn current_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn input_pos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/rgb_color.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RGBColor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_rgba_f(r:f32, g:f32, b:f32, a:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_from_rgb_f(r:f32, g:f32, b:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn frac_stepdown(&self, step:u32, frac:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn lin_stepdown(&self, step:u32, mag:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn grayscale(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn grayscale_pow_stepdown(&self, step: u32, pow:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn magenta() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cyan() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overlay_tiles_rect`, `overlay_tiles_rect_soft`, `overlay_from_draw_target`, `overlay_from_draw_target_subrect`, `overlay_soft_from_draw_target`, and `overlay_soft_from_draw_target_subrect` are never used [INFO] [stdout] --> src/graphics/draw_target.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawTarget { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn overlay_tiles_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn overlay_tiles_rect_soft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn overlay_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn overlay_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn overlay_soft_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn overlay_soft_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blackboard` [INFO] [stdout] --> src/menu/menu_core.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blackboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_null_color` and `get_tile_from_pos` are never used [INFO] [stdout] --> src/graphics/glyph_batch.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GlyphBatch { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_null_color(&mut self, color:RGBColor) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_tile_from_pos(&self, x:u32, y:u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mouse_pos` is never used [INFO] [stdout] --> src/graphics/window.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mouse_pos(&self) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/menu/menu_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MenuCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deselect` is never used [INFO] [stdout] --> src/menu/menu_object.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait MenuObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn deselect(&mut self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/menu/menu_core.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 48 | MenuType::Config => self._config_menu.update( [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | MenuType::Game => self._game_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | MenuType::Main => self._main_menu.update( [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | _ => CoreState::Menu(menu_type) [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_direct` is never used [INFO] [stdout] --> src/util/math.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn distance_direct(p0: Point, p1: Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_manhattan` is never used [INFO] [stdout] --> src/util/math.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn distance_manhattan(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_diag` is never used [INFO] [stdout] --> src/util/math.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn distance_diag(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `swap`, and `swap_in_place` are never used [INFO] [stdout] --> src/util/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_tuple(tuple:(i32, i32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn swap(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn swap_in_place(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `priority` is never read [INFO] [stdout] --> src/util/priority_queue.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | struct Entry { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub priority: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `insert`, and `pop` are never used [INFO] [stdout] --> src/util/priority_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PriorityQueue { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> PriorityQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capacity(capacity:usize) -> PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn insert(&mut self, value:T, priority: i32) -> &T{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dz` [INFO] [stdout] --> src/util/math.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let dz = delta.z as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graphics/window.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut window = RenderWindow::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | _clock: Clock::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | _config_menu: ConfigMenu::new(config_menu_object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | _game_menu: GameMenu::new(game_menu_object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | _main_menu: MainMenu::new(main_menu_object) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_entity`, `entities_with_one`, `entities_with_many`, and `component_exists` are never used [INFO] [stdout] --> src/ecs/component_manager.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ComponentManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn remove_entity(&mut self, entity: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn entities_with_one(&self, id: TypeId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn entities_with_many(&self, ids: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn component_exists(&self, id:TypeId, entity:Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/ecs/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Engine { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn load(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `west` and `north` are never read [INFO] [stdout] --> src/ecs/space.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Chunk { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub west: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub north: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Controller` is never used [INFO] [stdout] --> src/game/action/controller.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_force` is never used [INFO] [stdout] --> src/game/action/move_action.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MoveAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_force( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BehaviorNode` is never used [INFO] [stdout] --> src/game/behavior/behavior_node.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BehaviorNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorResult` is never used [INFO] [stdout] --> src/game/behavior/behavior_result.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum BehaviorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_entities` is never read [INFO] [stdout] --> src/game/blackboard.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blackboard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub enemy_entities: HashSet [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyAction` is never constructed [INFO] [stdout] --> src/game/game_core.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | EnemyAction [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init` is never used [INFO] [stdout] --> src/game/game_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl GameCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/game/render/camera.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn set(&mut self, x: i32, y: i32, z: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ButtonType` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ButtonType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MouseInput` is never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MouseInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_width`, `game_height`, `info_width`, and `info_height` are never read [INFO] [stdout] --> src/game/ui/mouse_interface.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MouseInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | game_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | game_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | info_width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | info_height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `mouse_pressed`, `mouse_released`, `mouse_down`, `mouse_up`, `current_input`, and `input_pos` are never used [INFO] [stdout] --> src/game/ui/mouse_interface.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl MouseInterface { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn mouse_pressed(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn mouse_released(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn mouse_down(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mouse_up(&self) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn current_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn input_pos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/rgb_color.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RGBColor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_rgba_f(r:f32, g:f32, b:f32, a:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new_from_rgb_f(r:f32, g:f32, b:f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn frac_stepdown(&self, step:u32, frac:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn lin_stepdown(&self, step:u32, mag:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn grayscale(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn grayscale_pow_stepdown(&self, step: u32, pow:u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn magenta() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cyan() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `overlay_tiles_rect`, `overlay_tiles_rect_soft`, `overlay_from_draw_target`, `overlay_from_draw_target_subrect`, `overlay_soft_from_draw_target`, and `overlay_soft_from_draw_target_subrect` are never used [INFO] [stdout] --> src/graphics/draw_target.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawTarget { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn overlay_tiles_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn overlay_tiles_rect_soft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn overlay_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn overlay_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn overlay_soft_from_draw_target( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn overlay_soft_from_draw_target_subrect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_null_color` and `get_tile_from_pos` are never used [INFO] [stdout] --> src/graphics/glyph_batch.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GlyphBatch { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_null_color(&mut self, color:RGBColor) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_tile_from_pos(&self, x:u32, y:u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mouse_pos` is never used [INFO] [stdout] --> src/graphics/window.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mouse_pos(&self) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize` is never used [INFO] [stdout] --> src/menu/menu_core.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MenuCore { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn initialize(&mut self, blackboard: &mut Blackboard) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deselect` is never used [INFO] [stdout] --> src/menu/menu_object.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait MenuObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn deselect(&mut self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_direct` is never used [INFO] [stdout] --> src/util/math.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn distance_direct(p0: Point, p1: Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_manhattan` is never used [INFO] [stdout] --> src/util/math.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn distance_manhattan(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_diag` is never used [INFO] [stdout] --> src/util/math.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn distance_diag(p0: Point, p1: Point) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_tuple`, `swap`, and `swap_in_place` are never used [INFO] [stdout] --> src/util/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_tuple(tuple:(i32, i32, u32)) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn swap(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn swap_in_place(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `priority` is never read [INFO] [stdout] --> src/util/priority_queue.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | struct Entry { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub priority: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `insert`, and `pop` are never used [INFO] [stdout] --> src/util/priority_queue.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PriorityQueue { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> PriorityQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capacity(capacity:usize) -> PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn insert(&mut self, value:T, priority: i32) -> &T{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/graphics/window.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut window = RenderWindow::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | _clock: Clock::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | _config_menu: ConfigMenu::new(config_menu_object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | _game_menu: GameMenu::new(game_menu_object), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/menu/menu_core.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 23 | config_menu_object: Box, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | game_menu_object: Box, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | main_menu_object: Box [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | _main_menu: MainMenu::new(main_menu_object) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `radium` (bin "radium") due to 5 previous errors; 116 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 116 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `radium` (bin "radium" test) due to 5 previous errors; 116 warnings emitted [INFO] running `Command { std: "docker" "inspect" "470f0d4ed81e081600c529ef04d1ac8ed554f543c1fc40a1eb4d7fb78525ed8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470f0d4ed81e081600c529ef04d1ac8ed554f543c1fc40a1eb4d7fb78525ed8b", kill_on_drop: false }` [INFO] [stdout] 470f0d4ed81e081600c529ef04d1ac8ed554f543c1fc40a1eb4d7fb78525ed8b