Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock file maintenance #412

Merged
merged 1 commit into from
Dec 25, 2023

Lock file maintenance

75a3833
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Lock file maintenance #412

Lock file maintenance
75a3833
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Dec 25, 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.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

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/a28077b28a02b92985b3a3faecf92813155f1ea1/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`