Skip to content

Panic when building dependency "yaml" in nightly #25498

Closed
@cassiemeharry

Description

@cassiemeharry

When building a Cargo project that includes yaml = "0.2.0" as a dependency, I'm getting a compiler panic. This is reproducible in a fresh project with no other code, and I've seen it happen in a few different nightly builds (can't use stable due to feature gating).

Cargo output, with RUST_BACKTRACE=1 and --verbose.

$ rustc --version --verbose
rustc 1.1.0-nightly (7a52835c1 2015-05-16) (built 2015-05-15)
binary: rustc
commit-hash: 7a52835c1a6da00dd054c2e934a70a0c231dffd1
commit-date: 2015-05-16
build-date: 2015-05-15
host: x86_64-apple-darwin
release: 1.1.0-nightly

On a side note, Cargo's output makes it look like the bug happens when compiling regex_macros, a sub dependency, but the last line says it's actually compiling yaml. This is slightly confusing.

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