[INFO] crate rustc-ap-rustc_ast_passes 669.0.0 is already in cache [INFO] checking rustc-ap-rustc_ast_passes-669.0.0 against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] extracting crate rustc-ap-rustc_ast_passes 669.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rustc-ap-rustc_ast_passes 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_ast_passes 669.0.0 [INFO] finished tweaking crates.io crate rustc-ap-rustc_ast_passes 669.0.0 [INFO] tweaked toml for crates.io crate rustc-ap-rustc_ast_passes 669.0.0 written to /workspace/builds/worker-10/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] e29e3fe593d0302d385b0e606e07c8c88e81d99cb5b92ba6623a670763c3100b [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" "e29e3fe593d0302d385b0e606e07c8c88e81d99cb5b92ba6623a670763c3100b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e29e3fe593d0302d385b0e606e07c8c88e81d99cb5b92ba6623a670763c3100b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29e3fe593d0302d385b0e606e07c8c88e81d99cb5b92ba6623a670763c3100b", kill_on_drop: false }` [INFO] [stdout] e29e3fe593d0302d385b0e606e07c8c88e81d99cb5b92ba6623a670763c3100b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stdout] 8a30b5b73e3456f23e2052ea1922b6b60b1883fef30f3c7cf8667a6920125075 [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" "8a30b5b73e3456f23e2052ea1922b6b60b1883fef30f3c7cf8667a6920125075", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-ap-rustc_target v669.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_ast v669.0.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking annotate-snippets v0.8.0 [INFO] [stderr] Checking rustc-ap-rustc_fs_util v669.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_attr v669.0.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking version_check v0.9.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termize v0.1.1 [INFO] [stderr] Checking rustc-ap-rustc_lexer v669.0.0 [INFO] [stderr] Checking rustc-ap-rustc_span v669.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8a30b5b73e3456f23e2052ea1922b6b60b1883fef30f3c7cf8667a6920125075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a30b5b73e3456f23e2052ea1922b6b60b1883fef30f3c7cf8667a6920125075", kill_on_drop: false }` [INFO] [stdout] 8a30b5b73e3456f23e2052ea1922b6b60b1883fef30f3c7cf8667a6920125075