Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling Leptos project using cargo leptos #122525

Closed
SleeplessOne1917 opened this issue Mar 15, 2024 · 4 comments
Closed

Error compiling Leptos project using cargo leptos #122525

SleeplessOne1917 opened this issue Mar 15, 2024 · 4 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@SleeplessOne1917
Copy link

SleeplessOne1917 commented Mar 15, 2024

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

@SleeplessOne1917 SleeplessOne1917 added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 15, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 15, 2024
@SleeplessOne1917
Copy link
Author

cc. @gbj @benwis

@workingjubilee
Copy link
Contributor

Ah. Thank you for reporting. This looks like a duplicate of #122508

Next nightly (not the current one) should have the fix.

@matthiaskrgr
Copy link
Member

you should be able to work around with cargo check --release or cargo build --release

@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 15, 2024
@jieyouxu
Copy link
Contributor

Closing as a duplicate of #122508.

@jieyouxu jieyouxu closed this as not planned Won't fix, can't repro, duplicate, stale Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants