diem
diem copied to clipboard
[Bug] Getting `use of undeclared crate or module plotters_bitmap` in `cargo install --git https://github.com/diem/diem move-cli`
🐛 Bug
I am trying to run the cargo install --git https://github.com/diem/diem move-cli
command, but I am getting the following error:
use of undeclared crate or module `plotters_bitmap`
To reproduce
Code snippet to reproduce
cargo install --git https://github.com/diem/diem move-cli
Stack trace/error message
error[E0432]: unresolved import `plotters_bitmap`
--> /home/sam/.cargo/registry/src/github.com-1ecc6299db9ec823/plotters-0.3.3/src/evcxr.rs:4:5
|
4 | use plotters_bitmap::BitMapBackend;
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `plotters_bitmap`
Compiling sized-chunks v0.6.5
For more information about this error, try `rustc --explain E0432`.
error: could not compile `plotters` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `plotters` due to previous error
error: failed to compile `move-cli v0.1.0 (https://github.com/diem/diem#185ae2e2)`, intermediate artifacts can be found at `/tmp/cargo-installgbbXB5`
Expected Behavior
System information
Please complete the following information:
- Diem Version: The latest version from github
- Rust Version:
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.63.0 (4b91a6ea7 2022-08-08)`
- Computer OS
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Additional context
Add any other context about the problem here.