Skip to content

Instantly share code, notes, and snippets.

@spastorino spastorino/compiler-error.log Secret

Created Feb 2, 2019
Embed
What would you like to do?
error: internal compiler error: src/librustc_mir/borrow_check/nll/mod.rs:355: region is not an ReVar: ReFree(DefId(0/0:431 ~ core[8468]::num[0]::dec2flt[0]::simplify[0]), BrAnon(1))
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
stack backtrace:
0: 0x7f051e27544f - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h7b55de4b2b9ef087
at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
1: 0x7f051e24efcc - std::sys_common::backtrace::print::hf0852fdd4ba6b4ab
at src/libstd/sys_common/backtrace.rs:70
at src/libstd/sys_common/backtrace.rs:58
2: 0x7f051e270b3d - std::panicking::default_hook::{{closure}}::h7df4afc2e18c6246
at src/libstd/panicking.rs:200
3: 0x7f051e27088e - std::panicking::default_hook::hc25cc0cb1269223d
at src/libstd/panicking.rs:215
4: 0x7f051b38573f - rustc::util::common::panic_hook::h9db21c2ea9ec197b
at src/librustc/util/common.rs:39
5: 0x7f051e271234 - std::panicking::rust_panic_with_hook::h59a615977ea2d136
at src/libstd/panicking.rs:482
6: 0x7f051a82d55c - std::panicking::begin_panic::h4d69c18e9c4600e3
at /home/santiago/src/oss/rust2/src/libstd/panicking.rs:412
7: 0x7f051a81490e - rustc_errors::Handler::bug::h1a307564ef30e419
at src/librustc_errors/lib.rs:605
8: 0x7f051af3d1d3 - rustc::util::bug::opt_span_bug_fmt::{{closure}}::hdcaaedfe569735cc
at src/librustc/util/bug.rs:36
9: 0x7f051af3d029 - rustc::ty::context::tls::with_opt::{{closure}}::h401a0362a0ad78b9
at src/librustc/ty/context.rs:2104
10: 0x7f051af3cf44 - rustc::ty::context::tls::with_context_opt::h7da583845a396609
at src/librustc/ty/context.rs:2039
11: 0x7f051af3cfd6 - rustc::ty::context::tls::with_opt::h467ea50234f20f09
at src/librustc/ty/context.rs:2104
12: 0x7f051af3d0b4 - rustc::util::bug::opt_span_bug_fmt::h240e59cb0a72c7e8
at src/librustc/util/bug.rs:32
13: 0x7f051b3c2be6 - rustc::util::bug::bug_fmt::hfc6947acd4fad39a
at src/librustc/util/bug.rs:12
14: 0x7f051becd2b6 - rustc::ty::structural_impls::<impl rustc::ty::fold::TypeFoldable<'tcx> for &'tcx rustc::ty::TyS<'tcx>>::super_visit_with::h885f780cc9687221
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:0
15: 0x7f051c273b92 - <rustc_mir::borrow_check::nll::constraint_generation::ConstraintGeneration<'cg, 'cx, 'gcx, 'tcx> as rustc::mir::visit::Visitor<'tcx>>::visit_ty::hcd1c29af94f3bcce
at /home/santiago/src/oss/rust2/src/librustc/ty/fold.rs:329
at /home/santiago/src/oss/rust2/src/librustc/ty/structural_impls.rs:822
at /home/santiago/src/oss/rust2/src/librustc/ty/fold.rs:280
at /home/santiago/src/oss/rust2/src/librustc/ty/fold.rs:259
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:197
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:80
16: 0x7f051c3be510 - rustc::mir::visit::Visitor::visit_place::h18121d9b4d64ca34
at /home/santiago/src/oss/rust2/src/librustc/mir/visit.rs:0
at /home/santiago/src/oss/rust2/src/librustc/mir/visit.rs:156
17: 0x7f051c3be560 - rustc::mir::visit::Visitor::super_assign::hb31ffa2dbb8a8960
at /home/santiago/src/oss/rust2/src/librustc/mir/visit.rs:447
18: 0x7f051c3beede - rustc::mir::visit::Visitor::super_statement::h1f78a50bda914d58
at /home/santiago/src/oss/rust2/src/librustc/mir/visit.rs:382
19: 0x7f051c273f67 - <rustc_mir::borrow_check::nll::constraint_generation::ConstraintGeneration<'cg, 'cx, 'gcx, 'tcx> as rustc::mir::visit::Visitor<'tcx>>::visit_statement::h5e214920d164048e
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:120
20: 0x7f051c3bf425 - rustc::mir::visit::Visitor::super_basic_block_data::h13f2e968ae3e14c4
at /home/santiago/src/oss/rust2/src/librustc/mir/visit.rs:346
21: 0x7f051c273842 - rustc_mir::borrow_check::nll::constraint_generation::generate_constraints::h70b4c7ef214c5027
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:48
at src/librustc_mir/borrow_check/nll/constraint_generation.rs:33
22: 0x7f051c373609 - rustc_mir::borrow_check::nll::compute_regions::h7eba761438f67fe6
at src/librustc_mir/borrow_check/nll/mod.rs:135
23: 0x7f051c2ae873 - rustc_mir::borrow_check::do_mir_borrowck::h909fb54476955620
at src/librustc_mir/borrow_check/mod.rs:171
24: 0x7f051c25b3fe - rustc::ty::context::GlobalCtxt::enter_local::hc3e79c9f1637de01
at src/librustc_mir/borrow_check/mod.rs:112
at /home/santiago/src/oss/rust2/src/librustc/infer/mod.rs:520
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1719
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1959
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1892
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1958
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1718
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2065
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2039
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2061
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1710
25: 0x7f051c2ae05a - rustc_mir::borrow_check::mir_borrowck::hbfd3de437d1b7253
at /home/santiago/src/oss/rust2/src/librustc/infer/mod.rs:519
at src/librustc_mir/borrow_check/mod.rs:110
26: 0x7f051e503351 - rustc::ty::query::__query_compute::mir_borrowck::he04f354e44350a2d
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:965
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:924
27: 0x7f051e3c96d4 - rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors<'tcx> for rustc::ty::query::queries::mir_borrowck<'tcx>>::compute::hd7768e09eb9d6fe3
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:957
28: 0x7f051e4beba8 - rustc::dep_graph::graph::DepGraph::with_task_impl::hefd63eaea51341c8
at /home/santiago/src/oss/rust2/src/librustc/dep_graph/graph.rs:263
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1959
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1892
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1958
at /home/santiago/src/oss/rust2/src/librustc/dep_graph/graph.rs:262
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2039
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/dep_graph/graph.rs:256
29: 0x7f051e3ca637 - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::try_get_with::h0f9bbee7a877c5af
at /home/santiago/src/oss/rust2/src/librustc/dep_graph/graph.rs:190
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:554
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:220
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1959
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1892
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1958
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:219
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2065
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2039
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2049
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:2061
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:208
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:547
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:233
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:546
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:417
30: 0x7f051e3e5e09 - rustc::ty::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::par_body_owners::h166aff9a5633daf3
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:653
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:1023
at /home/santiago/src/oss/rust2/src/librustc/ty/query/plumbing.rs:1015
at src/librustc_driver/driver.rs:1283
at /home/santiago/src/oss/rust2/src/librustc/ty/mod.rs:2687
at /home/santiago/src/oss/rust2/src/libcore/iter/iterator.rs:606
at /home/santiago/src/oss/rust2/src/libcore/slice/mod.rs:3000
at /home/santiago/src/oss/rust2/src/libcore/iter/iterator.rs:606
at /home/santiago/src/oss/rust2/src/librustc/ty/mod.rs:2686
31: 0x7f051e467e5d - rustc::util::common::time::hf2912c6ec7c0b95f
at src/librustc_driver/driver.rs:1283
at /home/santiago/src/oss/rust2/src/librustc/util/common.rs:150
at /home/santiago/src/oss/rust2/src/librustc/util/common.rs:144
32: 0x7f051e525151 - <std::thread::local::LocalKey<T>>::with::hf235208eb29c185c
at src/librustc_driver/driver.rs:1281
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1993
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1959
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1892
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1958
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1992
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1947
at /home/santiago/src/oss/rust2/src/libstd/thread/local.rs:296
at /home/santiago/src/oss/rust2/src/libstd/thread/local.rs:242
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1939
at /home/santiago/src/oss/rust2/src/libstd/thread/local.rs:296
at /home/santiago/src/oss/rust2/src/libstd/thread/local.rs:242
33: 0x7f051e3da7fe - rustc::ty::context::TyCtxt::create_and_enter::h519d18a9bd1ba633
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1931
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1970
at /home/santiago/src/oss/rust2/src/librustc/ty/context.rs:1289
34: 0x7f051e535040 - rustc_driver::driver::phase_3_run_analysis_passes::h2d0f90493d89cd18
at src/librustc_driver/driver.rs:1205
35: 0x7f051e386c13 - rustc_driver::driver::compile_input::h09207f076c868656
at src/librustc_driver/driver.rs:272
36: 0x7f051e35dd8a - rustc_driver::run_compiler_with_pool::h8a0bbac97ba83e5b
at src/librustc_driver/lib.rs:525
37: 0x7f051e34dc65 - <scoped_tls::ScopedKey<T>>::set::h99db235b417b11f8
at src/librustc_driver/lib.rs:447
at src/librustc_driver/driver.rs:65
at /home/santiago/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155
38: 0x7f051e35ccea - rustc_driver::run_compiler::h23e4e29f06f98b1b
at src/librustc_driver/driver.rs:64
at src/librustc_driver/lib.rs:446
39: 0x7f051e34d6bb - <scoped_tls::ScopedKey<T>>::set::h385116c4dbb251a8
at src/librustc_driver/lib.rs:1639
at src/librustc_driver/lib.rs:169
at /home/santiago/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155
at /home/santiago/src/oss/rust2/src/libsyntax/lib.rs:112
at /home/santiago/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.2/src/lib.rs:155
40: 0x7f051e457ad2 - std::sys_common::backtrace::__rust_begin_short_backtrace::hd02887c6856bc07e
at /home/santiago/src/oss/rust2/src/libsyntax/lib.rs:111
at src/librustc_driver/lib.rs:168
at src/librustc_driver/lib.rs:1555
at /home/santiago/src/oss/rust2/src/libstd/sys_common/backtrace.rs:135
41: 0x7f051e278af9 - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:92
42: 0x7f051e481d82 - std::panicking::try::h10d177f1ba9c84a1
at /home/santiago/src/oss/rust2/src/libstd/panicking.rs:276
43: 0x7f051e51c445 - <F as alloc::boxed::FnBox<A>>::call_box::hf234b049a5ac2a3a
at /home/santiago/src/oss/rust2/src/libstd/panic.rs:388
at /home/santiago/src/oss/rust2/src/libstd/thread/mod.rs:468
at /home/santiago/src/oss/rust2/src/liballoc/boxed.rs:734
44: 0x7f051e2434bd - std::sys_common::thread::start_thread::h9ee96f8dc02c2a0c
at /home/santiago/src/oss/rust2/src/liballoc/boxed.rs:744
at src/libstd/sys_common/thread.rs:14
45: 0x7f051e243d95 - std::sys::unix::thread::Thread::new::thread_start::h37e5d290f5530d6e
at src/libstd/sys/unix/thread.rs:81
46: 0x7f051a541a9c - start_thread
47: 0x7f051e0e0b22 - clone
48: 0x0 - <unknown>
query stack during panic:
#0 [mir_borrowck] processing `num::dec2flt::simplify`
end of query stack
error: aborting due to previous error
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.33.0-dev running on x86_64-unknown-linux-gnu
note: compiler flags: -Z force-unstable-if-unmarked -C opt-level=2 -C incremental -C prefer-dynamic -C debug-assertions=y -C codegen-units=4 -C link-args=-Wl,-rpath,$ORIGIN/../lib --crate-type lib
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `core`.
To learn more, run the command again with --verbose.
command did not execute successfully: "/home/santiago/src/oss/rust2/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/santiago/src/oss/rust2/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
failed to run: /home/santiago/src/oss/rust2/build/bootstrap/debug/bootstrap build -i --stage 1 src/libstd/
Build completed unsuccessfully in 0:00:33
[
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.