Error in serde_derive patch


#1

I am working on mozilla firefox open source and it has dependency in using rust.(I have no knowledge in rust and its working fine). I upgraded my OS from macos sierra to mojave. Then when I try to compile my build it generated the following error.
“”""""""""
error: failed to resolve patches for https://github.com/rust-lang/crates.io-index Caused by
patch for serde_derive in https://github.com/rust-lang/crates.io-index did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
“”"""""

I have gone through “https://github.com/rust-lang/cargo/issues/4678” but I don’t think I have similar reason to reproduce the error.

Can anyone help ?


#2

Delete Cargo.lock file and try again.


#3

Still Same Issue