[INFO] fetching crate async-lsp-client 0.2.3...
[INFO] testing async-lsp-client-0.2.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate async-lsp-client 0.2.3 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate async-lsp-client 0.2.3
[INFO] finished tweaking crates.io crate async-lsp-client 0.2.3
[INFO] tweaked toml for crates.io crate async-lsp-client 0.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate async-lsp-client 0.2.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate async-lsp-client 0.2.3 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 quote v1.0.36
[INFO] [stderr]   Downloaded tower-layer v0.3.2
[INFO] [stderr]   Downloaded tower-service v0.3.2
[INFO] [stderr]   Downloaded unicode-ident v1.0.12
[INFO] [stderr]   Downloaded tower-lsp-macros v0.9.0
[INFO] [stderr]   Downloaded once_cell v1.19.0
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.1
[INFO] [stderr]   Downloaded pin-project v1.1.5
[INFO] [stderr]   Downloaded auto_impl v1.2.0
[INFO] [stderr]   Downloaded async-trait v0.1.81
[INFO] [stderr]   Downloaded tinyvec v1.8.0
[INFO] [stderr]   Downloaded url v2.5.2
[INFO] [stderr]   Downloaded cc v1.1.8
[INFO] [stderr]   Downloaded unicode-normalization v0.1.23
[INFO] [stderr]   Downloaded mio v1.0.1
[INFO] [stderr]   Downloaded backtrace v0.3.73
[INFO] [stderr]   Downloaded tokio-util v0.7.11
[INFO] [stderr]   Downloaded tower v0.4.13
[INFO] [stderr]   Downloaded addr2line v0.22.0
[INFO] [stderr]   Downloaded miniz_oxide v0.7.4
[INFO] [stderr]   Downloaded idna v0.5.0
[INFO] [stderr]   Downloaded gimli v0.29.0
[INFO] [stderr]   Downloaded object v0.36.3
[INFO] [stderr]   Downloaded bytes v1.7.1
[INFO] [stderr]   Downloaded futures-channel v0.3.30
[INFO] [stderr]   Downloaded dashmap v5.5.3
[INFO] [stderr]   Downloaded httparse v1.9.4
[INFO] [stderr]   Downloaded futures-io v0.3.30
[INFO] [stderr]   Downloaded futures-sink v0.3.30
[INFO] [stderr]   Downloaded pin-project-internal v1.1.5
[INFO] [stderr]   Downloaded tower-lsp v0.20.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.3
[INFO] [stderr]   Downloaded futures v0.3.30
[INFO] [stderr]   Downloaded serde_repr v0.1.19
[INFO] [stderr]   Downloaded unicode-bidi v0.3.15
[INFO] [stderr]   Downloaded adler v1.0.2
[INFO] [stderr]   Downloaded tokio v1.44.2
[INFO] [stderr]   Downloaded lsp-types v0.94.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ccbaf4d94cad903c4ad853ca5722c8e342ce7fb721b8a1a89445246eb874826a
[INFO] running `Command { std: "docker" "start" "-a" "ccbaf4d94cad903c4ad853ca5722c8e342ce7fb721b8a1a89445246eb874826a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ccbaf4d94cad903c4ad853ca5722c8e342ce7fb721b8a1a89445246eb874826a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccbaf4d94cad903c4ad853ca5722c8e342ce7fb721b8a1a89445246eb874826a", kill_on_drop: false }`
[INFO] [stdout] ccbaf4d94cad903c4ad853ca5722c8e342ce7fb721b8a1a89445246eb874826a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c7ff5f978455106e71d72fc4e4fad3343007ed8f7530ad8ba588f026e9ba6c4
[INFO] running `Command { std: "docker" "start" "-a" "8c7ff5f978455106e71d72fc4e4fad3343007ed8f7530ad8ba588f026e9ba6c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling auto_impl v1.2.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling lsp-types v0.94.1
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling async-lsp-client v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.69s
[INFO] running `Command { std: "docker" "inspect" "8c7ff5f978455106e71d72fc4e4fad3343007ed8f7530ad8ba588f026e9ba6c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c7ff5f978455106e71d72fc4e4fad3343007ed8f7530ad8ba588f026e9ba6c4", kill_on_drop: false }`
[INFO] [stdout] 8c7ff5f978455106e71d72fc4e4fad3343007ed8f7530ad8ba588f026e9ba6c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 49d651544830f7f298cdb5563be37e70cc42b4266e1a423e6d3e3a5ff4aeb9f4
[INFO] running `Command { std: "docker" "start" "-a" "49d651544830f7f298cdb5563be37e70cc42b4266e1a423e6d3e3a5ff4aeb9f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling async-lsp-client v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "49d651544830f7f298cdb5563be37e70cc42b4266e1a423e6d3e3a5ff4aeb9f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49d651544830f7f298cdb5563be37e70cc42b4266e1a423e6d3e3a5ff4aeb9f4", kill_on_drop: false }`
[INFO] [stdout] 49d651544830f7f298cdb5563be37e70cc42b4266e1a423e6d3e3a5ff4aeb9f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4550d09078834f4e7a99e10f6cba4db5de47f2188c442ef7825bf62a83ae6931
[INFO] running `Command { std: "docker" "start" "-a" "4550d09078834f4e7a99e10f6cba4db5de47f2188c442ef7825bf62a83ae6931", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_lsp_client-570b253e880ebaac)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests async_lsp_client
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 33) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 47) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `server`
[INFO] [stdout]   --> src/lib.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | DidOpenTextDocument
[INFO] [stdout]    |                    - expected one of `!` or `::`
[INFO] [stdout] 24 | server.send_notification::<DidOpenTextDocument>(DidOpenTextDocumentParams { ... }).await;
[INFO] [stdout]    | ^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 33) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/lib.rs:35:51
[INFO] [stdout]    |
[INFO] [stdout] 35 | server.send_request::<HoverRequest>(HoverParams { ... }).await;
[INFO] [stdout]    |                                     -----------   ^^^ expected identifier
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/lib.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 | server.send_request::<Completion>(CompletionParams { ... }).await;
[INFO] [stdout]    |                                   ----------------   ^^^ expected identifier
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/lib.rs:39:62
[INFO] [stdout]    |
[INFO] [stdout] 39 | server.send_request::<GotoDefinition>(GotoDefinitionParams { ... }).await;
[INFO] [stdout]    |                                       --------------------   ^^^ expected identifier
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | server.send_request::<HoverRequest>(HoverParams { ... }).await;
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HoverParams` in this scope
[INFO] [stdout]   --> src/lib.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 | server.send_request::<HoverRequest>(HoverParams { ... }).await;
[INFO] [stdout]    |                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HoverRequest` in this scope
[INFO] [stdout]   --> src/lib.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 | server.send_request::<HoverRequest>(HoverParams { ... }).await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0<HoverRequest>() {
[INFO] [stdout]    |                                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | server.send_request::<Completion>(CompletionParams { ... }).await;
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CompletionParams` in this scope
[INFO] [stdout]   --> src/lib.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 | server.send_request::<Completion>(CompletionParams { ... }).await;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Completion` in this scope
[INFO] [stdout]   --> src/lib.rs:37:23
[INFO] [stdout]    |
[INFO] [stdout] 37 | server.send_request::<Completion>(CompletionParams { ... }).await;
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0<Completion>() {
[INFO] [stdout]    |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | server.send_request::<GotoDefinition>(GotoDefinitionParams { ... }).await;
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GotoDefinitionParams` in this scope
[INFO] [stdout]   --> src/lib.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 | server.send_request::<GotoDefinition>(GotoDefinitionParams { ... }).await;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GotoDefinition` in this scope
[INFO] [stdout]   --> src/lib.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 | server.send_request::<GotoDefinition>(GotoDefinitionParams { ... }).await;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0<GotoDefinition>() {
[INFO] [stdout]    |                                                                      ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:35:58
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 34 | // hover
[INFO] [stdout] 35 | server.send_request::<HoverRequest>(HoverParams { ... }).await;
[INFO] [stdout]    |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:37:61
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 37 | server.send_request::<Completion>(CompletionParams { ... }).await;
[INFO] [stdout]    |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:39:69
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_33_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 39 | server.send_request::<GotoDefinition>(GotoDefinitionParams { ... }).await;
[INFO] [stdout]    |                                                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LspServer`
[INFO] [stdout]   --> src/lib.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | let (server, rx) = LspServer::new("deno", ["lsp"]);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `LspServer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  9 + use async_lsp_client::LspServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `initializeParams` in this scope
[INFO] [stdout]   --> src/lib.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 | let initializeResult = server.initialize(initializeParams).await;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:12:60
[INFO] [stdout]    |
[INFO] [stdout]  9 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_9_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | let initializeResult = server.initialize(initializeParams).await;
[INFO] [stdout]    |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:12:24
[INFO] [stdout]    |
[INFO] [stdout] 12 | let initializeResult = server.initialize(initializeParams).await;
[INFO] [stdout]    |                        ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 | let server_ = server.clone(); // Clone the server is used to move.
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `rx` in this scope
[INFO] [stdout]   --> src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let message = rx.recv().await.unwrap();
[INFO] [stdout]    |                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerMessage`
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ServerMessage::Notification(_) => {},
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ServerMessage`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 47 + use async_lsp_client::ServerMessage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerMessage`
[INFO] [stdout]   --> src/lib.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             ServerMessage::Request(req) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ServerMessage`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 47 + use async_lsp_client::ServerMessage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WorkspaceConfiguration` in this scope
[INFO] [stdout]   --> src/lib.rs:60:49
[INFO] [stdout]    |
[INFO] [stdout] 60 |                         server_.send_response::<WorkspaceConfiguration>(id, vec![])
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_47_0<WorkspaceConfiguration>() {
[INFO] [stdout]    |                                                                      ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WorkDoneProgressCreate` in this scope
[INFO] [stdout]   --> src/lib.rs:65:46
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...                   .send_response::<WorkDoneProgressCreate>(id, ())
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_47_0<WorkDoneProgressCreate>() {
[INFO] [stdout]    |                                                                      ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpc`
[INFO] [stdout]   --> src/lib.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   jsonrpc::Error {
[INFO] [stdout]    |                       ^^^^^^^ use of unresolved module or unlinked crate `jsonrpc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jsonrpc`, use `cargo add jsonrpc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 47 + use tower_lsp::jsonrpc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpc`
[INFO] [stdout]   --> src/lib.rs:73:43
[INFO] [stdout]    |
[INFO] [stdout] 73 | ...                   code: jsonrpc::ErrorCode::MethodNotFound,
[INFO] [stdout]    |                             ^^^^^^^ use of unresolved module or unlinked crate `jsonrpc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jsonrpc`, use `cargo add jsonrpc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 47 + use tower_lsp::jsonrpc::ErrorCode;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ErrorCode`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 73 -                                     code: jsonrpc::ErrorCode::MethodNotFound,
[INFO] [stdout] 73 +                                     code: ErrorCode::MethodNotFound,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let message = rx.recv().await.unwrap();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkspaceConfiguration`
[INFO] [stdout]   --> src/lib.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     WorkspaceConfiguration::METHOD => {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `WorkspaceConfiguration`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkDoneProgressCreate`
[INFO] [stdout]   --> src/lib.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     WorkDoneProgressCreate::METHOD => {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `WorkDoneProgressCreate`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 33)
[INFO] [stdout]     src/lib.rs - (line 47)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4550d09078834f4e7a99e10f6cba4db5de47f2188c442ef7825bf62a83ae6931", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4550d09078834f4e7a99e10f6cba4db5de47f2188c442ef7825bf62a83ae6931", kill_on_drop: false }`
[INFO] [stdout] 4550d09078834f4e7a99e10f6cba4db5de47f2188c442ef7825bf62a83ae6931
