Skip to content

Lock file maintenance #340

Lock file maintenance

Lock file maintenance #340

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Oct 16, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 139 in src/cli/cmd/view.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type mismatch resolving `<InteractSnafu as IntoError<Error>>::Source == Error`

error[E0271]: type mismatch resolving `<InteractSnafu as IntoError<Error>>::Source == Error`
   --> src/cli/cmd/view.rs:139:22
    |
139 |             .context(InteractSnafu)?
    |              ------- ^^^^^^^^^^^^^ expected `dialoguer::Error`, found `std::io::Error`
    |              |
    |              required by a bound introduced by this call
    |
    = note: `std::io::Error` and `dialoguer::Error` have similar names, but are actually distinct types
note: `std::io::Error` is defined in crate `std`
   --> /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/error.rs:67:1
note: `dialoguer::Error` is defined in crate `dialoguer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dialoguer-0.11.0/src/error.rs:7:1
    |
7   | pub enum Error {
    | ^^^^^^^^^^^^^^
note: required by a bound in `snafu::ResultExt::context`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/snafu-0.7.5/src/lib.rs:568:26
    |
566 |     fn context<C, E2>(self, context: C) -> Result<T, E2>
    |        ------- required by a bound in this associated function
567 |     where
568 |         C: IntoError<E2, Source = E>,
    |                          ^^^^^^^^^^ required by this bound in `ResultExt::context`