piechart icon indicating copy to clipboard operation
piechart copied to clipboard

Error while Compiling: no method named 'about'

Open Flockenmumie opened this issue 2 years ago • 0 comments

Hi! The project looks awesome, but some bug occured. I run into the following error while compiling:

root@Ubuntu:~# cargo install piechart --features cli Updating crates.io index Downloaded piechart v1.0.0 Downloaded 1 crate (25.1 KB) in 0.44s Installing piechart v1.0.0 Downloaded clap_lex v0.2.4 Downloaded hashbrown v0.12.3 Downloaded indexmap v1.9.3 Downloaded os_str_bytes v6.5.0 Downloaded libc v0.2.144 Downloaded textwrap v0.16.0 Downloaded termcolor v1.2.0 Downloaded clap v3.2.25 Downloaded autocfg v1.1.0 Downloaded ansi_term v0.12.1 Downloaded strsim v0.10.0 Downloaded bitflags v1.3.2 Downloaded atty v0.2.14 Downloaded 13 crates (1.2 MB) in 1.06s Compiling libc v0.2.144 Compiling autocfg v1.1.0 Compiling os_str_bytes v6.5.0 Compiling hashbrown v0.12.3 Compiling bitflags v1.3.2 Compiling strsim v0.10.0 Compiling clap_lex v0.2.4 Compiling indexmap v1.9.3 Compiling termcolor v1.2.0 Compiling textwrap v0.16.0 Compiling atty v0.2.14 Compiling clap v3.2.25 Compiling ansi_term v0.12.1 Compiling piechart v1.0.0 error[E0599]: no method named about found for struct Arg in the current scope --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/piechart-1.0.0/src/bin/piechart.rs:34:18 | 34 | .about("e.g. Label:2.0 or Other:4.2:italic strike magenta:▴"), | ^^^^^ method not found in Arg<'_> For more information about this error, try rustc --explain E0599. error: could not compile piechart due to previous error error: failed to compile piechart v1.0.0, intermediate artifacts can be found at /tmp/cargo-installrxV8hM

Flockenmumie avatar May 09 '23 11:05 Flockenmumie