Skip to content

Compilation ICE on nphysics crate #33096

Closed
@trolleyman

Description

@trolleyman

When trying to compile nphysics on a nightly created on or after 2016-04-14, the compiler errors. Before this date it is fine.

Example code:

git clone https://github.com/sebcrozet/nphysics
rustup update nightly-2016-04-13 && rustup run nightly-2016-04-13 cargo build # Works fine
rustup update nightly-2016-04-14 && rustup run nightly-2016-04-13 cargo build # Errors

Presumably was this commit that broke things, as it's a commit on that day that touches trans.

On Windows 64 bit GNU this is the output:

   Compiling nphysics3d v0.2.2 (https://github.com/sebcrozet/nphysics.git#b379109f)
error: internal compiler error: ../src/librustc_trans\debuginfo\type_names.rs:155: debuginfo: Trying to create type name for unexpected type: <na::Pnt3<f32> as nc::ncollide_math::Point>::Vect
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', ../src/libsyntax\errors/mod.rs:575

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions