Skip to content

ICE generating docs with 2017-11-25 nightly (windows) #46283

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

Closed
lilith opened this issue Nov 26, 2017 · 2 comments
Closed

ICE generating docs with 2017-11-25 nightly (windows) #46283

lilith opened this issue Nov 26, 2017 · 2 comments
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@lilith
Copy link

lilith commented Nov 26, 2017

The 2017-11-26 (e97ba83 2017-11-25) nightly crashed (but only on Windows) when trying to document the imageflow_abi crate. This is a regression from nightly 2017-08-01.

Backtrace:

error: internal compiler error: src\librustc\hir\map\mod.rs:298: called HirMap::read() with invalid NodeId
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.23.0-nightly (e97ba8328 2017-11-25) running on i686-pc-windows-msvc
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', src\librustc_errors\lib.rs:501:8
stack backtrace:
   0: <std::sync::mpsc::RecvTimeoutError as std::error::Error>::description
   1: std::panicking::Location::column
   2: std::panicking::Location::column
   3: std::panicking::rust_panic_with_hook
   4: <rustc_errors::Level as core::fmt::Debug>::fmt
   5: <rustc::ty::wf::Elaborate as core::fmt::Debug>::fmt
   6: rustc::ty::context::tls::span_debug
   7: rustc::hir::map::Map::span
   8: <rustc::ty::Attributes<'gcx> as core::ops::deref::Deref>::deref
   9: rustc::util::ppaux::<impl core::fmt::Debug for rustc::ty::adjustment::Adjustment<'tcx>>::fmt
  10: <rustc::ty::_match::Match<'a, 'gcx, 'tcx> as rustc::ty::relate::TypeRelation<'a, 'gcx, 'tcx>>::tys
  11: rustc::ty::maps::<impl rustc::ty::maps::queries::def_span<'tcx>>::ensure
  12: rustc::ty::maps::<impl rustc::ty::maps::queries::def_span<'tcx>>::try_get
  13: rustc::ty::maps::TyCtxtAt::def_span
  14: rustc::ty::maps::<impl rustc::ty::maps::queries::extern_mod_stmt_cnum<'tcx>>::try_get
  15: rustc::ty::maps::TyCtxtAt::extern_mod_stmt_cnum
  16: rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::extern_mod_stmt_cnum
  17: rustc_typeck::check_crate
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: _rust_maybe_catch_panic
  26: <unknown>
  27: std::sync::mpsc::sync::Queue::dequeue
  28: std::sys::windows::thread::Thread::new
  29: BaseThreadInitThunk
  30: RtlSubscribeWnfStateChangeNotification
error: Could not document `imageflow_abi`.
Caused by:
  process didn't exit successfully: `rustdoc --crate-name imageflow imageflow_abi\src\lib.rs -o C:\projects\imageflow\target\doc -L dependency=C:\projects\imageflow\target\release\deps --extern backtrace=C:\projects\imageflow\target\release\deps\libbacktrace-0af47253510b87dd.rlib --extern base64=C:\projects\imageflow\target\release\deps\libbase64-421f6c9f37b3a094.rlib --extern smallvec=C:\projects\imageflow\target\release\deps\libsmallvec-436db65fe51f1e43.rlib --extern imageflow_core=C:\projects\imageflow\target\release\deps\libimageflow_core-b0ecdadec7d8ea46.rlib --extern libc=C:\projects\imageflow\target\release\deps\liblibc-02e54fa4bd3382fc.rlib` (exit code: 101)
@lilith lilith changed the title 2017-11-25 nightly fails to document crate on Windows ICE generating docs with 2017-11-25 nightly (windows) Nov 26, 2017
@sfackler sfackler added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. labels Nov 26, 2017
@MaloJaffre
Copy link
Contributor

Probably a duplicate of #46271.

@lilith
Copy link
Author

lilith commented Nov 26, 2017

Agreed, closing as duplicate of #46271, as reverting to (5f44c65 2017-11-24) fixes the issue.

@lilith lilith closed this as completed Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. 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

3 participants