[INFO] updating cached repository Nashenas88/borrow_visualizer_prototype [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Nashenas88/borrow_visualizer_prototype [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Nashenas88/borrow_visualizer_prototype" "work/ex/beta-1.38-1/sources/1.37.0/gh/Nashenas88/borrow_visualizer_prototype"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Nashenas88/borrow_visualizer_prototype'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Nashenas88/borrow_visualizer_prototype" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Nashenas88/borrow_visualizer_prototype"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Nashenas88/borrow_visualizer_prototype'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 46db1252c0925fe4a6daf4b2118b5312f31efc35 [INFO] sha for GitHub repo Nashenas88/borrow_visualizer_prototype: 46db1252c0925fe4a6daf4b2118b5312f31efc35 [INFO] validating manifest of Nashenas88/borrow_visualizer_prototype on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Nashenas88/borrow_visualizer_prototype on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Nashenas88/borrow_visualizer_prototype [INFO] finished frobbing Nashenas88/borrow_visualizer_prototype [INFO] frobbed toml for Nashenas88/borrow_visualizer_prototype written to work/ex/beta-1.38-1/sources/1.37.0/gh/Nashenas88/borrow_visualizer_prototype/Cargo.toml [INFO] started frobbing Nashenas88/borrow_visualizer_prototype [INFO] finished frobbing Nashenas88/borrow_visualizer_prototype [INFO] frobbed toml for Nashenas88/borrow_visualizer_prototype written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Nashenas88/borrow_visualizer_prototype/Cargo.toml [INFO] crate Nashenas88/borrow_visualizer_prototype already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Nashenas88/borrow_visualizer_prototype against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Nashenas88/borrow_visualizer_prototype:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] e483f03ebe95bed42d6a5e104bb4fa8c5429ceb879a8d5feac037fbc069e4179 [INFO] running `"docker" "start" "-a" "e483f03ebe95bed42d6a5e104bb4fa8c5429ceb879a8d5feac037fbc069e4179"` [INFO] [stderr] Compiling serde v1.0.7 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.7 [INFO] [stderr] Compiling clap v2.24.2 [INFO] [stderr] Compiling serde_json v1.0.2 [INFO] [stderr] Compiling borrow_bounds v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `rustc_driver::driver`, `rustc_driver::CompilerCalls` [INFO] [stderr] --> src/borrowcalls.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | use rustc_driver::{driver, CompilerCalls, Compilation}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ no `CompilerCalls` in the root [INFO] [stderr] | | [INFO] [stderr] | no `driver` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Expr_` in `hir` [INFO] [stderr] --> src/borrowcalls.rs:295:14 [INFO] [stderr] | [INFO] [stderr] 295 | hir::Expr_::ExprAddrOf(_, ref e) => expr_borrows_node_id(tcx, id, &*e, true), [INFO] [stderr] | ^^^^^ could not find `Expr_` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Expr_` in `hir` [INFO] [stderr] --> src/borrowcalls.rs:296:14 [INFO] [stderr] | [INFO] [stderr] 296 | hir::Expr_::ExprMatch(ref e, ref arms, ..) => { [INFO] [stderr] | ^^^^^ could not find `Expr_` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Expr_` in `hir` [INFO] [stderr] --> src/borrowcalls.rs:304:14 [INFO] [stderr] | [INFO] [stderr] 304 | hir::Expr_::ExprTup(ref vec) => vec.iter().any(|e| expr_borrows_node_id(tcx, id, e, false)), [INFO] [stderr] | ^^^^^ could not find `Expr_` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Expr_` in `hir` [INFO] [stderr] --> src/borrowcalls.rs:305:14 [INFO] [stderr] | [INFO] [stderr] 305 | hir::Expr_::ExprPath(hir::QPath::Resolved(_, ref path)) if is_ref => { [INFO] [stderr] | ^^^^^ could not find `Expr_` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Def` in `def` [INFO] [stderr] --> src/borrowcalls.rs:308:27 [INFO] [stderr] | [INFO] [stderr] 308 | hir::def::Def::Local(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/borrowcalls.rs:309:27 [INFO] [stderr] | [INFO] [stderr] 309 | hir::def::Def::Upvar(def_id, ..) => { [INFO] [stderr] | ^^^ could not find `Def` in `def` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `codemap` in `syntax` [INFO] [stderr] --> src/borrowcalls.rs:329:24 [INFO] [stderr] | [INFO] [stderr] 329 | let span = syntax::codemap::original_sp(input_span, wrapping_span); [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `NodeExpr` in module `hir_map` [INFO] [stderr] --> src/borrowcalls.rs:204:41 [INFO] [stderr] | [INFO] [stderr] 204 | if let hir_map::NodeExpr(expr) = borrow_node { [INFO] [stderr] | ^^^^^^^^ not found in `hir_map` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `NodeStmt` in module `hir_map` [INFO] [stderr] --> src/borrowcalls.rs:369:29 [INFO] [stderr] | [INFO] [stderr] 369 | if let hir_map::NodeStmt(..) = node { [INFO] [stderr] | ^^^^^^^^ not found in `hir_map` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `NodeBlock` in module `hir_map` [INFO] [stderr] --> src/borrowcalls.rs:388:26 [INFO] [stderr] | [INFO] [stderr] 388 | hir_map::NodeBlock(_) => continue, [INFO] [stderr] | ^^^^^^^^^ not found in `hir_map` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `NodeLocal` in module `hir_map` [INFO] [stderr] --> src/borrowcalls.rs:389:26 [INFO] [stderr] | [INFO] [stderr] 389 | hir_map::NodeLocal(_) => { [INFO] [stderr] | ^^^^^^^^^ not found in `hir_map` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `NodePat` in module `hir_map` [INFO] [stderr] --> src/borrowcalls.rs:395:26 [INFO] [stderr] | [INFO] [stderr] 395 | hir_map::NodePat(ref pat) => { [INFO] [stderr] | ^^^^^^^ not found in `hir_map` [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/borrowcalls.rs:338:57 [INFO] [stderr] | [INFO] [stderr] 338 | -> Option<(syntax::ast::NodeId, Option>, blocks::FnLikeNode<'tcx>, hir_map::Node<'tcx>, syntax::ast::NodeId)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/borrowcalls.rs:338:105 [INFO] [stderr] | [INFO] [stderr] 338 | -> Option<(syntax::ast::NodeId, Option>, blocks::FnLikeNode<'tcx>, hir_map::Node<'tcx>, syntax::ast::NodeId)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/borrowcalls.rs:423:102 [INFO] [stderr] | [INFO] [stderr] 423 | fn get_fn_node<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, id: syntax::ast::NodeId, node: Option>) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/borrowcalls.rs:424:57 [INFO] [stderr] | [INFO] [stderr] 424 | -> Option<(syntax::ast::NodeId, Option>, blocks::FnLikeNode<'tcx>, hir_map::Node<'tcx>, syntax::ast::NodeId)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> src/borrowcalls.rs:424:105 [INFO] [stderr] | [INFO] [stderr] 424 | -> Option<(syntax::ast::NodeId, Option>, blocks::FnLikeNode<'tcx>, hir_map::Node<'tcx>, syntax::ast::NodeId)> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![feature( [INFO] [stderr] 2 | | box_syntax, [INFO] [stderr] 3 | | rustc_private, [INFO] [stderr] 4 | | conservative_impl_trait, [INFO] [stderr] 5 | | rustc_diagnostic_macros, [INFO] [stderr] 6 | | str_escape)] [INFO] [stderr] | |________________^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rustc::dep_graph::DepNode` [INFO] [stderr] --> src/borrowcalls.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use rustc::dep_graph::DepNode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/borrowcalls.rs:81:45 [INFO] [stderr] | [INFO] [stderr] 81 | fn get_region_constructor(&self) -> Box Fn(TyCtxt<'t, 'tcx, 'tcx>, Kind, Span) -> Region> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for <'t, 'tcx> Fn(TyCtxt<'t, 'tcx, 'tcx>, Kind, Span) -> Region` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0554, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `borrow_bounds`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e483f03ebe95bed42d6a5e104bb4fa8c5429ceb879a8d5feac037fbc069e4179"` [INFO] running `"docker" "rm" "-f" "e483f03ebe95bed42d6a5e104bb4fa8c5429ceb879a8d5feac037fbc069e4179"` [INFO] [stdout] e483f03ebe95bed42d6a5e104bb4fa8c5429ceb879a8d5feac037fbc069e4179