Skip to content

Add Ethereum dest validation

Sign in for the full log view
GitHub Actions / clippy failed Sep 29, 2024 in 0s

clippy

8 errors

Details

Results

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

Versions

  • rustc 1.79.0-nightly (ef8b9dcf2 2024-04-24)
  • cargo 1.79.0-nightly (c93926759 2024-04-23)
  • clippy 0.1.79 (ef8b9dc 2024-04-24)

Annotations

Check failure on line 786 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no field `ethereum` on type `&mut app::InnerApp`

error[E0609]: no field `ethereum` on type `&mut app::InnerApp`
   --> src/app.rs:786:14
    |
786 |             .ethereum
    |              ^^^^^^^^ unknown field
    |
    = note: available fields are: `accounts`, `staking`, `airdrop`, `community_pool`, `incentive_pool` ... and 12 others

Check failure on line 577 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant named `EthAccount` found for enum `app::Identity`

error[E0599]: no variant named `EthAccount` found for enum `app::Identity`
    --> src/app.rs:577:34
     |
577  |                 if let Identity::EthAccount {
     |                                  ^^^^^^^^^^ variant not found in `app::Identity`
...
1951 | pub enum Identity {
     | ----------------- variant `EthAccount` not found here

Check failure on line 508 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no field `ethereum` on type `&mut app::InnerApp`

error[E0609]: no field `ethereum` on type `&mut app::InnerApp`
   --> src/app.rs:508:26
    |
508 |                     self.ethereum
    |                          ^^^^^^^^ unknown field
    |
    = note: available fields are: `accounts`, `staking`, `airdrop`, `community_pool`, `incentive_pool` ... and 12 others

Check failure on line 503 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant named `EthAccount` found for enum `app::Identity`

error[E0599]: no variant named `EthAccount` found for enum `app::Identity`
    --> src/app.rs:503:27
     |
503  |                 Identity::EthAccount {
     |                           ^^^^^^^^^^ variant not found in `app::Identity`
...
1951 | pub enum Identity {
     | ----------------- variant `EthAccount` not found here

Check failure on line 191 in src/app/migrations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

struct `app::InnerApp` has no field named `ethereum`

error[E0560]: struct `app::InnerApp` has no field named `ethereum`
   --> src/app/migrations.rs:191:13
    |
191 |             ethereum,
    |             ^^^^^^^^ `app::InnerApp` does not have this field
    |
    = note: all struct fields are already assigned

Check failure on line 834 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ethereum`

error[E0432]: unresolved import `crate::ethereum`
   --> src/app.rs:834:17
    |
834 |     use crate::{ethereum::bytes32, frost::FrostGroup};
    |                 ^^^^^^^^ could not find `ethereum` in the crate root
    |
note: found an item that was configured out
   --> src/lib.rs:31:9
    |
31  | pub mod ethereum;
    |         ^^^^^^^^
    = note: the item is gated behind the `ethereum` feature

Check failure on line 7 in src/app/migrations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ethereum`

error[E0432]: unresolved import `crate::ethereum`
  --> src/app/migrations.rs:7:5
   |
7  |     ethereum::{bytes32, Connection, Ethereum, Network},
   |     ^^^^^^^^ could not find `ethereum` in the crate root
   |
note: found an item that was configured out
  --> src/lib.rs:31:9
   |
31 | pub mod ethereum;
   |         ^^^^^^^^
   = note: the item is gated behind the `ethereum` feature

Check failure on line 16 in src/app.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::ethereum`

error[E0432]: unresolved import `crate::ethereum`
  --> src/app.rs:16:12
   |
16 | use crate::ethereum::Ethereum;
   |            ^^^^^^^^ could not find `ethereum` in the crate root
   |
note: found an item that was configured out
  --> src/lib.rs:31:9
   |
31 | pub mod ethereum;
   |         ^^^^^^^^
   = note: the item is gated behind the `ethereum` feature