substrate-developer-hub/substrate-parachain-template

Error running `cargo build`

Closed this issue · 1 comments

I tried to run cargo build on my mac air M2 and I received the following error. Any advice?

error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /Users/rogerbos/.cargo/registry/src/github.com-1ecc6299db9ec823/io-lifetimes-0.7.5/src/lib.rs:31:26
   |
31 | #![cfg_attr(rustc_attrs, feature(rustc_attrs))]
   |                          ^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `io-lifetimes` due to previous error

Nevermind, I see now that I need to install nightly build.