Skip to content

Unable to build docs #482

Closed
Closed

Description

@jturner314

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)

Activity

  1. atouminet commented on Nov 21, 2018

    @atouminet

    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

  2. jturner314 commented on Nov 21, 2018

    @jturner314
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions