oxalica / nil

NIx Language server, an incremental analysis assistant for writing in Nix.
Apache License 2.0
1.32k stars 39 forks source link

Latest update broken #62

Closed pasqui23 closed 1 year ago

pasqui23 commented 1 year ago
[Error - 21:14:31] Request textDocument/hover failed.
  Message: Panicked in textDocument/hover: no value set for FlakeGraphQuery(())
Location: /build/nil-2023-02-03-vendor.tar.gz/salsa/src/input.rs:106:32
Backtrace:    0:     0x561ec25a3b6f - std::backtrace::Backtrace::create::h64a0f41a21daddc8
   1:     0x561ec25a3ab0 - std::backtrace::Backtrace::force_capture::hd3cbfa107ca031f0
   2:     0x561ec2339153 - nil::server::with_catch_unwind::{{closure}}::{{closure}}::h14e5d4bd00ec6725
   3:     0x561ec25a5ea0 - std::panicking::rust_panic_with_hook::h2e8c0695c388bdee
   4:     0x561ec25821f9 - std::panicking::begin_panic_handler::{{closure}}::h192eca38cc2c43d2
   5:     0x561ec2581fdc - std::sys_common::backtrace::__rust_end_short_backtrace::ha89f9e1a3bce7ed6
   6:     0x561ec25a5a12 - rust_begin_unwind
   7:     0x561ec22c0ed3 - core::panicking::panic_fmt::h35982a44ff3b9a81
   8:     0x561ec2466b4f - <salsa::input::InputStorage<Q> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch::h1b97336d02d4db2b
   9:     0x561ec2435b20 - <DB as ide::base::SourceDatabase>::flake_graph::__shim::h7cbffee684272baa
  10:     0x561ec2435d59 - <ide::base::SourceRootFlakeInfoQuery as salsa::plumbing::QueryFunction>::execute::h90bba56fb62ac74d
  11:     0x561ec24c6ff7 - salsa::runtime::Runtime::execute_query_implementation::h46285f9294231d5a
  12:     0x561ec24a62dc - salsa::derived::slot::Slot<Q,MP>::read_upgrade::hf6f2f87ef3476429
  13:     0x561ec24b5388 - salsa::derived::slot::Slot<Q,MP>::read::h93b39ba7b04e4f52
  14:     0x561ec244e930 - <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch::h9dbb5fe1fa7472c2
  15:     0x561ec2435907 - <DB as ide::base::SourceDatabase>::source_root_flake_info::__shim::h10ac0fcd1d92512f
  16:     0x561ec2437b6d - <ide::def::ModuleKindQuery as salsa::plumbing::QueryFunction>::execute::hdeb2efa573014f87
  17:     0x561ec24c6dd7 - salsa::runtime::Runtime::execute_query_implementation::h35a6aa5a6d7243ae
  18:     0x561ec249bca2 - salsa::derived::slot::Slot<Q,MP>::read_upgrade::h864d10a54a45bfa5
  19:     0x561ec24b4d42 - salsa::derived::slot::Slot<Q,MP>::read::h8ce1d7fd243a2f85
  20:     0x561ec244c270 - <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch::h4cb6735f8ddb1ede
  21:     0x561ec2436a57 - <DB as ide::def::DefDatabase>::module_kind::__shim::h1fb8259b7c86d186
  22:     0x561ec24786ac - <ide::ty::ModuleExpectedTyQuery as salsa::plumbing::QueryFunction>::execute::h7c73a2fb58380f5e
  23:     0x561ec24c6777 - salsa::runtime::Runtime::execute_query_implementation::h22f34066f631d3be
  24:     0x561ec24953b2 - salsa::derived::slot::Slot<Q,MP>::read_upgrade::h0df3700b7b980d40
  25:     0x561ec24b2696 - salsa::derived::slot::Slot<Q,MP>::read::h1854c4bf874b0e00
  26:     0x561ec244f2e0 - <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch::ha232eaf1a3e85190
  27:     0x561ec24784ae - <DB as ide::ty::TyDatabase>::module_expected_ty::__shim::h8029680cea87ffd9
  28:     0x561ec246c273 - <DB as ide::ty::TyDatabase>::module_expected_ty::h8296118f2b2ee682
  29:     0x561ec2431a1b - ide::ty::infer::infer_query::h8cff124c59f0edfc
  30:     0x561ec24c7af6 - salsa::runtime::Runtime::execute_query_implementation::h9581f839f9a463e8
  31:     0x561ec24969cf - salsa::derived::slot::Slot<Q,MP>::read_upgrade::h238725eb08b2746c
  32:     0x561ec24b59d2 - salsa::derived::slot::Slot<Q,MP>::read::hcd5be9056a417ef6
  33:     0x561ec244b8c0 - <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch::h4b0f9c1e3ee16452
  34:     0x561ec24785c7 - <DB as ide::ty::TyDatabase>::infer::__shim::h6935ff2e0b7c619f
  35:     0x561ec2474f9f - ide::ide::hover::hover::h59a84f05fb746778
  36:     0x561ec24695e2 - ide::ide::Analysis::hover::h57b561024f4f9062
  37:     0x561ec236b662 - nil::handler::hover::h1fc21493d8552ff9
  38:     0x561ec23331b7 - std::panicking::try::hdc21e542a86a49c4
  39:     0x561ec2320321 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he4a771efa810c46f
  40:     0x561ec2324f1c - nil::server::Server::worker::h55b161a55058da5e
  41:     0x561ec22e80c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::he92575a5b2bb1253
  42:     0x561ec22f8a8b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb8f0b6d920da2881
  43:     0x561ec2588b83 - std::sys::unix::thread::Thread::new::thread_start::h639fe21ed802ef53
  44:     0x7f439ce88e86 - start_thread
  45:     0x7f439cf0fd30 - clone3
  46:                0x0 - <unknown>
oxalica commented 1 year ago

Dup of #56.