racer: rust-racer failed to install: (error el-get: cargo el-get could not build rust-racer [cargo build --release])

  • Arch linux

  • rustc 1.26.2 (594fb253c 2018-06-01)

  • cargo 1.26.0 (0e7c5a931 2018-04-06)

  • stable channel

  • emacs package manager: el-get

   Compiling cfg-if v0.1.2
   Compiling nodrop v0.1.12
   Compiling memoffset v0.2.1
   Compiling scopeguard v0.3.3
   Compiling lazy_static v1.0.0
   Compiling libc v0.2.39
   Compiling rustc-rayon-core v0.1.0
   Compiling pkg-config v0.3.11
   Compiling cc v1.0.15
   Compiling smallvec v0.6.1
   Compiling stable_deref_trait v1.0.0
   Compiling unicode-xid v0.0.4
   Compiling bitflags v1.0.1
   Compiling byteorder v1.2.3
   Compiling void v1.0.2
   Compiling matches v0.1.6
   Compiling quote v0.3.15
   Compiling either v1.5.0
   Compiling unicode-xid v0.1.0
   Compiling regex v0.2.10
   Compiling serde v1.0.62
   Compiling unicode-normalization v0.1.7
   Compiling ucd-util v0.1.1
   Compiling rustc-ap-serialize v151.0.0
   Compiling foreign-types-shared v0.1.1
error[E0554]: #![feature] may not be used on the stable release channel
  --> /home/crandel/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-151.0.0/lib.rs:23:1
   |
23 | #![feature(rustc_private, box_syntax)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
  --> /home/crandel/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-151.0.0/lib.rs:24:1
   |
24 | #![feature(core_intrinsics)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel
  --> /home/crandel/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-151.0.0/lib.rs:25:1
   |
25 | #![feature(specialization)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0554`.
error: Could not compile `rustc-ap-serialize`.
warning: build failed, waiting for other jobs to finish...
error: build failed

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 7
  • Comments: 17

Most upvoted comments

Works:

cargo install --version 2.0.13 racer

I get the following when trying to install racer.

cargo install racer Updating crates.io index Installing racer v2.1.16 Compiling semver-parser v0.7.0 Compiling arrayvec v0.4.10 Compiling nodrop v0.1.13 Compiling winapi v0.3.6 Compiling cfg-if v0.1.6 Compiling libc v0.2.45 Compiling void v1.0.2 Compiling lazy_static v1.2.0 Compiling rand_core v0.3.0 Compiling memoffset v0.2.1 Compiling scopeguard v0.3.3 Compiling proc-macro2 v0.4.24 Compiling stable_deref_trait v1.1.1 Compiling rustc-rayon-core v0.1.1 Compiling unicode-xid v0.1.0 Compiling bitflags v1.0.4 Compiling either v1.5.0 Compiling version_check v0.1.5 Compiling byteorder v1.2.7 Compiling unicode-width v0.1.5 Compiling rustc-ap-graphviz v306.0.0 Compiling serde v1.0.84 Compiling ryu v0.2.7 Compiling regex v1.1.0 error[E0554]: #![feature] may not be used on the stable release channel –> C:\Users\mu250005.cargo\registry\src\github.com-1ecc6299db9ec823\rustc-ap-graphviz-306.0.0\lib.rs:289:1 | 289 | #![feature(rustc_private, nll)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #![feature] may not be used on the stable release channel –> C:\Users\mu250005.cargo\registry\src\github.com-1ecc6299db9ec823\rustc-ap-graphviz-306.0.0\lib.rs:290:1 | 290 | #![feature(str_escape)] | ^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

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 racer v2.1.16, intermediate artifacts can be found at C:\Users\mu250005\AppData\Local\Temp\cargo-installzpUWG6

Caused by: build failed

same

cargo +nightly install racer --force

would work but I recommend RLS for vscode.