Skip to content

Build: warning: #[automatically_derived] attribute cannot be used on inherent impl blocks #1249

Description

@atmobi998

Compiling electrs v0.11.0 (/home/zelectrs/electrs)
warning: #[automatically_derived] attribute cannot be used on inherent impl blocks
--> /home/zelectrs/electrs/target/release/build/electrs-acdb30c0d33de357/out/configure_me_config.rs:409:5
|
409 | #[automatically_derived]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: #[automatically_derived] can only be applied to trait impl blocks
= note: #[warn(unused_attributes)] (part of #[warn(unused)]) on by default

warning: #[automatically_derived] attribute cannot be used on inherent impl blocks
--> /home/zelectrs/electrs/target/release/build/electrs-acdb30c0d33de357/out/configure_me_config.rs:886:1
|
886 | #[automatically_derived]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= help: #[automatically_derived] can only be applied to trait impl blocks

warning: method start_compactions is never used
--> src/db.rs:355:8
|
119 | impl DBStore {
| ------------ method in this implementation
...
355 | fn start_compactions(&self) {
| ^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] (part of #[warn(unused)]) on by default

warning: electrs (lib) generated 3 warnings (run cargo fix --lib -p electrs to apply 2 suggestions)
Finished release profile [optimized] target(s) in 45.00s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions