Skip to content

update deps

update deps #49

GitHub Actions / clippy failed Apr 16, 2024 in 0s

clippy

14 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 14
Warning 0
Note 0
Help 0

Versions

  • rustc 1.79.0-nightly (ccfcd950b 2024-04-15)
  • cargo 1.79.0-nightly (48eca1b16 2024-04-12)
  • clippy 0.1.79 (ccfcd95 2024-04-15)

Annotations

Check failure on line 10 in src/resources/config/load.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `message` is never read

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

Check failure on line 9 in src/components/zones/zone.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `zone_type` is never used

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;
  |        ^^^^^^^^^

Check failure on line 5 in src/components/tasks/move_target.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

struct `MoveTarget` is never constructed

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

Check failure on line 9 in src/components/tasks/gathering_target.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `coordinate` is never read

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

Check failure on line 6 in src/components/structures/structure.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `layer_type` is never read

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,
  |         ^^^^^^^^^^

Check failure on line 20 in src/components/jobs/job.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `job_type` is never used

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)]`

Check failure on line 19 in src/resources/config/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `WorldTickTimerConfig`

error: unused import: `WorldTickTimerConfig`
  --> src/resources/config/mod.rs:19:70
   |
19 | pub use timers::{MovementTimer, MovementTimerConfig, WorldTickTimer, WorldTickTimerConfig};
   |                                                                      ^^^^^^^^^^^^^^^^^^^^

Check failure on line 18 in src/resources/config/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `HealthConfig`, `HealthRange`

error: unused imports: `HealthConfig`, `HealthRange`
  --> src/resources/config/mod.rs:18:22
   |
18 | pub use structures::{HealthConfig, HealthRange, StructureConfig};
   |                      ^^^^^^^^^^^^  ^^^^^^^^^^^

Check failure on line 15 in src/resources/config/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `LoadError`

error: unused import: `LoadError`
  --> src/resources/config/mod.rs:15:41
   |
15 | pub use load::{load_game_configuration, LoadError};
   |                                         ^^^^^^^^^

Check failure on line 14 in src/resources/config/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `GameBasics`, `GridGeneration`

error: unused imports: `GameBasics`, `GridGeneration`
  --> src/resources/config/mod.rs:14:16
   |
14 | pub use game::{GameBasics, GameConfiguration, GridGeneration};
   |                ^^^^^^^^^^                     ^^^^^^^^^^^^^^

Check failure on line 12 in src/resources/config/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `ZoomLevel`

error: unused import: `ZoomLevel`
  --> src/resources/config/mod.rs:12:32
   |
12 | pub use camera::{CameraConfig, ZoomLevel};
   |                                ^^^^^^^^^

Check failure on line 19 in src/components/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `ZoneSpawnable`

error: unused import: `ZoneSpawnable`
  --> src/components/mod.rs:19:57
   |
19 |     StructureSpawnable, StructureSpawns, TdlgSpawnable, ZoneSpawnable,
   |                                                         ^^^^^^^^^^^^^

Check failure on line 4 in src/components/zones/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `Zone`

error: unused import: `Zone`
 --> src/components/zones/mod.rs:4:55
  |
4 | pub use zone::{ExplorationZone, SetupStorageAreaZone, Zone};
  |                                                       ^^^^

Check failure on line 14 in src/components/tasks/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `move_target::MoveTarget`

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)]`