tinydancer-io / tinydancer

The First Light Client for the Solana Blockchain
https://docs.tinydancer.io
MIT License
130 stars 16 forks source link

Issue with compiling #23

Closed saberistic closed 1 year ago

saberistic commented 1 year ago

While compiling tinydancer with rustc 1.68.1 and cargo 1.68.1 I am facing following issue

   Compiling tinydancer v0.0.8 (/home/saber/.cargo/git/checkouts/half-baked-client-2cffdb8d7eed3c85/07a7f60/tinydancer)
error[E0554]: `#![feature]` may not be used on the stable release channel                                         
  --> tinydancer/src/main.rs:27:1                                                                                 
   |                                                                                                              
27 | #![feature(async_closure)]                                                                                   
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                   

error[E0554]: `#![feature]` may not be used on the stable release channel                                                 
  --> tinydancer/src/main.rs:30:1                                                                                                                                                                                                                    
   |                                                         
30 | #![feature(mutex_unlock)]                               
   | ^^^^^^^^^^^^^^^^^^^^^^^^^                               

error[E0554]: `#![feature]` may not be used on the stable release channel                                                 
  --> tinydancer/src/main.rs:30:12                           
   |                                                         
30 | #![feature(mutex_unlock)]                               
   |            ^^^^^^^^^^^^                                 

For more information about this error, try `rustc --explain E0554`.                                                       
error: could not compile `tinydancer` due to 3 previous errors                                                            
error: failed to compile `tinydancer v0.0.8 (https://github.com/tinydancer-io/half-baked-client#07a7f600)`, intermediate artifacts can be found at `/tmp/cargo-install1GSVJV`
anoushk1234 commented 1 year ago

hey @saberistic we are dependent on some nightly features of rust, I would recommend you set your toolchain to nightly

saberistic commented 1 year ago

Thanks, That took care of it. Would it be a good idea to add this into instructions somewhere?

anoushk1234 commented 1 year ago

Thanks, That took care of it. Would it be a good idea to add this into instructions somewhere?

yes that's a good point, I will add it, thank you.