TraceResolve
Back to CatalogRust / Cargo

Rust / Cargo Resolution: error[E0597]: borrowed value does not live long enough in tauri::async_r

error[E0597]: borrowed value does not live long enough in tauri::async_runtime::spawn state closure
Immediate Remediation
rust
Clone the Arc-wrapped manager/state (let mgr = state.mcp_manager.clone();) before moving into tauri::async_runtime::spawn(async move { ... }) so the future satisfies 'static lifetime.
Root Cause Analysis

Compiler/Runtime incident captured during execution (edit_file). Verified recovery delta transitioned diagnostics to 0 errors.

Verification & Guardrails

  • [Verified RLVR Trajectory Available] � Captured in Rescriptum IDE � AST-verified compiler delta (-1 -> 0)
  • Verified Tool: edit_file
  • LSP Diagnostic Delta: -1 diagnostics -> 0

Have a custom or uncategorized crash?

Run your trace through our in-memory client privacy sandbox for instant SRE remediation.

Open Diagnostic Studio