Closed
Description
I created a new project with 'cargo'
And here is the configuration
[package]
name = "helloworld"
version = "0.1.0"
authors = ["darwinsenior <darwinsenior@gmail.com>"]
[dependencies]
image = "0.13.0"
And I met with the following error when running cargo install
.
Installing toolkit v0.1.0 (file:///home/darwinsenior/workspace/research/code/toolkit)
Compiling image v0.13.0
error: internal compiler error: unexpected panic
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
thread 'rustc' panicked at 'assertion failed: !unsize', /checkout/src/librustc_typeck/check/mod.rs:2212
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: failed to compile `toolkit v0.1.0 (file:///home/darwinsenior/workspace/research/code/toolkit)`, intermediate artifacts can be found at `/home/darwinsenior/workspace/research/code/toolkit/target`
Caused by:
Could not compile `image`.
To learn more, run the command again with --verbose.
Activity
Mark-Simulacrum commentedon Apr 30, 2017
This is a duplicate of #41604.