[INFO] crate rustc-ap-rustc_parse 669.0.0 is already in cache [INFO] checking rustc-ap-rustc_parse-669.0.0 against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] extracting crate rustc-ap-rustc_parse 669.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rustc-ap-rustc_parse 669.0.0 on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustc-ap-rustc_parse 669.0.0 [INFO] finished tweaking crates.io crate rustc-ap-rustc_parse 669.0.0 [INFO] tweaked toml for crates.io crate rustc-ap-rustc_parse 669.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1620493cb8430575a37e2e576ce8b4543c03ab18ccfac8e7105bb024f7f2296e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1620493cb8430575a37e2e576ce8b4543c03ab18ccfac8e7105bb024f7f2296e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1620493cb8430575a37e2e576ce8b4543c03ab18ccfac8e7105bb024f7f2296e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1620493cb8430575a37e2e576ce8b4543c03ab18ccfac8e7105bb024f7f2296e", kill_on_drop: false }` [INFO] [stdout] 1620493cb8430575a37e2e576ce8b4543c03ab18ccfac8e7105bb024f7f2296e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71949e6e17e4489eef13ade927317cc1a89a7d4201ec3ae932cd61ecc8ae213b [INFO] running `Command { std: "docker" "start" "-a" "71949e6e17e4489eef13ade927317cc1a89a7d4201ec3ae932cd61ecc8ae213b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rustc-ap-rustc_graphviz v669.0.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling rustc-ap-rustc_ast v669.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_target v669.0.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking annotate-snippets v0.8.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking rustc-ap-rustc_fs_util v669.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking termize v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking ena v0.14.0 [INFO] [stderr] Checking rustc-ap-rustc_lexer v669.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rustc-ap-rustc_serialize v669.0.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking measureme v0.7.1 [INFO] [stderr] Checking rustc-ap-rustc_index v669.0.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling psm v0.1.10 [INFO] [stderr] Compiling stacker v0.1.9 [INFO] [stderr] Checking rustc-rayon-core v0.3.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rustc-ap-rustc_macros v669.0.0 [INFO] [stderr] Checking rustc-rayon v0.3.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking rustc-ap-rustc_data_structures v669.0.0 [INFO] [stderr] Checking rustc-ap-rustc_arena v669.0.0 [INFO] [stderr] Checking rustc-ap-rustc_span v669.0.0 [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/def_id.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / rustc_index::newtype_index! { [INFO] [stdout] 12 | | pub struct CrateId { [INFO] [stdout] 13 | | ENCODABLE = custom [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/def_id.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / rustc_index::newtype_index! { [INFO] [stdout] 12 | | pub struct CrateId { [INFO] [stdout] 13 | | ENCODABLE = custom [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/def_id.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / rustc_index::newtype_index! { [INFO] [stdout] 119 | | /// A DefIndex is an index into the hir-map for a crate, identifying a [INFO] [stdout] 120 | | /// particular definition. It should really be considered an interned [INFO] [stdout] 121 | | /// shorthand for a particular DefPath. [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/def_id.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / rustc_index::newtype_index! { [INFO] [stdout] 119 | | /// A DefIndex is an index into the hir-map for a crate, identifying a [INFO] [stdout] 120 | | /// particular definition. It should really be considered an interned [INFO] [stdout] 121 | | /// shorthand for a particular DefPath. [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/symbol.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | / rustc_index::newtype_index! { [INFO] [stdout] 1154 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_span-669.0.0/symbol.rs:1153:1 [INFO] [stdout] | [INFO] [stdout] 1153 | / rustc_index::newtype_index! { [INFO] [stdout] 1154 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-ap-rustc_span`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "71949e6e17e4489eef13ade927317cc1a89a7d4201ec3ae932cd61ecc8ae213b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71949e6e17e4489eef13ade927317cc1a89a7d4201ec3ae932cd61ecc8ae213b", kill_on_drop: false }` [INFO] [stdout] 71949e6e17e4489eef13ade927317cc1a89a7d4201ec3ae932cd61ecc8ae213b