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

(regression) ICE compiling string_cache v0.2.29 #40469

Closed
crumblingstatue opened this issue Mar 13, 2017 · 3 comments
Closed

(regression) ICE compiling string_cache v0.2.29 #40469

crumblingstatue opened this issue Mar 13, 2017 · 3 comments
Assignees
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@crumblingstatue
Copy link
Contributor

Compiling string_cache v0.2.29
error: internal compiler error: unexpected panic

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: run with `RUST_BACKTRACE=1` for a backtrace

thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:323
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: rustc_metadata::cstore::CStore::get_crate_data
   1: rustc_metadata::cstore_impl::<impl rustc::middle::cstore::CrateStore for rustc_metadata::cstore::CStore>::def_key
   2: rustc_resolve::build_reduced_graph::<impl rustc_resolve::Resolver<'a>>::macro_def_scope
   3: rustc_resolve::Resolver::resolve_path
   4: rustc_resolve::Resolver::resolve_qpath
   5: rustc_resolve::Resolver::smart_resolve_path_fragment
   6: rustc_resolve::Resolver::smart_resolve_path
   7: rustc_resolve::Resolver::resolve_expr
   8: rustc_resolve::Resolver::resolve_block
   9: <rustc_resolve::Resolver<'a> as syntax::visit::Visitor<'tcx>>::visit_fn
  10: syntax::visit::walk_impl_item
  11: rustc_resolve::Resolver::with_type_parameter_rib
  12: rustc_resolve::Resolver::with_current_self_type
  13: rustc_resolve::Resolver::with_self_rib
  14: rustc_resolve::Resolver::with_optional_trait_ref
  15: rustc_resolve::Resolver::with_self_rib
  16: rustc_resolve::Resolver::resolve_item
  17: syntax::visit::walk_item
  18: rustc_resolve::Resolver::resolve_item
  19: rustc_resolve::Resolver::resolve_crate
  20: rustc_driver::driver::phase_2_configure_and_expand
  21: rustc_driver::driver::compile_input
  22: rustc_driver::run_compiler
  23: std::panicking::try::do_call
  24: __rust_maybe_catch_panic
             at /checkout/src/libpanic_unwind/lib.rs:98
  25: <F as alloc::boxed::FnBox<A>>::call_box
  26: std::sys::imp::thread::Thread::new::thread_start
             at /checkout/src/liballoc/boxed.rs:650
             at /checkout/src/libstd/sys_common/thread.rs:21
             at /checkout/src/libstd/sys/unix/thread.rs:84
  27: start_thread
  28: clone

error: Could not compile `string_cache`.

rustc 1.17.0-nightly (824c9ebbd 2017-03-12)

@SimonSapin
Copy link
Contributor

Same on string-cache master (version 0.4.0+).

@crumblingstatue crumblingstatue changed the title ICE compiling string_cache v0.2.29 (regression) ICE compiling string_cache v0.2.29 Mar 14, 2017
@jseyfried jseyfried self-assigned this Mar 15, 2017
@jseyfried jseyfried added regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. and removed regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. labels Mar 15, 2017
@jseyfried
Copy link
Contributor

I believe this was caused by #40220 -- I'll fix ASAP.

@jseyfried
Copy link
Contributor

Fixed in #40583.

frewsxcv added a commit to frewsxcv/rust that referenced this issue Mar 17, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
frewsxcv added a commit to frewsxcv/rust that referenced this issue Mar 17, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
frewsxcv added a commit to frewsxcv/rust that referenced this issue Mar 18, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
arielb1 pushed a commit to arielb1/rust that referenced this issue Mar 18, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
arielb1 pushed a commit to arielb1/rust that referenced this issue Mar 19, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
frewsxcv added a commit to frewsxcv/rust that referenced this issue Mar 19, 2017
…ion, r=nrc

macros: fix regression with `include!()`

Fixes rust-lang#40469, a regression when `include!()`ing a `macro_rules!` containing `$crate`.
r? @nrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants