Skip to content

update deps

update deps #49

Triggered via push April 16, 2024 01:48
Status Failure
Total duration 3m 24s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 34 warnings
field `message` is never read: src/resources/config/load.rs#L10
error: field `message` is never read --> src/resources/config/load.rs:10:9 | 9 | pub struct LoadError { | --------- field in this struct 10 | pub message: String, | ^^^^^^^ | = note: `LoadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
method `zone_type` is never used: src/components/zones/zone.rs#L9
error: method `zone_type` is never used --> src/components/zones/zone.rs:9:8 | 8 | pub trait Zone { | ---- method in this trait 9 | fn zone_type(&self) -> ZoneType; | ^^^^^^^^^
struct `MoveTarget` is never constructed: src/components/tasks/move_target.rs#L5
error: struct `MoveTarget` is never constructed --> src/components/tasks/move_target.rs:5:12 | 5 | pub struct MoveTarget { | ^^^^^^^^^^ | = note: `MoveTarget` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `coordinate` is never read: src/components/tasks/gathering_target.rs#L9
error: field `coordinate` is never read --> src/components/tasks/gathering_target.rs:9:9 | 7 | pub struct GatheringTarget { | --------------- field in this struct 8 | pub entity: Option<Entity>, 9 | pub coordinate: Coordinate, | ^^^^^^^^^^ | = note: `GatheringTarget` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
field `layer_type` is never read: src/components/structures/structure.rs#L6
error: field `layer_type` is never read --> src/components/structures/structure.rs:6:9 | 5 | pub struct Structure { | --------- field in this struct 6 | pub layer_type: LayerType, | ^^^^^^^^^^
method `job_type` is never used: src/components/jobs/job.rs#L20
error: method `job_type` is never used --> src/components/jobs/job.rs:20:8 | 19 | pub trait Job { | --- method in this trait 20 | fn job_type(&self) -> JobType; | ^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
unused import: `WorldTickTimerConfig`: src/resources/config/mod.rs#L19
error: unused import: `WorldTickTimerConfig` --> src/resources/config/mod.rs:19:70 | 19 | pub use timers::{MovementTimer, MovementTimerConfig, WorldTickTimer, WorldTickTimerConfig}; | ^^^^^^^^^^^^^^^^^^^^
unused imports: `HealthConfig`, `HealthRange`: src/resources/config/mod.rs#L18
error: unused imports: `HealthConfig`, `HealthRange` --> src/resources/config/mod.rs:18:22 | 18 | pub use structures::{HealthConfig, HealthRange, StructureConfig}; | ^^^^^^^^^^^^ ^^^^^^^^^^^
unused import: `LoadError`: src/resources/config/mod.rs#L15
error: unused import: `LoadError` --> src/resources/config/mod.rs:15:41 | 15 | pub use load::{load_game_configuration, LoadError}; | ^^^^^^^^^
unused imports: `GameBasics`, `GridGeneration`: src/resources/config/mod.rs#L14
error: unused imports: `GameBasics`, `GridGeneration` --> src/resources/config/mod.rs:14:16 | 14 | pub use game::{GameBasics, GameConfiguration, GridGeneration}; | ^^^^^^^^^^ ^^^^^^^^^^^^^^
unused import: `ZoomLevel`: src/resources/config/mod.rs#L12
error: unused import: `ZoomLevel` --> src/resources/config/mod.rs:12:32 | 12 | pub use camera::{CameraConfig, ZoomLevel}; | ^^^^^^^^^
unused import: `ZoneSpawnable`: src/components/mod.rs#L19
error: unused import: `ZoneSpawnable` --> src/components/mod.rs:19:57 | 19 | StructureSpawnable, StructureSpawns, TdlgSpawnable, ZoneSpawnable, | ^^^^^^^^^^^^^
unused import: `Zone`: src/components/zones/mod.rs#L4
error: unused import: `Zone` --> src/components/zones/mod.rs:4:55 | 4 | pub use zone::{ExplorationZone, SetupStorageAreaZone, Zone}; | ^^^^
unused import: `move_target::MoveTarget`: src/components/tasks/mod.rs#L14
error: unused import: `move_target::MoveTarget` --> src/components/tasks/mod.rs:14:9 | 14 | pub use move_target::MoveTarget; | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
Clippy
Clippy had exited with the 101 exit code
Clippy
Clippy had exited with the 101 exit code
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test: src/components/tasks/mod.rs#L14
unused import: `move_target::MoveTarget`
Test: src/components/zones/mod.rs#L4
unused import: `Zone`
Test: src/components/mod.rs#L19
unused import: `ZoneSpawnable`
Test: src/resources/config/mod.rs#L12
unused import: `ZoomLevel`
Test: src/resources/config/mod.rs#L14
unused imports: `GameBasics`, `GridGeneration`
Test: src/resources/config/mod.rs#L15
unused import: `LoadError`
Test: src/resources/config/mod.rs#L18
unused imports: `HealthConfig`, `HealthRange`
Test: src/resources/config/mod.rs#L19
unused import: `WorldTickTimerConfig`
Test: src/components/jobs/job.rs#L20
method `job_type` is never used
Test: src/components/structures/structure.rs#L6
field `layer_type` is never read
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/