[INFO] updating cached repository https://github.com/rust-lang-nursery/rustfmt [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] [stderr] From https://github.com/rust-lang-nursery/rustfmt [INFO] [stderr] 27b54e99..0921e1fb master -> master [INFO] [stderr] c1e9b7b8..cef1c0d5 rustfmt-1.4.19 -> rustfmt-1.4.19 [INFO] [stderr] * [new branch] rustfmt-1.4.20 -> rustfmt-1.4.20 [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0921e1fbf35a9ef414516f0ee73927baa8f186e0 [INFO] checking rust-lang-nursery/rustfmt against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang-nursery/rustfmt 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 git repo https://github.com/rust-lang-nursery/rustfmt [INFO] removed path dependency rustfmt-config_proc_macro from git repo https://github.com/rust-lang-nursery/rustfmt [INFO] finished tweaking git repo https://github.com/rust-lang-nursery/rustfmt [INFO] tweaked toml for git repo https://github.com/rust-lang-nursery/rustfmt written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/rust-lang-nursery/rustfmt already has a lockfile, it will not be regenerated [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] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-ap-rustc_parse v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_attr v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_passes v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_feature v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_target v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_arena v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_errors v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_session v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_graphviz v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_fs_util v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_macros v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_index v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_serialize v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_pretty v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_span v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_data_structures v671.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_expand v671.0.0 [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 265d22d0d71bb835fa62cfa6affe71f1056c78c7bbe7edb0faa76143f3fee91e [INFO] running `Command { std: "docker" "start" "-a" "265d22d0d71bb835fa62cfa6affe71f1056c78c7bbe7edb0faa76143f3fee91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "265d22d0d71bb835fa62cfa6affe71f1056c78c7bbe7edb0faa76143f3fee91e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265d22d0d71bb835fa62cfa6affe71f1056c78c7bbe7edb0faa76143f3fee91e", kill_on_drop: false }` [INFO] [stdout] 265d22d0d71bb835fa62cfa6affe71f1056c78c7bbe7edb0faa76143f3fee91e [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] e9ea5e494295d5073f42c18373ba5b53235fe06d72ff946ff3e5eedc13264384 [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" "e9ea5e494295d5073f42c18373ba5b53235fe06d72ff946ff3e5eedc13264384", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling rustc-rayon-core v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rustc-ap-rustc_graphviz v671.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking rustc-ap-rustc_fs_util v671.0.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking version_check v0.9.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling rustfmt-nightly v2.0.0-rc.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking dunce v1.0.1 [INFO] [stderr] Compiling psm v0.1.11 [INFO] [stderr] Compiling stacker v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rustc-ap-rustc_lexer v671.0.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking annotate-snippets v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking bstr v0.2.13 [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] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking ena v0.14.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [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 dirs-sys v0.3.5 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking measureme v0.7.1 [INFO] [stderr] Checking rustc-ap-rustc_serialize v671.0.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking rustc-rayon v0.3.0 [INFO] [stderr] Checking rustc-ap-rustc_index v671.0.0 [INFO] [stderr] Checking rustc-ap-rustc_data_structures v671.0.0 [INFO] [stderr] Checking rustc-ap-rustc_arena v671.0.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustc-ap-rustc_macros v671.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling rustfmt-config_proc_macro v0.5.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking rustc-ap-rustc_span v671.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-671.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-671.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-671.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-671.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-671.0.0/symbol.rs:1399:1 [INFO] [stdout] | [INFO] [stdout] 1399 | / rustc_index::newtype_index! { [INFO] [stdout] 1400 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1401 | | } [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-671.0.0/symbol.rs:1399:1 [INFO] [stdout] | [INFO] [stdout] 1399 | / rustc_index::newtype_index! { [INFO] [stdout] 1400 | | pub struct SymbolIndex { .. } [INFO] [stdout] 1401 | | } [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" "e9ea5e494295d5073f42c18373ba5b53235fe06d72ff946ff3e5eedc13264384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ea5e494295d5073f42c18373ba5b53235fe06d72ff946ff3e5eedc13264384", kill_on_drop: false }` [INFO] [stdout] e9ea5e494295d5073f42c18373ba5b53235fe06d72ff946ff3e5eedc13264384