Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature may not be used on the stable release channel #17

Closed
marklit opened this issue Jul 20, 2018 · 2 comments
Closed

Feature may not be used on the stable release channel #17

marklit opened this issue Jul 20, 2018 · 2 comments

Comments

@marklit
Copy link

marklit commented Jul 20, 2018

I'm seeing the following issue on the current master branch:

...
   Compiling chrono v0.4.0
   Compiling failure v0.1.1
   Compiling serde_derive_internals v0.21.0
   Compiling serde_derive v1.0.33
   Compiling locustdb v0.1.0 (file:///home/mark/LocustDB)
error[E0554]: #![feature] may not be used on the stable release channel
 --> src/lib.rs:1:1
  |
1 | #![feature(fn_traits, integer_atomics, refcell_replace_swap, specialization, trait_alias, core_intrinsics, box_patterns)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `locustdb`.

To learn more, run the command again with --verbose.

These are the commands I ran on Ubuntu 16 before reaching this issue.

$ sudo apt install \
    cargo \
    curl \
    git \
    make
$ curl -sSf https://sh.rustup.rs \
    | RUSTUP_INIT_SKIP_PATH_CHECK=yes sh

$ git clone https://github.com/cswinter/LocustDB.git
$ cd LocustDB/

$ RUSTFLAGS="-Ccodegen-units=1" \
    CARGO_INCREMENTAL=0 \
    cargo run \
        --release \
        --bin repl \
        -- \
        test_data/nyc-taxi.csv.gz
@cswinter
Copy link
Owner

cswinter commented Jul 20, 2018 via email

@marklit
Copy link
Author

marklit commented Jul 20, 2018

The following fixed my issue, thanks.

rustup default nightly

@marklit marklit closed this as completed Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants