Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation does not build on Rust 1.29.0 #1792
Comments
This comment has been minimized.
kennytm
commented
Jul 19, 2018
•
|
A dependency currently breaks downstream crates because |
This comment has been minimized.
|
Please re-open if this is still an issue once it hits beta. |
sgrif
closed this
Jul 25, 2018
This comment has been minimized.
jesskfullwood
commented
Sep 6, 2018
|
I assume this is the reason that the 'latest release' docs (linked in the README) on |
This comment has been minimized.
|
Actually, it's because the nightly that docs.rs uses is super old and has bugs that have since been fixed. |
This comment has been minimized.
|
FYI, building with current nightly fails again at the moment for me. Enabled features: Error:
|
This comment has been minimized.
|
@theduke That seems to be an issue with rustdoc. I've already reported that against rustc, see rust-lang/rust#54524. |
nabijaczleweli commentedJul 19, 2018
Setup
Versions
rustc 1.29.0-nightly (12ed235ad 2018-07-18)1.3.2), as well as latestmaster(765b782f7f94932cf129bc603dc5909d7155e9fe)Feature Flags
["32-column-tables", "sqlite", "chrono", "r2d2"](though probably all are affected)Problem Description
When building the documentation,
cargo docproduces warnings, which, due todeny(warnings), cause an error – meaning you can not builddieseldocs on current nightly.What are you trying to accomplish?
Build documentation for my project (and, transitively,
diesel).What is the expected output?
What is the actual output?
A multitude of errors, ending with
Are you seeing any additional errors?
No.
Steps to reproduce
Run
cargo docon current nightly on this crate (be it directly or transitively).Steps to fix
One could either (a) fix the documentation errors, or (b) replace, as mentioned previously,
src/lib.rs#L131. with#![cfg_attr(feature = "dox", deny(warnings, missing_debug_implementations, missing_copy_implementations, missing_docs))]Checklist