error[E0463]: can't find crate for rustc_ast_pretty
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:17:1
|
17 | extern crate rustc_ast_pretty;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_data_structures
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:18:1
|
18 | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_errors
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:19:1
|
19 | extern crate rustc_errors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_parse
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:20:1
|
20 | extern crate rustc_parse;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_session
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:21:1
|
21 | extern crate rustc_session;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_span
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:22:1
|
22 | extern crate rustc_span;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
For more information about this error, try rustc --explain E0463.
error: could not compile racer due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile racer v2.2.2, intermediate artifacts can be found at /tmp/cargo-install7VvowJ
~$ cargo +nightly install rust-src rustc-dev llvm-tools-preview
Updating crates.io index
error: could not find rust-src in registry crates-io with version *
error: could not find rustc-dev in registry crates-io with version *
error: could not find llvm-tools-preview in registry crates-io with version *
Summary Failed to install rust-src, rustc-dev, llvm-tools-preview (see error(s) above).
error: some crates failed to install
error[E0463]: can't find crate for rustc_ast_pretty
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:17:1
|
17 | extern crate rustc_ast_pretty;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_data_structures
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:18:1
|
18 | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_errors
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:19:1
|
19 | extern crate rustc_errors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_parse
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:20:1
|
20 | extern crate rustc_parse;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_session
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:21:1
|
21 | extern crate rustc_session;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_span
--> /home/aurelien/.cargo/registry/src/github.com-1ecc6299db9ec823/racer-2.2.2/src/racer/lib.rs:22:1
|
22 | extern crate rustc_span;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
For more information about this error, try rustc --explain E0463.
error: could not compile racer due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile racer v2.2.2, intermediate artifacts can be found at /tmp/cargo-install15PnEd
Sadly, racer is essentially abandoned. I tried to use it with GNU Emacs for a time (it's packaged in my Linux distro — is it not in Debian?), because I'm unwilling to pay the cost (in memory, mainly) of rust-analyzer, but, although racer worked well enough for types in the standard library, it seemed unable to complete anything from other crates, even if run outside of Emacs, on the command line, and I eventually gave up on poor old racer.
Thanks for your response, I have use the @Michael-F-Bryan link with success ... it works like a charm, and let the user free to make some change ...
M-x works vertically ... but I will find a way or maybe change my habits for that design.
Thanks once again for your help!