Skip to content

rustc panicked: Could not deserialize save-analysis config: MissingFieldError("reachable_only") #46244

Closed
@sebastiencs

Description

@sebastiencs

This occurs with RLS

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: rustc 1.23.0-nightly (246a6d19c 2017-11-23) running on x86_64-unknown-linux-gnu

note: run with `RUST_BACKTRACE=1` for a backtrace

thread 'rustc' panicked at 'Could not deserialize save-analysis config: MissingFieldError("reachable_only")', /checkout/src/libcore/result.rs:906:4
stack backtrace:
   0:     0x7f789cb2fd83 - std::sys::imp::backtrace::tracing::imp::unwind_backtrace::h96dee9bcdbb02649
                               at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:     0x7f789cb2b2ec - std::sys_common::backtrace::_print::h2ebe3072a1360391
                               at /checkout/src/libstd/sys_common/backtrace.rs:68
   2:     0x7f789cb3e600 - std::panicking::default_hook::{{closure}}::hc769485d77b08421
                               at /checkout/src/libstd/sys_common/backtrace.rs:57
                               at /checkout/src/libstd/panicking.rs:381
   3:     0x7f789cb3e29b - std::panicking::default_hook::ha3a808245b182eab
                               at /checkout/src/libstd/panicking.rs:391
   4:     0x7f789cb3ea4b - std::panicking::rust_panic_with_hook::h0ab3e76fb9f3f920
                               at /checkout/src/libstd/panicking.rs:577
   5:     0x7f789cb3e90e - std::panicking::begin_panic::hfd4b218612038963
                               at /checkout/src/libstd/panicking.rs:538
   6:     0x7f789cb3e809 - std::panicking::begin_panic_fmt::h4b5b345d659c1144
                               at /checkout/src/libstd/panicking.rs:522
   7:     0x7f789cb3e792 - rust_begin_unwind
                               at /checkout/src/libstd/panicking.rs:498
   8:     0x7f789cb95d20 - core::panicking::panic_fmt::hcc609fe6044e4f6f
                               at /checkout/src/libcore/panicking.rs:71
   9:     0x7f789e7b3bb8 - core::result::unwrap_failed::h1c95e1cefe4f5473
  10:     0x7f789e771179 - rustc_save_analysis::find_config::hfb934eebb7996803
  11:     0x7f789eaf9a1d - rustc_save_analysis::process_crate::hfd92bbb204794371
  12:     0x7f789eaf8668 - _ZN12rustc_driver20enable_save_analysis28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17hf570f44722918d24E.llvm.62612383
  13:     0x7f789ebbf074 - _ZN12rustc_driver20enable_save_analysis28_$u7b$$u7b$closure$u7d$$u7d$17hb4345dc25d6e4a1eE.llvm.83E87C1D
  14:     0x7f789eb6761b - _ZN12rustc_driver6driver13compile_input28_$u7b$$u7b$closure$u7d$$u7d$17hb39861299bc70debE.llvm.DF215A50
  15:     0x7f789eb5e594 - <std::thread::local::LocalKey<T>>::with::h72fa8637b1aa9606
  16:     0x7f789eb62406 - <std::thread::local::LocalKey<T>>::with::he9af6cc8b8d020bf
  17:     0x7f789ebad597 - rustc::ty::context::TyCtxt::create_and_enter::hf445d48b43784e8c
  18:     0x7f789eb1d40f - rustc_driver::driver::compile_input::h00bc277747ac69f4
  19:     0x7f789ebbb086 - rustc_driver::run_compiler::h9622b988ba74f568
  20:     0x55861bd817c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7e4a11959b1239ed
  21:     0x7f789cb49f1e - __rust_maybe_catch_panic
                               at /checkout/src/libpanic_unwind/lib.rs:101
  22:     0x55861bd85452 - _ZN50_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT$8call_box17h9fc1bf66cdabdcb9E.llvm.8C6D50E
  23:     0x7f789cb3d47b - std::sys::imp::thread::Thread::new::thread_start::h45c4df38a5521a02
                               at /checkout/src/liballoc/boxed.rs:835
                               at /checkout/src/libstd/sys_common/thread.rs:24
                               at /checkout/src/libstd/sys/unix/thread.rs:90
  24:     0x7f789c4a036c - start_thread
  25:     0x7f789bca7e1e - __GI___clone
  26:                0x0 - <unknown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions