[INFO] crate rerast 0.1.31 is already in cache [INFO] extracting crate rerast 0.1.31 into work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/reg/rerast/0.1.31 [INFO] extracting crate rerast 0.1.31 into work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/reg/rerast/0.1.31 [INFO] validating manifest of rerast-0.1.31 on toolchain master#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rerast-0.1.31 on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rerast-0.1.31 [INFO] finished frobbing rerast-0.1.31 [INFO] frobbed toml for rerast-0.1.31 written to work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/reg/rerast/0.1.31/Cargo.toml [INFO] started frobbing rerast-0.1.31 [INFO] finished frobbing rerast-0.1.31 [INFO] frobbed toml for rerast-0.1.31 written to work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/reg/rerast/0.1.31/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rerast-0.1.31 against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-3/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/reg/rerast/0.1.31:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5f84eba999d7cbd615499b18af85801c23308c3a83e04e3f8389d7f481c8fac7 [INFO] running `"docker" "start" "-a" "5f84eba999d7cbd615499b18af85801c23308c3a83e04e3f8389d7f481c8fac7"` [INFO] [stderr] Checking rerast_macros v0.1.12 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking rerast v0.1.31 (/opt/crater/workdir) [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/change_to_rule.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/code_substitution.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/errors.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/rule_finder.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/rule_matcher.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/validation.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/lib.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rustc_driver::driver`, `rustc_driver::CompilerCalls` [INFO] [stderr] --> src/lib.rs:105:20 [INFO] [stderr] | [INFO] [stderr] 105 | use rustc_driver::{driver, Compilation, CompilerCalls, RustcDefaultCalls}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ no `CompilerCalls` in the root [INFO] [stderr] | | [INFO] [stderr] | no `driver` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hir::DeclKind` [INFO] [stderr] --> src/rule_matcher.rs:1079:13 [INFO] [stderr] | [INFO] [stderr] 1079 | use hir::DeclKind; [INFO] [stderr] | ^^^^^^^^^^^^^ no `DeclKind` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/change_to_rule.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | Span::new(filemap.start_pos, filemap.end_pos, syntax_pos::NO_EXPANSION), [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/change_to_rule.rs:198:22 [INFO] [stderr] | [INFO] [stderr] 198 | let result = Span::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/change_to_rule.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | Span::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `driver` in `rustc_driver` [INFO] [stderr] --> src/change_to_rule.rs:263:24 [INFO] [stderr] | [INFO] [stderr] 263 | ) -> rustc_driver::driver::CompileController<'a> { [INFO] [stderr] | ^^^^^^ could not find `driver` in `rustc_driver` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `driver` in `rustc_driver` [INFO] [stderr] --> src/change_to_rule.rs:275:31 [INFO] [stderr] | [INFO] [stderr] 275 | state: &mut rustc_driver::driver::CompileState<'a, 'gcx>, [INFO] [stderr] | ^^^^^^ could not find `driver` in `rustc_driver` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/change_to_rule.rs:466:30 [INFO] [stderr] | [INFO] [stderr] 466 | .span_to_snippet(Span::new(start, subst_span.lo(), syntax_pos::NO_EXPANSION)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/change_to_rule.rs:472:26 [INFO] [stderr] | [INFO] [stderr] 472 | .span_to_snippet(Span::new(start, span.hi(), syntax_pos::NO_EXPANSION)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/code_substitution.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | Span::lo(*self) [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Span` [INFO] [stderr] --> src/code_substitution.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | Span::hi(*self) [INFO] [stderr] | ^^^^ use of undeclared type or module `Span` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DeclKind` in `hir` [INFO] [stderr] --> src/rule_finder.rs:265:29 [INFO] [stderr] | [INFO] [stderr] 265 | if let hir::DeclKind::Local(ref local) = decl.node { [INFO] [stderr] | ^^^^^^^^ could not find `DeclKind` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `quote` in `ext` [INFO] [stderr] --> src/rule_matcher.rs:1383:30 [INFO] [stderr] | [INFO] [stderr] 1383 | syntax::ext::quote::rt::DUMMY_SP [INFO] [stderr] | ^^^^^ could not find `quote` in `ext` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:67:15 [INFO] [stderr] | [INFO] [stderr] 67 | uses: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:171:41 [INFO] [stderr] | [INFO] [stderr] 171 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:171:50 [INFO] [stderr] | [INFO] [stderr] 171 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:185:27 [INFO] [stderr] | [INFO] [stderr] 185 | fn new(absolute_span: Span, filemap: &syntax_pos::SourceFile) -> RelativeSpan { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:196:61 [INFO] [stderr] | [INFO] [stderr] 196 | fn absolute(&self, filemap: &syntax_pos::SourceFile) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:225:24 [INFO] [stderr] | [INFO] [stderr] 225 | fn from_span(span: Span, filemap: &syntax_pos::SourceFile) -> ChangedSpan { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:232:60 [INFO] [stderr] | [INFO] [stderr] 232 | fn to_span(&self, filemap: &syntax_pos::SourceFile) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `CompilerCalls` in module `rustc_driver` [INFO] [stderr] --> src/change_to_rule.rs:258:24 [INFO] [stderr] | [INFO] [stderr] 258 | impl<'a> rustc_driver::CompilerCalls<'a> for RCompilerCalls { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `rustc_driver` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:386:23 [INFO] [stderr] | [INFO] [stderr] 386 | replacement_span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:458:11 [INFO] [stderr] | [INFO] [stderr] 458 | span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:459:27 [INFO] [stderr] | [INFO] [stderr] 459 | substitutions: &mut [(Span, String)], [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:482:33 [INFO] [stderr] | [INFO] [stderr] 482 | used_placeholder_spans: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/change_to_rule.rs:607:19 [INFO] [stderr] | [INFO] [stderr] 607 | changed_span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 24 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 24 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/code_substitution.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | impl SpanT for Span { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 37 | impl SpanT for SpanT { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/code_substitution.rs:108:23 [INFO] [stderr] | [INFO] [stderr] 108 | impl CodeSubstitution { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 108 | impl CodeSubstitution { [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/code_substitution.rs:110:43 [INFO] [stderr] | [INFO] [stderr] 110 | substitutions: &[CodeSubstitution], [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 110 | substitutions: &[CodeSubstitution], [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/code_substitution.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | base_span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 112 | base_span: SpanT, [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/code_substitution.rs:211:45 [INFO] [stderr] | [INFO] [stderr] 211 | substitutions: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 211 | substitutions: Vec>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/errors.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/errors.rs:29:58 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn new>(message: T, span: Span) -> ErrorWithSpan { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:68:22 [INFO] [stderr] | [INFO] [stderr] 68 | arg_ty_span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:201:23 [INFO] [stderr] | [INFO] [stderr] 201 | fn span(&self) -> Span; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:222:23 [INFO] [stderr] | [INFO] [stderr] 222 | fn span(&self) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:256:23 [INFO] [stderr] | [INFO] [stderr] 256 | fn span(&self) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:291:23 [INFO] [stderr] | [INFO] [stderr] 291 | fn span(&self) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_finder.rs:327:23 [INFO] [stderr] | [INFO] [stderr] 327 | fn span(&self) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:126:24 [INFO] [stderr] | [INFO] [stderr] 126 | original_span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:407:37 [INFO] [stderr] | [INFO] [stderr] 407 | fn span_to_snippet(&self, span: Span) -> Result { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DeclKind` in module `hir` [INFO] [stderr] --> src/rule_matcher.rs:1073:25 [INFO] [stderr] | [INFO] [stderr] 1073 | impl Matchable for hir::DeclKind { [INFO] [stderr] | ^^^^^^^^ not found in `hir` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1316:20 [INFO] [stderr] | [INFO] [stderr] 1316 | original_span: Span, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1374:32 [INFO] [stderr] | [INFO] [stderr] 1374 | fn get_span(&self, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1374:41 [INFO] [stderr] | [INFO] [stderr] 1374 | fn get_span(&self, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1484:36 [INFO] [stderr] | [INFO] [stderr] 1484 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, Span)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1484:53 [INFO] [stderr] | [INFO] [stderr] 1484 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, Span)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1484:70 [INFO] [stderr] | [INFO] [stderr] 1484 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, Span)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1484:76 [INFO] [stderr] | [INFO] [stderr] 1484 | fn get_original_spans(search_span: Span, code_span: Span) -> Option<(Span, Span)> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1515:27 [INFO] [stderr] | [INFO] [stderr] 1515 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1515:41 [INFO] [stderr] | [INFO] [stderr] 1515 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1515:50 [INFO] [stderr] | [INFO] [stderr] 1515 | fn span_within_span(span: Span, target: Span) -> Span { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1528:36 [INFO] [stderr] | [INFO] [stderr] 1528 | fn all_expansions_equal(rule_span: Span, code_span: Span) -> bool { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1528:53 [INFO] [stderr] | [INFO] [stderr] 1528 | fn all_expansions_equal(rule_span: Span, code_span: Span) -> bool { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1536:34 [INFO] [stderr] | [INFO] [stderr] 1536 | result: Vec>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1553:73 [INFO] [stderr] | [INFO] [stderr] 1553 | fn process_expr(&mut self, expr: &'gcx hir::Expr, placeholder_span: Span) -> bool { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1573:94 [INFO] [stderr] | [INFO] [stderr] 1573 | fn process_placeholder(&mut self, placeholder: &Placeholder<'r, 'gcx>, placeholder_span: Span) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1652:27 [INFO] [stderr] | [INFO] [stderr] 1652 | ) -> Vec> { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1656:50 [INFO] [stderr] | [INFO] [stderr] 1656 | substitutions: &mut Vec>, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/validation.rs:35:64 [INFO] [stderr] | [INFO] [stderr] 35 | fn add_error>(&mut self, message: T, span: Span) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/validation.rs:76:78 [INFO] [stderr] | [INFO] [stderr] 76 | fn visit_qpath(&mut self, qpath: &'gcx hir::QPath, id: hir::HirId, span: Span) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/validation.rs:100:78 [INFO] [stderr] | [INFO] [stderr] 100 | fn visit_qpath(&mut self, qpath: &'gcx hir::QPath, id: hir::HirId, span: Span) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Span` in this scope [INFO] [stderr] --> src/lib.rs:270:68 [INFO] [stderr] | [INFO] [stderr] 270 | fn print_macro_backtrace(msg: &str, codemap: &SourceMap, span: Span) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 96 | use syntax::source_map::Span; [INFO] [stderr] | [INFO] [stderr] 96 | use syntax_pos::Span; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Label` is private [INFO] [stderr] --> src/rule_matcher.rs:987:25 [INFO] [stderr] | [INFO] [stderr] 987 | impl Matchable for hir::Label { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/change_to_rule.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/code_substitution.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/errors.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/rule_finder.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/rule_matcher.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/validation.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `syntax::ext::quote::rt::Span` [INFO] [stderr] --> src/lib.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | use syntax::ext::quote::rt::Span; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 72 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0405, E0412, E0432, E0433, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `rerast`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "5f84eba999d7cbd615499b18af85801c23308c3a83e04e3f8389d7f481c8fac7"` [INFO] running `"docker" "rm" "-f" "5f84eba999d7cbd615499b18af85801c23308c3a83e04e3f8389d7f481c8fac7"` [INFO] [stdout] 5f84eba999d7cbd615499b18af85801c23308c3a83e04e3f8389d7f481c8fac7