[GH-ISSUE #757] Build error. #288

Closed
opened 2026-03-07 23:16:31 +03:00 by kerem · 2 comments
Owner

Originally created by @CoderYellow on GitHub (Apr 30, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/757

System:

  Operating System: Ubuntu 18.04.2 LTS
            Kernel: Linux 4.15.0-1029-gcp
      Architecture: x86-64

rustc:
rustc 1.31.0
cargo
cargo 1.31.0
build log:

Compiling trust-dns-proto v0.7.3


error[E0004]: non-exhaustive patterns: `_` not covered

  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs:
134:15

   |

134 |         match usage {

   |               ^^^^^ pattern `_` not covered



error[E0004]: non-exhaustive patterns: `_` not covered

  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs:
193:15

   |

193 |         match selector {

   |               ^^^^^^^^ pattern `_` not covered



error[E0004]: non-exhaustive patterns: `_` not covered

  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs:
254:15

   |

254 |         match matching {

   |               ^^^^^^^^ pattern `_` not covered



error: aborting due to 3 previous errors



For more information about this error, try `rustc --explain E0004`.


error: Could not compile `trust-dns-proto`.

To learn more, run the command again with --verbose.

Originally created by @CoderYellow on GitHub (Apr 30, 2019). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/757 System: ``` Operating System: Ubuntu 18.04.2 LTS Kernel: Linux 4.15.0-1029-gcp Architecture: x86-64 ``` rustc: `rustc 1.31.0` cargo `cargo 1.31.0 ` build log: ``` Compiling trust-dns-proto v0.7.3 error[E0004]: non-exhaustive patterns: `_` not covered --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs: 134:15 | 134 | match usage { | ^^^^^ pattern `_` not covered error[E0004]: non-exhaustive patterns: `_` not covered --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs: 193:15 | 193 | match selector { | ^^^^^^^^ pattern `_` not covered error[E0004]: non-exhaustive patterns: `_` not covered --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.7.3/src/rr/rdata/tlsa.rs: 254:15 | 254 | match matching { | ^^^^^^^^ pattern `_` not covered error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0004`. error: Could not compile `trust-dns-proto`. To learn more, run the command again with --verbose. ```
kerem closed this issue 2026-03-07 23:16:36 +03:00
Author
Owner

@bluejekyll commented on GitHub (Apr 30, 2019):

Is there anything that's preventing you from upgrading to a newer rustc version? If yes, you could try downgrading to proto 0.7.2 (which has no known issues).

<!-- gh-comment-id:487819466 --> @bluejekyll commented on GitHub (Apr 30, 2019): Is there anything that's preventing you from upgrading to a newer rustc version? If yes, you could try downgrading to proto 0.7.2 (which has no known issues).
Author
Owner

@CoderYellow commented on GitHub (Apr 30, 2019):

@bluejekyll Thank you for replying so much.I have upgraded the rustc and solved the problem .

<!-- gh-comment-id:487823095 --> @CoderYellow commented on GitHub (Apr 30, 2019): @bluejekyll Thank you for replying so much.I have upgraded the rustc and solved the problem .
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#288
No description provided.