kurtlawrence / papyrus

(Rust) repl
MIT License
439 stars 14 forks source link

Currently, runs only on nightly #71

Closed CGMossa closed 4 years ago

CGMossa commented 4 years ago
Here's the output: ``` Microsoft Windows [Version 10.0.17134.1069] (c) 2018 Microsoft Corporation. All rights reserved. C:\Users\[redacted]>cargo install papyrus Updating crates.io index Downloaded papyrus v0.13.1 Downloaded 1 crate (83.0 KB) in 1.38s Installing papyrus v0.13.1 Downloaded cmdtree v0.10.0 Downloaded crossterm v0.14.1 Downloaded uuid v0.8.1 Downloaded racer v2.1.29 Downloaded cc v1.0.49 Downloaded kserd v0.1.0 Downloaded derive_more v0.13.0 Downloaded getrandom v0.1.14 Downloaded racer-cargo-metadata v0.1.1 Downloaded crossterm_winapi v0.5.1 Downloaded rls-span v0.5.2 Downloaded racer-interner v0.1.0 Downloaded rustc-ap-syntax v610.0.0 Downloaded rustc-ap-rustc_errors v610.0.0 Downloaded base91 v0.0.1 Downloaded rustc-ap-rustc_index v610.0.0 Downloaded rustc-ap-syntax_pos v610.0.0 Downloaded rustc-ap-serialize v610.0.0 Downloaded rustc-ap-rustc_data_structures v610.0.0 Downloaded annotate-snippets v0.6.1 Downloaded rustc-ap-arena v610.0.0 Downloaded rustc-ap-rustc_lexer v610.0.0 Downloaded rustc-ap-rustc_macros v610.0.0 Downloaded rustc-rayon v0.3.0 Downloaded rustc-ap-rustc_target v610.0.0 Downloaded rustc-ap-graphviz v610.0.0 Downloaded rustc-rayon-core v0.3.0 Compiling cfg-if v0.1.10 Compiling winapi v0.3.8 Compiling semver-parser v0.7.0 Compiling autocfg v0.1.7 Compiling lazy_static v1.4.0 Compiling unicode-xid v0.2.0 Compiling proc-macro2 v1.0.7 Compiling scopeguard v1.0.0 Compiling syn v1.0.13 Compiling maybe-uninit v2.0.0 Compiling libc v0.2.66 Compiling getrandom v0.1.14 Compiling log v0.4.8 Compiling byteorder v1.3.2 Compiling either v1.5.3 Compiling rustc-rayon-core v0.3.0 Compiling winapi-build v0.1.1 Compiling bitflags v1.2.1 Compiling serde v1.0.104 Compiling stable_deref_trait v1.1.1 Compiling cc v1.0.49 Compiling unicode-width v0.1.7 Compiling rustc-ap-graphviz v610.0.0 error[E0554]: `#![feature]` may not be used on the stable release channel --> C:\Users\[redacted]\.cargo\registry\src\github.com-1ecc6299db9ec823\rustc-ap-graphviz-610.0.0\lib.rs:277:1 | 277 | #![feature(rustc_private, nll)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0554`. error: could not compile `rustc-ap-graphviz`. warning: build failed, waiting for other jobs to finish... error: failed to compile `papyrus v0.13.1`, intermediate artifacts can be found at `C:\Users\[redacted]\AppData\Local\Temp\cargo-install6lFZy5` Caused by: build failed ```
kurtlawrence commented 4 years ago

Hi @CGMossa,

I recently updated the README with details on installation procedure.

Papyrus requires nightly with the default feature set as it utilises racer for code completion. If wanting to install on stable, the racer completion feature can be left off:

cargo +stable install papyrus --no-default-features --features="format,runnable"