figsoda / figsoda/mmtc

cargo install mmtc fails with import scope errors

Open
#41 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
100
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.