[INFO] crate rerast 0.1.46 is already in cache [INFO] extracting crate rerast 0.1.46 into work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/rerast/0.1.46 [INFO] extracting crate rerast 0.1.46 into work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/rerast/0.1.46 [INFO] validating manifest of rerast-0.1.46 on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rerast-0.1.46 on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rerast-0.1.46 [INFO] finished frobbing rerast-0.1.46 [INFO] frobbed toml for rerast-0.1.46 written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/rerast/0.1.46/Cargo.toml [INFO] started frobbing rerast-0.1.46 [INFO] finished frobbing rerast-0.1.46 [INFO] frobbed toml for rerast-0.1.46 written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/reg/rerast/0.1.46/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rerast-0.1.46 against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-5/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/reg/rerast/0.1.46:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 490faf8ae0af0902ff4d40dc475e1f242d1eae466b0a26edd2be637ff22a236c [INFO] running `"docker" "start" "-a" "490faf8ae0af0902ff4d40dc475e1f242d1eae466b0a26edd2be637ff22a236c"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking rerast_macros v0.1.12 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking rerast v0.1.46 (/opt/crater/workdir) [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stderr] error[E0432]: unresolved import `crate::hir::def::Def` [INFO] [stderr] --> src/lib.rs:227:26 [INFO] [stderr] | [INFO] [stderr] 227 | use crate::hir::def::Def::*; [INFO] [stderr] | ^^^ could not find `Def` in `def` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::hir::def::Def` [INFO] [stderr] --> src/change_to_rule.rs:559:13 [INFO] [stderr] | [INFO] [stderr] 559 | use crate::hir::def::Def; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Def` in `hir::def` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Def` in `def` [INFO] [stderr] --> src/rule_matcher.rs:372:32 [INFO] [stderr] | [INFO] [stderr] 372 | if let Some(&hir::def::Def::Method(method_id)) = [INFO] [stderr] | ^^^ could not find `Def` in `def` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Def` in `def` [INFO] [stderr] --> src/rule_matcher.rs:1036:24 [INFO] [stderr] | [INFO] [stderr] 1036 | (hir::def::Def::Local(p_def_id), hir::def::Def::Local(c_def_id)) => { [INFO] [stderr] | ^^^ could not find `Def` in `def` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Def` in `def` [INFO] [stderr] --> src/rule_matcher.rs:1036:56 [INFO] [stderr] | [INFO] [stderr] 1036 | (hir::def::Def::Local(p_def_id), hir::def::Def::Local(c_def_id)) => { [INFO] [stderr] | ^^^ could not find `Def` in `def` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Local` in this scope [INFO] [stderr] --> src/lib.rs:230:13 [INFO] [stderr] | [INFO] [stderr] 230 | Local(node_id) | Upvar(node_id, _, _) => Some(node_id), [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] 76 | use rustc::hir::Node::Local; [INFO] [stderr] | [INFO] [stderr] 76 | use rustc::hir::StmtKind::Local; [INFO] [stderr] | [INFO] [stderr] 76 | use rustc::hir::def::Res::Local; [INFO] [stderr] | [INFO] [stderr] 76 | use rustc::middle::mem_categorization::Categorization::Local; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Upvar` in this scope [INFO] [stderr] --> src/lib.rs:230:30 [INFO] [stderr] | [INFO] [stderr] 230 | Local(node_id) | Upvar(node_id, _, _) => Some(node_id), [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] 76 | use rustc::hir::def::Res::Upvar; [INFO] [stderr] | [INFO] [stderr] 76 | use rustc::middle::mem_categorization::Categorization::Upvar; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::hir::def::Def::*` [INFO] [stderr] --> src/lib.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 227 | use crate::hir::def::Def::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/lib.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | / syntax::with_globals(|| { [INFO] [stderr] 161 | | rustc_driver::run_compiler(&self.args, callbacks, file_loader, None) [INFO] [stderr] 162 | | })?; [INFO] [stderr] | |__________^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&syntax::ptr::P` [INFO] [stderr] --> src/lib.rs:229:20 [INFO] [stderr] | [INFO] [stderr] 229 | match path.def { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&'gcx rustc::hir::Path` [INFO] [stderr] --> src/change_to_rule.rs:560:20 [INFO] [stderr] | [INFO] [stderr] 560 | match path.def { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&'gcx rustc::hir::Path` [INFO] [stderr] --> src/change_to_rule.rs:574:57 [INFO] [stderr] | [INFO] [stderr] 574 | for component in self.tcx.def_path(path.def.def_id()).data { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/definitions.rs:78:41 [INFO] [stderr] | [INFO] [stderr] 78 | if self.tcx.item_name(fn_id) == "rerast_types" { [INFO] [stderr] | ^^^^^^^^^^^^^^ expected struct `syntax_pos::Symbol`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax_pos::Symbol` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `def_id` found for type `std::result::Result<(rustc::hir::def::DefKind, rustc::hir::def_id::DefId), rustc::util::common::ErrorReported>` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:375:77 [INFO] [stderr] | [INFO] [stderr] 375 | return method_type_tables.type_dependent_defs()[method_call_id].def_id() == method_id; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `If` found for type `rustc::hir::ExprKind` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:543:28 [INFO] [stderr] | [INFO] [stderr] 543 | &ExprKind::If(ref p_cond, ref p_block, ref p_else), [INFO] [stderr] | ^^ variant or associated item not found in `rustc::hir::ExprKind` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `If` found for type `rustc::hir::ExprKind` in the current scope [INFO] [stderr] --> src/rule_matcher.rs:544:28 [INFO] [stderr] | [INFO] [stderr] 544 | &ExprKind::If(ref c_cond, ref c_block, ref c_else), [INFO] [stderr] | ^^ variant or associated item not found in `rustc::hir::ExprKind` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:796:19 [INFO] [stderr] | [INFO] [stderr] 796 | self.path.def == code.path.def [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `span`, `res`, `segments` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:796:36 [INFO] [stderr] | [INFO] [stderr] 796 | self.path.def == code.path.def [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `span`, `res`, `segments` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:1035:21 [INFO] [stderr] | [INFO] [stderr] 1035 | match (self.def, code.def) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&'gcx rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:1035:31 [INFO] [stderr] | [INFO] [stderr] 1035 | match (self.def, code.def) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:1045:23 [INFO] [stderr] | [INFO] [stderr] 1045 | _ => self.def == code.def, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `def` on type `&'gcx rustc::hir::Path` [INFO] [stderr] --> src/rule_matcher.rs:1045:35 [INFO] [stderr] | [INFO] [stderr] 1045 | _ => self.def == code.def, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [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" "490faf8ae0af0902ff4d40dc475e1f242d1eae466b0a26edd2be637ff22a236c"` [INFO] running `"docker" "rm" "-f" "490faf8ae0af0902ff4d40dc475e1f242d1eae466b0a26edd2be637ff22a236c"` [INFO] [stdout] 490faf8ae0af0902ff4d40dc475e1f242d1eae466b0a26edd2be637ff22a236c