Skip to content

Rust build failure #19803

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
2bdkid opened this issue Dec 13, 2014 · 3 comments
Closed

Rust build failure #19803

2bdkid opened this issue Dec 13, 2014 · 3 comments

Comments

@2bdkid
Copy link

2bdkid commented Dec 13, 2014

Here's my Rustc version:

rustc 0.13.0-dev (84a761541 2014-12-08 18:42:21 +0000)
binary: rustc
commit-hash: 84a7615418749d663d54dd9223a15098b834e2a0
commit-date: 2014-12-08 18:42:21 +0000
host: x86_64-unknown-linux-gnu
release: 0.13.0-dev
(Arch Linux)

Here's the error with backtrace:

[brady@arch rust]$ make RUST_BACKTRACE=1
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=gcc (CFG_CC)
cfg: enabling valgrind run-pass tests (CFG_ENABLE_VALGRIND_RPASS)
cfg: no lualatex found, deferring to xelatex
cfg: no xelatex found, deferring to pdflatex
cfg: no pdflatex found, disabling LaTeX docs
cfg: no pandoc found, omitting PDF and EPUB docs
rustc: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_typeck
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' panicked at 'assertion failed: end <= self.len()', /home/brady/Git/rust/src/libcore/slice.rs:432

stack backtrace:
   1:     0x7f0bf133c2e0 - rt::backtrace::imp::write::h45283e1c9da62c88tOx
   2:     0x7f0bf133e400 - failure::on_fail::h4611037d0f2e6198Tfy
   3:     0x7f0bf0f9d430 - unwind::begin_unwind_inner::h0186eb5b4ca29299CJc
   4:     0x7f0bf0f9d040 - unwind::begin_unwind_fmt::h63dea96cef7d1d7bZGc
   5:     0x7f0bf0f9d000 - rust_begin_unwind
   6:     0x7f0bf0fedf50 - panicking::panic_fmt::h56b57603d11ff584Rtl
   7:     0x7f0bf0febc50 - panicking::panic::h981ecb5af7c104cahrl
   8:     0x7f0befa2ade0 - metadata::loader::Context<'a>::extract_one::h3d9551e3647a3b32gKw
   9:     0x7f0befa24bc0 - metadata::loader::Context<'a>::find_library_crate::hb4e1b3a1af7c77a9CAw
  10:     0x7f0befa1cf90 - metadata::creader::resolve_crate::h3c9bfbe3962f9608Vjv
  11:     0x7f0befa17dd0 - metadata::creader::Env<'a>.visit..Visitor<'v>::visit_view_item::h9bdecff3f93c0ea5QMu
  12:     0x7f0befa172f0 - metadata::creader::read_crates::hf0360f9192d05ff3KLu
  13:     0x7f0bf179dec0 - util::common::time::h4691405867743788510
  14:     0x7f0bf175d460 - driver::phase_3_run_analysis_passes::h5e0bf21bedb68f67Cta
  15:     0x7f0bf174de10 - driver::compile_input::h07821bc52bbcfadcpba
  16:     0x7f0bf17ebb10 - run::closure.21480
  17:     0x7f0bf17f9ac0 - task::TaskBuilder::try_future::closure.22934
  18:     0x7f0bf131c400 - task::TaskBuilder::spawn_internal::closure.30601
  19:     0x7f0bf0f9b8d0 - task::Task::spawn::closure.5726
  20:     0x7f0bf1000d70 - rust_try_inner
  21:     0x7f0bf1000d60 - rust_try
  22:     0x7f0bf0f9b7d0 - task::Task::run::hcab6d055b3e03d30fKb
  23:     0x7f0bf0f9b420 - task::Task::spawn::closure.5702
  24:     0x7f0bf0f9c8b0 - thread::thread_start::h1b56bd80e974b111w1b
  25:     0x7f0bec254250 - start_thread
  26:     0x7f0bf0c72589 - clone
  27:                0x0 - <unknown>

/home/brady/Git/rust/mk/target.mk:165: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck] Error 101
@sruggier
Copy link

I just hit this as well.

@alexcrichton
Copy link
Member

Dupe of #19798, #19772, #19757, #19744, #19718, and #19691. Fixed in #19799, but thanks for the report!

@sruggier
Copy link

Thanks! I guess I'll make clean in the meantime.

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

3 participants