LukeMathWalker/bunyan

cargo install bunyan did not work

andresv opened this issue · 1 comments

Tried to install bunyan:

 cargo install bunyan                                                                                                                                                     1s  ●  ~/D/y/iondrive
    Updating crates.io index
  Downloaded bunyan v0.1.6
  Downloaded 1 crate (278.8 KB) in 0.70s
  Installing bunyan v0.1.6
  Downloaded anyhow v1.0.51
  Downloaded ryu v1.0.6
  Downloaded serde_json v1.0.72
  Downloaded syn v1.0.82
  Downloaded 4 crates (444.3 KB) in 0.65s
   Compiling proc-macro2 v1.0.32
   Compiling autocfg v1.0.1
   Compiling unicode-xid v0.2.2
   Compiling version_check v0.9.3
   Compiling syn v1.0.82
   Compiling libc v0.2.108
   Compiling serde_derive v1.0.130
   Compiling serde v1.0.130
   Compiling memchr v2.4.1
   Compiling ryu v1.0.6
   Compiling unicode-segmentation v1.8.0
   Compiling lazy_static v1.4.0
   Compiling serde_json v1.0.72
   Compiling unicode-width v0.1.9
   Compiling anyhow v1.0.51
   Compiling hashbrown v0.11.2
   Compiling either v1.6.1
   Compiling termcolor v1.1.2
   Compiling bitflags v1.3.2
   Compiling strsim v0.10.0
   Compiling itoa v0.4.8
   Compiling textwrap v0.14.2
   Compiling itertools v0.10.1
   Compiling heck v0.3.3
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling unicase v2.6.0
   Compiling num-traits v0.2.14
   Compiling indexmap v1.7.0
   Compiling num-integer v0.1.44
   Compiling os_str_bytes v4.2.0
   Compiling atty v0.2.14
   Compiling time v0.1.44
   Compiling colored v2.0.0
   Compiling quote v1.0.10
   Compiling clap_derive v3.0.0-beta.5
   Compiling clap v3.0.0-beta.5
error[E0658]: arbitrary expressions in key-value attributes are unstable
 --> /Users/andres/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.0.0-beta.5/src/lib.rs:8:10
  |
8 | #![doc = include_str!("../README.md")]
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `clap`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `bunyan v0.1.6`, intermediate artifacts can be found at `/var/folders/5b/jlxfj70x1fb_n2l6qh21xxfh0000gn/T/cargo-installYHdZ1r`

Caused by:
  build failed

Your version of the Rust compiler is too old - run rustup update and try installing again!