Skip to content
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

Cargo doc explodes with ICE (rest of the tests seem to work?) #55690

Closed
frankmcsherry opened this issue Nov 5, 2018 · 6 comments
Closed

Cargo doc explodes with ICE (rest of the tests seem to work?) #55690

frankmcsherry opened this issue Nov 5, 2018 · 6 comments
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@frankmcsherry
Copy link
Contributor

frankmcsherry commented Nov 5, 2018

I think the following link should let you see what is going on. Relevant error text reproduced below. Reproduces locally too (cargo test passes; cargo doc does not).

https://travis-ci.org/frankmcsherry/differential-dataflow/builds/450756251

[snip]
 Documenting differential-dataflow v0.7.0 (/Users/mcsherry/Projects/differential-dataflow)                                                                    
error: internal compiler error: librustc/traits/select.rs:2536: Where clause `Binder(<_ as std::marker::Send>)` was applicable to `Obligation(predicate=Binder(TraitPredicate(<operators::ValueHistory<'_, _, _, _> as std::marker::Send>)),depth=2)` but now is not
                                                                                                                                                              
thread '<unnamed>' panicked at 'Box<Any>', librustc_errors/lib.rs:587:9                                                                                       
note: Run with `RUST_BACKTRACE=1` for a backtrace.                                                                                                            
                                                                                                                                                              
note: the compiler unexpectedly panicked. this is a bug.                                                                                                      
                                                                                                                                                              
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports                                             
                                                                                                                                                              
note: rustc 1.30.0 (da5f414c2 2018-10-24) running on x86_64-apple-darwin                                                                                      
                                                                                                                                                              
error: Could not document `differential-dataflow`.                                                                                                            

Caused by:
  process didn't exit successfully: `rustdoc --crate-name differential_dataflow src/lib.rs --color always -o /Users/mcsherry/Projects/differential-dataflow/target/doc -L dependency=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps --extern abomonation=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libabomonation-970200789d96f2f0.rmeta --extern abomonation_derive=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libabomonation_derive-ad4be47cd7451f35.dylib --extern fnv=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libfnv-80a0fee956aec5d9.rmeta --extern serde=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libserde-8336f27bf07c4b60.rmeta --extern serde_derive=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libserde_derive-caf712db51cb0e10.dylib --extern timely=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libtimely-f1aa95e8d5ae4deb.rmeta --extern timely_sort=/Users/mcsherry/Projects/differential-dataflow/target/debug/deps/libtimely_sort-58aa374f36467bac.rmeta` (exit code: 1)
@estebank estebank added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ labels Nov 6, 2018
@Aaron1011
Copy link
Member

This appears to be fixed in Nightly as of rustdoc 1.32.0-nightly (13dab66a6 2018-11-05)

@QuietMisdreavus QuietMisdreavus added the regression-from-stable-to-stable Performance or correctness regression from one stable version to another. label Nov 6, 2018
@QuietMisdreavus
Copy link
Member

Can confirm it works in 1.29.1, so i bet it's related to #52873 and its fix, #54199.

@QuietMisdreavus
Copy link
Member

...however, this one doesn't work on beta, so that PR isn't what fixed it. 😕

@QuietMisdreavus QuietMisdreavus added the A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls label Nov 7, 2018
@QuietMisdreavus
Copy link
Member

Bisecting: Doesn't work on rustc 1.31.0-nightly (4bd4e4130 2018-10-25), does work on rustc 1.31.0-nightly (3e6f30ec3 2018-10-26), so i'm pretty sure that it was #55258 that fixed it.

@QuietMisdreavus
Copy link
Member

Bisection complete, #55258 was the fix, i'm nominating for backport.

@pnkfelix
Copy link
Member

triage: Tagging as P-high. But this was also fixed by PR #55258 which was approved for backport. So also closing in addition to tagging as P-high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-synthetic-impls Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants