[PR #3335] [CLOSED] Add hickory-resolver to workspace #3758

Closed
opened 2026-03-16 12:01:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3335
Author: @hingbong
Created: 10/29/2025
Status: Closed

Base: mainHead: patch-2


📝 Commits (1)

  • d13e0b3 Add hickory-resolver to workspace with tokio feature

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 bin/Cargo.toml (+1 -0)

📄 Description

When I enable prometheus-metrics feature, it comes failed at building

CARGO_BUILD_TARGET=aarch64-unknown-linux-musl CARGO_HOME=/root/openwrt-ipq/dl/cargo CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 CARGO_PROFILE_RELEASE_DEBUG=false CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS=false CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_OPT_LEVEL=z CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS=true CARGO_PROFILE_RELEASE_PANIC=unwind CARGO_PROFILE_RELEASE_RPATH=false CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-openwrt-linux-musl-gcc RUSTFLAGS="-Ctarget-feature=-crt-static -lssp_nonshared -Clink-arg=-fuse-ld=mold" TARGET_CC=aarch64-openwrt-linux-musl-gcc TARGET_CFLAGS="-O2 -pipe -mcpu=cortex-a53+crc+crypto -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de=hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-outline-atomics" CC=/root/openwrt-ipq/staging_dir/host/bin/gcc MAKEFLAGS="--jobserver-auth=fifo:/tmp/GMfifo700959 " cargo install -v --profile release --features "resolver,tls-ring,https-ring,quic-ring,h3-ring,rustls-platform-verifier,prometheus-metrics" --root /root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/ipkg-install --path "/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin"  --locked --no-default-features
  Installing hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin)
    Updating crates.io index
error: failed to compile `hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin)`, intermediate artifacts can be found at `/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  package `hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin)` does not have a dependency named `hickory-resolver`

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/3335 **Author:** [@hingbong](https://github.com/hingbong) **Created:** 10/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`d13e0b3`](https://github.com/hickory-dns/hickory-dns/commit/d13e0b34350e931d5cd534e8d86b1da76858b88a) Add hickory-resolver to workspace with tokio feature ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `bin/Cargo.toml` (+1 -0) </details> ### 📄 Description When I enable prometheus-metrics feature, it comes failed at building ``` CARGO_BUILD_TARGET=aarch64-unknown-linux-musl CARGO_HOME=/root/openwrt-ipq/dl/cargo CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 CARGO_PROFILE_RELEASE_DEBUG=false CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS=false CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_OPT_LEVEL=z CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS=true CARGO_PROFILE_RELEASE_PANIC=unwind CARGO_PROFILE_RELEASE_RPATH=false CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-openwrt-linux-musl-gcc RUSTFLAGS="-Ctarget-feature=-crt-static -lssp_nonshared -Clink-arg=-fuse-ld=mold" TARGET_CC=aarch64-openwrt-linux-musl-gcc TARGET_CFLAGS="-O2 -pipe -mcpu=cortex-a53+crc+crypto -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de=hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de -ffunction-sections -fdata-sections -flto=auto -fno-fat-lto-objects -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-outline-atomics" CC=/root/openwrt-ipq/staging_dir/host/bin/gcc MAKEFLAGS="--jobserver-auth=fifo:/tmp/GMfifo700959 " cargo install -v --profile release --features "resolver,tls-ring,https-ring,quic-ring,h3-ring,rustls-platform-verifier,prometheus-metrics" --root /root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/ipkg-install --path "/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin" --locked --no-default-features Installing hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin) Updating crates.io index error: failed to compile `hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin)`, intermediate artifacts can be found at `/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/target`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. Caused by: package `hickory-dns v0.26.0-alpha.1 (/root/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/hickory-dns-c86328365ba9416609e25ee6ffa941d75794c7de/bin)` does not have a dependency named `hickory-resolver` ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 12:01:02 +03:00
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#3758
No description provided.