syslog-rs 6.2.0

A native Rust implementation of the glibc/libc syslog.
Documentation
Build #2641175 2025-11-07 01:10:22
# rustc version
rustc 1.93.0-nightly (b01cc1cf0 2025-11-05)# docs.rs version
docsrs 0.6.0 (fb84acf8 2025-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/syslog-rs-6.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/syslog-rs-6.2.0/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "build_sync truncate_default build_with_thread_local build_async_tokio build_with_queue build_ext_net build_ext_tls build_ext_file" "--no-default-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251105-1.93.0-nightly-b01cc1cf0\", \"--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] 7d7b489f81a47a0e8c41c5d0346c1cc767f8d1ca0d205a9c7258686e66f88644
[INFO] running `Command { std: "docker" "start" "-a" "7d7b489f81a47a0e8c41c5d0346c1cc767f8d1ca0d205a9c7258686e66f88644", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: example_async, example_custom_formatter, example_formatter, example_inteface, example_logto_file_async, example_logto_file_sync, example_logtofile, example_smol_async, example_sync, example_sync_queue, example_sync_stream, example_thread_local, example_tls, example_udp
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting syslog-rs v6.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `LOG_MASK`
[INFO] [stderr]   --> src/sync/syslog_trait.rs:29:23
[INFO] [stderr]    |
[INFO] [stderr] 29 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]    |                       ^^^^^^^^ no item named `LOG_MASK` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `LOG_MASK` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_UPTO`
[INFO] [stderr]   --> src/sync/syslog_trait.rs:29:38
[INFO] [stderr]    |
[INFO] [stderr] 29 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]    |                                      ^^^^^^^^ no item named `LOG_UPTO` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `LOG_UPTO` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `TapTypeData`
[INFO] [stderr]   --> src/sync/syslog_trait.rs:77:52
[INFO] [stderr]    |
[INFO] [stderr] 77 |     /// Updates the instance's socket. `tap_data` [TapTypeData] should be of
[INFO] [stderr]    |                                                    ^^^^^^^^^^^ no item named `TapTypeData` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogFile`
[INFO] [stderr]   --> src/sync/syslog_sync_shared.rs:90:25
[INFO] [stderr]    |
[INFO] [stderr] 90 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]    |                         ^^^^^^^^^^ no item named `SyslogFile` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogNet`
[INFO] [stderr]   --> src/sync/syslog_sync_shared.rs:90:39
[INFO] [stderr]    |
[INFO] [stderr] 90 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]    |                                       ^^^^^^^^^ no item named `SyslogNet` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogTls`
[INFO] [stderr]   --> src/sync/syslog_sync_shared.rs:90:52
[INFO] [stderr]    |
[INFO] [stderr] 90 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]    |                                                    ^^^^^^^^^ no item named `SyslogTls` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `AsyncSyslogQueueApi`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:401:36
[INFO] [stderr]     |
[INFO] [stderr] 401 | /// Also if `async` is enabled, a [AsyncSyslogQueueApi] is implemented.
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^ no item named `AsyncSyslogQueueApi` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogFile`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:456:25
[INFO] [stderr]     |
[INFO] [stderr] 456 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]     |                         ^^^^^^^^^^ no item named `SyslogFile` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogNet`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:456:39
[INFO] [stderr]     |
[INFO] [stderr] 456 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]     |                                       ^^^^^^^^^ no item named `SyslogNet` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogTls`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:456:52
[INFO] [stderr]     |
[INFO] [stderr] 456 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls]. By
[INFO] [stderr]     |                                                    ^^^^^^^^^ no item named `SyslogTls` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::syslog_provider::SyslogNet`
[INFO] [stderr]   --> src/sync/syslog_threadlocal.rs:56:63
[INFO] [stderr]    |
[INFO] [stderr] 56 | ///     [SyslogLocal], [crate::syslog_provider::SyslogFile], [crate::syslog_provider::SyslogNet], 
[INFO] [stderr]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `SyslogNet` in module `syslog_provider`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyslogNet`
[INFO] [stderr]   --> src/a_sync/syslog_async.rs:52:39
[INFO] [stderr]    |
[INFO] [stderr] 52 | ///     [SyslogLocal], [SyslogFile], [SyslogNet], [SyslogTls] or other. By
[INFO] [stderr]    |                                       ^^^^^^^^^ no item named `SyslogNet` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_MASK`
[INFO] [stderr]    --> src/a_sync/syslog_async.rs:194:23
[INFO] [stderr]     |
[INFO] [stderr] 194 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                       ^^^^^^^^ no item named `LOG_MASK` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_MASK` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_UPTO`
[INFO] [stderr]    --> src/a_sync/syslog_async.rs:194:38
[INFO] [stderr]     |
[INFO] [stderr] 194 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                                      ^^^^^^^^ no item named `LOG_UPTO` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_UPTO` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_MASK`
[INFO] [stderr]   --> src/a_sync/syslog_trait.rs:36:23
[INFO] [stderr]    |
[INFO] [stderr] 36 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]    |                       ^^^^^^^^ no item named `LOG_MASK` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `LOG_MASK` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_UPTO`
[INFO] [stderr]   --> src/a_sync/syslog_trait.rs:36:38
[INFO] [stderr]    |
[INFO] [stderr] 36 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]    |                                      ^^^^^^^^ no item named `LOG_UPTO` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `LOG_UPTO` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `TapTypeData`
[INFO] [stderr]   --> src/a_sync/syslog_trait.rs:82:52
[INFO] [stderr]    |
[INFO] [stderr] 82 |     /// Updates the instance's socket. `tap_data` [TapTypeData] should be of
[INFO] [stderr]    |                                                    ^^^^^^^^^^^ no item named `TapTypeData` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `a_new` links to private item `AsyncSyslogApi`
[INFO] [stderr]   --> src/a_sync/syslog_async_internal.rs:74:67
[INFO] [stderr]    |
[INFO] [stderr] 74 |     /// Creates new mutex instance for type which implements the [AsyncSyslogApi].
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]    = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `RFC3418`
[INFO] [stderr]    --> src/formatters/syslog_5424.rs:272:8
[INFO] [stderr]     |
[INFO] [stderr] 272 | /// > [RFC3418].
[INFO] [stderr]     |        ^^^^^^^ no item named `RFC3418` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `RFC4646`
[INFO] [stderr]    --> src/formatters/syslog_5424.rs:279:8
[INFO] [stderr]     |
[INFO] [stderr] 279 | /// > [RFC4646].
[INFO] [stderr]     |        ^^^^^^^ no item named `RFC4646` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unknown disambiguator `exampleSDID`
[INFO] [stderr]    --> src/formatters/syslog_5424.rs:345:10
[INFO] [stderr]     |
[INFO] [stderr] 345 | /// i.e [exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"]
[INFO] [stderr]     |          ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: see https://doc.rust-lang.org/nightly/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `TapType`
[INFO] [stderr]   --> src/formatters/mod.rs:84:25
[INFO] [stderr]    |
[INFO] [stderr] 84 |     /// * `tap_type` - [TapType] a  type of the connection. 
[INFO] [stderr]    |                         ^^^^^^^ no item named `TapType` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_MASK`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:773:27
[INFO] [stderr]     |
[INFO] [stderr] 773 |         /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                           ^^^^^^^^ no item named `LOG_MASK` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_MASK` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_UPTO`
[INFO] [stderr]    --> src/sync/syslog_sync_queue.rs:773:42
[INFO] [stderr]     |
[INFO] [stderr] 773 |         /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                                          ^^^^^^^^ no item named `LOG_UPTO` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_UPTO` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_MASK`
[INFO] [stderr]    --> src/sync/syslog_threadlocal.rs:184:23
[INFO] [stderr]     |
[INFO] [stderr] 184 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                       ^^^^^^^^ no item named `LOG_MASK` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_MASK` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LOG_UPTO`
[INFO] [stderr]    --> src/sync/syslog_threadlocal.rs:184:38
[INFO] [stderr]     |
[INFO] [stderr] 184 |     /// See macroses [LOG_MASK] and [LOG_UPTO] to generate mask
[INFO] [stderr]     |                                      ^^^^^^^^ no item named `LOG_UPTO` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `LOG_UPTO` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `TapTypeData`
[INFO] [stderr]    --> src/sync/syslog_threadlocal.rs:273:52
[INFO] [stderr]     |
[INFO] [stderr] 273 |     /// Updates the instance's socket. `tap_data` [TapTypeData] should be of
[INFO] [stderr]     |                                                    ^^^^^^^^^^^ no item named `TapTypeData` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]   --> src/sync/syslog_stream.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |       /// ```ignore
[INFO] [stderr]    |  _________^
[INFO] [stderr] 33 | |     /// write!(SYSLOG.stream(Priority::LOG_DEBUG),
[INFO] [stderr] 34 | |     /// ```
[INFO] [stderr]    | |___________^
[INFO] [stderr]    |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]   --> src/sync/syslog_stream.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     /// ```ignore
[INFO] [stderr]    |         ^^^
[INFO] [stderr]    = note: error from rustc: this file contains an unclosed delimiter
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `private`
[INFO] [stderr]    --> src/formatters/syslog_5424.rs:358:12
[INFO] [stderr]     |
[INFO] [stderr] 358 | /// > name@<private enterprise number>, e.g., "ourSDID@32473".  The
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `private`
[INFO] [stderr]    --> src/formatters/syslog_5424.rs:386:14
[INFO] [stderr]     |
[INFO] [stderr] 386 |     /// name@<private enterprise number>, e.g., "ourSDID@32473". 
[INFO] [stderr]     |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `syslog-rs` (lib doc) generated 30 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/syslog_rs/index.html
[INFO] running `Command { std: "docker" "inspect" "7d7b489f81a47a0e8c41c5d0346c1cc767f8d1ca0d205a9c7258686e66f88644", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d7b489f81a47a0e8c41c5d0346c1cc767f8d1ca0d205a9c7258686e66f88644", kill_on_drop: false }`
[INFO] [stdout] 7d7b489f81a47a0e8c41c5d0346c1cc767f8d1ca0d205a9c7258686e66f88644