[INFO] crate rustc-ap-rustc_ast_pretty 669.0.0 is already in cache [INFO] checking rustc-ap-rustc_ast_pretty-669.0.0 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate rustc-ap-rustc_ast_pretty 669.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rustc-ap-rustc_ast_pretty 669.0.0 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustc-ap-rustc_ast_pretty 669.0.0 [INFO] finished tweaking crates.io crate rustc-ap-rustc_ast_pretty 669.0.0 [INFO] tweaked toml for crates.io crate rustc-ap-rustc_ast_pretty 669.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b111fc704bdc66d3742b1c8afff79c85010c41d9902463ef9e6dbe0f02cdede [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" "4b111fc704bdc66d3742b1c8afff79c85010c41d9902463ef9e6dbe0f02cdede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b111fc704bdc66d3742b1c8afff79c85010c41d9902463ef9e6dbe0f02cdede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b111fc704bdc66d3742b1c8afff79c85010c41d9902463ef9e6dbe0f02cdede", kill_on_drop: false }` [INFO] [stdout] 4b111fc704bdc66d3742b1c8afff79c85010c41d9902463ef9e6dbe0f02cdede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24cdbe2d8e9a2e19a78b0ade60c787834438eeda87615641a1cecf9483c5e6e [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" "b24cdbe2d8e9a2e19a78b0ade60c787834438eeda87615641a1cecf9483c5e6e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rustc-ap-rustc_graphviz v669.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling rustc-ap-rustc_ast v669.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_target v669.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rustc-ap-rustc_lexer v669.0.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking jobserver v0.1.21 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking ena v0.14.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling psm v0.1.10 [INFO] [stderr] Compiling stacker v0.1.9 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking measureme v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rustc-rayon-core v0.3.0 [INFO] [stderr] Checking rustc-ap-rustc_serialize v669.0.0 [INFO] [stderr] Checking rustc-rayon v0.3.0 [INFO] [stderr] Checking rustc-ap-rustc_index v669.0.0 [INFO] [stderr] Checking rustc-ap-rustc_data_structures v669.0.0 [INFO] [stderr] Checking rustc-ap-rustc_arena v669.0.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustc-ap-rustc_macros 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" "b24cdbe2d8e9a2e19a78b0ade60c787834438eeda87615641a1cecf9483c5e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24cdbe2d8e9a2e19a78b0ade60c787834438eeda87615641a1cecf9483c5e6e", kill_on_drop: false }` [INFO] [stdout] b24cdbe2d8e9a2e19a78b0ade60c787834438eeda87615641a1cecf9483c5e6e