ivanceras / diwata

A user-friendly database interface
Apache License 2.0
395 stars 15 forks source link

error[E0554]: `#![feature]` #16

Open goodforever opened 4 years ago

goodforever commented 4 years ago

got error error[E0554]: #![feature] may not be used on the stable release channel ---~/.cargo/registry/src/github.com-1ecc6299db9ec823/sauron_vdom-0.20.0/src/lib.rs:3:1 | 3 | #![feature(arbitrary_self_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/sauron_vdom-0.7.1/src/lib.rs:3:1 | 3 | #![feature(arbitrary_self_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

rustc version1.40.0 stable following git clone https://github.com/ivanceras/diwata cd diwata git submodule update --init --recursive ./run_sqlite_sakila.sh

ivanceras commented 4 years ago

@goodforever You need to use the nightly compiler for diwata. This uses a lot of experimental features as of the moment. You can do this by issuing the command rustup default nightly, if you are using rustup.

goodforever commented 4 years ago

rustc 1.42.0-nightly got error:

error: array lengths can't depend on generic parameters --> .cargo/registry/src/github.com-1ecc6299db9ec823/matrixmultiply-0.2.3/src/sgemm_kernel.rs:473:44 | 473 | let mut ab: [[T; NR]; MR] = [[0.; NR]; MR]; | ^^

error: array lengths can't depend on generic parameters --> cargo/registry/src/github.com-1ecc6299db9ec823/matrixmultiply-0.2.3/src/sgemm_kernel.rs:473:39 | 473 | let mut ab: [[T; NR]; MR] = [[0.; NR]; MR]; | ^^

error: array lengths can't depend on generic parameters --> .cargo/registry/src/github.com-1ecc6299db9ec823/matrixmultiply-0.2.3/src/dgemm_kernel.rs:786:44 | 786 | let mut ab: [[T; NR]; MR] = [[0.; NR]; MR]; | ^^

error: array lengths can't depend on generic parameters --> .cargo/registry/src/github.com-1ecc6299db9ec823/matrixmultiply-0.2.3/src/dgemm_kernel.rs:786:39 | 786 | let mut ab: [[T; NR]; MR] = [[0.; NR]; MR]; | ^^

error: aborting due to 4 previous errors

ivanceras commented 4 years ago

Hi, I was able to replicate this error, when I update the rust compiler to the latest nightly. I will try to get a fix soon. Thanks for reporting @goodforever