test-span 0.8.0

macro and utilities to do snapshot tests on tracing spans
Documentation
Build #2338697 2025-07-22 00:26:41

# rustc version rustc 1.90.0-nightly (9982d6462 2025-07-20)

# docs.rs version docsrs 0.6.0 (c1135d19 2025-07-02)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/test-span-0.8.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/test-span-0.8.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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250720-1.90.0-nightly-9982d6462\", \"--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] 26d6093b929ac42e25b64611807ce06e9c29dfbb7ef319496407035893d1dd40 [INFO] running `Command { std: "docker" "start" "-a" "26d6093b929ac42e25b64611807ce06e9c29dfbb7ef319496407035893d1dd40", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting test-span v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/record.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `prelude::Records` [INFO] [stderr] --> src/lib.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | //! `get_logs()` that returns [`prelude::Records`] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `Records` in module `prelude` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `prelude::Span` [INFO] [stderr] --> src/lib.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | //! `get_span()` that returns a [`prelude::Span`], [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `Span` in module `prelude` [INFO] [stderr] [INFO] [stderr] warning: `test-span` (lib doc) generated 3 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/test_span/index.html [INFO] running `Command { std: "docker" "inspect" "26d6093b929ac42e25b64611807ce06e9c29dfbb7ef319496407035893d1dd40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d6093b929ac42e25b64611807ce06e9c29dfbb7ef319496407035893d1dd40", kill_on_drop: false }` [INFO] [stdout] 26d6093b929ac42e25b64611807ce06e9c29dfbb7ef319496407035893d1dd40