Skip to content

rust-algo #60

@zhangwei920211

Description

@zhangwei920211

Problem

Logs

OS: win32 (10.0.26100)
VSCode: 1.101.0
Error message


thread 'main' panicked at C:\Users\Administrator\.cargo\registry\src\rsproxy.cn-e3de039b2554c837\rustc_plugin-0.13.0-nightly-2025-03-03\src\cli.rs:28:6:
called `Result::unwrap()` on an `Err` value: CargoMetadata { stderr: "error: could not find `Cargo.toml` in `e:\\hello_algo` or any parent directory\n" }
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\panicking.rs:695
   1: core::panicking::panic_fmt
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\core\src\panicking.rs:75
   2: core::result::unwrap_failed
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\core\src\result.rs:1704
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: std::rt::lang_start_internal::closure$0
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\rt.rs:168
   7: std::panicking::try::do_call
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\panicking.rs:587
   8: std::panicking::try
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\panicking.rs:550
   9: std::panic::catch_unwind
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\panic.rs:359
  10: std::rt::lang_start_internal
             at /rustc/f4a216d28ee635afce685b4206e713579f66e130/library\std\src\rt.rs:164
  11: <unknown>
  12: <unknown>
  13: BaseThreadInitThunk
  14: RtlUserThreadStart
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Full log: https://paste.rs/gw5kn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions