Closed Sjors closed 2 years ago
Got some warnings in the web build too:
Compiling trust-dns-resolver v0.19.7
Compiling pest_derive v2.2.1
warning: derive helper attribute is used before it is introduced
--> shared/src/model.rs:16:3
|
16 | #[primary_key(hash)]
| ^^^^^^^^^^^
17 | #[derive(Queryable, Serialize, Identifiable)]
| ------------ the attribute is introduced here
|
= note: `#[warn(legacy_derive_helpers)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
warning: `miningpool_observer_shared` (lib) generated 1 warning
Compiling chrono-tz v0.6.3
Compiling actix-testing v1.0.1
Compiling actix-connect v2.0.0
Compiling actix-http v2.2.2
Compiling awc v2.0.3
Compiling tera v1.16.0
Compiling actix-web v3.3.3
Compiling actix-files v0.5.0
warning: field `cnt` is never read
--> web/src/db.rs:462:5
|
460 | struct MissingTransactionCountInfo {
| --------------------------- field in this struct
461 | #[sql_type = "BigInt"]
462 | cnt: i64,
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: `MissingTransactionCountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: `miningpool-observer-web` (bin "miningpool-observer-web") generated 1 warning
Finished release [optimized] target(s) in 1m 27s
cargo 1.63.0 on Ubuntu 22.04.1 on master @ 39c48032b39d6df565723610c5aaa37fb689ca50