Skip to content

Error compiling Leptos project using cargo leptos #122525

@SleeplessOne1917

Description

@SleeplessOne1917

The compilation error I ran into told me to open an issue here.

Code

Unfortunately, I ran into this issue with a sizeable already existing project. This is the project repo at the point the error occurred.

Meta

rustc --version --verbose:

rustc 1.78.0-nightly (f4b771bf1 2024-03-14)
binary: rustc
commit-hash: f4b771bf1fb836392e1c510a625cdc81be09c952
commit-date: 2024-03-14
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.0

Error output

rustc-ice-2024-03-15T01_37_21-19888.txt

Backtrace

Stack backtrace:
   0: anyhow::error::<impl anyhow::Error>::msg
   1: cargo_leptos::run::{{closure}}
   2: tokio::runtime::park::CachedParkThread::block_on
   3: cargo_leptos::main
   4: std::sys_common::backtrace::__rust_begin_short_backtrace
   5: std::rt::lang_start::{{closure}}
   6: std::rt::lang_start_internal
   7: main
   8: <unknown>
   9: __libc_start_main
  10: _start

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    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