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

Compiler error when trying to use riker actors #59010

Closed
dantodor opened this issue Mar 8, 2019 · 2 comments
Closed

Compiler error when trying to use riker actors #59010

dantodor opened this issue Mar 8, 2019 · 2 comments
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) 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

@dantodor
Copy link

dantodor commented Mar 8, 2019

I'm trying to play with the riker actor library, with no luck.
The code is exactly the one described in the first page of the documentation, Actors
Using latest nightly, this is the result I get :

error: internal compiler error: src/librustc_codegen_llvm/debuginfo/type_names.rs:176: debuginfo: Trying to create type name for unexpected type: impl std::future::Future

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:620:9 note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace. error: aborting due to previous error

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.35.0-nightly (88f755f8a 2019-03-07) running on x86_64-apple-darwin

note: compiler flags: -C debuginfo=2 -C incremental --crate-type bin

note: some of the compiler flags provided by cargo are hidden

Since I'm pretty new to Rust, please excuse my eventual inconsistency :)

@estebank estebank added A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) 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 8, 2019
@estebank
Copy link
Contributor

estebank commented Mar 8, 2019

CC #58945

@jonas-schievink
Copy link
Contributor

Closing as a duplicate of #58945

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) 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

3 participants