Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.89.0-nightly (f3db63916 2025-06-17)
# docs.rs version docsrs 0.6.0 (0a8149e8 2025-06-15)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/lsprotocol-1.0.0-alpha.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/lsprotocol-1.0.0-alpha.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250617-1.89.0-nightly-f3db63916\", \"--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] 56cc668ace498e5f383c0be431195bcf1f965389df52bd84d089d571d26473fe [INFO] running `Command { std: "docker" "start" "-a" "56cc668ace498e5f383c0be431195bcf1f965389df52bd84d089d571d26473fe", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting lsprotocol v1.0.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `InlineCompletionTriggerKind` in this scope [INFO] [stderr] --> src/lib.rs:1643:20 [INFO] [stderr] | [INFO] [stderr] 1643 | impl Serialize for InlineCompletionTriggerKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `CompletionTriggerKind` [INFO] [stderr] ... [INFO] [stderr] 1857 | pub enum CompletionTriggerKind { [INFO] [stderr] | ------------------------------ similarly named enum `CompletionTriggerKind` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InlineCompletionTriggerKind` in this scope [INFO] [stderr] --> src/lib.rs:1654:32 [INFO] [stderr] | [INFO] [stderr] 1654 | impl<'de> Deserialize<'de> for InlineCompletionTriggerKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `CompletionTriggerKind` [INFO] [stderr] ... [INFO] [stderr] 1857 | pub enum CompletionTriggerKind { [INFO] [stderr] | ------------------------------ similarly named enum `CompletionTriggerKind` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InlineCompletionTriggerKind` in this scope [INFO] [stderr] --> src/lib.rs:1655:50 [INFO] [stderr] | [INFO] [stderr] 1655 | fn deserialize<D>(deserializer: D) -> Result<InlineCompletionTriggerKind, D::Error> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1857 | pub enum CompletionTriggerKind { [INFO] [stderr] | ------------------------------ similarly named enum `CompletionTriggerKind` defined here [INFO] [stderr] | [INFO] [stderr] help: an enum with a similar name exists [INFO] [stderr] | [INFO] [stderr] 1655 - fn deserialize<D>(deserializer: D) -> Result<InlineCompletionTriggerKind, D::Error> [INFO] [stderr] 1655 + fn deserialize<D>(deserializer: D) -> Result<CompletionTriggerKind, D::Error> [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1654 | impl<'de, InlineCompletionTriggerKind> Deserialize<'de> for InlineCompletionTriggerKind { [INFO] [stderr] | +++++++++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SnippetTextEdit` in this scope [INFO] [stderr] --> src/lib.rs:5522:53 [INFO] [stderr] | [INFO] [stderr] 5522 | pub edits: Vec<OR3<TextEdit, AnnotatedTextEdit, SnippetTextEdit>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 5514 | pub struct TextDocumentEdit<SnippetTextEdit> { [INFO] [stderr] | +++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InlineCompletionList` in this scope [INFO] [stderr] --> src/lib.rs:10993:28 [INFO] [stderr] | [INFO] [stderr] 4158 | pub struct CompletionList { [INFO] [stderr] | ------------------------- similarly named struct `CompletionList` defined here [INFO] [stderr] ... [INFO] [stderr] 10993 | pub result: Option<OR2<InlineCompletionList, Vec<InlineCompletionItem>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a struct with a similar name exists [INFO] [stderr] | [INFO] [stderr] 10993 - pub result: Option<OR2<InlineCompletionList, Vec<InlineCompletionItem>>>, [INFO] [stderr] 10993 + pub result: Option<OR2<CompletionList, Vec<InlineCompletionItem>>>, [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 10982 | pub struct InlineCompletionResponse<InlineCompletionList> { [INFO] [stderr] | ++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `InlineCompletionItem` in this scope [INFO] [stderr] --> src/lib.rs:10993:54 [INFO] [stderr] | [INFO] [stderr] 4015 | pub struct CompletionItem { [INFO] [stderr] | ------------------------- similarly named struct `CompletionItem` defined here [INFO] [stderr] ... [INFO] [stderr] 10993 | pub result: Option<OR2<InlineCompletionList, Vec<InlineCompletionItem>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: a struct with a similar name exists [INFO] [stderr] | [INFO] [stderr] 10993 - pub result: Option<OR2<InlineCompletionList, Vec<InlineCompletionItem>>>, [INFO] [stderr] 10993 + pub result: Option<OR2<InlineCompletionList, Vec<CompletionItem>>>, [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 10982 | pub struct InlineCompletionResponse<InlineCompletionItem> { [INFO] [stderr] | ++++++++++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TextDocumentContentResult` in this scope [INFO] [stderr] --> src/lib.rs:11030:17 [INFO] [stderr] | [INFO] [stderr] 11030 | pub result: TextDocumentContentResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] error: could not document `lsprotocol` [INFO] running `Command { std: "docker" "inspect" "56cc668ace498e5f383c0be431195bcf1f965389df52bd84d089d571d26473fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56cc668ace498e5f383c0be431195bcf1f965389df52bd84d089d571d26473fe", kill_on_drop: false }` [INFO] [stdout] 56cc668ace498e5f383c0be431195bcf1f965389df52bd84d089d571d26473fe