Skip to content

rustc: Unexpected Failure (task ran out of stack) #5343

Closed
@astrieanna

Description

@astrieanna

When I compile the file fingertree.rs, the rustc gives me this error:

error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues

The file and the result of running with the logging on is here.

The lines that look relevant to me from the log are:

rust: task b4d04920 ran out of stack

and

rust: task failed at 'explicit failure', /home/leah/rust-0.5/src/librustc/rustc.rc:425

This only happens with the prepend function included. If it is commented out, the file compiles just fine.

The output of rustc --version is:

rustc 0.5
host: i686-unknown-linux-gnu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions