Clear the warnings in test builds #218

Merged
jcoffey-dev merged 1 commits from chore/test-build-warnings into main 2026-10-28 02:44:15 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 0c37044d99 Clear the warnings in test builds
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 6m45s
- new_install_privacy_defaults and the scheduler's CheckDomainTasks
  looked unused in test builds, whose callers are
  cfg(not(feature = "test_mode")); allow dead_code there only.
- live.rs: fetch_update is deprecated as of Rust 1.99; try_update is the
  same call under its new name (present in CI's 1.98 too).
- Two test servers that are never mutated lose their `mut`.

The one warning left is in vendored hickory-resolver (an `h3` variable
gated on `__tls` instead of `__h3`). VENDORED.md keeps that copy
unchanged, so it stays.
2026-10-27 19:36:44 -07:00