Skip to content

Failed to build using latest nightly #1173

Open
@precompute

Description

@precompute
$ cargo +nightly install racer 
    Updating crates.io index
  Installing racer v2.1.48
   Compiling libc v0.2.109
   ...
   Compiling rustc-ap-rustc_data_structures v722.0.0
   Compiling rustc-ap-rustc_arena v722.0.0
   Compiling rustc-ap-rustc_span v722.0.0
error[E0635]: unknown feature `thread_local_const_init`
  --> /home/sys2/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/rustc-ap-rustc_span-722.0.0/src/lib.rs:23:12
   |
23 | #![feature(thread_local_const_init)]
   |            ^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `rustc-ap-rustc_span` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `racer v2.1.48`, intermediate artifacts can be found at `/tmp/cargo-installf8feJG`

Caused by:
  build failed
$ rustup run nightly rustc --version
rustc 1.59.0-nightly (0b6f079e4 2021-12-07)

It's an upstream issue: rust-lang/rust#91543

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