RagnarGrootKoerkamp / astar-pairwise-aligner

A pairwise sequence aligner written in Rust
Mozilla Public License 2.0
117 stars 11 forks source link

`#![feature]` may not be used on the stable release channel #28

Closed grenaud closed 6 months ago

grenaud commented 6 months ago

I am not really a Rust expect, I ran: cargo install --git https://github.com/RagnarGrootKoerkamp/astar-pairwise-aligner pa-bin

all was well until:

warning: `pa-test` (lib) generated 1 warning
   Compiling statrs v0.16.0
   Compiling bio v1.3.0
   Compiling pa-heuristic v0.1.0 (/home/people/gabre/.cargo/git/checkouts/astar-pairwise-aligner-46f37c23af4e694b/cf10cc2/pa-heuristic)
   Compiling pa-bitpacking v0.1.0 (/home/people/gabre/.cargo/git/checkouts/astar-pairwise-aligner-46f37c23af4e694b/cf10cc2/pa-bitpacking)
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> pa-bitpacking/src/lib.rs:17:1
   |
17 | / #![feature(
18 | |     array_chunks,
19 | |     array_windows,
20 | |     bigint_helper_methods,
...  |
28 | |     test
29 | | )]
   | |__^

Any idea why?

RagnarGrootKoerkamp commented 6 months ago

Hi,

You'll need rust nightly, which has some more (unstable) features. See the next line of the readme:

rustup install nightly; rustup default nightly

(I'll move it above so it's less confusing)

grenaud commented 6 months ago

Ok I could not install rustup on the cluster but could on my desktop. It worked, thank you!