[GH-ISSUE #2612] Error compiling 0.25.0-alpha.2 #1025

Open
opened 2026-03-16 01:18:48 +03:00 by kerem · 1 comment
Owner

Originally created by @stringhandler on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2612

I am getting multiple compile errors when referencing

hickory-client = {version = "=0.25.0-alpha.2", features = ["dns-over-rustls", "dnssec-openssl"]}

I've tried changing to 0.25.0-alpha.3 and others. I'm lost for what to do here

error[E0277]: the trait bound `error::ResolveError: From<proto::ProtoError>` is not satisfied
   --> C:\Users\<user>\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hickory-resolver-0.25.0-alpha.2\src\async_resolver.rs:85:36
    |
85  |                     return Err(err.into());
    |                                    ^^^^ the trait `From<proto::ProtoError>` is not implemented for `error::ResolveError`, which is required by `proto::ProtoError: Into<_>`
...
445 |     lookup_fn!(ipv4_lookup, lookup::Ipv4Lookup, RecordType::A);
    |     ---------------------------------------------------------- in this macro invocation
    |
    = help: the following other types implement trait `From<T>`:
              `error::ResolveError` implements `From<&'static str>`
              `error::ResolveError` implements `From<PoisonError<T>>`
              `error::ResolveError` implements `From<String>`
              `error::ResolveError` implements `From<error::ResolveErrorKind>`
              `error::ResolveError` implements `From<ipconfig::error::Error>`
              `error::ResolveError` implements `From<std::io::Error>`
    = note: required for `proto::ProtoError` to implement `Into<error::ResolveError>`
    = note: this error originates in the macro `lookup_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
Originally created by @stringhandler on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2612 I am getting multiple compile errors when referencing ``` hickory-client = {version = "=0.25.0-alpha.2", features = ["dns-over-rustls", "dnssec-openssl"]} ``` I've tried changing to 0.25.0-alpha.3 and others. I'm lost for what to do here ``` error[E0277]: the trait bound `error::ResolveError: From<proto::ProtoError>` is not satisfied --> C:\Users\<user>\.cargo\registry\src\index.crates.io-6f17d22bba15001f\hickory-resolver-0.25.0-alpha.2\src\async_resolver.rs:85:36 | 85 | return Err(err.into()); | ^^^^ the trait `From<proto::ProtoError>` is not implemented for `error::ResolveError`, which is required by `proto::ProtoError: Into<_>` ... 445 | lookup_fn!(ipv4_lookup, lookup::Ipv4Lookup, RecordType::A); | ---------------------------------------------------------- in this macro invocation | = help: the following other types implement trait `From<T>`: `error::ResolveError` implements `From<&'static str>` `error::ResolveError` implements `From<PoisonError<T>>` `error::ResolveError` implements `From<String>` `error::ResolveError` implements `From<error::ResolveErrorKind>` `error::ResolveError` implements `From<ipconfig::error::Error>` `error::ResolveError` implements `From<std::io::Error>` = note: required for `proto::ProtoError` to implement `Into<error::ResolveError>` = note: this error originates in the macro `lookup_fn` (in Nightly builds, run with -Z macro-backtrace for more info) ```
Author
Owner

@marcus0x62 commented on GitHub (Nov 24, 2024):

If you build with:

hickory-client = {version = "=0.25.0-alpha.3", features = ["dns-over-rustls", "dnssec-ring"]}

what output do you get?

<!-- gh-comment-id:2496092185 --> @marcus0x62 commented on GitHub (Nov 24, 2024): If you build with: ``` hickory-client = {version = "=0.25.0-alpha.3", features = ["dns-over-rustls", "dnssec-ring"]} ``` what output do you get?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1025
No description provided.