[INFO] crate rerast 0.1.66 is already in cache
[INFO] documenting rerast-0.1.66 against 1.38.0 for beta-1.39-rustdoc-1
[INFO] extracting crate rerast 0.1.66 into work/builds/worker-3/source
[INFO] validating manifest of crates.io crate rerast 0.1.66 on toolchain 1.38.0
[INFO] running `"/mnt/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-3/source/Cargo.toml
[INFO] crate crates.io crate rerast 0.1.66 already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/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" "RUSTDOCFLAGS=--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" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] b87f0a499686d59e5f56263196611ed3df15321ef1a95a3708a48f3687006cff
[INFO] running `"docker" "start" "-a" "b87f0a499686d59e5f56263196611ed3df15321ef1a95a3708a48f3687006cff"`
[INFO] [stderr]    Compiling syn v0.15.42
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]     Checking rerast_macros v0.1.12
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking itertools v0.5.10
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking cgmath v0.16.1
[INFO] [stderr]     Checking backtrace v0.3.34
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking rerast v0.1.66 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting 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[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: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rerast`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-name rerast src/lib.rs -o /opt/rustwide/target/doc --color never --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-ed31294801165f77.rmeta --extern colored=/opt/rustwide/target/debug/deps/libcolored-cd8fe418fe56dcc0.rmeta --extern diff=/opt/rustwide/target/debug/deps/libdiff-fd22f8ceda1251b3.rmeta --extern failure=/opt/rustwide/target/debug/deps/libfailure-87f9f08cfe68d03d.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-b4de0b8ccd7f3373.rmeta --extern json=/opt/rustwide/target/debug/deps/libjson-925598f28a7c5225.rmeta --extern rerast_macros=/opt/rustwide/target/debug/deps/librerast_macros-ff4bff18246237fe.rmeta --cap-lints=warn` (exit code: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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<rustc::hir::FieldPat>]>`
[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<rustc::hir::FieldPat>]>`
[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" "b87f0a499686d59e5f56263196611ed3df15321ef1a95a3708a48f3687006cff"`
[INFO] running `"docker" "rm" "-f" "b87f0a499686d59e5f56263196611ed3df15321ef1a95a3708a48f3687006cff"`
[INFO] [stdout] b87f0a499686d59e5f56263196611ed3df15321ef1a95a3708a48f3687006cff
