rustfmt-nightly 0.99.5

Tool to find and fix Rust formatting issues
Build #118318 2018-09-25T21:00:10Z
$ rustc --version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
$ cratesfyi --version
cratesfyi 0.5.0 (579f83b 2018-03-05)
$ cratesfyi ...
Build failed, waiting for other jobs to finish...
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading rustfmt-nightly v0.99.5
       Fresh unicode-width v0.1.5
       Fresh cc v1.0.25
       Fresh diff v0.1.11
   Compiling rustfmt-nightly v0.99.5
       Fresh version_check v0.1.5
       Fresh nodrop v0.1.12
       Fresh itoa v0.4.3
       Fresh getopts v0.2.18
     Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/rustfmt-nightly-0.99.5/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="rustfmt-format-diff"' --cfg 'feature="default"' --cfg 'feature="cargo-fmt"' -C metadata=08a5575dc8613040 -C extra-filename=-08a5575dc8613040 --out-dir /home/cratesfyi/cratesfyi/debug/build/rustfmt-nightly-08a5575dc8613040 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
       Fresh either v1.5.0
       Fresh arrayvec v0.4.7
       Fresh utf8-ranges v1.0.1
       Fresh quick-error v1.2.2
       Fresh unicode-segmentation v1.2.1
       Fresh stable_deref_trait v1.1.1
       Fresh semver-parser v0.7.0
       Fresh cfg-if v0.1.5
       Fresh humantime v1.1.1
       Fresh log v0.4.5
       Fresh lazy_static v1.1.0
       Fresh owning_ref v0.3.3
       Fresh unicode-xid v0.1.0
       Fresh rand_core v0.2.1
       Fresh ryu v0.2.6
       Fresh ena v0.9.3
       Fresh proc-macro2 v0.4.19
       Fresh scopeguard v0.3.3
       Fresh libc v0.2.43
       Fresh rustc-demangle v0.1.9
       Fresh ucd-util v0.1.1
       Fresh void v1.0.2
       Fresh rand v0.5.5
       Fresh atty v0.2.11
       Fresh lock_api v0.1.3
       Fresh rand v0.4.3
       Fresh regex-syntax v0.6.2
       Fresh memoffset v0.2.1
       Fresh termcolor v1.0.4
       Fresh byteorder v1.2.6
       Fresh thread_local v0.3.6
       Fresh term v0.5.1
       Fresh rustc-hash v1.0.1
       Fresh unreachable v1.0.0
       Fresh isatty v0.1.9
       Fresh itertools v0.7.8
       Fresh num_cpus v1.8.0
       Fresh scoped-tls v0.1.2
       Fresh quote v0.6.8
       Fresh bitflags v1.0.4
       Fresh smallvec v0.6.5
       Fresh crossbeam-utils v0.2.2
       Fresh syn v0.15.6
       Fresh syn v0.14.9
       Fresh rustc-ap-serialize v263.0.0
       Fresh serde_derive v1.0.79
       Fresh parking_lot_core v0.2.14
       Fresh memchr v2.1.0
       Fresh aho-corasick v0.6.8
       Fresh regex v1.0.5
       Fresh backtrace-sys v0.1.24
       Fresh serde v1.0.79
       Fresh env_logger v0.5.13
   Compiling derive-new v0.5.5
       Fresh synstructure v0.9.0
       Fresh crossbeam-epoch v0.3.1
       Fresh rustc-ap-rustc_cratesio_shim v263.0.0
     Running `rustc --crate-name derive_new .cargo/registry/src/github.com-1ecc6299db9ec823/derive-new-0.5.5/src/lib.rs --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C debuginfo=2 -C metadata=9f50c16ff991355b -C extra-filename=-9f50c16ff991355b --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern quote=/home/cratesfyi/cratesfyi/debug/deps/libquote-5f93e316f9f0b34f.rlib --extern-version quote=quote,0.6.8 --extern syn=/home/cratesfyi/cratesfyi/debug/deps/libsyn-e6f93cc67f5c80fe.rlib --extern-version syn=syn,0.14.9 --extern proc_macro2=/home/cratesfyi/cratesfyi/debug/deps/libproc_macro2-b80964c893171ae7.rlib --extern-version proc_macro2=proc-macro2,0.4.19 --cap-lints allow`
       Fresh backtrace v0.3.9
   Compiling serde_json v1.0.30
       Fresh semver v0.9.0
   Compiling toml v0.4.7
       Fresh crossbeam-deque v0.2.0
       Fresh failure_derive v0.1.2
       Fresh error-chain v0.12.0
     Running `rustc --crate-name serde_json .cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.30/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=b76585722ae82ef4 -C extra-filename=-b76585722ae82ef4 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern itoa=/home/cratesfyi/cratesfyi/debug/deps/libitoa-f7659a32ffd789e2.rlib --extern-version itoa=itoa,0.4.3 --extern ryu=/home/cratesfyi/cratesfyi/debug/deps/libryu-a0b567ec2908293e.rlib --extern-version ryu=ryu,0.2.6 --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-6d923168d69be21d.rlib --extern-version serde=serde,1.0.79 --cap-lints allow`
   Compiling rustc-ap-rustc_target v263.0.0
       Fresh failure v0.1.2
       Fresh rustc-rayon-core v0.1.1
     Running `rustc --crate-name toml .cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.4.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=807a0f64cb47888d -C extra-filename=-807a0f64cb47888d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-6d923168d69be21d.rlib --extern-version serde=serde,1.0.79 --cap-lints allow`
     Running `rustc --crate-name rustc_target .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_target-263.0.0/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5115f17dabd8fdc5 -C extra-filename=-5115f17dabd8fdc5 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8584767eb103b292.rlib --extern-version bitflags=bitflags,1.0.4 --extern rustc_cratesio_shim=/home/cratesfyi/cratesfyi/debug/deps/librustc_cratesio_shim-b6e486ae828793dd.rlib --extern-version rustc_cratesio_shim=rustc-ap-rustc_cratesio_shim,263.0.0 --extern serialize=/home/cratesfyi/cratesfyi/debug/deps/libserialize-874d705d67667d1a.rlib --extern-version serialize=rustc-ap-serialize,263.0.0 --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-f5bbe4c1999a96be.rlib --extern-version log=log,0.4.5 --cap-lints allow`
   Compiling rustc_version v0.2.3
       Fresh rustc-rayon v0.1.1
     Running `rustc --crate-name rustc_version .cargo/registry/src/github.com-1ecc6299db9ec823/rustc_version-0.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=77fcbeeef6451a8d -C extra-filename=-77fcbeeef6451a8d --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern semver=/home/cratesfyi/cratesfyi/debug/deps/libsemver-820f174884dff946.rlib --extern-version semver=semver,0.9.0 --cap-lints allow`
error[E0658]: const fn is unstable (see issue #24111)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_target-263.0.0/abi/mod.rs:239:5
    |
239 | /     pub const fn from_bytes(bytes: u64) -> Size {
240 | |         Size {
241 | |             raw: bytes
242 | |         }
243 | |     }
    | |_____^
    |
    = help: add #![feature(const_fn)] to the crate attributes to enable

error[E0658]: const fn is unstable (see issue #24111)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_target-263.0.0/spec/mod.rs:129:13
    |
129 | /             pub const fn one_of() -> &'static str {
130 | |                 concat!("one of: ", $($string, " ",)+)
131 | |             }
    | |_____________^
...
150 | / flavor_mappings! {
151 | |     ((LinkerFlavor::Em), "em"),
152 | |     ((LinkerFlavor::Gcc), "gcc"),
153 | |     ((LinkerFlavor::Ld), "ld"),
...   |
158 | |     ((LinkerFlavor::Lld(LldFlavor::Link)), "lld-link"),
159 | | }
    | |_- in this macro invocation
    |
    = help: add #![feature(const_fn)] to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `rustc-ap-rustc_target`.

Caused by:
  process didn't exit successfully: `rustc --crate-name rustc_target .cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-rustc_target-263.0.0/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5115f17dabd8fdc5 -C extra-filename=-5115f17dabd8fdc5 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8584767eb103b292.rlib --extern-version bitflags=bitflags,1.0.4 --extern rustc_cratesio_shim=/home/cratesfyi/cratesfyi/debug/deps/librustc_cratesio_shim-b6e486ae828793dd.rlib --extern-version rustc_cratesio_shim=rustc-ap-rustc_cratesio_shim,263.0.0 --extern serialize=/home/cratesfyi/cratesfyi/debug/deps/libserialize-874d705d67667d1a.rlib --extern-version serialize=rustc-ap-serialize,263.0.0 --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-f5bbe4c1999a96be.rlib --extern-version log=log,0.4.5 --cap-lints allow` (exit code: 101)
thread 'main' panicked at 'Error(
    CargoError(
        build failed
    ),
    State {
        next_error: None,
        backtrace: None
    }
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Builds

rustfmt-nightly's sandbox limits

All the builds on docs.rs are executed inside a sandbox with limited resources. The limits for this crate are the following:

Available RAM 3 GB
Maximum rustdoc execution time 15 minutes
Maximum size of a build log 100 KB
Network access blocked

If a build fails because it hit one of those limits please open an issue to get them increased.