Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up(serde issue) Compilation error: failed to resolve. Could not find `Formatter` in `export` #19698
Comments
|
I get this warning:
|
|
What’s |
|
|
|
|
By the way this is another instance of #19588. Let’s keep this issue about finding a short-term work-around for your case. |
|
This should be fixed by updating to master. |
|
@jdm:
Was this just referring to the compilation error being fixed? Or also the warning that @paulrouget mentioned in the next comment:
? (I've been noticing that warning when building mozilla-central -- including on a trivial rebuild of an already-fully-compiled tree. And I'm wondering if that's tracked anywhere as a known issue & if there's anything easy we can do to fix it. Not sure if it's actually related to what was going on here, but I figured I'd start here since it was mentioned here...) |
|
Ah, partially answering my own question: looks like this warning was discussed in https://mozilla.logbot.info/servo/20180208 , and @staktrace had an idea about how to fix it. Did that end up spinning off to an issue/bug somewhere? |
|
Both are fixed in Servo because we stopped overriding serde with I believe Cargo will emit this warning even if it ends up deciding to rebuild nothing because everything is up to date. I don’t know if it indicates a real problem, though. |
|
@dholbert I haven't filed it yet but I can do that tomorrow. I have a tab open that reminds me every day but keep putting it off. |
|
Thanks! |
I'm having issue compiling Servo as a dependency (built with
cargo build):My
Cargo.tomllooks like this: