[INFO] crate rerast 0.1.46 is already in cache [INFO] extracting crate rerast 0.1.46 into work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/reg/rerast/0.1.46 [INFO] extracting crate rerast 0.1.46 into work/ex/pr-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/reg/rerast/0.1.46 [INFO] validating manifest of rerast-0.1.46 on toolchain master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rerast-0.1.46 on toolchain try#097e26225c5cc28d3042ad4c80eac7c488f78ee7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-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-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/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-60932/sources/try#097e26225c5cc28d3042ad4c80eac7c488f78ee7/reg/rerast/0.1.46/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+097e26225c5cc28d3042ad4c80eac7c488f78ee7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rerast-0.1.46 against master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4 for pr-60932 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60932/worker-1/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60932/sources/master#548add7f61bfcbe3bea3f5ccefb53c84da8fefe4/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" "+548add7f61bfcbe3bea3f5ccefb53c84da8fefe4-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6df35ae6fe028fe1679dd45b2bd92d5b4e56306a5cedbbbeaef211004f32b2f2 [INFO] running `"docker" "start" "-a" "6df35ae6fe028fe1679dd45b2bd92d5b4e56306a5cedbbbeaef211004f32b2f2"` [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stderr] Checking rerast v0.1.46 (/opt/crater/workdir) [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[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[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 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `rerast`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[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 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `rerast`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6df35ae6fe028fe1679dd45b2bd92d5b4e56306a5cedbbbeaef211004f32b2f2"` [INFO] running `"docker" "rm" "-f" "6df35ae6fe028fe1679dd45b2bd92d5b4e56306a5cedbbbeaef211004f32b2f2"` [INFO] [stdout] 6df35ae6fe028fe1679dd45b2bd92d5b4e56306a5cedbbbeaef211004f32b2f2