[INFO] fetching crate cql_lsp 1.0.3... [INFO] testing cql_lsp-1.0.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cql_lsp 1.0.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cql_lsp 1.0.3 [INFO] finished tweaking crates.io crate cql_lsp 1.0.3 [INFO] tweaked toml for crates.io crate cql_lsp 1.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cql_lsp 1.0.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cql_lsp 1.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c746ac40a087164bf20b42ed25c596412cf23a4d7f79e9c2272b9f8c20036558 [INFO] running `Command { std: "docker" "start" "-a" "c746ac40a087164bf20b42ed25c596412cf23a4d7f79e9c2272b9f8c20036558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c746ac40a087164bf20b42ed25c596412cf23a4d7f79e9c2272b9f8c20036558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c746ac40a087164bf20b42ed25c596412cf23a4d7f79e9c2272b9f8c20036558", kill_on_drop: false }` [INFO] [stdout] c746ac40a087164bf20b42ed25c596412cf23a4d7f79e9c2272b9f8c20036558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a4280f6450a2920d9bf73a2c775331464c28887949922c9c32aa3356a2035f [INFO] running `Command { std: "docker" "start" "-a" "40a4280f6450a2920d9bf73a2c775331464c28887949922c9c32aa3356a2035f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tree-sitter v0.25.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling scylla-macros v1.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tttx-tree-sitter-cql v0.1.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling fern v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling scylla-cql v1.1.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling scylla v1.1.0 [INFO] [stderr] Compiling tower-lsp v0.20.0 [INFO] [stderr] Compiling cql_lsp v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Node` and `TreeCursor` [INFO] [stdout] --> src/tree_sitter.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::{Node, Parser, TreeCursor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(mut offset_x) = line.find(&line_type) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | let mut working_line = String::from(&lines[offset.0]); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:465:51 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/completions.rs:465:63 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/completions.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | let mut result_str: String; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:1762:48 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/completions.rs:1762:60 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_url` [INFO] [stdout] --> src/formatting.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | document_url: &Url, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn add_comma_to_fields(&self, lines: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn format_table_fields(&self, lines: &mut Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 47s [INFO] running `Command { std: "docker" "inspect" "40a4280f6450a2920d9bf73a2c775331464c28887949922c9c32aa3356a2035f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a4280f6450a2920d9bf73a2c775331464c28887949922c9c32aa3356a2035f", kill_on_drop: false }` [INFO] [stdout] 40a4280f6450a2920d9bf73a2c775331464c28887949922c9c32aa3356a2035f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b94f3630fe458671213d3c6f8ce88c6bde26d8ea0a22cf8b9002fd9e5695e6c [INFO] running `Command { std: "docker" "start" "-a" "0b94f3630fe458671213d3c6f8ce88c6bde26d8ea0a22cf8b9002fd9e5695e6c", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Node` and `TreeCursor` [INFO] [stdout] --> src/tree_sitter.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::{Node, Parser, TreeCursor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(mut offset_x) = line.find(&line_type) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | let mut working_line = String::from(&lines[offset.0]); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:465:51 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/completions.rs:465:63 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/completions.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | let mut result_str: String; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:1762:48 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/completions.rs:1762:60 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_url` [INFO] [stdout] --> src/formatting.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | document_url: &Url, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn add_comma_to_fields(&self, lines: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn format_table_fields(&self, lines: &mut Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cql_lsp v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Node` and `TreeCursor` [INFO] [stdout] --> src/tree_sitter.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::{Node, Parser, TreeCursor}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | if let Some(mut offset_x) = line.find(&line_type) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | let mut working_line = String::from(&lines[offset.0]); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:465:51 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/completions.rs:465:63 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/completions.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | let mut result_str: String; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/completions.rs:1762:48 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/completions.rs:1762:60 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document_url` [INFO] [stdout] --> src/formatting.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | document_url: &Url, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn add_comma_to_fields(&self, lines: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/formatting.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | let mut index = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lines` [INFO] [stdout] --> src/formatting.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | pub fn format_table_fields(&self, lines: &mut Vec) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.74s [INFO] running `Command { std: "docker" "inspect" "0b94f3630fe458671213d3c6f8ce88c6bde26d8ea0a22cf8b9002fd9e5695e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b94f3630fe458671213d3c6f8ce88c6bde26d8ea0a22cf8b9002fd9e5695e6c", kill_on_drop: false }` [INFO] [stdout] 0b94f3630fe458671213d3c6f8ce88c6bde26d8ea0a22cf8b9002fd9e5695e6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78cc7fa22e13a6d3f3e7460e95b0eea805b08fa9e606dcca6cccd065d2c26e4c [INFO] running `Command { std: "docker" "start" "-a" "78cc7fa22e13a6d3f3e7460e95b0eea805b08fa9e606dcca6cccd065d2c26e4c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Node` and `TreeCursor` [INFO] [stderr] --> src/tree_sitter.rs:3:19 [INFO] [stderr] | [INFO] [stderr] 3 | use tree_sitter::{Node, Parser, TreeCursor}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/formatting.rs:155:29 [INFO] [stderr] | [INFO] [stderr] 155 | if let Some(mut offset_x) = line.find(&line_type) { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/formatting.rs:172:25 [INFO] [stderr] | [INFO] [stderr] 172 | let mut working_line = String::from(&lines[offset.0]); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/completions.rs:465:51 [INFO] [stderr] | [INFO] [stderr] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/completions.rs:465:63 [INFO] [stderr] | [INFO] [stderr] 465 | pub fn should_suggest_command_sequence(&self, line: &str, position: &Position) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/completions.rs:803:13 [INFO] [stderr] | [INFO] [stderr] 803 | let mut result_str: String; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/completions.rs:1762:48 [INFO] [stderr] | [INFO] [stderr] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lines` [INFO] [stderr] --> src/completions.rs:1762:60 [INFO] [stderr] | [INFO] [stderr] 1762 | pub fn should_edit_select_statement(&self, line: &str, lines: &Vec) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `document_url` [INFO] [stderr] --> src/formatting.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | document_url: &Url, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_url` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/formatting.rs:558:13 [INFO] [stderr] | [INFO] [stderr] 558 | let mut index = 0; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lines` [INFO] [stderr] --> src/formatting.rs:557:39 [INFO] [stderr] | [INFO] [stderr] 557 | pub fn add_comma_to_fields(&self, lines: &mut Vec) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/formatting.rs:558:13 [INFO] [stderr] | [INFO] [stderr] 558 | let mut index = 0; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lines` [INFO] [stderr] --> src/formatting.rs:689:39 [INFO] [stderr] | [INFO] [stderr] 689 | pub fn format_table_fields(&self, lines: &mut Vec) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lines` [INFO] [stderr] [INFO] [stderr] warning: `cql_lsp` (lib) generated 13 warnings (run `cargo fix --lib -p cql_lsp` to apply 13 suggestions) [INFO] [stderr] warning: `cql_lsp` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cql_lsp-cb544b5d7023b1d4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cql_lsp-186be694a5e798b7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cql_lsp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78cc7fa22e13a6d3f3e7460e95b0eea805b08fa9e606dcca6cccd065d2c26e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78cc7fa22e13a6d3f3e7460e95b0eea805b08fa9e606dcca6cccd065d2c26e4c", kill_on_drop: false }` [INFO] [stdout] 78cc7fa22e13a6d3f3e7460e95b0eea805b08fa9e606dcca6cccd065d2c26e4c