Open
Description
Summary
I try to build the rust-clippy-rust-1.58.0, but it failed. the bellow is the error infor:
the command: cargo build
Version
rustc 1.58.1 (db9d1b20b 2022-01-20)
binary: rustc
commit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b
commit-date: 2022-01-20
host: x86_64-unknown-linux-gnu
release: 1.58.1
LLVM version: 13.0.0
Error output
Backtrace
error[E0531]: cannot find tuple struct or tuple variant `FnKind` in this scope
--> clippy_utils/src/ast_utils.rs:253:17
|
253 | (Fn(box FnKind(ld, lf, lg, lb)), Fn(box FnKind(rd, rf, rg, rb))) => {
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `FnKind` in this scope
--> clippy_utils/src/ast_utils.rs:253:49
|
253 | (Fn(box FnKind(ld, lf, lg, lb)), Fn(box FnKind(rd, rf, rg, rb))) => {
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `TyAliasKind` in this scope
--> clippy_utils/src/ast_utils.rs:269:22
|
269 | (TyAlias(box TyAliasKind(ld, lg, lb, lt)), TyAlias(box TyAliasKind(rd, rg, rb, rt))) => {
| ^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `TyAliasKind` in this scope
--> clippy_utils/src/ast_utils.rs:269:64
|
269 | (TyAlias(box TyAliasKind(ld, lg, lb, lt)), TyAlias(box TyAliasKind(rd, rg, rb, rt))) => {
| ^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `TraitKind` in this scope
--> clippy_utils/src/ast_utils.rs:279:20
|
279 | (Trait(box TraitKind(la, lu, lg, lb, li)), Trait(box TraitKind(ra, ru, rg, rb, ri))) => {
| ^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `TraitKind` in this scope
--> clippy_utils/src/ast_utils.rs:279:62
|
279 | (Trait(box TraitKind(la, lu, lg, lb, li)), Trait(box TraitKind(ra, ru, rg, rb, ri))) => {
| ^^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `ImplKind` in this scope
--> clippy_utils/src/ast_utils.rs:288:22
|
288 | Impl(box ImplKind {
| ^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `ImplKind` in this scope
--> clippy_utils/src/ast_utils.rs:298:22
|
298 | Impl(box ImplKind {
| ^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0422, E0531, E0554, E0599, E0609.
For more information about an error, try `rustc --explain E0422`.
error: could not compile `clippy_utils` due to 23 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed