Comment 0 for bug 1676169

Revision history for this message
Maarten Fonville (maarten-fonville) wrote : cargo (0.17.0-0ubuntu1) gives an error when compiling with std

In the older versions of rust/cargo, I did not have this issue, but since upgrading to cargo (0.17.0-0ubuntu1) I get this error for my project:

error[E0523]: found two different crates with name `std` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two.
  --> /home/maarten/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-0.9.11/src/lib.rs:13:1
   |
13 | extern crate proc_macro;
   | ^^^^^^^^^^^^^^^^^^^^^^^^

error: Could not compile `serde_derive`.

I have the feeling that there might be a bug in the latest cargo that causes this