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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Getting use of undeclared crate or module plotters_bitmap in cargo install --git https://github.com/diem/diem move-cli #10388

Open
anupam-io opened this issue Aug 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@anupam-io
Copy link

馃悰 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.

@anupam-io anupam-io added the bug Something isn't working label Aug 26, 2022
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