Apparently it is caused by the upgrade from rustc 1.15 to 1.16, not by cargo
** Package changed: cargo (Ubuntu) => rustc (Ubuntu) ** Description changed: 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: + since upgrading to rustc (1.16.0+dfsg1-1~exp1ubuntu1) 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 - | + --> /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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1676169 Title: cargo (0.17.0-0ubuntu1) gives an error when compiling with std To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1676169/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs