-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Compiler panics at Box<Any>
when building docs for zmq-sys 0.9.0
#47391
Comments
The problem comes from |
I just encountered this as well. @saibatizoku, did you find a way to work around it? |
@Michael-F-Bryan, no, I haven't been able to get it to work as it should. For now, if I need docs, I manually select the crates that don't crash (e.g. I build docs for |
Oups, it's been a while and I forgot about it. I'll put it back into my todo list. |
@GuillaumeGomez, it looks like you were right. In the meantime I've made a PR to @saibatizoku I'm not sure whether the [patch.crates-io]
zmq-sys = { git = "https://github.com/Michael-F-Bryan/rust-zmq", branch = "ice" } |
Thanks! Me and @QuietMisdreavus took a look yesterday. The details are maybe a bit dark but they'll make sense to some people: it's simply that the session is lost when going through a Maybe someone from the @rust-lang/compiler might know about this? |
Thank you for your help with this! Like @GuillaumeGomez says, the details of this are dark to me, but I get the main idea. @Michael-F-Bryan thank you so much for the patch for printing docs. It should help with generating docs on Travis! Summarizing: The
Will this issue close when we have a |
We have a |
Summary
I'm working on a crate that uses the master branch on rust-zmq, which at the moment of posting is at commit 7bfd3bacca. While running Travis CI integration hooks, I tried to publish the crates documentation to GH pages, and found an error, which I later replicated on my local machine.
On my local machine, running nightly (
rustc 1.25.0-nightly
), I tried this code:cargo doc -p zmq-sys --no-deps
I expected to see this happen:
A console message indicating the documentation was built successfully.
Instead, this happened:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: