[INFO] fetching crate sync-lsp 0.1.0... [INFO] checking sync-lsp-0.1.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate sync-lsp 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sync-lsp 0.1.0 [INFO] finished tweaking crates.io crate sync-lsp 0.1.0 [INFO] tweaked toml for crates.io crate sync-lsp 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sync-lsp 0.1.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding mio v0.8.11 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4673d9b7d541dc6bf6f682de55f4ba096443b45848a4c1480b64e6d2466a8938 [INFO] running `Command { std: "docker" "start" "-a" "4673d9b7d541dc6bf6f682de55f4ba096443b45848a4c1480b64e6d2466a8938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4673d9b7d541dc6bf6f682de55f4ba096443b45848a4c1480b64e6d2466a8938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4673d9b7d541dc6bf6f682de55f4ba096443b45848a4c1480b64e6d2466a8938", kill_on_drop: false }` [INFO] [stdout] 4673d9b7d541dc6bf6f682de55f4ba096443b45848a4c1480b64e6d2466a8938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb348b3815467b508cb29fb82e4af5243a2ed2bb996cc2bbcb96d9b2546408b [INFO] running `Command { std: "docker" "start" "-a" "bfb348b3815467b508cb29fb82e4af5243a2ed2bb996cc2bbcb96d9b2546408b", kill_on_drop: false }` [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling sync-lsp-derive v0.1.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking sync-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DynamicRegistration` is never constructed [INFO] [stdout] --> src/lifecycle/initialize.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct DynamicRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn process_id(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn root_uri(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn initialization_options(&self) -> Option<&T::InitializeOptions> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn split(&mut self) -> (&mut Connection, &mut T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn serve(self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/mod.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn set_document_sync(&mut self, sync_kind: TextDocumentSyncKind) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_open.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn on_open(&mut self, callback: fn(&mut Server, TextDocumentItem)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_change.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn on_change(&mut self, callback: fn(&mut Server, VersionedTextDocumentIdentifier, Vec)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/will_save.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn on_will_save(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, TextDocumentSaveReason)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/will_save_wait_until.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn on_will_save_wait_until(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, TextDocumentSaveReason) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_save.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn on_save(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Option)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_save.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn set_save_include_text(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_close.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn on_close(&mut self, callback: fn(&mut Server, TextDocumentIdentifer)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn on_completion(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> CompletionList) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn on_resolve_completion(&mut self, callback: fn(&mut Server, CompletionItem) -> CompletionItem) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn set_completion_trigger_character(&mut self, trigger_characters: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn snippet_support(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/hover.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn on_hover(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Hover) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/signature_help.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn on_signature_help(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> SignatureHelp) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/signature_help.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn set_signature_help_trigger_characters(&mut self, value: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/references.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn on_references(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, context: ReferenceContext) -> Vec... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_highlight.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn on_document_highlight(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_symbol.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_document_symbol(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/formatting.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn on_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, FormattingOptions) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/range_formatting.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_range_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Range, FormattingOptions) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn on_type_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, String, FormattingOptions) -... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_on_type_formatting_first_trigger_character(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_on_type_formatting_more_trigger_characters(&mut self, value: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/definition.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn on_definition(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_action.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn on_code_action(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Range, CodeActionContext) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_lens.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn on_code_lens(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_lens.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn on_resolve_code_lens(&mut self, callback: fn(&mut Server, CodeLens) -> CodeLens Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_link.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn on_document_link(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_link.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_document_link_resolve(&mut self, callback: fn(&mut Server, DocumentLink) -> DocumentLink) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/rename.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_rename(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, String) -> WorkspaceEdit) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/window/show_message_request.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn on_show_message_response(&mut self, callback: fn(&mut Server, MessageActionItem)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/did_change_configuration.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn on_change_configuration(&mut self, callback: fn(&mut Server, T::Configuration)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/did_change_watched_files.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn on_change_watched_files(&mut self, callback: fn (&mut Server, Vec)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/symbol.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn on_symbol(&mut self, callback: fn(&mut Server, String) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/execute_command.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn on_execute_command(&mut self, callback: fn(&mut Server, T::Command) -> R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/apply_edit.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn on_apply_edit_response(&mut self, callback: fn(&mut Server, T::ApplyEditData, ApplyWorkspaceEditResponse)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DynamicRegistration` is never constructed [INFO] [stdout] --> src/lifecycle/initialize.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) struct DynamicRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn process_id(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn root_uri(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn initialization_options(&self) -> Option<&T::InitializeOptions> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn split(&mut self) -> (&mut Connection, &mut T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/connection/mod.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn serve(self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/mod.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn set_document_sync(&mut self, sync_kind: TextDocumentSyncKind) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_open.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn on_open(&mut self, callback: fn(&mut Server, TextDocumentItem)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_change.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn on_change(&mut self, callback: fn(&mut Server, VersionedTextDocumentIdentifier, Vec)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/will_save.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn on_will_save(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, TextDocumentSaveReason)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/will_save_wait_until.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn on_will_save_wait_until(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, TextDocumentSaveReason) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_save.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn on_save(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Option)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_save.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn set_save_include_text(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/did_close.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn on_close(&mut self, callback: fn(&mut Server, TextDocumentIdentifer)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn on_completion(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> CompletionList) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sync-lsp` (lib test) due to 41 previous errors; 1 warning emitted [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn on_resolve_completion(&mut self, callback: fn(&mut Server, CompletionItem) -> CompletionItem) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn set_completion_trigger_character(&mut self, trigger_characters: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/completion.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn snippet_support(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/hover.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn on_hover(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Hover) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/signature_help.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn on_signature_help(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> SignatureHelp) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/signature_help.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn set_signature_help_trigger_characters(&mut self, value: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/references.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn on_references(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, context: ReferenceContext) -> Vec... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_highlight.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn on_document_highlight(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_symbol.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_document_symbol(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/formatting.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn on_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, FormattingOptions) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/range_formatting.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_range_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Range, FormattingOptions) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn on_type_formatting(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, String, FormattingOptions) -... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_on_type_formatting_first_trigger_character(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/on_type_formatting.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn set_on_type_formatting_more_trigger_characters(&mut self, value: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/definition.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn on_definition(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_action.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn on_code_action(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Range, CodeActionContext) -> Vec Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_lens.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn on_code_lens(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/code_lens.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn on_resolve_code_lens(&mut self, callback: fn(&mut Server, CodeLens) -> CodeLens Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_link.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn on_document_link(&mut self, callback: fn(&mut Server, TextDocumentIdentifer) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/document_link.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_document_link_resolve(&mut self, callback: fn(&mut Server, DocumentLink) -> DocumentLink) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/text_document/rename.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_rename(&mut self, callback: fn(&mut Server, TextDocumentIdentifer, Position, String) -> WorkspaceEdit) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/window/show_message_request.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn on_show_message_response(&mut self, callback: fn(&mut Server, MessageActionItem)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/did_change_configuration.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn on_change_configuration(&mut self, callback: fn(&mut Server, T::Configuration)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/did_change_watched_files.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn on_change_watched_files(&mut self, callback: fn (&mut Server, Vec)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/symbol.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn on_symbol(&mut self, callback: fn(&mut Server, String) -> Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/execute_command.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn on_execute_command(&mut self, callback: fn(&mut Server, T::Command) -> R) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/workspace/apply_edit.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn on_apply_edit_response(&mut self, callback: fn(&mut Server, T::ApplyEditData, ApplyWorkspaceEditResponse)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/connection/mod.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | impl Deref for Server { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 223 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sync-lsp` (lib) due to 41 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bfb348b3815467b508cb29fb82e4af5243a2ed2bb996cc2bbcb96d9b2546408b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb348b3815467b508cb29fb82e4af5243a2ed2bb996cc2bbcb96d9b2546408b", kill_on_drop: false }` [INFO] [stdout] bfb348b3815467b508cb29fb82e4af5243a2ed2bb996cc2bbcb96d9b2546408b