[INFO] crate rerast 0.1.66 is already in cache [INFO] testing rerast-0.1.66 against 1.38.0 for beta-1.39-1 [INFO] extracting crate rerast 0.1.66 into work/builds/worker-10/source [INFO] validating manifest of crates.io crate rerast 0.1.66 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rerast 0.1.66 [INFO] finished tweaking crates.io crate rerast 0.1.66 [INFO] tweaked toml for crates.io crate rerast 0.1.66 written to work/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate rerast 0.1.66 already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 4fd7f4974b2acebf7683e90feda3a22a0d49ac99dbca1fef2a7fa023084fe154 [INFO] running `"docker" "start" "-a" "4fd7f4974b2acebf7683e90feda3a22a0d49ac99dbca1fef2a7fa023084fe154"` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling rerast_macros v0.1.12 [INFO] [stderr] Compiling json v0.11.14 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling rerast v0.1.66 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `Param` in module `hir` [INFO] [stderr] --> src/rule_matcher.rs:664:25 [INFO] [stderr] | [INFO] [stderr] 664 | impl Matchable for hir::Param { [INFO] [stderr] | ^^^^^ not found in `hir` [INFO] [stderr] help: there is an enum variant `core::fmt::rt::v1::Count::Param` and 9 others; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 664 | impl Matchable for core::fmt::rt::v1::Count { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 664 | impl Matchable for rustc::hir::LifetimeName { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 664 | impl Matchable for rustc::infer::region_constraints::GenericKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 664 | impl Matchable for rustc::mir::interpret::ConstValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] and 5 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExpnData` in module `source_map` [INFO] [stderr] --> src/rule_matcher.rs:1504:38 [INFO] [stderr] | [INFO] [stderr] 1504 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool { [INFO] [stderr] | ^^^^^^^^ not found in `source_map` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ExpnData` in module `source_map` [INFO] [stderr] --> src/rule_matcher.rs:1504:64 [INFO] [stderr] | [INFO] [stderr] 1504 | fn is_same_expansion(a: &source_map::ExpnData, b: &source_map::ExpnData) -> bool { [INFO] [stderr] | ^^^^^^^^ not found in `source_map` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | #![feature(box_syntax)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `root` found for type `syntax_pos::SyntaxContext` in the current scope [INFO] [stderr] --> src/lib.rs:268:42 [INFO] [stderr] | [INFO] [stderr] 268 | if span.ctxt() == SyntaxContext::root() { [INFO] [stderr] | ^^^^ function or associated item not found in `syntax_pos::SyntaxContext` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expn_data` found for type `syntax_pos::ExpnId` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:176:50 [INFO] [stderr] | [INFO] [stderr] 176 | let expn_info = span.ctxt().outer_expn().expn_data(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_root_ctxt` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:187:19 [INFO] [stderr] | [INFO] [stderr] 187 | Span::with_root_ctxt(filemap.start_pos, filemap.end_pos), [INFO] [stderr] | ^^^^^^^^^^^^^^ function or associated item not found in `syntax_pos::Span` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_root_ctxt` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:197:28 [INFO] [stderr] | [INFO] [stderr] 197 | let result = Span::with_root_ctxt(self.0.start + start_pos, self.0.end + start_pos); [INFO] [stderr] | ^^^^^^^^^^^^^^ function or associated item not found in `syntax_pos::Span` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `root` found for type `syntax_pos::SyntaxContext` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:231:28 [INFO] [stderr] | [INFO] [stderr] 231 | SyntaxContext::root(), [INFO] [stderr] | ^^^^ function or associated item not found in `syntax_pos::SyntaxContext` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_root_ctxt` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:443:36 [INFO] [stderr] | [INFO] [stderr] 443 | .span_to_snippet(Span::with_root_ctxt(start, subst_span.lo())) [INFO] [stderr] | ^^^^^^^^^^^^^^ function or associated item not found in `syntax_pos::Span` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_root_ctxt` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:449:32 [INFO] [stderr] | [INFO] [stderr] 449 | .span_to_snippet(Span::with_root_ctxt(start, span.hi())) [INFO] [stderr] | ^^^^^^^^^^^^^^ function or associated item not found in `syntax_pos::Span` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `from_expansion` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/change_to_rule.rs:597:22 [INFO] [stderr] | [INFO] [stderr] 597 | if expr.span.from_expansion() { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a method with a similar name: `fresh_expansion` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&'tcx rustc::hir::Body` [INFO] [stderr] --> src/definitions.rs:82:34 [INFO] [stderr] | [INFO] [stderr] 82 | let mut types = body.params.iter().map(|arg| tables.node_type(arg.hir_id)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&rustc::hir::Body` [INFO] [stderr] --> src/rule_finder.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | for param in &body.params { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&'tcx rustc::hir::Body` [INFO] [stderr] --> src/rule_matcher.rs:247:36 [INFO] [stderr] | [INFO] [stderr] 247 | for param in &body.params { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&rustc::hir::Body` [INFO] [stderr] --> src/rule_matcher.rs:659:14 [INFO] [stderr] | [INFO] [stderr] 659 | self.params.attempt_match(state, &code.params) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&'tcx rustc::hir::Body` [INFO] [stderr] --> src/rule_matcher.rs:659:48 [INFO] [stderr] | [INFO] [stderr] 659 | self.params.attempt_match(state, &code.params) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/rule_matcher.rs:881:39 [INFO] [stderr] | [INFO] [stderr] 881 | && sorted_by_name(p_pats) [INFO] [stderr] | ^^^^^^ expected struct `rustc::hir::FieldPat`, found struct `syntax::source_map::Spanned` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&rustc::hir::ptr::P<[rustc::hir::FieldPat]>` [INFO] [stderr] found type `&rustc::hir::ptr::P<[syntax::source_map::Spanned]>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/rule_matcher.rs:883:45 [INFO] [stderr] | [INFO] [stderr] 883 | .zip(sorted_by_name(c_pats)) [INFO] [stderr] | ^^^^^^ expected struct `rustc::hir::FieldPat`, found struct `syntax::source_map::Spanned` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&rustc::hir::ptr::P<[rustc::hir::FieldPat]>` [INFO] [stderr] found type `&rustc::hir::ptr::P<[syntax::source_map::Spanned]>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `from_expansion` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:1489:24 [INFO] [stderr] | [INFO] [stderr] 1489 | match (search_span.from_expansion(), code_span.from_expansion()) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a method with a similar name: `fresh_expansion` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `from_expansion` found for type `syntax_pos::Span` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:1489:52 [INFO] [stderr] | [INFO] [stderr] 1489 | match (search_span.from_expansion(), code_span.from_expansion()) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: there is a method with a similar name: `fresh_expansion` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expn_data` found for type `syntax_pos::ExpnId` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:1491:63 [INFO] [stderr] | [INFO] [stderr] 1491 | let search_expn = search_span.ctxt().outer_expn().expn_data(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expn_data` found for type `syntax_pos::ExpnId` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:1492:59 [INFO] [stderr] | [INFO] [stderr] 1492 | let code_expn = code_span.ctxt().outer_expn().expn_data(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expn_data` found for type `syntax_pos::ExpnId` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:1520:50 [INFO] [stderr] | [INFO] [stderr] 1520 | let expn_info = span.ctxt().outer_expn().expn_data(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `params` on type `&rustc::hir::Body` [INFO] [stderr] --> src/validation.rs:47:41 [INFO] [stderr] | [INFO] [stderr] 47 | placeholders: rule_body.params.iter().map(|arg| arg.pat.hir_id).collect(), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0554, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `rerast`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4fd7f4974b2acebf7683e90feda3a22a0d49ac99dbca1fef2a7fa023084fe154"` [INFO] running `"docker" "rm" "-f" "4fd7f4974b2acebf7683e90feda3a22a0d49ac99dbca1fef2a7fa023084fe154"` [INFO] [stdout] 4fd7f4974b2acebf7683e90feda3a22a0d49ac99dbca1fef2a7fa023084fe154