Skip to content

Instantly share code, notes, and snippets.

@passcod
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passcod/23f905be1beaf3e88063 to your computer and use it in GitHub Desktop.
Save passcod/23f905be1beaf3e88063 to your computer and use it in GitHub Desktop.
Rust compiler error
$ uname -a
Linux archbook 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64 GNU/Linux
$ rust -v
rustc 0.11.0-pre-nightly (db5ca23 2014-05-14 01:06:24 -0700)
host: x86_64-unknown-linux-gnu
$ RUST_BACKTRACE=1 rustc -L . --tests tests.rs
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'No triple in crate', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libstd/option.rs:167
stack backtrace:
1: 0x7fd9d7bfccc0 - rt::backtrace::imp::write::h630d550887127121CVF::v0.11.0.pre
2: 0x7fd9d7b5d900 - rt::unwind::begin_unwind_inner::hb4af00792695b8fdFvF::v0.11.0.pre
3: 0x7fd9d86c6680 - rt::unwind::begin_unwind::h15087994848492777413::v0.11.0.pre
4: 0x7fd9d8e9c340 - metadata::decoder::get_crate_triple::h4642fe4086914ec0Oke::v0.11.0.pre
5: 0x7fd9d8eb8ff0 - metadata::loader::Context<'a>::extract_one::h1a1e112c521fc3afdNg::v0.11.0.pre
6: 0x7fd9d8eb0930 - metadata::loader::Context<'a>::find_library_crate::h037b8cc1788c0e1ajgg::v0.11.0.pre
7: 0x7fd9d8eac9c0 - metadata::loader::Context<'a>::load_library_crate::h2024d486cbc7ab99H2f::v0.11.0.pre
8: 0x7fd9d8ea8640 - metadata::creader::resolve_crate::h5ccbfed0648ea0f1Z0e::v0.11.0.pre
9: 0x7fd9d8ea0050 - metadata::creader::Env<'a>.visit..Visitor<(*>::visit_view_item::h5223fa5646a7e435sze::v0.11.0.pre
10: 0x7fd9d8e9f210 - metadata::creader::read_crates::ha8e2d69232088524zye::v0.11.0.pre
11: 0x7fd9d8aea340 - util::common::time::h3395524667971293518::v0.11.0.pre
12: 0x7fd9d8ec9cc0 - driver::driver::phase_3_run_analysis_passes::hfb2dff40ddc57a14cii::v0.11.0.pre
13: 0x7fd9d8ec37d0 - driver::driver::compile_input::hfd0ab84bf2716172M7h::v0.11.0.pre
14: 0x7fd9d8f6a1a0 - driver::run_compiler::h72c5b84a06301875Ozk::v0.11.0.pre
15: 0x7fd9d8f6a0c0 - driver::main_args::closure.92596
16: 0x7fd9d8f82480 - driver::monitor::closure.93773
17: 0x7fd9d8f7c8c0 - task::TaskBuilder::try::closure.93540
18: 0x7fd9d8174210 - task::spawn_opts::closure.8042
19: 0x7fd9d7bf1090 - rt::task::Task::run::closure.28565
20: 0x7fd9d7c15c70 - rust_try
21: 0x7fd9d7bf0ed0 - rt::task::Task::run::h0b61d026cdd8642c2jD::v0.11.0.pre
22: 0x7fd9d8173fc0 - task::spawn_opts::closure.8015
23: 0x7fd9d7bfb6c0 - rt::thread::thread_start::hc0b1c98110806c2ey2D::v0.11.0.pre
24: 0x7fd9d58c3060 - start_thread
25: 0x7fd9d782c489 - __clone
26: 0x0 - <unknown>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment