[INFO] cloning repository google/rerast [INFO] running `"git" "clone" "--bare" "git://github.com/google/rerast.git" "work/cache/sources/gh/google/rerast"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/google/rerast'... [INFO] running `"git" "clone" "work/cache/sources/gh/google/rerast" "work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/google/rerast"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/google/rerast'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/google/rerast" "work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/google/rerast"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/google/rerast'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1e1177ab485f35fb7ca7e6490e919f55e6e516ee [INFO] sha for GitHub repo google/rerast: 1e1177ab485f35fb7ca7e6490e919f55e6e516ee [INFO] validating manifest of google/rerast on toolchain master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of google/rerast on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing google/rerast [INFO] removed path dependency rerast_macros from google/rerast [INFO] finished frobbing google/rerast [INFO] frobbed toml for google/rerast written to work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/google/rerast/Cargo.toml [INFO] started frobbing google/rerast [INFO] removed path dependency rerast_macros from google/rerast [INFO] finished frobbing google/rerast [INFO] frobbed toml for google/rerast written to work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/google/rerast/Cargo.toml [INFO] crate google/rerast already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/google/rerast/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rerast_macros v0.1.12 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking google/rerast against master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-7/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/google/rerast:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/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" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c5759dbe5eccb10a843cd3a303a65a839589969f1fd91a8e2d3b3d33f7b7adef [INFO] running `"docker" "start" "-a" "c5759dbe5eccb10a843cd3a303a65a839589969f1fd91a8e2d3b3d33f7b7adef"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking rerast_macros v0.1.12 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking rerast v0.1.61 (/opt/crater/workdir) [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] error[E0432]: unresolved import `crate::source_map::ExpnKind` [INFO] [stderr] --> src/rule_matcher.rs:1508:28 [INFO] [stderr] | [INFO] [stderr] 1508 | use crate::source_map::ExpnKind::*; [INFO] [stderr] | ^^^^^^^^ could not find `ExpnKind` in `source_map` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ptr` in `hir` [INFO] [stderr] --> src/rule_matcher.rs:452:39 [INFO] [stderr] | [INFO] [stderr] 452 | impl Matchable for hir::ptr::P { [INFO] [stderr] | ^^^ could not find `ptr` in `hir` [INFO] [stderr] [INFO] [stderr] error[E0416]: identifier `Root` is bound more than once in the same pattern [INFO] [stderr] --> src/rule_matcher.rs:1510:16 [INFO] [stderr] | [INFO] [stderr] 1510 | (Root, Root) => true, [INFO] [stderr] | ^^^^ used in a pattern more than once [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Macro` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1511:10 [INFO] [stderr] | [INFO] [stderr] 1511 | (Macro(a_kind, a_descr), Macro(b_kind, b_descr)) => a_kind == b_kind && a_descr == b_descr, [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] 15 | use rustc::hir::def::DefKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::ForeignItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::ImplItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::TraitItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Macro` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1511:34 [INFO] [stderr] | [INFO] [stderr] 1511 | (Macro(a_kind, a_descr), Macro(b_kind, b_descr)) => a_kind == b_kind && a_descr == b_descr, [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] 15 | use rustc::hir::def::DefKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::ForeignItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::ImplItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] 15 | use syntax::ast::TraitItemKind::Macro; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Desugaring` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1512:10 [INFO] [stderr] | [INFO] [stderr] 1512 | (Desugaring(a_kind), Desugaring(b_kind)) => a_kind == b_kind, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Desugaring` in this scope [INFO] [stderr] --> src/rule_matcher.rs:1512:30 [INFO] [stderr] | [INFO] [stderr] 1512 | (Desugaring(a_kind), Desugaring(b_kind)) => a_kind == b_kind, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::source_map::ExpnKind::*` [INFO] [stderr] --> src/rule_matcher.rs:1508:9 [INFO] [stderr] | [INFO] [stderr] 1508 | use crate::source_map::ExpnKind::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates [INFO] [stderr] --> src/rule_matcher.rs:452:6 [INFO] [stderr] | [INFO] [stderr] 452 | impl Matchable for hir::ptr::P { [INFO] [stderr] | ^ unconstrained type parameter [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0207, E0416, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0207`. [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" "c5759dbe5eccb10a843cd3a303a65a839589969f1fd91a8e2d3b3d33f7b7adef"` [INFO] running `"docker" "rm" "-f" "c5759dbe5eccb10a843cd3a303a65a839589969f1fd91a8e2d3b3d33f7b7adef"` [INFO] [stdout] c5759dbe5eccb10a843cd3a303a65a839589969f1fd91a8e2d3b3d33f7b7adef