Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 20, character: 16, }, end: Position { line: 20, character: 16, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 20, character: 45, }, end: Position { line: 20, character: 45, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 9, character: 16, }, end: Position { line: 9, character: 16, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 9, character: 43, }, end: Position { line: 9, character: 43, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 9, character: 45, }, end: Position { line: 9, character: 45, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 21, }, end: Position { line: 40, character: 54, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 16, }, end: Position { line: 41, character: 16, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 54, }, end: Position { line: 40, character: 54, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rsPanic context: > fetch_native_diagnostics:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 7:13:40 PM] Connection to server got closed. Server will restart. true Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 55, }, end: Position { line: 40, character: 55, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 54, }, end: Position { line: 40, character: 54, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 55, }, end: Position { line: 40, character: 55, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 56, }, end: Position { line: 40, character: 56, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 58, }, end: Position { line: 40, character: 58, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 59, }, end: Position { line: 40, character: 59, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 64, }, end: Position { line: 40, character: 66, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 40, character: 65, }, end: Position { line: 40, character: 65, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 7:14:11 PM] Connection to server got closed. Server will restart. true Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 21, }, end: Position { line: 41, character: 21, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 25, }, end: Position { line: 41, character: 25, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 37, }, end: Position { line: 41, character: 48, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 42, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 43, }, end: Position { line: 41, character: 43, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 43, }, end: Position { line: 41, character: 43, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 40, character: 75, }, end: Position { line: 42, character: 9, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B11%5D", query: Some( "11", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "mismatched types\n expected enum `Result<_, std::io::Error>`\nfound unit type `()`", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 43, }, }, }, message: "remove this semicolon to return this value", }, ], ), tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0308]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: mismatched types\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:41:76\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m41\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let result = std::net::TcpListener::bind(addr).and_then(|listener| {\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m____________________________________________________________________________^\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m42\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m listener.set_nonblocking(true);\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m-\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14mhelp: remove this semicolon to return this value\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m43\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m })\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|_________^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mexpected `Result<_, Error>`, found `()`\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m= \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15mnote\u{1b}[0m\u{1b}[0m: expected enum `\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[35mResult<_, std::io::Error>\u{1b}[0m\u{1b}[0m`\u{1b}[0m\n\u{1b}[0m found unit type `\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[35m()\u{1b}[0m\u{1b}[0m`\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 43, }, }, severity: Some( Hint, ), code: Some( String( "E0308", ), ), code_description: Some( CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some( Domain( "doc.rust-lang.org", ), ), port: None, path: "/error-index.html", query: None, fragment: Some( "E0308", ), }, }, ), source: Some( "rustc", ), message: "remove this semicolon to return this value", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 40, character: 75, }, end: Position { line: 42, character: 9, }, }, }, message: "original diagnostic", }, ], ), tags: None, data: None, }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 42, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 40, character: 75, }, end: Position { line: 42, character: 9, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B11%5D", query: Some( "11", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "mismatched types\n expected enum `Result<_, std::io::Error>`\nfound unit type `()`", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 43, }, }, }, message: "remove this semicolon to return this value", }, ], ), tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0308]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: mismatched types\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:41:76\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m41\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let result = std::net::TcpListener::bind(addr).and_then(|listener| {\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m____________________________________________________________________________^\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m42\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m listener.set_nonblocking(true);\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m-\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14mhelp: remove this semicolon to return this value\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m43\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m })\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m|_________^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mexpected `Result<_, Error>`, found `()`\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m= \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15mnote\u{1b}[0m\u{1b}[0m: expected enum `\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[35mResult<_, std::io::Error>\u{1b}[0m\u{1b}[0m`\u{1b}[0m\n\u{1b}[0m found unit type `\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[35m()\u{1b}[0m\u{1b}[0m`\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 43, }, }, severity: Some( Hint, ), code: Some( String( "E0308", ), ), code_description: Some( CodeDescription { href: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some( Domain( "doc.rust-lang.org", ), ), port: None, path: "/error-index.html", query: None, fragment: Some( "E0308", ), }, }, ), source: Some( "rustc", ), message: "remove this semicolon to return this value", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 40, character: 75, }, end: Position { line: 42, character: 9, }, }, }, message: "original diagnostic", }, ], ), tags: None, data: None, }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 42, }, end: Position { line: 41, character: 42, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 41, character: 43, }, end: Position { line: 41, character: 43, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 7:14:27 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 10:32:17 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 104, }, end: Position { line: 124, character: 104, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 123, character: 15, }, end: Position { line: 123, character: 40, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 122, character: 12, }, end: Position { line: 122, character: 37, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 123, character: 21, }, end: Position { line: 124, character: 104, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 123, character: 22, }, end: Position { line: 123, character: 22, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 16, }, end: Position { line: 124, character: 16, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 17, }, end: Position { line: 124, character: 17, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 10:44:59 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 10:56:44 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: salsa::Cancelled::catch 14: ide::Analysis::diagnostics 15: core::ops::function::impls:: for &mut F>::call_mut 16: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 17: rust_analyzer::diagnostics::fetch_native_diagnostics 18: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 13, }, end: Position { line: 124, character: 13, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 124, character: 12, }, end: Position { line: 124, character: 18, }, }, severity: Some( Warning, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B3%5D", query: Some( "3", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "unused variable: `stream`", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 124, character: 12, }, end: Position { line: 124, character: 18, }, }, }, message: "if this is intentional, prefix it with an underscore: `_stream`", }, ], ), tags: Some( [ Unnecessary, ], ), data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;11mwarning\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: unused variable: `stream`\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:125:13\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m125\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let stream = match listener.accept().await {\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;11m^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;11mhelp: if this is intentional, prefix it with an underscore: `_stream`\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 124, character: 12, }, end: Position { line: 124, character: 18, }, }, severity: Some( Hint, ), code: Some( String( "unused_variables", ), ), code_description: None, source: Some( "rustc", ), message: "if this is intentional, prefix it with an underscore: `_stream`", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, range: Range { start: Position { line: 124, character: 12, }, end: Position { line: 124, character: 18, }, }, }, message: "original diagnostic", }, ], ), tags: None, data: None, }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: std::panicking::try 14: ide::Analysis::assists_with_fixes 15: rust_analyzer::handlers::request::handle_code_action 16: std::panicking::try 17: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 19, }, end: Position { line: 124, character: 19, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: std::panicking::try 14: ide::Analysis::assists_with_fixes 15: rust_analyzer::handlers::request::handle_code_action 16: std::panicking::try 17: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: salsa::Cancelled::catch 14: ide::Analysis::diagnostics 15: core::ops::function::impls:: for &mut F>::call_mut 16: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 17: rust_analyzer::diagnostics::fetch_native_diagnostics 18: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: salsa::Cancelled::catch 14: ide::Analysis::diagnostics 15: core::ops::function::impls:: for &mut F>::call_mut 16: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 17: rust_analyzer::diagnostics::fetch_native_diagnostics 18: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: salsa::Cancelled::catch 14: ide::Analysis::diagnostics 15: core::ops::function::impls:: for &mut F>::call_mut 16: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 17: rust_analyzer::diagnostics::fetch_native_diagnostics 18: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 124, character: 20, }, end: Position { line: 124, character: 20, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: std::panicking::try 14: ide::Analysis::assists_with_fixes 15: rust_analyzer::handlers::request::handle_code_action 16: std::panicking::try 17: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ra-ap-rustc_pattern_analysis-0.37.0\src\usefulness.rs:890:18: index out of bounds: the len is 0 but the index is 0 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::panicking::panic_bounds_check at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:208 3: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 4: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 5: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 6: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 7: ra_ap_rustc_pattern_analysis::usefulness::compute_match_usefulness 8: hir_ty::diagnostics::expr::BodyValidationDiagnostic::collect 9: hir::DefWithBody::diagnostics 10: hir::ModuleDef::diagnostics 11: hir::Module::diagnostics 12: ide_diagnostics::diagnostics 13: salsa::Cancelled::catch 14: ide::Analysis::diagnostics 15: core::ops::function::impls:: for &mut F>::call_mut 16: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 17: rust_analyzer::diagnostics::fetch_native_diagnostics 18: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 150, character: 10, }, end: Position { line: 150, character: 10, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 150, character: 10, }, end: Position { line: 150, character: 10, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 29, }, end: Position { line: 136, character: 32, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 32, }, end: Position { line: 136, character: 32, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 39, }, end: Position { line: 136, character: 39, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 11:03:16 PM] Connection to server got closed. Server will restart. true Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 68, }, end: Position { line: 136, character: 68, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 89, }, end: Position { line: 136, character: 89, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 89, }, end: Position { line: 136, character: 89, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 93, }, end: Position { line: 136, character: 93, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: Some( [ CodeActionKind( "quickfix", ), ], ), trigger_kind: Some( Invoked, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 93, }, end: Position { line: 140, character: 0, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 137, character: 37, }, end: Position { line: 137, character: 40, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B0%5D", query: Some( "0", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:138:38\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m138\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let mut cursor = Cursor::new(buf.as_mut());\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 93, }, end: Position { line: 139, character: 45, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 137, character: 37, }, end: Position { line: 137, character: 40, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B0%5D", query: Some( "0", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:138:38\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m138\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let mut cursor = Cursor::new(buf.as_mut());\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 139, character: 45, }, end: Position { line: 139, character: 45, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 136, character: 93, }, end: Position { line: 136, character: 93, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: Some( [ CodeActionKind( "quickfix", ), ], ), trigger_kind: Some( Invoked, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 35, }, end: Position { line: 138, character: 72, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 137, character: 37, }, end: Position { line: 137, character: 40, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B0%5D", query: Some( "0", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:138:38\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m138\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let mut cursor = Cursor::new(buf.as_mut());\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 35, }, end: Position { line: 137, character: 35, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 138, character: 54, }, end: Position { line: 138, character: 72, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 138, character: 64, }, end: Position { line: 138, character: 71, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B1%5D", query: Some( "1", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf_len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf_len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:139:65\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m139\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m let _ = write!(cursor, \"you: {remote_address} | bytes: {buf_len} | packet_number: {counter}\");\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^^^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: Some( [ CodeActionKind( "quickfix", ), ], ), trigger_kind: Some( Invoked, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 87, }, end: Position { line: 137, character: 87, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 87, }, end: Position { line: 137, character: 87, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 31, }, end: Position { line: 137, character: 31, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 87, }, end: Position { line: 137, character: 87, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 87, }, end: Position { line: 137, character: 87, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 137, character: 87, }, end: Position { line: 137, character: 87, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 139, character: 13, }, end: Position { line: 139, character: 13, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 11:04:42 PM] Connection to server got closed. Server will restart. true Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 139, character: 29, }, end: Position { line: 139, character: 29, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 139, character: 33, }, end: Position { line: 139, character: 39, }, }, context: CodeActionContext { diagnostics: [ Diagnostic { range: Range { start: Position { line: 139, character: 30, }, end: Position { line: 139, character: 33, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B2%5D", query: Some( "2", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `buf` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `buf` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:140:31\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m140\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m match socket.send_to(&buf[..len], remote_address).await {\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, Diagnostic { range: Range { start: Position { line: 139, character: 36, }, end: Position { line: 139, character: 39, }, }, severity: Some( Error, ), code: Some( String( "Click for full compiler diagnostic", ), ), code_description: Some( CodeDescription { href: Url { scheme: "rust-analyzer-diagnostics-view", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/diagnostic%20message%20%5B3%5D", query: Some( "3", ), fragment: Some( "file%3A%2F%2F%2Fc%253A%2Fdev%2Fwhereyoufrom%2Fsrc%2Fserver.rs", ), }, }, ), source: Some( "rustc", ), message: "cannot find value `len` in this scope\nnot found in this scope", related_information: None, tags: None, data: Some( Object { "rendered": String("\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror[E0425]\u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;15m: cannot find value `len` in this scope\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m--> \u{1b}[0m\u{1b}[0msrc\\server.rs:140:37\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m140\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m|\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m match socket.send_to(&buf[..len], remote_address).await {\u{1b}[0m\n\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;14m| \u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9m^^^\u{1b}[0m\u{1b}[0m \u{1b}[0m\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9mnot found in this scope\u{1b}[0m\n\n"), }, ), }, ], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::dispatch::RequestDispatcher::on_with_thread_intent 5: rust_analyzer::main_loop::::prime_caches::{{closure}}::{{closure}} 6: rust_analyzer::main_loop::::run 7: rust_analyzer::main_loop::::run 8: rust_analyzer::main_loop::main_loop 9: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 11:04:50 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 18, }, end: Position { line: 140, character: 18, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 19, }, end: Position { line: 140, character: 19, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 23, }, end: Position { line: 140, character: 23, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Info - 11:05:04 PM] Connection to server got closed. Server will restart. true Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 19, }, end: Position { line: 140, character: 19, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 24, }, end: Position { line: 140, character: 24, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > version: 0.3.1860-standalone (5346002d0 2024-02-25) request: textDocument/codeAction CodeActionParams { text_document: TextDocumentIdentifier { uri: Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/c%3A/dev/whereyoufrom/src/server.rs", query: None, fragment: None, }, }, range: Range { start: Position { line: 140, character: 19, }, end: Position { line: 140, character: 19, }, }, context: CodeActionContext { diagnostics: [], only: None, trigger_kind: Some( Automatic, ), }, work_done_progress_params: WorkDoneProgressParams { work_done_token: None, }, partial_result_params: PartialResultParams { partial_result_token: None, }, } thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: std::panicking::try 9: ide::Analysis::assists_with_fixes 10: rust_analyzer::handlers::request::handle_code_action 11: std::panicking::try 12: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Panic context: > fetch_native_diagnostics thread 'Worker' panicked at crates\hir\src\diagnostics.rs:521:63: unexpected synthetic: SyntheticSyntax stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: hir::diagnostics::AnyDiagnostic::inference_diagnostic 4: hir::DefWithBody::diagnostics 5: hir::ModuleDef::diagnostics 6: hir::Module::diagnostics 7: ide_diagnostics::diagnostics 8: salsa::Cancelled::catch 9: ide::Analysis::diagnostics 10: core::ops::function::impls:: for &mut F>::call_mut 11: as alloc::vec::spec_from_iter::SpecFromIter>::from_iter 12: rust_analyzer::diagnostics::fetch_native_diagnostics 13: core::ops::function::FnOnce::call_once{{vtable.shim}} note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'LspServer' panicked at D:\a\rust-analyzer\rust-analyzer\crates\stdx\src\thread\pool.rs:86:35: called `Result::unwrap()` on an `Err` value: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: rust_analyzer::task_pool::TaskPool::spawn 4: rust_analyzer::main_loop::::run 5: rust_analyzer::main_loop::::run 6: rust_analyzer::main_loop::main_loop 7: rust_analyzer::run_server note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread '' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\lsp-server-0.7.6\src\stdio.rs:28:37: receiver was dropped, failed to send a message: "SendError(..)" stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. thread 'main' panicked at C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\jod-thread-0.1.2\src\lib.rs:33:22: called `Result::unwrap()` on an `Err` value: Any { .. } stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\std\src\panicking.rs:645 1: core::panicking::panic_fmt at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\panicking.rs:72 2: core::result::unwrap_failed at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library\core\src\result.rs:1649 3: stdx::thread::JoinHandle::join 4: lsp_types::inline_completion::_::::serialize note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. [Error - 11:05:40 PM] The Rust Analyzer Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.