[INFO] cloning repository https://github.com/cristicismas/gdscript-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cristicismas/gdscript-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristicismas%2Fgdscript-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristicismas%2Fgdscript-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58ca8d28a99660ddc8278685548223f110551efa [INFO] checking cristicismas/gdscript-lsp against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristicismas%2Fgdscript-lsp" "/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/cristicismas/gdscript-lsp on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cristicismas/gdscript-lsp [INFO] finished tweaking git repo https://github.com/cristicismas/gdscript-lsp [INFO] tweaked toml for git repo https://github.com/cristicismas/gdscript-lsp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cristicismas/gdscript-lsp 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8128c9822e09eff867c235f6dd0dabcbfbc347a955afd045904c570bda2b3c37 [INFO] running `Command { std: "docker" "start" "-a" "8128c9822e09eff867c235f6dd0dabcbfbc347a955afd045904c570bda2b3c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8128c9822e09eff867c235f6dd0dabcbfbc347a955afd045904c570bda2b3c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8128c9822e09eff867c235f6dd0dabcbfbc347a955afd045904c570bda2b3c37", kill_on_drop: false }` [INFO] [stdout] 8128c9822e09eff867c235f6dd0dabcbfbc347a955afd045904c570bda2b3c37 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa8f096a5980419c01c5fbf87cd0389b954dca1a7c6f11b68df593ec5dc0a34 [INFO] running `Command { std: "docker" "start" "-a" "7aa8f096a5980419c01c5fbf87cd0389b954dca1a7c6f11b68df593ec5dc0a34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Checking godot-lsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/analysis/state.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let tokens = file_lexer.tokens; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_code` [INFO] [stdout] --> src/lexer.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_all_tokens(source_code: &'a str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/analysis/state.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let tokens = file_lexer.tokens; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_code` [INFO] [stdout] --> src/lexer.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_all_tokens(source_code: &'a str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hover` is never used [INFO] [stdout] --> src/analysis/state.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn hover(&mut self, id: i32, uri: &str, _position: Position) -> Response { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_document_contents` is never used [INFO] [stdout] --> src/analysis/state.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_document_contents<'a>(documents: &'a HashMap, uri: &str) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum TokenType<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | Keyword(&'a str), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | LiteralConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Punctuator(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | EndOfFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | from: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | to: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `position` are never read [INFO] [stdout] --> src/lexer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Token<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | token_type: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | position: Range, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_file` and `source_code` are never read [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Lexer<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | source_file: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | source_code: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_logs_to` is never used [INFO] [stdout] --> src/logger.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn print_logs_to(message: String, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodeError` is never constructed [INFO] [stdout] --> src/rpc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct DecodeError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoverResponse` is never constructed [INFO] [stdout] --> src/types/lsp_response.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct HoverResponse {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types/lsp_response.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl HoverResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | pub fn new(id: Option, contents: String) -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hover` is never used [INFO] [stdout] --> src/analysis/state.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn hover(&mut self, id: i32, uri: &str, _position: Position) -> Response { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_document_contents` is never used [INFO] [stdout] --> src/analysis/state.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_document_contents<'a>(documents: &'a HashMap, uri: &str) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum TokenType<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | Keyword(&'a str), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | LiteralConstant, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | Punctuator(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | EndOfFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `from` and `to` are never read [INFO] [stdout] --> src/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Range { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | from: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | to: i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `position` are never read [INFO] [stdout] --> src/lexer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Token<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | token_type: TokenType<'a>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | position: Range, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_file` and `source_code` are never read [INFO] [stdout] --> src/lexer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Lexer<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | source_file: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | source_code: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_logs_to` is never used [INFO] [stdout] --> src/logger.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn print_logs_to(message: String, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodeError` is never constructed [INFO] [stdout] --> src/rpc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct DecodeError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HoverResponse` is never constructed [INFO] [stdout] --> src/types/lsp_response.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct HoverResponse {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types/lsp_response.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl HoverResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | pub fn new(id: Option, contents: String) -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.98s [INFO] running `Command { std: "docker" "inspect" "7aa8f096a5980419c01c5fbf87cd0389b954dca1a7c6f11b68df593ec5dc0a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa8f096a5980419c01c5fbf87cd0389b954dca1a7c6f11b68df593ec5dc0a34", kill_on_drop: false }` [INFO] [stdout] 7aa8f096a5980419c01c5fbf87cd0389b954dca1a7c6f11b68df593ec5dc0a34