rustfmt-nightly 1.4.21

Tool to find and fix Rust formatting issues
Build #289960 2020-09-06T02:11:31.245826+00:00
# rustc version
rustc 1.48.0-nightly (d006f5734 2020-08-28)# docs.rs version
docsrs 0.6.0 (bfa6ada 2020-09-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rustfmt-nightly-1.4.21/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rustfmt-nightly-1.4.21/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTDOCFLAGS=-Z unstable-options --static-root-path / --cap-lints warn --extern-html-root-url regex=https://docs.rs/regex/1.3.1 --extern-html-root-url dirs=https://docs.rs/dirs/2.0.2 --extern-html-root-url serde_json=https://docs.rs/serde_json/1.0.41 --extern-html-root-url unicode_width=https://docs.rs/unicode-width/0.1.6 --extern-html-root-url log=https://docs.rs/log/0.4.8 --extern-html-root-url rustc_ap_rustc_data_structures=https://docs.rs/rustc-ap-rustc_data_structures/677.0.0 --extern-html-root-url cargo_metadata=https://docs.rs/cargo_metadata/0.8.2 --extern-html-root-url rustc_ap_rustc_errors=https://docs.rs/rustc-ap-rustc_errors/677.0.0 --extern-html-root-url rustc_ap_rustc_ast_pretty=https://docs.rs/rustc-ap-rustc_ast_pretty/677.0.0 --extern-html-root-url serde=https://docs.rs/serde/1.0.101 --extern-html-root-url structopt=https://docs.rs/structopt/0.3.11 --extern-html-root-url toml=https://docs.rs/toml/0.5.3 --extern-html-root-url term=https://docs.rs/term/0.6.1 --extern-html-root-url annotate_snippets=https://docs.rs/annotate-snippets/0.6.1 --extern-html-root-url lazy_static=https://docs.rs/lazy_static/1.4.0 --extern-html-root-url unicode_categories=https://docs.rs/unicode_categories/0.1.1 --extern-html-root-url unicode_segmentation=https://docs.rs/unicode-segmentation/1.3.0 --extern-html-root-url thiserror=https://docs.rs/thiserror/1.0.6 --extern-html-root-url rustc_ap_rustc_parse=https://docs.rs/rustc-ap-rustc_parse/677.0.0 --extern-html-root-url rustc_ap_rustc_span=https://docs.rs/rustc-ap-rustc_span/677.0.0 --extern-html-root-url diff=https://docs.rs/diff/0.1.11 --extern-html-root-url rustc_ap_rustc_ast=https://docs.rs/rustc-ap-rustc_ast/677.0.0 --extern-html-root-url bytecount=https://docs.rs/bytecount/0.6.0 --extern-html-root-url ignore=https://docs.rs/ignore/0.4.11 --extern-html-root-url rustc_ap_rustc_session=https://docs.rs/rustc-ap-rustc_session/677.0.0 --extern-html-root-url rustc_workspace_hack=https://docs.rs/rustc-workspace-hack/1.0.0 --extern-html-root-url rustc_ap_rustc_expand=https://docs.rs/rustc-ap-rustc_expand/677.0.0 --extern-html-root-url itertools=https://docs.rs/itertools/0.8.0 --extern-html-root-url rustc_ap_rustc_attr=https://docs.rs/rustc-ap-rustc_attr/677.0.0 --extern-html-root-url anyhow=https://docs.rs/anyhow/1.0.25 --extern-html-root-url getopts=https://docs.rs/getopts/0.2.21 --extern-html-root-url rustfmt_config_proc_macro=https://docs.rs/rustfmt-config_proc_macro/0.2.0 --extern-html-root-url env_logger=https://docs.rs/env_logger/0.6.2 --extern-html-root-url derive_new=https://docs.rs/derive-new/0.5.8 --resource-suffix -20200828-1.48.0-nightly-d006f5734" "-e" "DOCS_RS=1" "-e" "RUSTFLAGS=" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "-j2", kill_on_drop: false }`
[INFO] [stdout] 6d6fd677027316b2335427c59baeb3989e370a29c501ffcacb18521d9a9522b3
[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" "6d6fd677027316b2335427c59baeb3989e370a29c501ffcacb18521d9a9522b3", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling cc v1.0.46
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]    Compiling rustc-rayon-core v0.3.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking rustc-ap-rustc_graphviz v677.0.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking termcolor v1.0.5
[INFO] [stderr]     Checking annotate-snippets v0.8.0
[INFO] [stderr]     Checking rustc-ap-rustc_fs_util v677.0.0
[INFO] [stderr]     Checking regex-syntax v0.6.12
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking same-file v1.0.5
[INFO] [stderr]    Compiling anyhow v1.0.25
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling rustfmt-nightly v1.4.21 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]     Checking diff v0.1.11
[INFO] [stderr]     Checking bytecount v0.6.0
[INFO] [stderr]     Checking rustc-workspace-hack v1.0.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]     Checking tracing-core v0.1.15
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling indexmap v1.5.2
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling psm v0.1.8
[INFO] [stderr]    Compiling stacker v0.1.11
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking itertools v0.8.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking rustc-ap-rustc_lexer v677.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.11
[INFO] [stderr]    Compiling proc-macro-error v0.4.11
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking annotate-snippets v0.6.1
[INFO] [stderr]     Checking walkdir v2.2.9
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking parking_lot_core v0.7.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking termize v0.1.1
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking ena v0.14.0
[INFO] [stderr]     Checking jobserver v0.1.17
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking bstr v0.2.8
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking crossbeam-channel v0.4.0
[INFO] [stderr]     Checking regex v1.3.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking rustc-ap-rustc_serialize v677.0.0
[INFO] [stderr]     Checking globset v0.4.4
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking md-5 v0.8.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling synstructure v0.12.1
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]     Checking ignore v0.4.11
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]    Compiling tracing-attributes v0.1.11
[INFO] [stderr]    Compiling rustc-ap-rustc_macros v677.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.6
[INFO] [stderr]    Compiling rustfmt-config_proc_macro v0.2.0
[INFO] [stderr]    Compiling derive-new v0.5.8
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking rustc-ap-rustc_index v677.0.0
[INFO] [stderr]     Checking thiserror v1.0.6
[INFO] [stderr]    Compiling structopt-derive v0.4.4
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.41
[INFO] [stderr]     Checking toml v0.5.3
[INFO] [stderr]     Checking cargo_metadata v0.8.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking structopt v0.3.11
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]     Checking measureme v0.7.1
[INFO] [stderr]     Checking rustc-rayon v0.3.0
[INFO] [stderr]     Checking rustc-ap-rustc_data_structures v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_arena v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_span v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_target v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_ast v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_errors v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_feature v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_ast_pretty v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_session v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_attr v677.0.0
[INFO] [stderr]     Checking rustc-ap-rustc_parse v677.0.0
[INFO] [stderr] error: environment variable `CFG_RELEASE_CHANNEL` not defined
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_attr-677.0.0/src/builtin.rs:576:27
[INFO] [stderr]     |
[INFO] [stderr] 576 |             let channel = env!("CFG_RELEASE_CHANNEL");
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `CFG_RELEASE` not defined
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_attr-677.0.0/src/builtin.rs:578:48
[INFO] [stderr]     |
[INFO] [stderr] 578 |             let rustc_version = Version::parse(env!("CFG_RELEASE")).unwrap();
[INFO] [stderr]     |                                                ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `rustc-ap-rustc_attr`.
[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" "6d6fd677027316b2335427c59baeb3989e370a29c501ffcacb18521d9a9522b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d6fd677027316b2335427c59baeb3989e370a29c501ffcacb18521d9a9522b3", kill_on_drop: false }`
[INFO] [stdout] 6d6fd677027316b2335427c59baeb3989e370a29c501ffcacb18521d9a9522b3