diem / diem/move

error[E0432]: unresolved import `plotters_bitmap`

Open
#242 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
378
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Hi.
I have a problem during the installation process.

error[E0432]: unresolved import `plotters_bitmap`
--> /home/aiv/.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 num-complex v0.4.2
Compiling num-traits v0.1.43
Compiling ordered-float v2.10.0
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: failed to compile `move-cli v0.1.0 (https://github.com/diem/move?branch=main#08b7eae0)`, intermediate artifacts can be found at `/tmp/cargo-install24OD2g`

![Screenshot from 2022-08-29 09-31-43](https://user-images.githubusercontent.com/71136989/187137620-bf0a83f5-773b-408e-9301-ee0a314b4026.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported cargo installation failure for move-cli and inspect plotters-0.3.3/src/evcxr.rs, where the unresolved plotters_bitmap import is reported. Check the dependency and feature configuration involved in the build; done means move-cli installs without the E0432 compilation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.