Skip to content

Racer fails to build from git source #1080

@martinellison

Description

@martinellison

I am running cargo +nightly install --path . --all-features against the current source (99a830229c974d5f7ca227e3a66a60d5dba6423a), and getting many compile errors.

edit: cargo +nightly install racer works for me.

I am getting

Compiling rustc-ap-syntax v610.0.0
error[E0407]: method mixed_site is not a member of trait server::Span
--> /home/martin/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-syntax-610.0.0/ext/proc_macro_server.rs:669:5
|
669 | / fn mixed_site(&mut self) -> Self::Span {
670 | | self.mixed_site
671 | | }
| |_____^ not a member of trait server::Span

and lots of errors like

error[E0658]: use of unstable library feature 'mem_take'
--> /home/martin/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-syntax-610.0.0/parse/parser.rs:1535:22
|
1535 | Some(mem::take(list))
| ^^^^^^^^^
|
= note: for more information, see rust-lang/rust#61129
= help: add #![feature(mem_take)] to the crate attributes to enable

For your information:

rustc -V
rustc 1.37.0 (eae3437df 2019-08-13)

uname -a
Linux starnova 4.4.154-59-rockchip-g5e70f14 #4 SMP Fri Dec 14 20:55:41 CST 2018 aarch64 aarch64 aarch64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions