[INFO] cloning repository https://github.com/hueindahaus/pycom-wrap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hueindahaus/pycom-wrap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhueindahaus%2Fpycom-wrap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhueindahaus%2Fpycom-wrap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f255a9cd9e442b4d0eb5351757b901467aeb861 [INFO] checking hueindahaus/pycom-wrap against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhueindahaus%2Fpycom-wrap" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hueindahaus/pycom-wrap on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hueindahaus/pycom-wrap [INFO] finished tweaking git repo https://github.com/hueindahaus/pycom-wrap [INFO] tweaked toml for git repo https://github.com/hueindahaus/pycom-wrap written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hueindahaus/pycom-wrap 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 841cc96e7ad49407c7b2934f66a684059cd86864e35f0054eea354825f4bcc8d [INFO] running `Command { std: "docker" "start" "-a" "841cc96e7ad49407c7b2934f66a684059cd86864e35f0054eea354825f4bcc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "841cc96e7ad49407c7b2934f66a684059cd86864e35f0054eea354825f4bcc8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841cc96e7ad49407c7b2934f66a684059cd86864e35f0054eea354825f4bcc8d", kill_on_drop: false }` [INFO] [stdout] 841cc96e7ad49407c7b2934f66a684059cd86864e35f0054eea354825f4bcc8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98a7c5eb1204daa40557e670b4c9dd6590163c25eff55f8a6f635d6dab7556f [INFO] running `Command { std: "docker" "start" "-a" "c98a7c5eb1204daa40557e670b4c9dd6590163c25eff55f8a6f635d6dab7556f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking winnow v0.6.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking pycom-wrap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::Chars` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lsp::lexer::lex` [INFO] [stdout] --> src/lsp/request_handling.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lsp::lexer::lex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/lsp/request_handling.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lsp/request_handling.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle_request<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/rpc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `event`, `info`, and `warn` [INFO] [stdout] --> src/scanner.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::{error, event, info, warn, Level}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/scanner.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `response` and `self` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | request_handling::{self, RequestHandler, RequestHandlerAction}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::Chars` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, str::Chars}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1173:19 [INFO] [stdout] | [INFO] [stdout] 1173 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1183 | / test_line_comment! { [INFO] [stdout] 1184 | | test_line_comment_long: " foo", [INFO] [stdout] 1185 | | test_line_comment_whitespace: " ", [INFO] [stdout] 1186 | | test_line_comment_single_whitespace: " ", [INFO] [stdout] 1187 | | test_line_comment_empty: "", [INFO] [stdout] 1188 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_line_comment` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1194:19 [INFO] [stdout] | [INFO] [stdout] 1194 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1213 | / test_comment_until_eol! { [INFO] [stdout] 1214 | | test_comment_until_windows_eol: WINDOWS_EOL, [INFO] [stdout] 1215 | | test_comment_until_mac_eol: MAC_EOL, [INFO] [stdout] 1216 | | test_comment_until_unix_eol: UNIX_EOL, [INFO] [stdout] 1217 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `test_comment_until_eol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1245:23 [INFO] [stdout] | [INFO] [stdout] 1245 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1273 | / test_indentation_with_eol! { [INFO] [stdout] 1274 | | test_indentation_windows_eol: WINDOWS_EOL, [INFO] [stdout] 1275 | | test_indentation_mac_eol: MAC_EOL, [INFO] [stdout] 1276 | | test_indentation_unix_eol: UNIX_EOL, [INFO] [stdout] 1277 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `test_indentation_with_eol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1283:23 [INFO] [stdout] | [INFO] [stdout] 1283 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1361 | / test_double_dedent_with_eol! { [INFO] [stdout] 1362 | | test_double_dedent_windows_eol: WINDOWS_EOL, [INFO] [stdout] 1363 | | test_double_dedent_mac_eol: MAC_EOL, [INFO] [stdout] 1364 | | test_double_dedent_unix_eol: UNIX_EOL, [INFO] [stdout] 1365 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `test_double_dedent_with_eol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1324:23 [INFO] [stdout] | [INFO] [stdout] 1324 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1367 | / test_double_dedent_with_tabs! { [INFO] [stdout] 1368 | | test_double_dedent_tabs_windows_eol: WINDOWS_EOL, [INFO] [stdout] 1369 | | test_double_dedent_tabs_mac_eol: MAC_EOL, [INFO] [stdout] 1370 | | test_double_dedent_tabs_unix_eol: UNIX_EOL, [INFO] [stdout] 1371 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `test_double_dedent_with_tabs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `full-lexer` [INFO] [stdout] --> src/lsp/lexer/lex.rs:1377:23 [INFO] [stdout] | [INFO] [stdout] 1377 | #[cfg(feature = "full-lexer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] ... [INFO] [stdout] 1433 | / test_newline_in_brackets! { [INFO] [stdout] 1434 | | test_newline_in_brackets_windows_eol: WINDOWS_EOL, [INFO] [stdout] 1435 | | test_newline_in_brackets_mac_eol: MAC_EOL, [INFO] [stdout] 1436 | | test_newline_in_brackets_unix_eol: UNIX_EOL, [INFO] [stdout] 1437 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `full-lexer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `test_newline_in_brackets` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lsp::lexer::lex` [INFO] [stdout] --> src/lsp/request_handling.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lsp::lexer::lex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/lsp/request_handling.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lsp/request_handling.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn handle_request<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/rpc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level`, `event`, `info`, and `warn` [INFO] [stdout] --> src/scanner.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::{error, event, info, warn, Level}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/scanner.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `response` and `self` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | request_handling::{self, RequestHandler, RequestHandlerAction}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_edits` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut text_edits: Vec = Vec::with_capacity(token_groups.len()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_edits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let max_comment_length = self.max_line_length [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/comment_wrapper.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut text_edits: Vec = Vec::with_capacity(token_groups.len()); [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: `line` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | for line in lines {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | fn format_single_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text_edits` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut text_edits: Vec = Vec::with_capacity(token_groups.len()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_edits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let max_comment_length = self.max_line_length [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optionts` [INFO] [stdout] --> src/lsp/request_handling.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | optionts: &FormattingOptions, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optionts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/comment_wrapper.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut text_edits: Vec = Vec::with_capacity(token_groups.len()); [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: `line` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | for line in lines {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_comment_length` [INFO] [stdout] --> src/lsp/comment_wrapper.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | fn format_single_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_comment_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JSON_RPC_DELIMITER` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const JSON_RPC_DELIMITER: &str = "\r\n\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextEdit` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct TextEdit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentWrapper` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct CommentWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl CommentWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 32 | fn process(&self, source: &str) -> Result, LexicalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_multi_line_comments` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_single_line_comments` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn format_single_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_char_index` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn to_char_index>(chars: T, utf_8_offset: TextSize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lsp/lexer/lex.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum LexicalErrorType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | UnicodeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DefaultArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// A duplicate argument was found in a function definition. [INFO] [stdout] 31 | DuplicateArgumentError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// A positional argument follows a keyword argument. [INFO] [stdout] 33 | PositionalArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// An iterable argument unpacking `*args` follows keyword argument unpacking `**kwargs`. [INFO] [stdout] 35 | UnpackedArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | /// A keyword argument was repeated. [INFO] [stdout] 37 | DuplicateKeywordArgumentError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | FStringError, //(FStringErrorType), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexicalErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lsp/lexer/lex.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 146 | / impl CharReader [INFO] [stdout] 147 | | where [INFO] [stdout] 148 | | T: Iterator, [INFO] [stdout] | |_____________________________- associated function in this implementation [INFO] [stdout] 149 | { [INFO] [stdout] 150 | fn new(source: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lsp/lexer/lex.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 196 | / impl Lexer [INFO] [stdout] 197 | | where [INFO] [stdout] 198 | | T: Iterator, [INFO] [stdout] | |_____________________________- associated function in this implementation [INFO] [stdout] 199 | { [INFO] [stdout] 200 | pub fn new(input: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `None`, `True`, `StartModule`, `StartInteractive`, and `StartExpression` are never constructed [INFO] [stdout] --> src/lsp/lexer/token.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 148 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | StartModule, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 191 | StartInteractive, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | StartExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_raw`, `is_any_fstring`, `is_any_bytes`, and `is_unicode` are never used [INFO] [stdout] --> src/lsp/lexer/token.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 417 | impl StringKind { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn is_raw(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn is_any_fstring(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_any_bytes(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn is_unicode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/lsp/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | Request { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 11 | jsonrpc: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncommingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/lsp/request.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | Notification { method: String, jsonrpc: &'a str }, [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IncommingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lsp/response.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ResponseErrorCode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 23 | ParseError = -32700, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | InvalidRequest = -32600, [INFO] [stdout] 25 | MethodNotFound = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidParams = -32602, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | InternalError = -32603, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | ServerNotInitialized = -32002, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | UnknownErrorCode = -32001, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | RequestFailed = -32803, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | ServerCancelled = -32802, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | ContentModified = -32801, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | RequestCancelled = -32800, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Number`, and `Bool` are never constructed [INFO] [stdout] --> src/lsp/response.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseErrorData<'a> { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 39 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Number(i32), // Maybe change this based on whatever this is intended to be represented as [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cut_data` is never used [INFO] [stdout] --> src/rpc.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cut_data(data: &[u8]) -> Result<(&[u8], &[u8]), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optionts` [INFO] [stdout] --> src/lsp/request_handling.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | optionts: &FormattingOptions, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optionts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JSON_RPC_DELIMITER` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const JSON_RPC_DELIMITER: &str = "\r\n\r\n"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Range` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextEdit` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct TextEdit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentWrapper` is never constructed [INFO] [stdout] --> src/lsp/comment_wrapper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct CommentWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl CommentWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 32 | fn process(&self, source: &str) -> Result, LexicalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_multi_line_comments` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn format_multi_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_single_line_comments` is never used [INFO] [stdout] --> src/lsp/comment_wrapper.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn format_single_line_comments(mut str: String, max_comment_length: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lsp/lexer/lex.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum LexicalErrorType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | UnicodeError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | DefaultArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | /// A duplicate argument was found in a function definition. [INFO] [stdout] 31 | DuplicateArgumentError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// A positional argument follows a keyword argument. [INFO] [stdout] 33 | PositionalArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | /// An iterable argument unpacking `*args` follows keyword argument unpacking `**kwargs`. [INFO] [stdout] 35 | UnpackedArgumentError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | /// A keyword argument was repeated. [INFO] [stdout] 37 | DuplicateKeywordArgumentError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | FStringError, //(FStringErrorType), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexicalErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `None`, `True`, `StartModule`, `StartInteractive`, and `StartExpression` are never constructed [INFO] [stdout] --> src/lsp/lexer/token.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 148 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 149 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 150 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | StartModule, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 191 | StartInteractive, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | StartExpression, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_raw`, `is_any_fstring`, `is_any_bytes`, and `is_unicode` are never used [INFO] [stdout] --> src/lsp/lexer/token.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 417 | impl StringKind { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn is_raw(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn is_any_fstring(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_any_bytes(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn is_unicode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/lsp/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | Request { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 11 | jsonrpc: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncommingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jsonrpc` is never read [INFO] [stdout] --> src/lsp/request.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | Notification { method: String, jsonrpc: &'a str }, [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IncommingMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lsp/response.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum ResponseErrorCode { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 23 | ParseError = -32700, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | InvalidRequest = -32600, [INFO] [stdout] 25 | MethodNotFound = -32601, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidParams = -32602, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | InternalError = -32603, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | ServerNotInitialized = -32002, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | UnknownErrorCode = -32001, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | RequestFailed = -32803, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | ServerCancelled = -32802, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | ContentModified = -32801, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | RequestCancelled = -32800, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Number`, and `Bool` are never constructed [INFO] [stdout] --> src/lsp/response.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum ResponseErrorData<'a> { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 39 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | Number(i32), // Maybe change this based on whatever this is intended to be represented as [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cut_data` is never used [INFO] [stdout] --> src/rpc.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cut_data(data: &[u8]) -> Result<(&[u8], &[u8]), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.38s [INFO] running `Command { std: "docker" "inspect" "c98a7c5eb1204daa40557e670b4c9dd6590163c25eff55f8a6f635d6dab7556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98a7c5eb1204daa40557e670b4c9dd6590163c25eff55f8a6f635d6dab7556f", kill_on_drop: false }` [INFO] [stdout] c98a7c5eb1204daa40557e670b4c9dd6590163c25eff55f8a6f635d6dab7556f