-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Building diesel documentation fails #54524
Comments
This breaks the documentation for all crates which depend on diesel too, unless you run with |
Is there anything I can do to help to debug/fix this? |
I've played a bit further around with this. |
Is this the same as #53122? |
Seems to be the same underlying issue, but it should be noted that this happens for me on the 2015 edition. (So it is probably not dependent on the edition.) Also a similar error occurs if someone tries to build diesel with |
I've played around a bit more and tried to get |
I've tried to play with This results in the following commit range 5ed2b5120...a1e6bcb2085 Rustdoc related commits: Blind guess without any future investigation: It is related to dab7151? cc @GuillaumeGomez as author of that commit |
It's very likely but it was supposed to be fixed by #54199. |
@GuillaumeGomez This comment sounds that this also requires some changes in rustdoc. Are they already done? (This is basically blocking diesel doing a release 😟 ) |
Ah indeed. Opening an issue to keep it in mind. |
Opened #55197. |
Unfortunately, as said in this comment, problem doesn't lie in rustdoc but still in rustc. Or maybe I missed something else? cc @nikomatsakis |
Sorry, missed these notifications. I will add to my list to investigate. |
This is a stable-to-stable regression: worked in 1.29.2 and broken in 1.30.0. |
cc @rust-lang/compiler can we get this fixed soon? |
I'm looking into it Backtrace
|
I managed to get that one failure ironed out, now rustdoc is failing with
which I think is completely unrelated and should be fixed by diesel |
Yes that's totally a issue with diesels documentation. I should have a patch for this somewhere in my local diesel clone, I will push that patch as soon as I've found it 😉 |
Bubble up an overflow error so that rustdoc can ignore it fixes #54524 Idk how to write a test for this, other than trying to minimize the entire diesel crate. If desirable I will do that. Note that there are many other such overflow errors hiding out there. Should we try to proactively eliminate them or do we just whack-a-mole them? cc @GuillaumeGomez r? @nikomatsakis
Bubble up an overflow error so that rustdoc can ignore it fixes #54524 Idk how to write a test for this, other than trying to minimize the entire diesel crate. If desirable I will do that. Note that there are many other such overflow errors hiding out there. Should we try to proactively eliminate them or do we just whack-a-mole them? cc @GuillaumeGomez r? @nikomatsakis
This is going to be fixed in 1.30.1, which should be released in minutes. |
I can confirm that this is fixed with the 1.30.1 release 🎉 |
So the backport landed before the original PR’s code in master ...??? |
I think I figured it out what happened. This indeed appears fixed on stable, but still exists on master to best of my knowledge |
The fix was not landed in master, but this particular issue just doesn't exist on stable yet. |
I've beta nominated and accepted #55717 as well per the marking here (stable/beta regression). |
Bubble up an overflow error so that rustdoc can ignore it fixes #54524 Idk how to write a test for this, other than trying to minimize the entire diesel crate. If desirable I will do that. Note that there are many other such overflow errors hiding out there. Should we try to proactively eliminate them or do we just whack-a-mole them? cc @GuillaumeGomez r? @nikomatsakis
Still needs a backport |
#55849 landed, so this is done, right? |
Yep. |
After #52545 is fixed now, I've tried to build diesels documentation and failed with the following error:
Note that a normal build of diesel succeeds and also all doc tests are passing.
rustc version: rustc 1.30.0-nightly (4591a24 2018-09-22)
rustdoc version: rustdoc 1.30.0-nightly (4591a24 2018-09-22)
diesel version: git master at commit 42d5b831
The text was updated successfully, but these errors were encountered: