Created
September 15, 2021 12:47
-
-
Save f32by/4ed1151cdb5a71e39fc0d46970fb540a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 41, | |
character: 36, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:41:10 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 47, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_type | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:42:05 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 34, | |
character: 58, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:42:24 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 36, | |
character: 8, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:42:36 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 31, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:16 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 21, | |
character: 31, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(22242) -> ItemLoc { container: ModuleId { krate: CrateId(564), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2596))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("TokenStreamExt"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("TokenStream"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(46323)), FunctionId(FunctionId(46324)), FunctionId(FunctionId(46325)), FunctionId(FunctionId(46326))], is_negative: false }) | |
> impl_self_ty_query(ImplId(22242) -> ItemLoc { container: ModuleId { krate: CrateId(564), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2596))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("TokenStreamExt"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("TokenStream"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(46323)), FunctionId(FunctionId(46324)), FunctionId(FunctionId(46325)), FunctionId(FunctionId(46326))], is_negative: false }) | |
> DefMap CrateId(564) crate_name=Some(CrateDisplayName { crate_name: CrateName("test"), canonical_name: "test" }) block=None path=TokenStream | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_type | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:39 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 35, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(20066) -> ItemLoc { container: ModuleId { krate: CrateId(499), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2502))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Sync"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("OnceCell"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(20066) -> ItemLoc { container: ModuleId { krate: CrateId(499), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2502))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Sync"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("OnceCell"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [], is_negative: false }) | |
> DefMap CrateId(499) crate_name=Some(CrateDisplayName { crate_name: CrateName("bench"), canonical_name: "bench" }) block=None path=OnceCell | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:39 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 35, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(32319) -> ItemLoc { container: ModuleId { krate: CrateId(620), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(15136) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("marker")), Name(Text("Copy"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Derive"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(32319) -> ItemLoc { container: ModuleId { krate: CrateId(620), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(15136) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("marker")), Name(Text("Copy"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Derive"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> DefMap CrateId(620) crate_name=Some(CrateDisplayName { crate_name: CrateName("build_script_build"), canonical_name: "build-script-build" }) block=None path=Derive | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:42 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 34, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(37302) -> ItemLoc { container: ModuleId { krate: CrateId(572), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2708))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("SplitProducer"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'p")) }), Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("P"))] }, generic_args: [None] })), Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("V"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(79140)), FunctionId(FunctionId(79141))], is_negative: false }) | |
> impl_self_ty_query(ImplId(37302) -> ItemLoc { container: ModuleId { krate: CrateId(572), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2708))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("SplitProducer"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'p")) }), Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("P"))] }, generic_args: [None] })), Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("V"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(79140)), FunctionId(FunctionId(79141))], is_negative: false }) | |
> DefMap CrateId(572) crate_name=Some(CrateDisplayName { crate_name: CrateName("cpu_monitor"), canonical_name: "cpu_monitor" }) block=None path=SplitProducer | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 3', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:43 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 3 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(38591) -> ItemLoc { container: ModuleId { krate: CrateId(521), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2552))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("ColorType"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(82701)), FunctionId(FunctionId(82702)), FunctionId(FunctionId(82703)), FunctionId(FunctionId(82704)), FunctionId(FunctionId(82705)), FunctionId(FunctionId(82706))], is_negative: false }) | |
> impl_self_ty_query(ImplId(38591) -> ItemLoc { container: ModuleId { krate: CrateId(521), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2552))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("ColorType"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(82701)), FunctionId(FunctionId(82702)), FunctionId(FunctionId(82703)), FunctionId(FunctionId(82704)), FunctionId(FunctionId(82705)), FunctionId(FunctionId(82706))], is_negative: false }) | |
> DefMap CrateId(521) crate_name=Some(CrateDisplayName { crate_name: CrateName("pngcheck"), canonical_name: "pngcheck" }) block=None path=ColorType | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 2', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:45 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 2 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:47 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 32, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(36003) -> ItemLoc { container: ModuleId { krate: CrateId(436), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2355))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("HexDisplay"))] }, generic_args: [None] } }), self_ty: Slice(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] })), items: [FunctionId(FunctionId(84069)), FunctionId(FunctionId(84070))], is_negative: false }) | |
> impl_self_ty_query(ImplId(36003) -> ItemLoc { container: ModuleId { krate: CrateId(436), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2355))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("HexDisplay"))] }, generic_args: [None] } }), self_ty: Slice(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("u8"))] }, generic_args: [None] })), items: [FunctionId(FunctionId(84069)), FunctionId(FunctionId(84070))], is_negative: false }) | |
> DefMap CrateId(436) crate_name=Some(CrateDisplayName { crate_name: CrateName("arithmetic"), canonical_name: "arithmetic" }) block=None path=u8 | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 4', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
7: hir_ty::lower::impl_self_ty_query | |
8: salsa::runtime::Runtime::execute_query_implementation | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::read | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
12: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
13: hir_ty::lower::impl_trait_query | |
14: salsa::runtime::Runtime::execute_query_implementation | |
15: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
16: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
17: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
18: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
19: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
20: salsa::derived::slot::Slot<Q,MP>::read | |
21: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
22: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
23: hir::Impl::all_for_trait | |
24: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
25: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
26: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
27: ide::goto_implementation::goto_implementation | |
28: std::panicking::try | |
29: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
30: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
31: rust_analyzer::handlers::handle_hover | |
32: std::panicking::try | |
33: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:50 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 4 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(43229) -> ItemLoc { container: ModuleId { krate: CrateId(622), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2842))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(84937))], is_negative: false }) | |
> impl_self_ty_query(ImplId(43229) -> ItemLoc { container: ModuleId { krate: CrateId(622), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2842))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(84937))], is_negative: false }) | |
> DefMap CrateId(622) crate_name=Some(CrateDisplayName { crate_name: CrateName("build_script_build"), canonical_name: "build-script-build" }) block=None path=Deserializer | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 4', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:53 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 4 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 32, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(36535) -> ItemLoc { container: ModuleId { krate: CrateId(763), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(3143))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Error"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("EmitError"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(85758))], is_negative: false }) | |
> impl_self_ty_query(ImplId(36535) -> ItemLoc { container: ModuleId { krate: CrateId(763), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(3143))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Error"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("EmitError"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(85758))], is_negative: false }) | |
> DefMap CrateId(763) crate_name=Some(CrateDisplayName { crate_name: CrateName("dump_yaml"), canonical_name: "dump_yaml" }) block=None path=EmitError | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:44:58 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(47188) -> ItemLoc { container: ModuleId { krate: CrateId(495), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27048) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("default")), Name(Text("Default"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("MachState"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(47188) -> ItemLoc { container: ModuleId { krate: CrateId(495), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27048) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("default")), Name(Text("Default"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("MachState"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> DefMap CrateId(495) crate_name=Some(CrateDisplayName { crate_name: CrateName("dyldcachedump"), canonical_name: "dyldcachedump" }) block=None path=MachState | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 2', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:06 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 2 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(34210) -> ItemLoc { container: ModuleId { krate: CrateId(509), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2514))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("WaitTimeoutResult"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(46220))], is_negative: false }) | |
> impl_self_ty_query(ImplId(34210) -> ItemLoc { container: ModuleId { krate: CrateId(509), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2514))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("WaitTimeoutResult"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(46220))], is_negative: false }) | |
> DefMap CrateId(509) crate_name=Some(CrateDisplayName { crate_name: CrateName("issue_203"), canonical_name: "issue_203" }) block=None path=WaitTimeoutResult | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:09 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(42655) -> ItemLoc { container: ModuleId { krate: CrateId(602), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2773))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Buffer"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(86560)), FunctionId(FunctionId(86561)), FunctionId(FunctionId(86562))], is_negative: false }) | |
> impl_self_ty_query(ImplId(42655) -> ItemLoc { container: ModuleId { krate: CrateId(602), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2773))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Buffer"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(86560)), FunctionId(FunctionId(86561)), FunctionId(FunctionId(86562))], is_negative: false }) | |
> DefMap CrateId(602) crate_name=Some(CrateDisplayName { crate_name: CrateName("upstream_benchmark"), canonical_name: "upstream_benchmark" }) block=None path=Buffer | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:09 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 21, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(34615) -> ItemLoc { container: ModuleId { krate: CrateId(489), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2499))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Architecture"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(86728))], is_negative: false }) | |
> impl_self_ty_query(ImplId(34615) -> ItemLoc { container: ModuleId { krate: CrateId(489), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2499))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Architecture"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(86728))], is_negative: false }) | |
> DefMap CrateId(489) crate_name=Some(CrateDisplayName { crate_name: CrateName("ar"), canonical_name: "ar" }) block=None path=Architecture | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_type | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:10 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 32, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(22037) -> ItemLoc { container: ModuleId { krate: CrateId(551), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2581))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("From"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Abs, segments: [Name(Text("std")), Name(Text("io")), Name(Text("Error"))] }, generic_args: [None, None, None] }))], has_self_type: false, bindings: [] })] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Error"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(87732))], is_negative: false }) | |
> impl_self_ty_query(ImplId(22037) -> ItemLoc { container: ModuleId { krate: CrateId(551), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2581))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("From"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Abs, segments: [Name(Text("std")), Name(Text("io")), Name(Text("Error"))] }, generic_args: [None, None, None] }))], has_self_type: false, bindings: [] })] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Error"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(87732))], is_negative: false }) | |
> DefMap CrateId(551) crate_name=Some(CrateDisplayName { crate_name: CrateName("custom_entities"), canonical_name: "custom_entities" }) block=None path=Error | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:10 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(22567) -> ItemLoc { container: ModuleId { krate: CrateId(644), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2894))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(22567) -> ItemLoc { container: ModuleId { krate: CrateId(644), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2894))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> DefMap CrateId(644) crate_name=Some(CrateDisplayName { crate_name: CrateName("test_should_parse"), canonical_name: "test_should_parse" }) block=None path=Ident | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 3', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:15 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 3 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 31, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(22567) -> ItemLoc { container: ModuleId { krate: CrateId(644), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2894))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(22567) -> ItemLoc { container: ModuleId { krate: CrateId(644), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2894))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> DefMap CrateId(644) crate_name=Some(CrateDisplayName { crate_name: CrateName("test_should_parse"), canonical_name: "test_should_parse" }) block=None path=Ident | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 3', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:22 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 3 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 31, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(47292) -> ItemLoc { container: ModuleId { krate: CrateId(517), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27236) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Struct"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(88504))], is_negative: false }) | |
> impl_self_ty_query(ImplId(47292) -> ItemLoc { container: ModuleId { krate: CrateId(517), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27236) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Struct"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(88504))], is_negative: false }) | |
> DefMap CrateId(517) crate_name=Some(CrateDisplayName { crate_name: CrateName("test_attr"), canonical_name: "test_attr" }) block=None path=Struct | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:26 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 18, | |
character: 12, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(36609) -> ItemLoc { container: ModuleId { krate: CrateId(624), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2856))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'a")) })], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(88696)), FunctionId(FunctionId(88697)), FunctionId(FunctionId(88698)), FunctionId(FunctionId(88699))], is_negative: false }) | |
> impl_self_ty_query(ImplId(36609) -> ItemLoc { container: ModuleId { krate: CrateId(624), block: None, local_id: Idx::<ModuleData>(2) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2856))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'a")) })], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(88696)), FunctionId(FunctionId(88697)), FunctionId(FunctionId(88698)), FunctionId(FunctionId(88699))], is_negative: false }) | |
> DefMap CrateId(624) crate_name=Some(CrateDisplayName { crate_name: CrateName("test_value"), canonical_name: "test_value" }) block=None path=Deserializer | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 2', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:28 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 2 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 30, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
thread '<unnamed>' panicked at 'attempted to access data of empty ItemTree', crates/hir_def/src/item_tree.rs:247:28 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::option::expect_failed | |
3: hir_def::data::ImplData::impl_data_query | |
4: salsa::runtime::Runtime::execute_query_implementation | |
5: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
6: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
7: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
8: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
9: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
10: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
11: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
12: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
13: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
14: salsa::derived::slot::Slot<Q,MP>::read | |
15: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
16: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
17: hir::Impl::all_for_trait | |
18: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
19: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
20: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
21: ide::goto_implementation::goto_implementation | |
22: std::panicking::try | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
25: rust_analyzer::handlers::handle_hover | |
26: std::panicking::try | |
27: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:32 PM] Request textDocument/hover failed. | |
Message: server panicked: attempted to access data of empty ItemTree | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 13, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(34082) -> ItemLoc { container: ModuleId { krate: CrateId(511), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2540))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("HashTable"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(61030))], is_negative: false }) | |
> impl_self_ty_query(ImplId(34082) -> ItemLoc { container: ModuleId { krate: CrateId(511), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2540))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("HashTable"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(61030))], is_negative: false }) | |
> DefMap CrateId(511) crate_name=Some(CrateDisplayName { crate_name: CrateName("build_script_build"), canonical_name: "build-script-build" }) block=None path=HashTable | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:33 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 38, | |
character: 32, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(45498) -> ItemLoc { container: ModuleId { krate: CrateId(542), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2571))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Attribute"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(90554))], is_negative: false }) | |
> impl_self_ty_query(ImplId(45498) -> ItemLoc { container: ModuleId { krate: CrateId(542), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2571))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Attribute"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(90554))], is_negative: false }) | |
> DefMap CrateId(542) crate_name=Some(CrateDisplayName { crate_name: CrateName("build_script_build"), canonical_name: "build-script-build" }) block=None path=Attribute | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:39 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 34, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(42376) -> ItemLoc { container: ModuleId { krate: CrateId(525), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2553))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Default"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Bucket"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(91515))], is_negative: false }) | |
> impl_self_ty_query(ImplId(42376) -> ItemLoc { container: ModuleId { krate: CrateId(525), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2553))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Default"))] }, generic_args: [None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Bucket"))] }, generic_args: [Some(GenericArgs { args: [Type(Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("T"))] }, generic_args: [None] }))], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(91515))], is_negative: false }) | |
> DefMap CrateId(525) crate_name=Some(CrateDisplayName { crate_name: CrateName("flamegraph"), canonical_name: "flamegraph" }) block=None path=Bucket | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:45:52 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(47407) -> ItemLoc { container: ModuleId { krate: CrateId(446), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27445) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("cmp")), Name(Text("PartialEq"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Data"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> impl_self_ty_query(ImplId(47407) -> ItemLoc { container: ModuleId { krate: CrateId(446), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(MacroFile(MacroFile { macro_call_id: MacroCallId(27445) })), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("core")), Name(Text("cmp")), Name(Text("PartialEq"))] }, generic_args: [None, None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Data"))] }, generic_args: [None] }), items: [], is_negative: false }) | |
> DefMap CrateId(446) crate_name=Some(CrateDisplayName { crate_name: CrateName("json"), canonical_name: "json" }) block=None path=Data | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 3', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:46:23 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 3 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 33, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(32912) -> ItemLoc { container: ModuleId { krate: CrateId(618), block: None, local_id: Idx::<ModuleData>(5) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2782))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("fmt")), Name(Text("Display"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Unexpected"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'a")) })], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(43122))], is_negative: false }) | |
> impl_self_ty_query(ImplId(32912) -> ItemLoc { container: ModuleId { krate: CrateId(618), block: None, local_id: Idx::<ModuleData>(5) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2782))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("fmt")), Name(Text("Display"))] }, generic_args: [None, None] } }), self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Unexpected"))] }, generic_args: [Some(GenericArgs { args: [Lifetime(LifetimeRef { name: Name(Text("'a")) })], has_self_type: false, bindings: [] })] }), items: [FunctionId(FunctionId(43122))], is_negative: false }) | |
> DefMap CrateId(618) crate_name=Some(CrateDisplayName { crate_name: CrateName("build_script_build"), canonical_name: "build-script-build" }) block=None path=Unexpected | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 5', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:46:37 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 5 | |
Code: -32603 | |
Panic context: | |
> | |
version: 726a2aa21 2021-09-15 nightly | |
request: textDocument/hover HoverParams { | |
text_document: TextDocumentIdentifier { | |
uri: Url { | |
scheme: "file", | |
cannot_be_a_base: false, | |
username: "", | |
password: None, | |
host: None, | |
port: None, | |
path: "**********/error.rs", | |
query: None, | |
fragment: None, | |
}, | |
}, | |
position: Position( | |
Position { | |
line: 25, | |
character: 32, | |
}, | |
), | |
work_done_progress_params: WorkDoneProgressParams { | |
work_done_token: None, | |
}, | |
} | |
> impl_trait_query(ImplId(21350) -> ItemLoc { container: ModuleId { krate: CrateId(457), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2405))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Buffer"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(93380)), FunctionId(FunctionId(93381)), FunctionId(FunctionId(93382)), FunctionId(FunctionId(93383)), FunctionId(FunctionId(93384)), FunctionId(FunctionId(93385)), FunctionId(FunctionId(93386)), FunctionId(FunctionId(93387))], is_negative: false }) | |
> impl_self_ty_query(ImplId(21350) -> ItemLoc { container: ModuleId { krate: CrateId(457), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(FileId(FileId(2405))), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Path { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Buffer"))] }, generic_args: [None] }), items: [FunctionId(FunctionId(93380)), FunctionId(FunctionId(93381)), FunctionId(FunctionId(93382)), FunctionId(FunctionId(93383)), FunctionId(FunctionId(93384)), FunctionId(FunctionId(93385)), FunctionId(FunctionId(93386)), FunctionId(FunctionId(93387))], is_negative: false }) | |
> DefMap CrateId(457) crate_name=Some(CrateDisplayName { crate_name: CrateName("test_errors"), canonical_name: "test_errors" }) block=None path=Buffer | |
thread '<unnamed>' panicked at 'index out of bounds: the len is 1 but the index is 1', crates/hir_def/src/nameres/path_resolution.rs:395:33 | |
stack backtrace: | |
0: _rust_begin_unwind | |
1: core::panicking::panic_fmt | |
2: core::panicking::panic_bounds_check | |
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single | |
4: hir_def::resolver::Resolver::resolve_path_in_type_ns | |
5: hir_ty::lower::TyLoweringContext::lower_ty_ext | |
6: hir_ty::lower::impl_self_ty_query | |
7: salsa::runtime::Runtime::execute_query_implementation | |
8: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
9: salsa::derived::slot::Slot<Q,MP>::read | |
10: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
11: <DB as hir_ty::db::HirDatabase>::impl_self_ty | |
12: hir_ty::lower::impl_trait_query | |
13: salsa::runtime::Runtime::execute_query_implementation | |
14: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
15: salsa::derived::slot::Slot<Q,MP>::maybe_changed_since | |
16: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::maybe_changed_since | |
17: salsa::derived::slot::MemoRevisions::validate_memoized_value | |
18: salsa::derived::slot::Slot<Q,MP>::read_upgrade | |
19: salsa::derived::slot::Slot<Q,MP>::read | |
20: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch | |
21: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate | |
22: hir::Impl::all_for_trait | |
23: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
24: <core::iter::adapters::flatten::Flatten<I> as core::iter::traits::iterator::Iterator>::next | |
25: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
26: ide::goto_implementation::goto_implementation | |
27: std::panicking::try | |
28: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut | |
29: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter | |
30: rust_analyzer::handlers::handle_hover | |
31: std::panicking::try | |
32: <F as threadpool::FnBox>::call_box | |
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. | |
[Error - 8:46:45 PM] Request textDocument/hover failed. | |
Message: server panicked: index out of bounds: the len is 1 but the index is 1 | |
Code: -32603 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment