ga4gh-beacon / beacon-verifier

Tool to verify that a Beacon implementation follows the specification
2 stars 3 forks source link

beacon-verifier compilation error "no variant or associated item named `ColorAlways`" etc. #3

Closed mbaudis closed 3 years ago

mbaudis commented 3 years ago

I get a compilation error when running a straight install. Never used Rust, but this seems to be in the package?

   Compiling beacon-verifier v0.2.5
error[E0599]: no variant or associated item named `ColorAlways` found for enum `AppSettings` in the current scope
  --> /Users/mbaudis/.cargo/registry/src/github.com-1ecc6299db9ec823/beacon-verifier-0.2.5/src/main.rs:30:32
   |
30 |         .global_setting(AppSettings::ColorAlways)
   |                                      ^^^^^^^^^^^ variant or associated item not found in `AppSettings`

error[E0599]: no variant or associated item named `ColoredHelp` found for enum `AppSettings` in the current scope
  --> /Users/mbaudis/.cargo/registry/src/github.com-1ecc6299db9ec823/beacon-verifier-0.2.5/src/main.rs:31:32
   |
31 |         .global_setting(AppSettings::ColoredHelp)
   |                                      ^^^^^^^^^^^ variant or associated item not found in `AppSettings`

For more information about this error, try `rustc --explain E0599`.
error: failed to compile `beacon-verifier v0.2.5`, intermediate artifacts can be found at `/var/folders/sq/m_5_0_z901j3gc1tj7k976x80000gn/T/cargo-installHBV74H`

Caused by:
  could not compile `beacon-verifier` due to 2 previous errors
mbaudis commented 3 years ago

OS X 12.0, Rust via homebrew.

MrRobb commented 3 years ago

Running again should fix the issue:

cargo install beacon-verifier