-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
After running cargo +nightly-2023-09-04 install redpen-linter, it gives the following output
Updating crates.io index
Installing redpen-linter v0.2.0
Updating crates.io index
Compiling home v0.5.5
Compiling redpen-linter v0.2.0
error[E0463]: can't find crate for `rustc_ast`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:11:1
|
11 | extern crate rustc_ast;
| ^^^^^^^^^^^^^^^^^^^^^^^ 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/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:12:1
|
12 | 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_driver`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:13:1
|
13 | extern crate rustc_driver;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:14:1
|
14 | 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_hir`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:15:1
|
15 | extern crate rustc_hir;
| ^^^^^^^^^^^^^^^^^^^^^^^ 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_hir_typeck`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:16:1
|
16 | extern crate rustc_hir_typeck;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_index`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:17:1
|
17 | extern crate rustc_index;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ 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_infer`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:18:1
|
18 | extern crate rustc_infer;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ 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_interface`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:19:1
|
19 | extern crate rustc_interface;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_lint`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:20:1
|
20 | extern crate rustc_lint;
| ^^^^^^^^^^^^^^^^^^^^^^^^ 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_macros`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:21:1
|
21 | extern crate rustc_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_middle`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:22:1
|
22 | extern crate rustc_middle;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_mir_dataflow`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:23:1
|
23 | extern crate rustc_mir_dataflow;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_monomorphize`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:24:1
|
24 | extern crate rustc_monomorphize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_serialize`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:25:1
|
25 | extern crate rustc_serialize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:26:1
|
26 | 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/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:27:1
|
27 | 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`
error[E0463]: can't find crate for `rustc_symbol_mangling`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:28:1
|
28 | extern crate rustc_symbol_mangling;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_target`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:29:1
|
29 | extern crate rustc_target;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_trait_selection`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:30:1
|
30 | extern crate rustc_trait_selection;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 `tracing`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:33:1
|
33 | extern crate tracing;
| ^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: cannot determine resolution for the macro `declare_tool_lint`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/disallow.rs:18:1
|
18 | declare_tool_lint! {
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `impl_lint_pass`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/disallow.rs:24:1
|
24 | impl_lint_pass!(Disallow<'_> => [DISALLOW]);
| ^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `declare_tool_lint`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/panic_freedom.rs:154:1
|
154 | declare_tool_lint! {
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: cannot determine resolution for the macro `impl_lint_pass`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/panic_freedom.rs:160:1
|
160 | impl_lint_pass!(DontPanic<'_> => [DONT_PANIC]);
| ^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/attribute.rs:62:20
|
62 | crate::INCORRECT_ATTRIBUTE,
| ^^^^^^^^^^^^^^^^^^^ not found in the crate root
error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/attribute.rs:266:24
|
266 | crate::INCORRECT_ATTRIBUTE,
| ^^^^^^^^^^^^^^^^^^^ not found in the crate root
error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in the crate root
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/attribute.rs:282:28
|
282 | crate::INCORRECT_ATTRIBUTE,
| ^^^^^^^^^^^^^^^^^^^ not found in the crate root
error[E0425]: cannot find value `DISALLOW` in this scope
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/disallow.rs:92:33
|
92 | ... DISALLOW,
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `DISALLOW` in this scope
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/disallow.rs:153:29
|
153 | ... DISALLOW,
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `DONT_PANIC` in this scope
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/panic_freedom.rs:426:21
|
426 | DONT_PANIC,
| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `INCORRECT_ATTRIBUTE` in this scope
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:90:18
|
90 | &INCORRECT_ATTRIBUTE,
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `DISALLOW` in module `disallow`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:91:28
|
91 | &disallow::DISALLOW,
| ^^^^^^^^ not found in `disallow`
error[E0425]: cannot find value `DONT_PANIC` in module `panic_freedom`
--> /home/polly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/redpen-linter-0.2.0/src/main.rs:92:33
|
92 | &panic_freedom::DONT_PANIC,
| ^^^^^^^^^^ not found in `panic_freedom`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels