Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling failed: could not compile image #41658

Closed
DarwinSenior opened this issue Apr 30, 2017 · 1 comment
Closed

Compiling failed: could not compile image #41658

DarwinSenior opened this issue Apr 30, 2017 · 1 comment

Comments

@DarwinSenior
Copy link

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.
@Mark-Simulacrum
Copy link
Member

This is a duplicate of #41604.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants