Skip to content

[bug] Rust release code is broken #941

@nullmonk

Description

@nullmonk

Describe the bug
Release rust code will not build. This commit introduces the following error:

error: field `id` is never read
  --> lib/eldritch/src/runtime/messages/set_callback_interval.rs:11:16
   |
10 | pub struct SetCallbackIntervalMessage {
   |            -------------------------- field in this struct
11 |     pub(crate) id: i64,
   |                ^^
   |
   = note: `SetCallbackIntervalMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
note: the lint level is defined here
  --> lib/eldritch/src/lib.rs:1:9
   |
1  | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`

error: could not compile `eldritch` (lib) due to 1 previous error

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/spellshift/realm
cd implants
cargo build --release

Expected behavior
Should build.

Additional context
Because the error is in eldritch, its possible other things wont build either.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions