[INFO] updating cached repository https://github.com/regexident/cargo-modules [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a180627fea14b6d3b152fe22dff246cf75b9728 [INFO] checking regexident/cargo-modules against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregexident%2Fcargo-modules" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/regexident/cargo-modules 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 git repo https://github.com/regexident/cargo-modules [INFO] finished tweaking git repo https://github.com/regexident/cargo-modules [INFO] tweaked toml for git repo https://github.com/regexident/cargo-modules written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/regexident/cargo-modules already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 97c13e1c09975c145c3991bc7f2dcfdaabfa9da85ec344ddde9e5ce099ef30af [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" "97c13e1c09975c145c3991bc7f2dcfdaabfa9da85ec344ddde9e5ce099ef30af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97c13e1c09975c145c3991bc7f2dcfdaabfa9da85ec344ddde9e5ce099ef30af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c13e1c09975c145c3991bc7f2dcfdaabfa9da85ec344ddde9e5ce099ef30af", kill_on_drop: false }` [INFO] [stdout] 97c13e1c09975c145c3991bc7f2dcfdaabfa9da85ec344ddde9e5ce099ef30af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96262dd0288659159e554b0804aa3890fe65a0a46e34726786d4f653706d7034 [INFO] running `Command { std: "docker" "start" "-a" "96262dd0288659159e554b0804aa3890fe65a0a46e34726786d4f653706d7034", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [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] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-rayon-core v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking rustc-ap-rustc_graphviz v667.0.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Compiling rustc-ap-rustc_ast v667.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_target v667.0.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking annotate-snippets v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rustc-ap-rustc_fs_util v667.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking rustc-ap-rustc_lexer v667.0.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking ena v0.14.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling psm v0.1.8 [INFO] [stderr] Compiling stacker v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.7.2 [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 atty v0.2.14 [INFO] [stderr] Checking termize v0.1.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rustc-ap-rustc_serialize v667.0.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking measureme v0.7.1 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking generic-array v0.12.3 [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-rayon v0.3.0 [INFO] [stderr] Checking rustc-ap-rustc_index v667.0.0 [INFO] [stderr] Checking rustc-ap-rustc_data_structures v667.0.0 [INFO] [stderr] Checking rustc-ap-rustc_arena v667.0.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling rustc-ap-rustc_macros v667.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking rustc-ap-rustc_span v667.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-667.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-667.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-667.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-667.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-667.0.0/symbol.rs:1062:1 [INFO] [stdout] | [INFO] [stdout] 1062 | / rustc_index::newtype_index! { [INFO] [stdout] 1063 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1064 | | } [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-667.0.0/symbol.rs:1062:1 [INFO] [stdout] | [INFO] [stdout] 1062 | / rustc_index::newtype_index! { [INFO] [stdout] 1063 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1064 | | } [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" "96262dd0288659159e554b0804aa3890fe65a0a46e34726786d4f653706d7034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96262dd0288659159e554b0804aa3890fe65a0a46e34726786d4f653706d7034", kill_on_drop: false }` [INFO] [stdout] 96262dd0288659159e554b0804aa3890fe65a0a46e34726786d4f653706d7034