[go: up one dir, main page]

tracing-appender 0.2.3

Provides utilities for file appenders and making non-blocking writers.
Documentation
Build #1869448 2025-03-15 08:44:51
# rustc version
rustc 1.87.0-nightly (ecade534c 2025-03-14)# docs.rs version
docsrs 0.6.0 (004a02c4 2025-03-05)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tracing-appender-0.2.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tracing-appender-0.2.3/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250314-1.87.0-nightly-ecade534c\", \"--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] [stdout] 6b64483e16366585189902cc3e005aadec574552daaa9d4accedcd79a57aa6fa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6b64483e16366585189902cc3e005aadec574552daaa9d4accedcd79a57aa6fa", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting tracing-appender v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information
[INFO] [stderr]    --> src/lib.rs:156:5
[INFO] [stderr]     |
[INFO] [stderr] 156 |     private_in_public,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:25:57
[INFO] [stderr]     |
[INFO] [stderr] 25  | //!  - Using *any* type implementing [`std::io::Write`][write] in a non-blocking fashion.
[INFO] [stderr]     |                                       ----------------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |                                       |
[INFO] [stderr]     |                                       because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:106:14
[INFO] [stderr]     |
[INFO] [stderr] 106 | //! [write]: std::io::Write
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 25  - //!  - Using *any* type implementing [`std::io::Write`][write] in a non-blocking fashion.
[INFO] [stderr] 25  + //!  - Using *any* type implementing [`std::io::Write`] in a non-blocking fashion.
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:51:53
[INFO] [stderr]     |
[INFO] [stderr] 51  | //! The file appender implements [`std::io::Write`][write]. To be used with
[INFO] [stderr]     |                                   ----------------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |                                   |
[INFO] [stderr]     |                                   because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:106:14
[INFO] [stderr]     |
[INFO] [stderr] 106 | //! [write]: std::io::Write
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 51  - //! The file appender implements [`std::io::Write`][write]. To be used with
[INFO] [stderr] 51  + //! The file appender implements [`std::io::Write`]. To be used with
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:71:45
[INFO] [stderr]     |
[INFO] [stderr] 71  | //! **Note:** `_guard` is a [`WorkerGuard`][guard] which is returned by [`tracing_appender::non_blocking`][non_blocking]
[INFO] [stderr]     |                              -------------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:107:14
[INFO] [stderr]     |
[INFO] [stderr] 107 | //! [guard]: non_blocking::WorkerGuard
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 71  - //! **Note:** `_guard` is a [`WorkerGuard`][guard] which is returned by [`tracing_appender::non_blocking`][non_blocking]
[INFO] [stderr] 71  + //! **Note:** `_guard` is a [`WorkerGuard`] which is returned by [`tracing_appender::non_blocking`][non_blocking]
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:76:50
[INFO] [stderr]     |
[INFO] [stderr] 76  | //! writer constructed with a [`std::io::Write`][write]:
[INFO] [stderr]     |                                ----------------  ^^^^^ explicit target is redundant
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/lib.rs:106:14
[INFO] [stderr]     |
[INFO] [stderr] 106 | //! [write]: std::io::Write
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 76  - //! writer constructed with a [`std::io::Write`][write]:
[INFO] [stderr] 76  + //! writer constructed with a [`std::io::Write`]:
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/non_blocking.rs:34:25
[INFO] [stderr]    |
[INFO] [stderr] 34 | //! See [`WorkerGuard`][worker_guard] for examples of using the guard.
[INFO] [stderr]    |          -------------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |          |
[INFO] [stderr]    |          because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/non_blocking.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 | //! [worker_guard]: WorkerGuard
[INFO] [stderr]    |                     ^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 34 - //! See [`WorkerGuard`][worker_guard] for examples of using the guard.
[INFO] [stderr] 34 + //! See [`WorkerGuard`] for examples of using the guard.
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/non_blocking.rs:63:24
[INFO] [stderr]    |
[INFO] [stderr] 63 | /// If [`NonBlocking`][non-blocking] is lossy, it will drop spans/events at capacity.
[INFO] [stderr]    |         -------------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |         |
[INFO] [stderr]    |         because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/non_blocking.rs:68:21
[INFO] [stderr]    |
[INFO] [stderr] 68 | /// [non-blocking]: NonBlocking
[INFO] [stderr]    |                     ^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 63 - /// If [`NonBlocking`][non-blocking] is lossy, it will drop spans/events at capacity.
[INFO] [stderr] 63 + /// If [`NonBlocking`] is lossy, it will drop spans/events at capacity.
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/non_blocking.rs:64:24
[INFO] [stderr]    |
[INFO] [stderr] 64 | /// If [`NonBlocking`][non-blocking] is _not_ lossy,
[INFO] [stderr]    |         -------------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]    |         |
[INFO] [stderr]    |         because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/non_blocking.rs:68:21
[INFO] [stderr]    |
[INFO] [stderr] 68 | /// [non-blocking]: NonBlocking
[INFO] [stderr]    |                     ^^^^^^^^^^^
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 64 - /// If [`NonBlocking`][non-blocking] is _not_ lossy,
[INFO] [stderr] 64 + /// If [`NonBlocking`] is _not_ lossy,
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/non_blocking.rs:119:43
[INFO] [stderr]     |
[INFO] [stderr] 119 | /// This struct implements [`MakeWriter`][make_writer] from the `tracing-subscriber`
[INFO] [stderr]     |                             ------------  ^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/non_blocking.rs:123:20
[INFO] [stderr]     |
[INFO] [stderr] 123 | /// [make_writer]: tracing_subscriber::fmt::MakeWriter
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 119 - /// This struct implements [`MakeWriter`][make_writer] from the `tracing-subscriber`
[INFO] [stderr] 119 + /// This struct implements [`MakeWriter`] from the `tracing-subscriber`
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/non_blocking.rs:187:35
[INFO] [stderr]     |
[INFO] [stderr] 187 | /// A builder for [`NonBlocking`][non-blocking].
[INFO] [stderr]     |                    -------------  ^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]    --> src/non_blocking.rs:189:21
[INFO] [stderr]     |
[INFO] [stderr] 189 | /// [non-blocking]: NonBlocking
[INFO] [stderr]     |                     ^^^^^^^^^^^
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 187 - /// A builder for [`NonBlocking`][non-blocking].
[INFO] [stderr] 187 + /// A builder for [`NonBlocking`].
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/rolling.rs:3:76
[INFO] [stderr]   |
[INFO] [stderr] 3 | //! Creates a new log file at a fixed frequency as defined by [`Rotation`][self::Rotation].
[INFO] [stderr]   |                                                                ----------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                                                                |
[INFO] [stderr]   |                                                                because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 3 - //! Creates a new log file at a fixed frequency as defined by [`Rotation`][self::Rotation].
[INFO] [stderr] 3 + //! Creates a new log file at a fixed frequency as defined by [`Rotation`].
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/rolling.rs:119:33
[INFO] [stderr]     |
[INFO] [stderr] 119 |     /// defined by [`Rotation`][self::Rotation]. The `directory` and
[INFO] [stderr]     |                     ----------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 119 -     /// defined by [`Rotation`][self::Rotation]. The `directory` and
[INFO] [stderr] 119 +     /// defined by [`Rotation`]. The `directory` and
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/rolling.rs:343:29
[INFO] [stderr]     |
[INFO] [stderr] 343 | /// defined by [`Rotation`][self::Rotation]. The `directory` and
[INFO] [stderr]     |                 ----------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 343 - /// defined by [`Rotation`][self::Rotation]. The `directory` and
[INFO] [stderr] 343 + /// defined by [`Rotation`]. The `directory` and
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `tracing-appender` (lib doc) generated 13 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tracing_appender/index.html
[INFO] running `Command { std: "docker" "inspect" "6b64483e16366585189902cc3e005aadec574552daaa9d4accedcd79a57aa6fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b64483e16366585189902cc3e005aadec574552daaa9d4accedcd79a57aa6fa", kill_on_drop: false }`
[INFO] [stdout] 6b64483e16366585189902cc3e005aadec574552daaa9d4accedcd79a57aa6fa