Skip to content

Fails to build  #2

@bernhardkaindl

Description

@bernhardkaindl

Tested on Ubuntu 20.04, Linux Mint 20.2 and Ubuntu 22.04, each with stock rustc:

error[E0432]: unresolved import `clap::Clap`
error[E0277]: the trait bound `VaultClient: LoginClient` is not satisfied
   --> /home/bkaindl/.cargo/registry/src/github.com-1ecc6299db9ec823/vaultssh-0.1.1/src/main.rs:275:45
    |
275 |         if let Err(e) = crate::login::login(&mut client, config, console).await {
    |                         ------------------- ^^^^^^^^^^^ the trait `LoginClient` is not implemented for `VaultClient`
    |                         |
    |                         required by a bound introduced by this call
145 | pub struct Opts {
    | --------------- function or associated item `parse` not found for this
...
184 |     let opts: Opts = Opts::parse();
    |                            ^^^^^ function or associated item not found in `Opts`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
            candidate #1: `time::parsing::parsable::sealed::Sealed`
            candidate #2: `Parser`
            candidate #3: `TypedValueParser`

Some errors have detailed explanations: E0277, E0432, E0599.
For more information about an error, try `rustc --explain E0277`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions