lock_tree 0.1.0

Prevent deadlocks at compile time. A standalone republication of the netstack3 lock-ordering crate, part of Google's Fuchsia OS.
Documentation

Build #3949281 2026-07-25 17:59:00

# rustc version rustc 1.99.0-nightly (d0babd8b6 2026-07-15)

# docs.rs version docsrs 0.0.0 (f1b150f0cd76f7cabcd39e1f4790ba771b28b5c4 2026-07-19 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "54ebb6685a399d883b910eaa9ef3defd0070af1a1a212244900a8736cb4f8583" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2026-07-16" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260715-1.99.0-nightly-d0babd8b6\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting lock_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `impl_lock_after` [INFO] [stderr] --> src/relation.rs:13:53 [INFO] [stderr] | [INFO] [stderr] 13 | //! own lock level types `A` and `B`, you use the [`impl_lock_after`] macro [INFO] [stderr] | ^^^^^^^^^^^^^^^ no item named `impl_lock_after` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `impl_lock_after` 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 `impl_lock_after` [INFO] [stderr] --> src/relation.rs:104:52 [INFO] [stderr] | [INFO] [stderr] 104 | /// Note, though, that it's preferred to use the [`impl_lock_after`] macro [INFO] [stderr] | ^^^^^^^^^^^^^^^ no item named `impl_lock_after` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `impl_lock_after` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: `lock_tree` (lib doc) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/lock_tree/index.html [INFO] running `Command { std: "docker" "inspect" "54ebb6685a399d883b910eaa9ef3defd0070af1a1a212244900a8736cb4f8583", kill_on_drop: false }`