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

cargo install mmtc fails with import scope errors #41

Open
daveriedstra opened this issue Jan 21, 2022 · 1 comment
Open

cargo install mmtc fails with import scope errors #41

daveriedstra opened this issue Jan 21, 2022 · 1 comment

Comments

@daveriedstra
Copy link

at the compiling mmtc v0.2.14 step, the cargo build fails with a bunch of errors like this:

error: cannot find derive macro `Parser` in this scope
 --> /home/dried/.cargo/registry/src/github.com-1ecc6299db9ec823/mmtc-0.2.14/src/cli.rs:8:10
  |
8 | #[derive(Parser)]
  |          ^^^^^^
  |
note: `Parser` is imported here, but it is only a trait, without a derive macro
 --> /home/dried/.cargo/registry/src/github.com-1ecc6299db9ec823/mmtc-0.2.14/src/cli.rs:1:5
  |
1 | use clap::Parser;
  |     ^^^^^^^^^^^^

error: cannot find attribute `clap` in this scope
 --> /home/dried/.cargo/registry/src/github.com-1ecc6299db9ec823/mmtc-0.2.14/src/cli.rs:9:3
  |
9 | #[clap(version)]
  |   ^^^^
  |
  = note: `clap` is in scope, but it is a crate, not an attribute
@figsoda
Copy link
Owner

figsoda commented Oct 14, 2022

0.2.15 was released, is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants