Skip to content

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

@johan--

Description

@johan--

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions