Skip to content

Internal compiler error - "failed to find block with tag 12" #6873

Closed
@indirect

Description

@indirect

Hi there... I'm trying to figure out how to build my own crates and use them, and I ran into this compiler error while compiling a two-line rust file. I created a gist with the files needed to reproduce, and a script that will trigger the bug: https://gist.github.com/indirect/5689005. I'm running off of incoming, compiled yesterday. Here's the output from the compile attempt:

$ rustc test.rs -L .
rust: ~"failed to find block with tag 12"
rust: task failed at 'explicit failure', /private/tmp/rust-8w9r/src/libextra/ebml.rs:202
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
rust: task failed at 'explicit failure', /private/tmp/rust-8w9r/src/librustc/rustc.rc:400
rust: domain main @0x7fae5a808410 root task failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions