Skip to content

ICE when compiling with -Z ast_json #14940

Closed
@schmee

Description

@schmee

Compiling https://github.com/schmee/rust/blob/counted-set/src/libcollections/counted_set.rs on Windows 7 with rustc counted_set.rs -Z ast-json or rustc counted_set.rs -Z ast-json-noexpand results in the following ICE:

$ rustc counted_set.rs -Z ast-json
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'called `Result::unwrap()` on an `Err` value: OS Error 8: Not enough storage is available to process this command.
', C:\bot\slave\nightly-win\build\src\libcore\result.rs:545

stack backtrace:
   1: 0x70dcc1a5
   2: 0x701c92e1
   3: 0x701c8f08
   4: 0x701c8cee
   5: 0x7021d648
   6: 0x65b97899
   7: 0x65b90b55
   8: 0x65c47e2f
   9: 0x65c4552d
  10: 0x65c5ee21
  11: 0x65c5a55e
  12: 0x64171623
  13: 0x701c67bc
  14: 0x701c657e
  15: 0x641714ac
  16: 0x701c844f
  17: 0x77d99f72

Version:

$ rustc --version
rustc 0.11.0-pre-nightly (7ec7805 2014-06-16 08:16:49 +0000)
host: i686-pc-mingw32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions