First rocket program, first error


hi just try example of Rocket from
and i got Could not compile state ,

ruby$ cargo install state
    Updating registry ``
  Installing state v0.3.1
error: specified package has no binaries
Oderlo-pro:hello_world ruby$ cargo run
   Compiling futures v0.1.15
   Compiling language-tags v0.2.2
   Compiling matches v0.1.6
   Compiling ordermap v0.2.12
   Compiling version_check v0.1.3
   Compiling smallvec v0.4.3
   Compiling libc v0.2.30
   Compiling state v0.3.1
error[E0554]: #[feature] may not be used on the stable release channel
 --> /Users/ruby/.cargo/registry/src/
1 | #![feature(const_fn, drop_types_in_const)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `state`.
warning: build failed, waiting for other jobs to finish...
error: build failed

thanks ^^


Rocket works only on the nightly channel (ie compiler version), so you’ll need to switch to that instead of stable. has instructions to do just that.