Skip to content

cargo check fails for trust-dns-proto 0.22.0 #1401

Closed
@teohhanhui

Description

@teohhanhui
    Checking trust-dns-proto v0.22.0 (/home/teohhanhui/Projects/hickory-dns/hickory-dns/crates/proto)
error: missing optimized MIR for an item in the crate `tracing_core`
    |
note: missing optimized MIR for this item (was the crate `tracing_core` compiled with `--emit=metadata`?)
   --> /home/teohhanhui/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.29/src/callsite.rs:362:5
    |
362 |     fn set_interest(&self, interest: Interest) {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `trust-dns-proto` (lib) due to previous error

Seems like it's hitting this: rust-lang/rust#115353

cargo check -p trust-dns-proto and cargo +nightly check -p trust-dns-proto are both successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions