[INFO] cloning repository https://github.com/clpi/downls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clpi/downls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Fdownls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Fdownls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aea6978a8609b58a59a2799cfd66943d4441a2d2 [INFO] checking clpi/downls against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Fdownls" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/clpi/downls [INFO] finished tweaking git repo https://github.com/clpi/downls [INFO] tweaked toml for git repo https://github.com/clpi/downls written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clpi/downls on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/clpi/downls 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f0720ea8da437b4fb2ec0dae6747120aefa0070b0b2570367318c3dcda9e348 [INFO] running `Command { std: "docker" "start" "-a" "6f0720ea8da437b4fb2ec0dae6747120aefa0070b0b2570367318c3dcda9e348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f0720ea8da437b4fb2ec0dae6747120aefa0070b0b2570367318c3dcda9e348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0720ea8da437b4fb2ec0dae6747120aefa0070b0b2570367318c3dcda9e348", kill_on_drop: false }` [INFO] [stdout] 6f0720ea8da437b4fb2ec0dae6747120aefa0070b0b2570367318c3dcda9e348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 772ee3868ef0571d1219dc9a7ff639979e10a1aa450e719ca83184f7941c63ca [INFO] running `Command { std: "docker" "start" "-a" "772ee3868ef0571d1219dc9a7ff639979e10a1aa450e719ca83184f7941c63ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking rsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/handle/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Value` [INFO] [stdout] --> src/handle/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteCommandOptions` [INFO] [stdout] --> src/handle/action/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | CodeActionParams, CodeActionResponse, ExecuteCommandOptions, ExecuteCommandParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/handle/document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/handle/document/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, field, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/handle/workspace/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodeActionOptions`, `CodeActionProviderCapability`, `ColorProviderOptions`, `CompletionItem`, `SelectionRangeOptions`, `SelectionRangeProviderCapability`, `SemanticTokensServerCapabilities`, `ServerInfo`, `Server`, `TextDocumentSyncCapability`, and `WorkDoneProgressOptions` [INFO] [stdout] --> src/server/capabilities.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | CodeActionOptions, CodeActionProviderCapability, ColorProviderOptions, CompletionItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | CompletionOptions, CompletionOptionsCompletionItem, ExecuteCommandOptions, [INFO] [stdout] 5 | SelectionRangeOptions, SelectionRangeProviderCapability, SemanticTokensServerCapabilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ServerCapabilities, ServerInfo, TextDocumentSyncCapability, WorkDoneProgressOptions, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::DownServer` [INFO] [stdout] --> src/server/capabilities.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::DownServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle::{ [INFO] [stdout] [INFO] [stdout] }` [INFO] [stdout] --> src/server/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | / handle::{ [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | }, [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::ready` [INFO] [stdout] --> src/server/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future::ready, FutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/server/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `path::PathBuf` [INFO] [stdout] --> src/server/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | sync::{ [INFO] [stdout] 22 | atomic::{AtomicBool, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/server/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | use tracing::{debug, error, field, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/handle/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Value` [INFO] [stdout] --> src/handle/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteCommandOptions` [INFO] [stdout] --> src/handle/action/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | CodeActionParams, CodeActionResponse, ExecuteCommandOptions, ExecuteCommandParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/handle/document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/handle/document/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, field, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `Result` [INFO] [stdout] --> src/handle/workspace/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CodeActionOptions`, `CodeActionProviderCapability`, `ColorProviderOptions`, `CompletionItem`, `SelectionRangeOptions`, `SelectionRangeProviderCapability`, `SemanticTokensServerCapabilities`, `ServerInfo`, `Server`, `TextDocumentSyncCapability`, and `WorkDoneProgressOptions` [INFO] [stdout] --> src/server/capabilities.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | CodeActionOptions, CodeActionProviderCapability, ColorProviderOptions, CompletionItem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | CompletionOptions, CompletionOptionsCompletionItem, ExecuteCommandOptions, [INFO] [stdout] 5 | SelectionRangeOptions, SelectionRangeProviderCapability, SemanticTokensServerCapabilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ServerCapabilities, ServerInfo, TextDocumentSyncCapability, WorkDoneProgressOptions, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::DownServer` [INFO] [stdout] --> src/server/capabilities.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::DownServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle::{ [INFO] [stdout] [INFO] [stdout] }` [INFO] [stdout] --> src/server/mod.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | / handle::{ [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | }, [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::ready` [INFO] [stdout] --> src/server/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future::ready, FutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/server/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `path::PathBuf` [INFO] [stdout] --> src/server/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | sync::{ [INFO] [stdout] 22 | atomic::{AtomicBool, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/server/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | use tracing::{debug, error, field, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/action/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/action/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn execute_command(s: &DownSession, p: ExecuteCommandParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/action/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/completion/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/completion/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn did_open(s: &DownSession, p: DidOpenTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn did_change(s: &DownSession, p: DidChangeTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/action/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/action/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn execute_command(s: &DownSession, p: ExecuteCommandParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn did_save(s: &DownSession, p: DidSaveTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/action/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn did_close(s: &DownSession, p: DidCloseTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/hint/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/completion/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/hint/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/completion/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/lens/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn code_lens(s: &mut DownSession, p: CodeLensParams) -> super::Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handle/lens/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut lens = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn did_open(s: &DownSession, p: DidOpenTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/lens/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn did_change(s: &DownSession, p: DidChangeTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn configure(s: &mut DownSession, p: ConfigurationParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn execute_command(s: &mut DownSession, p: ExecuteCommandParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | s: &DownSession, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn did_save(s: &DownSession, p: DidSaveTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn rename(s: &mut DownSession, p: RenameParams) -> anyhow::Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/workspace/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let uri = p.text_document_position.text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/handle/workspace/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let position = p.text_document_position.position; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handle/workspace/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut changes = HashMap::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/document/mod.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn did_close(s: &DownSession, p: DidCloseTextDocumentParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/hint/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/hint/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/lens/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn code_lens(s: &mut DownSession, p: CodeLensParams) -> super::Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handle/lens/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut lens = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/lens/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | session: &mut DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn configure(s: &mut DownSession, p: ConfigurationParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `tower_lsp::lsp_types::InitializeParams::root_path`: Use `root_uri` instead when possible [INFO] [stdout] --> src/server/mod.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | root_path = p.root_path, [INFO] [stdout] | _______________________^ [INFO] [stdout] 57 | | capabilities = field::debug(&p.capabilities), [INFO] [stdout] 58 | | client_info = p.client_info.as_ref().map(field::debug), [INFO] [stdout] 59 | | workspace_folders = p.workspace_folders.as_ref().map(field::debug), [INFO] [stdout] 60 | | ) [INFO] [stdout] 61 | | )] [INFO] [stdout] 62 | | async fn initialize(&self, p: InitializeParams) -> JsonRpcResult { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn execute_command(s: &mut DownSession, p: ExecuteCommandParams) -> anyhow::Result<()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/server/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future::ready, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/handle/workspace/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn rename(s: &mut DownSession, p: RenameParams) -> anyhow::Result> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/workspace/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let uri = p.text_document_position.text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/handle/workspace/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let position = p.text_document_position.position; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handle/workspace/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut changes = HashMap::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let uri = params.text_document.uri.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let uri = params.text_document.uri.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let uri = params.text_document_position.text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `tower_lsp::lsp_types::InitializeParams::root_path`: Use `root_uri` instead when possible [INFO] [stdout] --> src/server/mod.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | root_path = p.root_path, [INFO] [stdout] | _______________________^ [INFO] [stdout] 57 | | capabilities = field::debug(&p.capabilities), [INFO] [stdout] 58 | | client_info = p.client_info.as_ref().map(field::debug), [INFO] [stdout] 59 | | workspace_folders = p.workspace_folders.as_ref().map(field::debug), [INFO] [stdout] 60 | | ) [INFO] [stdout] 61 | | )] [INFO] [stdout] 62 | | async fn initialize(&self, p: InitializeParams) -> JsonRpcResult { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/server/mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | async fn initialize(&self, p: InitializeParams) -> JsonRpcResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/server/mod.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | async fn initialized(&self, p: InitializedParams) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/server/mod.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future::ready, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let uri = params.text_document.uri.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let uri = params.text_document.uri.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/handle/document/format.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | session: &DownSession, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/handle/document/format.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let uri = params.text_document_position.text_document.uri; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/server/mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | async fn initialize(&self, p: InitializeParams) -> JsonRpcResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/server/mod.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | async fn initialized(&self, p: InitializedParams) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/bin/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let (srvc, sock) = LspService::new(|client| DownServer { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/bin/main.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let (srvc, sock) = LspService::new(|client| DownServer { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.29s [INFO] running `Command { std: "docker" "inspect" "772ee3868ef0571d1219dc9a7ff639979e10a1aa450e719ca83184f7941c63ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772ee3868ef0571d1219dc9a7ff639979e10a1aa450e719ca83184f7941c63ca", kill_on_drop: false }` [INFO] [stdout] 772ee3868ef0571d1219dc9a7ff639979e10a1aa450e719ca83184f7941c63ca