lsprotocol 1.0.0-alpha.2

Rust types for Language Server Protocol generated from LSP specification.
Build #1380188 2024-10-04T20:45:49.972380+00:00
# rustc version
rustc 1.83.0-nightly (9ff5fc4ff 2024-10-03)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/lsprotocol-1.0.0-alpha.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/lsprotocol-1.0.0-alpha.2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241003-1.83.0-nightly-9ff5fc4ff\", \"--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] 3d454c47de3adaf0f9ec3f5607dcd8f9d4e9f8a269a3bdeea07d20aa80494bd8
[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" "3d454c47de3adaf0f9ec3f5607dcd8f9d4e9f8a269a3bdeea07d20aa80494bd8", 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.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `InlineCompletionTriggerKind` in this scope
[INFO] [stderr]     --> src/lib.rs:1645:20
[INFO] [stderr]      |
[INFO] [stderr] 1645 | impl Serialize for InlineCompletionTriggerKind {
[INFO] [stderr]      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `CompletionTriggerKind`
[INFO] [stderr] ...
[INFO] [stderr] 1859 | 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:1656:32
[INFO] [stderr]      |
[INFO] [stderr] 1656 | impl<'de> Deserialize<'de> for InlineCompletionTriggerKind {
[INFO] [stderr]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `CompletionTriggerKind`
[INFO] [stderr] ...
[INFO] [stderr] 1859 | 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:1657:50
[INFO] [stderr]      |
[INFO] [stderr] 1657 |     fn deserialize<D>(deserializer: D) -> Result<InlineCompletionTriggerKind, D::Error>
[INFO] [stderr]      |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 1859 | 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] 1657 |     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] 1656 | 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:5502:53
[INFO] [stderr]      |
[INFO] [stderr] 5502 |     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] 5494 | pub struct TextDocumentEdit<SnippetTextEdit> {
[INFO] [stderr]      |                            +++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LanguageKind` in this scope
[INFO] [stderr]     --> src/lib.rs:5947:39
[INFO] [stderr]      |
[INFO] [stderr] 5947 |     pub language_id: CustomStringEnum<LanguageKind>,
[INFO] [stderr]      |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]      |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]      |
[INFO] [stderr] 5945 | pub struct TextDocumentItem<LanguageKind> {
[INFO] [stderr]      |                            ++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `InlineCompletionList` in this scope
[INFO] [stderr]      --> src/lib.rs:10953:28
[INFO] [stderr]       |
[INFO] [stderr] 4138  | pub struct CompletionList {
[INFO] [stderr]       | ------------------------- similarly named struct `CompletionList` defined here
[INFO] [stderr] ...
[INFO] [stderr] 10953 |     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] 10953 |     pub result: Option<OR2<CompletionList, Vec<InlineCompletionItem>>>,
[INFO] [stderr]       |                            ~~~~~~~~~~~~~~
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]       |
[INFO] [stderr] 10942 | pub struct InlineCompletionResponse<InlineCompletionList> {
[INFO] [stderr]       |                                    ++++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `InlineCompletionItem` in this scope
[INFO] [stderr]      --> src/lib.rs:10953:54
[INFO] [stderr]       |
[INFO] [stderr] 3995  | pub struct CompletionItem {
[INFO] [stderr]       | ------------------------- similarly named struct `CompletionItem` defined here
[INFO] [stderr] ...
[INFO] [stderr] 10953 |     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] 10953 |     pub result: Option<OR2<InlineCompletionList, Vec<CompletionItem>>>,
[INFO] [stderr]       |                                                      ~~~~~~~~~~~~~~
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]       |
[INFO] [stderr] 10942 | pub struct InlineCompletionResponse<InlineCompletionItem> {
[INFO] [stderr]       |                                    ++++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TextDocumentContentResult` in this scope
[INFO] [stderr]      --> src/lib.rs:10990:17
[INFO] [stderr]       |
[INFO] [stderr] 10990 |     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" "3d454c47de3adaf0f9ec3f5607dcd8f9d4e9f8a269a3bdeea07d20aa80494bd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d454c47de3adaf0f9ec3f5607dcd8f9d4e9f8a269a3bdeea07d20aa80494bd8", kill_on_drop: false }`
[INFO] [stdout] 3d454c47de3adaf0f9ec3f5607dcd8f9d4e9f8a269a3bdeea07d20aa80494bd8