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

Compilation error with cargo build (error: could not compile 'tantivy') #180

Open
johan-- opened this issue Jun 10, 2024 · 0 comments
Open

Comments

@johan--
Copy link

johan-- commented Jun 10, 2024

This is in Ubuntu 20.4, and the error is:

_error: internal compiler error: no errors encountered even though delay_span_bug issued

error: internal compiler error: broken MIR in Item(DefId(0:7911 ~ tantivy[90d3]::store::reader::{impl#3}::iter_raw::{closure#2})) (after phase change to runtime-optimized) at bb2[6]:
Alias(Opaque, AliasTy { args: [ReErased], def_id: DefId(0:17297 ~ tantivy[90d3]::store::reader::{impl#3}::block_checkpoints::{opaque#0}) }) does not have fields_

These commands are working, though (but the application executable is obviously not built):

cargo fix --lib -p tantivy --allow-dirty

cargo build --no-default-features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant