diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 529d916ac..c64ca303f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,6 +27,6 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-lint-1 - name: Run Lint - run: cargo clippy --verbose --tests --benches -- -D warnings + run: cargo clippy --verbose --tests --benches -- -D warnings -D clippy::all env: RUST_BACKTRACE: 1 diff --git a/bin/icp-cli/src/commands/identity/import.rs b/bin/icp-cli/src/commands/identity/import.rs index cca8e330e..01ea4ab70 100644 --- a/bin/icp-cli/src/commands/identity/import.rs +++ b/bin/icp-cli/src/commands/identity/import.rs @@ -337,14 +337,14 @@ pub enum LoadKeyError { #[derive(Debug, Snafu)] pub enum DeriveKeyError { #[snafu(transparent)] - ReadSeedFileError { source: fs::ReadToStringError }, + ReadSeedFile { source: fs::ReadToStringError }, #[snafu(display("failed to read seed phrase from terminal"))] - ReadSeedPhraseFromTerminalError { source: dialoguer::Error }, + ReadSeedPhraseFromTerminal { source: dialoguer::Error }, #[snafu(display("failed to parse seed phrase"))] - ParseMnemonicError { source: bip39::ErrorKind }, + ParseMnemonic { source: bip39::ErrorKind }, #[snafu(transparent)] - CreateIdentityError { source: CreateIdentityError }, + CreateIdentity { source: CreateIdentityError }, }