You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension start show errors. Proj compile and run success.
thread 'Worker' panicked at 'index out of bounds: the len is 3 but the index is 4', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:52:48 AM] Request textDocument/hover failed.
Message: request handler panicked: index out of bounds: the len is 3 but the index is 4
Code: -32603
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file d:\Proj\pt3 rust\kajiya\Cargo.toml, Some(Version { major: 1, minor: 69, patch: 0 }): Failed to run `"cargo" "metadata" "--format-version" "1" "--manifest-path" "d:\\Proj\\pt3 rust\\kajiya\\Cargo.toml" "--filter-platform" "x86_64-pc-windows-msvc"`: `cargo metadata` exited with an error: error: failed to load manifest for workspace member `d:\Proj\pt3 rust\kajiya\crates\bin\bake`
Caused by:
failed to load manifest for dependency `kajiya-asset`
Caused by:
failed to load manifest for dependency `kajiya-backend`
Caused by:
failed to load manifest for dependency `gpu-profiler`
Caused by:
failed to read `D:\Proj\pt3 rust\kajiya\crates\lib\gpu_profiler\Cargo.toml`
Caused by:
Системе не удается найти указанный путь. (os error 3)
[ERROR flycheck] Flycheck failed to run the following command: "cargo" "check" "--workspace" "--message-format=json-diagnostic-rendered-ansi" "--manifest-path" "d:\\Proj\\pt3 rust\\kajiya\\Cargo.toml" "--all-targets"
[ERROR rust_analyzer::lsp_utils] cargo check failed:
Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(ExitStatus(101))):
error: failed to load manifest for workspace member `d:\Proj\pt3 rust\kajiya\crates\bin\bake`
Caused by:
failed to load manifest for dependency `kajiya-asset`
Caused by:
failed to load manifest for dependency `kajiya-backend`
Caused by:
failed to load manifest for dependency `gpu-profiler`
Caused by:
failed to read `D:\Proj\pt3 rust\kajiya\crates\lib\gpu_profiler\Cargo.toml`
Caused by:
Системе не удается найти указанный путь. (os error 3)
[ERROR rust_analyzer::main_loop] FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file d:\Proj\pt3 rust\kajiya\Cargo.toml, Some(Version { major: 1, minor: 69, patch: 0 }): Failed to run `"cargo" "metadata" "--format-version" "1" "--manifest-path" "d:\\Proj\\pt3 rust\\kajiya\\Cargo.toml" "--filter-platform" "x86_64-pc-windows-msvc"`: `cargo metadata` exited with an error: error: failed to load manifest for workspace member `d:\Proj\pt3 rust\kajiya\crates\bin\bake`
Caused by:
failed to load manifest for dependency `kajiya-asset`
Caused by:
failed to load manifest for dependency `kajiya-backend`
Caused by:
failed to load manifest for dependency `gpu-profiler`
Caused by:
failed to read `D:\Proj\pt3 rust\kajiya\crates\lib\gpu_profiler\Cargo.toml`
Caused by:
Системе не удается найти указанный путь. (os error 3)
[ERROR flycheck] Flycheck failed to run the following command: "cargo" "check" "--workspace" "--message-format=json-diagnostic-rendered-ansi" "--manifest-path" "d:\\Proj\\pt3 rust\\kajiya\\Cargo.toml" "--all-targets"
[ERROR rust_analyzer::lsp_utils] cargo check failed:
Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(ExitStatus(101))):
error: failed to load manifest for workspace member `d:\Proj\pt3 rust\kajiya\crates\bin\bake`
Caused by:
failed to load manifest for dependency `kajiya-asset`
Caused by:
failed to load manifest for dependency `kajiya-backend`
Caused by:
failed to load manifest for dependency `gpu-profiler`
Caused by:
failed to read `D:\Proj\pt3 rust\kajiya\crates\lib\gpu_profiler\Cargo.toml`
Caused by:
Системе не удается найти указанный путь. (os error 3)
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/d%3A/Proj/pt3%20rust/kajiya/crates/lib/kajiya-backend/src/pipeline_cache.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 385,
character: 17,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(33634) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(214), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2147507551), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: DollarCrate(Idx::<CrateData>(214)), segments: [Name(Text("interpolate")), Name(Text("Interpolate"))] }, generic_args: Some([None, Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("f32"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Vec2"))] }, generic_args: None }), items: [FunctionId(FunctionId(93884)), FunctionId(FunctionId(93885)), FunctionId(FunctionId(93886)), FunctionId(FunctionId(93887)), FunctionId(FunctionId(93888)), FunctionId(FunctionId(93889)), FunctionId(FunctionId(93890))], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(33634) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(214), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2147507551), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: DollarCrate(Idx::<CrateData>(214)), segments: [Name(Text("interpolate")), Name(Text("Interpolate"))] }, generic_args: Some([None, Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("f32"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Vec2"))] }, generic_args: None }), items: [FunctionId(FunctionId(93884)), FunctionId(FunctionId(93885)), FunctionId(FunctionId(93886)), FunctionId(FunctionId(93887)), FunctionId(FunctionId(93888)), FunctionId(FunctionId(93889)), FunctionId(FunctionId(93890))], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(214) crate_name=Some(CrateDisplayName { crate_name: CrateName("strsim"), canonical_name: "strsim" }) block=None path=Vec2
thread 'Worker' panicked at 'index out of bounds: the len is 1 but the index is 1', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/d%3A/Proj/pt3%20rust/kajiya/crates/lib/kajiya-backend/src/pipeline_cache.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 385,
character: 17,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(15395) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(219), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2793), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: None } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: None }), items: [], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(15395) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(219), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2793), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: None } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: None }), items: [], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(219) crate_name=Some(CrateDisplayName { crate_name: CrateName("termcolor"), canonical_name: "termcolor" }) block=None path=Ident
thread 'Worker' panicked at 'index out of bounds: the len is 1 but the index is 3', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/c%3A/Users/nikit/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust/library/core/src/iter/traits/iterator.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 72,
character: 10,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(15395) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(219), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2793), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: None } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: None }), items: [], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(15395) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(219), block: None, local_id: Idx::<ModuleData>(3) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2793), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: Some(TraitRef { path: Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("private")), Name(Text("Sealed"))] }, generic_args: None } }), self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Ident"))] }, generic_args: None }), items: [], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(219) crate_name=Some(CrateDisplayName { crate_name: CrateName("termcolor"), canonical_name: "termcolor" }) block=None path=Ident
thread 'Worker' panicked at 'index out of bounds: the len is 1 but the index is 3', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_trait
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:39:29 AM] Request textDocument/hover failed.
Message: request handler panicked: index out of bounds: the len is 1 but the index is 3
Code: -32603
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/c%3A/Users/nikit/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust/library/core/src/result.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 502,
character: 9,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(29001) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(202), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2679), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(83869))], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(29001) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(202), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2679), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(83869))], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(202) crate_name=Some(CrateDisplayName { crate_name: CrateName("serde_spanned"), canonical_name: "serde_spanned" }) block=None path=Deserializer
thread 'Worker' panicked at 'index out of bounds: the len is 3 but the index is 4', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:41:16 AM] Request textDocument/hover failed.
Message: request handler panicked: index out of bounds: the len is 3 but the index is 4
Code: -32603
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/c%3A/Users/nikit/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust/library/core/src/result.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 502,
character: 9,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(29001) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(202), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2679), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(83869))], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(29001) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(202), block: None, local_id: Idx::<ModuleData>(4) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2679), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Deserializer"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("R"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(83869))], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(202) crate_name=Some(CrateDisplayName { crate_name: CrateName("serde_spanned"), canonical_name: "serde_spanned" }) block=None path=Deserializer
thread 'Worker' panicked at 'index out of bounds: the len is 3 but the index is 4', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:52:48 AM] Request textDocument/hover failed.
Message: request handler panicked: index out of bounds: the len is 3 but the index is 4
Code: -32603
Panic context:
>
version: 0.3.1489-standalone (bc78ebd9d 2023-04-23)
request: textDocument/hover HoverParams {
text_document: TextDocumentIdentifier {
uri: Url {
scheme: "file",
cannot_be_a_base: false,
username: "",
password: None,
host: None,
port: None,
path: "/c%3A/Users/nikit/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust/library/alloc/src/sync.rs",
query: None,
fragment: None,
},
},
position: Position(
Position {
line: 243,
character: 11,
},
),
work_done_progress_params: WorkDoneProgressParams {
work_done_token: None,
},
}
> impl_trait_query(ImplId(13984) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(237), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2895), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Encoded"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Str"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(90186)), FunctionId(FunctionId(90187)), FunctionId(FunctionId(90188)), FunctionId(FunctionId(90189)), FunctionId(FunctionId(90190))], is_negative: false, attribute_calls: None })
> impl_self_ty_query(ImplId(13984) -> ItemLoc { container: ModuleId { krate: Idx::<CrateData>(237), block: None, local_id: Idx::<ModuleData>(1) }, id: ItemTreeId { tree: TreeId { file: HirFileId(2895), block: None }, value: Idx::<Impl>(0) } } -> ImplData { target_trait: None, self_ty: Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Encoded"))] }, generic_args: Some([Some(GenericArgs { args: [Type(Path(Normal { type_anchor: None, mod_path: ModPath { kind: Plain, segments: [Name(Text("Str"))] }, generic_args: None }))], has_self_type: false, bindings: [], desugared_from_fn: false })]) }), items: [FunctionId(FunctionId(90186)), FunctionId(FunctionId(90187)), FunctionId(FunctionId(90188)), FunctionId(FunctionId(90189)), FunctionId(FunctionId(90190))], is_negative: false, attribute_calls: None })
> DefMap Idx::<CrateData>(237) crate_name=Some(CrateDisplayName { crate_name: CrateName("vec_map"), canonical_name: "vec_map" }) block=None path=Encoded
thread 'Worker' panicked at 'index out of bounds: the len is 1 but the index is 1', crates\hir-def\src\nameres\path_resolution.rs:390:33
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\std\src\panicking.rs:579
1: core::panicking::panic_fmt
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:64
2: core::panicking::panic_bounds_check
at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library\core\src\panicking.rs:159
3: hir_def::nameres::path_resolution::<impl hir_def::nameres::DefMap>::resolve_path_fp_with_macro_single
4: hir_def::resolver::resolver_for_scope_
5: hir_def::resolver::Resolver::resolve_path_in_type_ns
6: hir_ty::lower::TyLoweringContext::lower_ty_ext
7: hir_ty::lower::impl_self_ty_query
8: salsa::runtime::Runtime::execute_query_implementation
9: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
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: hir_ty::db::HirDatabaseGroupStorage__::maybe_changed_since
19: <ide_db::RootDatabase as salsa::plumbing::DatabaseOps>::maybe_changed_since
20: salsa::derived::slot::MemoRevisions::validate_memoized_value
21: core::ptr::drop_in_place<salsa::derived::slot::QueryState<hir_ty::db::ConstEvalDiscriminantQuery>>
22: salsa::derived::slot::Slot<Q,MP>::read
23: <salsa::derived::DerivedStorage<Q,MP> as salsa::plumbing::QueryStorageOps<Q>>::try_fetch
24: <DB as hir_ty::db::HirDatabase>::trait_impls_in_crate
25: hir::Impl::all_for_type
26: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
27: ide::syntax_highlighting::escape::highlight_escape_char
28: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
29: ide::goto_implementation::goto_implementation
30: std::panicking::try
31: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
32: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
33: rust_analyzer::handlers::handle_hover
34: std::panicking::try
35: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:59:22 AM] Request textDocument/hover failed.
Message: request handler panicked: index out of bounds: the len is 1 but the index is 1
Code: -32603
Dont know why its try D:\Proj\pt3 rust\kajiya\crates\lib\gpu_profiler\Cargo.toml
When i write gpu-profiler = { path = "D:/Proj/pt3 rust/gpu-profiler", features = ["use-ash"] }
Extension start show errors. Proj compile and run success.
rust-analyzer version: v0.3.1489
rustc version: rustc 1.69.0 (84c898d65 2023-04-16)
relevant settings: Default
The text was updated successfully, but these errors were encountered: