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

Unable to build docs #482

Closed
jturner314 opened this issue Nov 21, 2018 · 2 comments
Closed

Unable to build docs #482

jturner314 opened this issue Nov 21, 2018 · 2 comments

Comments

@jturner314
Copy link
Contributor

When I try to build the docs (latest master, version 85bfae5) with cargo doc (Rust 1.30.1 on x86_64-unknown-linux-gnu), I get an internal compiler error. Is anyone else experiencing this, or is it just me? I don't see any other issues about this.

 Documenting nalgebra v0.16.10 (...)                                                                                                                                                                                  
error: internal compiler error: librustc/traits/select.rs:2539: Where clause `Binder(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _>>)` was applicable to `Obligation(predicate=Binder(TraitPredicate(<base::default_allocator::DefaultAllocator as base::allocator::Allocator<_, _, _>>)),depth=3)` 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.1 (1433507eb 2018-11-07) running on x86_64-unknown-linux-gnu                                                                                                                                                                 
                                                                                                                                                                                                                                              
error: Could not document `nalgebra`.                                                                                                                                                                                                         

Caused by:
  process didn't exit successfully: `rustdoc --crate-name nalgebra src/lib.rs ...` (exit code: 1)
@atouminet
Copy link

The fix was merged into rust already but is only available for nightly build. You can build nalgebra docs on nightly.

See rust-lang/rust#55690

@jturner314
Copy link
Contributor Author

Okay, thanks. I tried stable, beta, and the nightly I had already; I should have tried updating nightly. I can confirm it works with the latest nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants