[INFO] fetching crate felixs-tower-lsp 0.20.0...
[INFO] checking felixs-tower-lsp-0.20.0 against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] extracting crate felixs-tower-lsp 0.20.0 into /workspace/builds/worker-0-tc1/source
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain
[INFO] started tweaking crates.io crate felixs-tower-lsp 0.20.0
[INFO] finished tweaking crates.io crate felixs-tower-lsp 0.20.0
[INFO] tweaked toml for crates.io crate felixs-tower-lsp 0.20.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate felixs-tower-lsp 0.20.0 on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate felixs-tower-lsp 0.20.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ws_stream_tungstenite v0.10.0
[INFO] [stderr]   Downloaded serde_derive v1.0.196
[INFO] [stderr]   Downloaded url v2.5.0
[INFO] [stderr]   Downloaded serde v1.0.196
[INFO] [stderr]   Downloaded tungstenite v0.19.0
[INFO] [stderr]   Downloaded itoa v1.0.9
[INFO] [stderr]   Downloaded semver v1.0.22
[INFO] [stderr]   Downloaded thiserror v1.0.58
[INFO] [stderr]   Downloaded async-codec-lite v0.0.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.58
[INFO] [stderr]   Downloaded async-trait v0.1.74
[INFO] [stderr]   Downloaded anyhow v1.0.80
[INFO] [stderr]   Downloaded async-tungstenite v0.22.2
[INFO] [stderr]   Downloaded once_cell v1.18.0
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded cc v1.0.79
[INFO] [stderr]   Downloaded bitflags v2.5.0
[INFO] [stderr]   Downloaded memchr v2.6.4
[INFO] [stderr]   Downloaded serde_json v1.0.113
[INFO] [stderr]   Downloaded hashbrown v0.14.2
[INFO] [stderr]   Downloaded object v0.32.1
[INFO] [stderr]   Downloaded gimli v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1
[INFO] running `Command { std: "docker" "start" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1", kill_on_drop: false }`
[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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1", kill_on_drop: false }`
[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" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking hashbrown v0.14.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling pharos v0.5.3
[INFO] [stderr]    Compiling async_io_stream v0.3.3
[INFO] [stderr]    Compiling ws_stream_tungstenite v0.10.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]    Compiling auto_impl v1.2.0
[INFO] [stderr]     Checking tokio v1.34.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking tungstenite v0.19.0
[INFO] [stderr]     Checking lsp-types v0.94.1
[INFO] [stderr]     Checking async-tungstenite v0.22.2
[INFO] [stderr]     Checking felixs-tower-lsp v0.20.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/client/pending.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |         struct Waiters(usize);
[INFO] [stdout]    |                ------- ^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/websocket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tower_lsp::lsp_types::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/websocket.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tower_lsp::jsonrpc::Result;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/tcp.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tower_lsp::lsp_types::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/tcp.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tower_lsp::jsonrpc::Result;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/stdio.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tower_lsp::lsp_types::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/stdio.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tower_lsp::jsonrpc::Result;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/custom_notification.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tower_lsp::lsp_types::*;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/custom_notification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tower_lsp::jsonrpc::{Error, Result};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]  --> examples/custom_notification.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tower_lsp::lsp_types::notification::Notification;
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tower_lsp`
[INFO] [stdout]  --> examples/websocket.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_lsp::{Client, LanguageServer, LspService, Server};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]   --> examples/websocket.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[tower_lsp::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tower_lsp`
[INFO] [stdout]  --> examples/stdio.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tower_lsp::{Client, LanguageServer, LspService, Server};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]   --> examples/stdio.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[tower_lsp::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tower_lsp`
[INFO] [stdout]  --> examples/tcp.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tower_lsp::{Client, LanguageServer, LspService, Server};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]   --> examples/tcp.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[tower_lsp::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tower_lsp`
[INFO] [stdout]  --> examples/custom_notification.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_lsp::{Client, LanguageServer, LspService, Server};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tower_lsp`, use `cargo add tower_lsp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tower_lsp` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[tower_lsp::async_trait]
[INFO] [stdout]    |   ^^^^^^^^^ use of unresolved module or unlinked crate `tower_lsp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeParams` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:38:35
[INFO] [stdout]    |
[INFO] [stdout] 38 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:38:63
[INFO] [stdout]    |
[INFO] [stdout] 38 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Ok(InitializeResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:41:27
[INFO] [stdout]    |
[INFO] [stdout] 41 |             capabilities: ServerCapabilities {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExecuteCommandOptions` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:42:48
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 execute_command_provider: Some(ExecuteCommandOptions {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 ..ServerCapabilities::default()
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCapabilities`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExecuteCommandParams` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:56:45
[INFO] [stdout]    |
[INFO] [stdout] 56 |     async fn execute_command(&self, params: ExecuteCommandParams) -> Result<Option<Value>> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/custom_notification.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     MessageType::INFO,
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `felixs-tower-lsp` (example "custom_notification") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find type `InitializeParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/websocket.rs:17:63
[INFO] [stdout]    |
[INFO] [stdout] 17 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/websocket.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |         Ok(InitializeResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/websocket.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |             capabilities: ServerCapabilities {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncCapability` in this scope
[INFO] [stdout]   --> examples/websocket.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 text_document_sync: Some(TextDocumentSyncCapability::Kind(
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncCapability`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncCapability;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncKind` in this scope
[INFO] [stdout]   --> examples/websocket.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |                     TextDocumentSyncKind::INCREMENTAL,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncKind`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncKind;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CompletionOptions` in this scope
[INFO] [stdout]   --> examples/websocket.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 completion_provider: Some(CompletionOptions {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::CompletionOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExecuteCommandOptions` in this scope
[INFO] [stdout]   --> examples/websocket.rs:29:48
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 execute_command_provider: Some(ExecuteCommandOptions {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceServerCapabilities` in this scope
[INFO] [stdout]   --> examples/websocket.rs:33:33
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 workspace: Some(WorkspaceServerCapabilities {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceFoldersServerCapabilities` in this scope
[INFO] [stdout]   --> examples/websocket.rs:34:45
[INFO] [stdout]    |
[INFO] [stdout] 34 |                     workspace_folders: Some(WorkspaceFoldersServerCapabilities {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceFoldersServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OneOf` in this scope
[INFO] [stdout]   --> examples/websocket.rs:36:52
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         change_notifications: Some(OneOf::Left(true)),
[INFO] [stdout]    |                                                    ^^^^^ use of undeclared type `OneOf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::OneOf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/websocket.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 ..ServerCapabilities::default()
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCapabilities`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializedParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:46:36
[INFO] [stdout]    |
[INFO] [stdout] 46 |     async fn initialized(&self, _: InitializedParams) {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializedParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .log_message(MessageType::INFO, "initialized!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWorkspaceFoldersParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:56:53
[INFO] [stdout]    |
[INFO] [stdout] 56 |     async fn did_change_workspace_folders(&self, _: DidChangeWorkspaceFoldersParams) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWorkspaceFoldersParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .log_message(MessageType::INFO, "workspace folders changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeConfigurationParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:62:49
[INFO] [stdout]    |
[INFO] [stdout] 62 |     async fn did_change_configuration(&self, _: DidChangeConfigurationParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeConfigurationParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |             .log_message(MessageType::INFO, "configuration changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWatchedFilesParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |     async fn did_change_watched_files(&self, _: DidChangeWatchedFilesParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWatchedFilesParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:70:26
[INFO] [stdout]    |
[INFO] [stdout] 70 |             .log_message(MessageType::INFO, "watched files have changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExecuteCommandParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:74:40
[INFO] [stdout]    |
[INFO] [stdout] 74 |     async fn execute_command(&self, _: ExecuteCommandParams) -> Result<Option<Value>> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |             .log_message(MessageType::INFO, "command executed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WorkspaceEdit` in this scope
[INFO] [stdout]   --> examples/websocket.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |         match self.client.apply_edit(WorkspaceEdit::default()).await {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `WorkspaceEdit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceEdit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:80:63
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Ok(res) if res.applied => self.client.log_message(MessageType::INFO, "applied").await,
[INFO] [stdout]    |                                                               ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:81:46
[INFO] [stdout]    |
[INFO] [stdout] 81 |             Ok(_) => self.client.log_message(MessageType::INFO, "rejected").await,
[INFO] [stdout]    |                                              ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:82:49
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Err(err) => self.client.log_message(MessageType::ERROR, err).await,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidOpenTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:88:33
[INFO] [stdout]    |
[INFO] [stdout] 88 |     async fn did_open(&self, _: DidOpenTextDocumentParams) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidOpenTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |             .log_message(MessageType::INFO, "file opened!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/websocket.rs:94:35
[INFO] [stdout]    |
[INFO] [stdout] 94 |     async fn did_change(&self, _: DidChangeTextDocumentParams) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/websocket.rs:96:26
[INFO] [stdout]    |
[INFO] [stdout] 96 |             .log_message(MessageType::INFO, "file changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidSaveTextDocumentParams` in this scope
[INFO] [stdout]    --> examples/websocket.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |     async fn did_save(&self, _: DidSaveTextDocumentParams) {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::DidSaveTextDocumentParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/websocket.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |             .log_message(MessageType::INFO, "file saved!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidCloseTextDocumentParams` in this scope
[INFO] [stdout]    --> examples/websocket.rs:106:34
[INFO] [stdout]     |
[INFO] [stdout] 106 |     async fn did_close(&self, _: DidCloseTextDocumentParams) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::DidCloseTextDocumentParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/websocket.rs:108:26
[INFO] [stdout]     |
[INFO] [stdout] 108 |             .log_message(MessageType::INFO, "file closed!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionParams` in this scope
[INFO] [stdout]    --> examples/websocket.rs:112:35
[INFO] [stdout]     |
[INFO] [stdout] 112 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/websocket.rs:112:70
[INFO] [stdout]     |
[INFO] [stdout] 112 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/websocket.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |         Ok(Some(CompletionResponse::Array(vec![
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ use of undeclared type `CompletionResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/websocket.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             CompletionItem::new_simple("Hello".to_string(), "Some detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/websocket.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             CompletionItem::new_simple("Bye".to_string(), "More detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/tcp.rs:14:63
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/tcp.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Ok(InitializeResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/tcp.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             capabilities: ServerCapabilities {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncCapability` in this scope
[INFO] [stdout]   --> examples/tcp.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 text_document_sync: Some(TextDocumentSyncCapability::Kind(
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncCapability`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncCapability;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncKind` in this scope
[INFO] [stdout]   --> examples/tcp.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     TextDocumentSyncKind::INCREMENTAL,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncKind`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncKind;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CompletionOptions` in this scope
[INFO] [stdout]   --> examples/tcp.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 completion_provider: Some(CompletionOptions {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::CompletionOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExecuteCommandOptions` in this scope
[INFO] [stdout]   --> examples/tcp.rs:28:48
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 execute_command_provider: Some(ExecuteCommandOptions {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceServerCapabilities` in this scope
[INFO] [stdout]   --> examples/tcp.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 workspace: Some(WorkspaceServerCapabilities {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceFoldersServerCapabilities` in this scope
[INFO] [stdout]   --> examples/tcp.rs:33:45
[INFO] [stdout]    |
[INFO] [stdout] 33 |                     workspace_folders: Some(WorkspaceFoldersServerCapabilities {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceFoldersServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OneOf` in this scope
[INFO] [stdout]   --> examples/tcp.rs:35:52
[INFO] [stdout]    |
[INFO] [stdout] 35 |                         change_notifications: Some(OneOf::Left(true)),
[INFO] [stdout]    |                                                    ^^^^^ use of undeclared type `OneOf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::OneOf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/tcp.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 ..ServerCapabilities::default()
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCapabilities`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializedParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:45:36
[INFO] [stdout]    |
[INFO] [stdout] 45 |     async fn initialized(&self, _: InitializedParams) {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializedParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |             .log_message(MessageType::INFO, "initialized!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWorkspaceFoldersParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:55:53
[INFO] [stdout]    |
[INFO] [stdout] 55 |     async fn did_change_workspace_folders(&self, _: DidChangeWorkspaceFoldersParams) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWorkspaceFoldersParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |             .log_message(MessageType::INFO, "workspace folders changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeConfigurationParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 |     async fn did_change_configuration(&self, _: DidChangeConfigurationParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeConfigurationParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |             .log_message(MessageType::INFO, "configuration changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWatchedFilesParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:67:49
[INFO] [stdout]    |
[INFO] [stdout] 67 |     async fn did_change_watched_files(&self, _: DidChangeWatchedFilesParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWatchedFilesParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |             .log_message(MessageType::INFO, "watched files have changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExecuteCommandParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn execute_command(&self, _: ExecuteCommandParams) -> Result<Option<Value>> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |             .log_message(MessageType::INFO, "command executed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WorkspaceEdit` in this scope
[INFO] [stdout]   --> examples/tcp.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 |         match self.client.apply_edit(WorkspaceEdit::default()).await {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `WorkspaceEdit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceEdit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:79:63
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Ok(res) if res.applied => self.client.log_message(MessageType::INFO, "applied").await,
[INFO] [stdout]    |                                                               ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:80:46
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Ok(_) => self.client.log_message(MessageType::INFO, "rejected").await,
[INFO] [stdout]    |                                              ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |             Err(err) => self.client.log_message(MessageType::ERROR, err).await,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidOpenTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |     async fn did_open(&self, _: DidOpenTextDocumentParams) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidOpenTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:89:26
[INFO] [stdout]    |
[INFO] [stdout] 89 |             .log_message(MessageType::INFO, "file opened!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 93 |     async fn did_change(&self, _: DidChangeTextDocumentParams) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/tcp.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |             .log_message(MessageType::INFO, "file changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidSaveTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/tcp.rs:99:33
[INFO] [stdout]    |
[INFO] [stdout] 99 |     async fn did_save(&self, _: DidSaveTextDocumentParams) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidSaveTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/tcp.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |             .log_message(MessageType::INFO, "file saved!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidCloseTextDocumentParams` in this scope
[INFO] [stdout]    --> examples/tcp.rs:105:34
[INFO] [stdout]     |
[INFO] [stdout] 105 |     async fn did_close(&self, _: DidCloseTextDocumentParams) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::DidCloseTextDocumentParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/tcp.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .log_message(MessageType::INFO, "file closed!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionParams` in this scope
[INFO] [stdout]    --> examples/tcp.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout] 111 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/tcp.rs:111:70
[INFO] [stdout]     |
[INFO] [stdout] 111 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/tcp.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |         Ok(Some(CompletionResponse::Array(vec![
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ use of undeclared type `CompletionResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/tcp.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             CompletionItem::new_simple("Hello".to_string(), "Some detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/tcp.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             CompletionItem::new_simple("Bye".to_string(), "More detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `felixs-tower-lsp` (example "tcp") due to 43 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/stdio.rs:13:63
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn initialize(&self, _: InitializeParams) -> Result<InitializeResult> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeResult` in this scope
[INFO] [stdout]   --> examples/stdio.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Ok(InitializeResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializeResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/stdio.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |             capabilities: ServerCapabilities {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncCapability` in this scope
[INFO] [stdout]   --> examples/stdio.rs:17:42
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 text_document_sync: Some(TextDocumentSyncCapability::Kind(
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncCapability`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncCapability;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TextDocumentSyncKind` in this scope
[INFO] [stdout]   --> examples/stdio.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     TextDocumentSyncKind::INCREMENTAL,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TextDocumentSyncKind`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::TextDocumentSyncKind;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CompletionOptions` in this scope
[INFO] [stdout]   --> examples/stdio.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |                 completion_provider: Some(CompletionOptions {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::CompletionOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExecuteCommandOptions` in this scope
[INFO] [stdout]   --> examples/stdio.rs:27:48
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 execute_command_provider: Some(ExecuteCommandOptions {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceServerCapabilities` in this scope
[INFO] [stdout]   --> examples/stdio.rs:31:33
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 workspace: Some(WorkspaceServerCapabilities {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WorkspaceFoldersServerCapabilities` in this scope
[INFO] [stdout]   --> examples/stdio.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     workspace_folders: Some(WorkspaceFoldersServerCapabilities {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceFoldersServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OneOf` in this scope
[INFO] [stdout]   --> examples/stdio.rs:34:52
[INFO] [stdout]    |
[INFO] [stdout] 34 |                         change_notifications: Some(OneOf::Left(true)),
[INFO] [stdout]    |                                                    ^^^^^ use of undeclared type `OneOf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::OneOf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ServerCapabilities` in this scope
[INFO] [stdout]   --> examples/stdio.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 ..ServerCapabilities::default()
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCapabilities`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ServerCapabilities;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `InitializedParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |     async fn initialized(&self, _: InitializedParams) {
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::InitializedParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |             .log_message(MessageType::INFO, "initialized!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWorkspaceFoldersParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:54:53
[INFO] [stdout]    |
[INFO] [stdout] 54 |     async fn did_change_workspace_folders(&self, _: DidChangeWorkspaceFoldersParams) {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWorkspaceFoldersParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:56:26
[INFO] [stdout]    |
[INFO] [stdout] 56 |             .log_message(MessageType::INFO, "workspace folders changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeConfigurationParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:60:49
[INFO] [stdout]    |
[INFO] [stdout] 60 |     async fn did_change_configuration(&self, _: DidChangeConfigurationParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeConfigurationParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:62:26
[INFO] [stdout]    |
[INFO] [stdout] 62 |             .log_message(MessageType::INFO, "configuration changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeWatchedFilesParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |     async fn did_change_watched_files(&self, _: DidChangeWatchedFilesParams) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeWatchedFilesParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .log_message(MessageType::INFO, "watched files have changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ExecuteCommandParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:72:40
[INFO] [stdout]    |
[INFO] [stdout] 72 |     async fn execute_command(&self, _: ExecuteCommandParams) -> Result<Option<Value>> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::ExecuteCommandParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |             .log_message(MessageType::INFO, "command executed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WorkspaceEdit` in this scope
[INFO] [stdout]   --> examples/stdio.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |         match self.client.apply_edit(WorkspaceEdit::default()).await {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `WorkspaceEdit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::WorkspaceEdit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:78:63
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Ok(res) if res.applied => self.client.log_message(MessageType::INFO, "applied").await,
[INFO] [stdout]    |                                                               ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:79:46
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Ok(_) => self.client.log_message(MessageType::INFO, "rejected").await,
[INFO] [stdout]    |                                              ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:80:49
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Err(err) => self.client.log_message(MessageType::ERROR, err).await,
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidOpenTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:86:33
[INFO] [stdout]    |
[INFO] [stdout] 86 |     async fn did_open(&self, _: DidOpenTextDocumentParams) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidOpenTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:88:26
[INFO] [stdout]    |
[INFO] [stdout] 88 |             .log_message(MessageType::INFO, "file opened!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidChangeTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout] 92 |     async fn did_change(&self, _: DidChangeTextDocumentParams) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidChangeTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]   --> examples/stdio.rs:94:26
[INFO] [stdout]    |
[INFO] [stdout] 94 |             .log_message(MessageType::INFO, "file changed!")
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::MessageType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidSaveTextDocumentParams` in this scope
[INFO] [stdout]   --> examples/stdio.rs:98:33
[INFO] [stdout]    |
[INFO] [stdout] 98 |     async fn did_save(&self, _: DidSaveTextDocumentParams) {
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use lsp_types::DidSaveTextDocumentParams;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/stdio.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |             .log_message(MessageType::INFO, "file saved!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DidCloseTextDocumentParams` in this scope
[INFO] [stdout]    --> examples/stdio.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 |     async fn did_close(&self, _: DidCloseTextDocumentParams) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::DidCloseTextDocumentParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MessageType` in this scope
[INFO] [stdout]    --> examples/stdio.rs:106:26
[INFO] [stdout]     |
[INFO] [stdout] 106 |             .log_message(MessageType::INFO, "file closed!")
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `MessageType`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::MessageType;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionParams` in this scope
[INFO] [stdout]    --> examples/stdio.rs:110:35
[INFO] [stdout]     |
[INFO] [stdout] 110 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionParams;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/stdio.rs:110:70
[INFO] [stdout]     |
[INFO] [stdout] 110 |     async fn completion(&self, _: CompletionParams) -> Result<Option<CompletionResponse>> {
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionResponse` in this scope
[INFO] [stdout]    --> examples/stdio.rs:111:17
[INFO] [stdout]     |
[INFO] [stdout] 111 |         Ok(Some(CompletionResponse::Array(vec![
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ use of undeclared type `CompletionResponse`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionResponse;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/stdio.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             CompletionItem::new_simple("Hello".to_string(), "Some detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CompletionItem` in this scope
[INFO] [stdout]    --> examples/stdio.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             CompletionItem::new_simple("Bye".to_string(), "More detail".to_string()),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `CompletionItem`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use lsp_types::CompletionItem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `felixs-tower-lsp` (example "websocket") due to 43 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `felixs-tower-lsp` (example "stdio") due to 43 previous errors
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/service/client/pending.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |         struct Waiters(usize);
[INFO] [stdout]    |                ------- ^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Waiters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1", kill_on_drop: false }`
[INFO] [stdout] 62aaae1f4f354697ca6ffd5980efe85e0e16c8525a3eb4470e712fb841d78ae1
