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

bug: won't build #3

Open
1 task done
limikael opened this issue May 21, 2023 · 0 comments
Open
1 task done

bug: won't build #3

limikael opened this issue May 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@limikael
Copy link

Area

cargo-ipa

Description

getting the following error when trying to install... the install command is cargo install --path=. --features=binary as you can see below... should it be something else?

user@users-iMac-Pro cargo-ipa % cargo install --path=. --features=binary
  Installing cargo-ipa v0.1.0 (/Users/user/src/cargo-ipa)
    Updating crates.io index
   Compiling cargo-ipa v0.1.0 (/Users/user/src/cargo-ipa)
error: cannot find derive macro `ValueEnum` in this scope
   --> src/context.rs:167:55
    |
167 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
    |                                                       ^^^^^^^^^
    |
    = help: consider importing this derive macro:
            clap::ValueEnum

error: cannot find attribute `value` in this scope
   --> src/context.rs:170:7
    |
170 |     #[value(rename_all = "lower")]
    |       ^^^^^

error: cannot find attribute `value` in this scope
   --> src/context.rs:172:7
    |
172 |     #[value(rename_all = "lower")]
    |       ^^^^^

error: cannot find derive macro `ValueEnum` in this scope
   --> src/context.rs:192:55
    |
192 | #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
    |                                                       ^^^^^^^^^
    |
    = help: consider importing this derive macro:
            clap::ValueEnum

error: cannot find attribute `value` in this scope
   --> src/context.rs:195:7
    |
195 |     #[value(rename_all = "verbatim")]
    |       ^^^^^

error: could not compile `cargo-ipa` due to 5 previous errors
error: failed to compile `cargo-ipa v0.1.0 (/Users/user/src/cargo-ipa)`, intermediate artifacts can be found at `/Users/user/src/cargo-ipa/target`
user@users-iMac-Pro cargo-ipa % 

Minimal reproduction

see above

Expected behavior

see above

Additional information

No response

Checks

  • I have checked for existing issues about this, and did not
    find any.
@limikael limikael added the bug Something isn't working label May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant