sync-resolve 0.3.1

Synchronous DNS resolver
Documentation

Build #2604334 2025-10-22 06:03:55

# rustc version rustc 1.92.0-nightly (695857bc3 2025-10-21)

# docs.rs version docsrs 0.6.0 (403e80ef 2025-10-16)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sync-resolve-0.3.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sync-resolve-0.3.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251021-1.92.0-nightly-695857bc3\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1db1b10d44558972ab23a352360c90d72fca76649815ed2ac0ec877c484dbce3 [INFO] running `Command { std: "docker" "start" "-a" "1db1b10d44558972ab23a352360c90d72fca76649815ed2ac0ec877c484dbce3", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/idna.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn to_ascii(s: &str) -> Result<Cow<str>, Error> { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn to_ascii(s: &str) -> Result<Cow<'_, str>, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/idna.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn to_unicode(s: &str) -> Result<Cow<str>, Error> { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn to_unicode(s: &str) -> Result<Cow<'_, str>, Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message.rs:86:22 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn new(data: &[u8]) -> MsgReader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 86 | pub fn new(data: &[u8]) -> MsgReader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message.rs:94:30 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn with_offset(data: &[u8], offset: usize) -> MsgReader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 94 | pub fn with_offset(data: &[u8], offset: usize) -> MsgReader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message.rs:389:22 [INFO] [stderr] | [INFO] [stderr] 389 | pub fn new(data: &mut [u8]) -> MsgWriter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 389 | pub fn new(data: &mut [u8]) -> MsgWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message.rs:626:25 [INFO] [stderr] | [INFO] [stderr] 626 | pub fn decode(data: &[u8]) -> Result<Message, DecodeError> { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 626 | pub fn decode(data: &[u8]) -> Result<Message<'_>, DecodeError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message.rs:708:20 [INFO] [stderr] | [INFO] [stderr] 708 | pub fn records(&self) -> RecordIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 708 | pub fn records(&self) -> RecordIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/resolver.rs:203:22 [INFO] [stderr] | [INFO] [stderr] 203 | fn basic_message(&self) -> Message { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 203 | fn basic_message(&self) -> Message<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sync-resolve` (lib) generated 8 warnings (run `cargo fix --lib -p sync-resolve` to apply 8 suggestions) [INFO] [stderr] Scraping sync-resolve v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting sync-resolve v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unclosed HTML tag `character-string` [INFO] [stderr] --> src/message.rs:132:11 [INFO] [stderr] | [INFO] [stderr] 132 | /// > <character-string> is a single length octet followed [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `character-string` [INFO] [stderr] --> src/message.rs:133:41 [INFO] [stderr] | [INFO] [stderr] 133 | /// > by that number of characters. <character-string> is [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sync-resolve` (lib doc) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/sync_resolve/index.html [INFO] running `Command { std: "docker" "inspect" "1db1b10d44558972ab23a352360c90d72fca76649815ed2ac0ec877c484dbce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db1b10d44558972ab23a352360c90d72fca76649815ed2ac0ec877c484dbce3", kill_on_drop: false }` [INFO] [stdout] 1db1b10d44558972ab23a352360c90d72fca76649815ed2ac0ec877c484dbce3