Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

bug: won't build #3

Description

@limikael

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions