[INFO] cloning repository https://github.com/rcorre/spelgud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcorre/spelgud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcorre%2Fspelgud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcorre%2Fspelgud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c1e72f7ddf090583d66be12eab8ffa620d85b59 [INFO] testing rcorre/spelgud against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcorre%2Fspelgud" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rcorre/spelgud [INFO] finished tweaking git repo https://github.com/rcorre/spelgud [INFO] tweaked toml for git repo https://github.com/rcorre/spelgud written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rcorre/spelgud on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rcorre/spelgud 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" "+beta-2025-10-28" "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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da39294e022f4ecb1cf0e1949eb47108d560f9d9b02e7c6ac22d7364b6f4fc7f [INFO] running `Command { std: "docker" "start" "-a" "da39294e022f4ecb1cf0e1949eb47108d560f9d9b02e7c6ac22d7364b6f4fc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da39294e022f4ecb1cf0e1949eb47108d560f9d9b02e7c6ac22d7364b6f4fc7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da39294e022f4ecb1cf0e1949eb47108d560f9d9b02e7c6ac22d7364b6f4fc7f", kill_on_drop: false }` [INFO] [stdout] da39294e022f4ecb1cf0e1949eb47108d560f9d9b02e7c6ac22d7364b6f4fc7f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78e305571bc457a90c61b29185ae25181594d9bc7fabd5dcac892876df127e4d [INFO] running `Command { std: "docker" "start" "-a" "78e305571bc457a90c61b29185ae25181594d9bc7fabd5dcac892876df127e4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling lsp-server v0.7.4 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling spelgud v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/workspace.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | uri: &Url, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/workspace.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | line: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/workspace.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | character: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | workspace: &mut workspace::Workspace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | params: ReferenceParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.16s [INFO] running `Command { std: "docker" "inspect" "78e305571bc457a90c61b29185ae25181594d9bc7fabd5dcac892876df127e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e305571bc457a90c61b29185ae25181594d9bc7fabd5dcac892876df127e4d", kill_on_drop: false }` [INFO] [stdout] 78e305571bc457a90c61b29185ae25181594d9bc7fabd5dcac892876df127e4d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04ebccd94589274860f5794152f1c99162fc5324c300635198db5ffd679e7ef [INFO] running `Command { std: "docker" "start" "-a" "f04ebccd94589274860f5794152f1c99162fc5324c300635198db5ffd679e7ef", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling spelgud v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/workspace.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | uri: &Url, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/workspace.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | line: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/workspace.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | character: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | workspace: &mut workspace::Workspace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | params: ReferenceParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> src/workspace.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | uri: &Url, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/workspace.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | line: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/workspace.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | character: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace` [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | workspace: &mut workspace::Workspace, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | params: ReferenceParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CodeAction` [INFO] [stdout] --> tests/integration_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CodeAction, CodeActionContext, CodeActionOrCommand, CodeActionParams, CompletionParams, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> tests/integration_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/integration_test.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 474 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 475 | [INFO] [stdout] 476 | / assert_eq!( [INFO] [stdout] 477 | | client.request::(lsp_types::ReferenceParams { [INFO] [stdout] 478 | | text_document_position: position(example_uri(), "message Foo", 9), [INFO] [stdout] 479 | | work_done_progress_params: lsp_types::WorkDoneProgressParams { [INFO] [stdout] ... | [INFO] [stdout] 489 | | Some(vec![]) [INFO] [stdout] 490 | | ); [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/integration_test.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 509 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 510 | [INFO] [stdout] 511 | / let Some(lsp_types::CompletionResponse::Array(actual)) = resp else { [INFO] [stdout] 512 | | panic!("Unexpected completion response {resp:?}"); [INFO] [stdout] 513 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_test.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | let mut client = TestClient::new()?; [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: unused variable: `val` [INFO] [stdout] --> tests/integration_test.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | / client.request::(lsp_types::ReferenceParams { [INFO] [stdout] 478 | | text_document_position: position(example_uri(), "message Foo", 9), [INFO] [stdout] 479 | | work_done_progress_params: lsp_types::WorkDoneProgressParams { [INFO] [stdout] 480 | | work_done_token: None, [INFO] [stdout] ... | [INFO] [stdout] 487 | | }, [INFO] [stdout] 488 | | })?, [INFO] [stdout] | |___________^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> tests/integration_test.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | let resp = client.request::(completion_params( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual` [INFO] [stdout] --> tests/integration_test.rs:511:51 [INFO] [stdout] | [INFO] [stdout] 511 | let Some(lsp_types::CompletionResponse::Array(actual)) = resp else { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sym` is never used [INFO] [stdout] --> tests/integration_test.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn sym(uri: Url, name: &str, text: &str) -> SymbolInformation { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto` is never used [INFO] [stdout] --> tests/integration_test.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn goto(uri: Url, text: &str, column: u32) -> GotoDefinitionParams { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.23s [INFO] running `Command { std: "docker" "inspect" "f04ebccd94589274860f5794152f1c99162fc5324c300635198db5ffd679e7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04ebccd94589274860f5794152f1c99162fc5324c300635198db5ffd679e7ef", kill_on_drop: false }` [INFO] [stdout] f04ebccd94589274860f5794152f1c99162fc5324c300635198db5ffd679e7ef [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6856c86743cb82847a24ae7f7d40ccbbf5e5034c3acf91ec6c599efe9393617 [INFO] running `Command { std: "docker" "start" "-a" "e6856c86743cb82847a24ae7f7d40ccbbf5e5034c3acf91ec6c599efe9393617", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `uri` [INFO] [stderr] --> src/workspace.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | uri: &Url, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/workspace.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | line: usize, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `character` [INFO] [stderr] --> src/workspace.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | character: usize, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `workspace` [INFO] [stderr] --> src/lib.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | workspace: &mut workspace::Workspace, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/lib.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | params: ReferenceParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: `spelgud` (lib) generated 5 warnings (run `cargo fix --lib -p spelgud` to apply 5 suggestions) [INFO] [stderr] warning: `spelgud` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `CodeAction` [INFO] [stderr] --> tests/integration_test.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | CodeAction, CodeActionContext, CodeActionOrCommand, CodeActionParams, CompletionParams, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Debug` [INFO] [stderr] --> tests/integration_test.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::fmt::Debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> tests/integration_test.rs:476:5 [INFO] [stderr] | [INFO] [stderr] 474 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 475 | [INFO] [stderr] 476 | / assert_eq!( [INFO] [stderr] 477 | | client.request::(lsp_types::ReferenceParams { [INFO] [stderr] 478 | | text_document_position: position(example_uri(), "message Foo", 9), [INFO] [stderr] 479 | | work_done_progress_params: lsp_types::WorkDoneProgressParams { [INFO] [stderr] ... | [INFO] [stderr] 489 | | Some(vec![]) [INFO] [stderr] 490 | | ); [INFO] [stderr] | |_____^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> tests/integration_test.rs:511:5 [INFO] [stderr] | [INFO] [stderr] 509 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 510 | [INFO] [stderr] 511 | / let Some(lsp_types::CompletionResponse::Array(actual)) = resp else { [INFO] [stderr] 512 | | panic!("Unexpected completion response {resp:?}"); [INFO] [stderr] 513 | | }; [INFO] [stderr] | |______^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/integration_test.rs:470:9 [INFO] [stderr] | [INFO] [stderr] 470 | let mut client = TestClient::new()?; [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: unused variable: `val` [INFO] [stderr] --> tests/integration_test.rs:477:9 [INFO] [stderr] | [INFO] [stderr] 477 | / client.request::(lsp_types::ReferenceParams { [INFO] [stderr] 478 | | text_document_position: position(example_uri(), "message Foo", 9), [INFO] [stderr] 479 | | work_done_progress_params: lsp_types::WorkDoneProgressParams { [INFO] [stderr] 480 | | work_done_token: None, [INFO] [stderr] ... | [INFO] [stderr] 487 | | }, [INFO] [stderr] 488 | | })?, [INFO] [stderr] | |___________^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `resp` [INFO] [stderr] --> tests/integration_test.rs:500:9 [INFO] [stderr] | [INFO] [stderr] 500 | let resp = client.request::(completion_params( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `actual` [INFO] [stderr] --> tests/integration_test.rs:511:51 [INFO] [stderr] | [INFO] [stderr] 511 | let Some(lsp_types::CompletionResponse::Array(actual)) = resp else { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual` [INFO] [stderr] [INFO] [stderr] warning: function `sym` is never used [INFO] [stderr] --> tests/integration_test.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn sym(uri: Url, name: &str, text: &str) -> SymbolInformation { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `goto` is never used [INFO] [stderr] --> tests/integration_test.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn goto(uri: Url, text: &str, column: u32) -> GotoDefinitionParams { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spelgud` (test "integration_test") generated 10 warnings (run `cargo fix --test "integration_test" -p spelgud` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spelgud-da34f1680fb072b8) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test file::tests::test_edit_unicode ... ok [INFO] [stdout] test file::tests::test_edit ... ok [INFO] [stdout] test file::tests::test_symbols ... ok [INFO] [stdout] test spell::tests::test_diags ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- spell::tests::test_diags stdout ---- [INFO] [stdout] test_diags_impl(Some("/usr/bin/aspell")) [INFO] [stdout] [Diagnostic { range: Range { start: Position { line: 2, character: 4 }, end: Position { line: 2, character: 9 } }, severity: Some(Error), code: None, code_description: None, source: None, message: "kwick", related_information: None, tags: None, data: Some(Object {"fixes": Array [String("kick"), String("wick"), String("Keck"), String("kicky"), String("Kirk"), String("wack"), String("kink"), String("quick"), String("Crick"), String("click"), String("crick"), String("kike"), String("kiwi"), String("wiki"), String("wok"), String("KC"), String("kc"), String("kicker"), String("wicker"), String("Vicki"), String("Vicky"), String("Wicca"), String("wacko"), String("wacky"), String("whack"), String("Vic"), String("WAC"), String("Wac"), String("wig"), String("Pickwick")], "original": String("kwick"), "range": Object {"end": Object {"character": Number(9), "line": Number(2)}, "start": Object {"character": Number(4), "line": Number(2)}}}) }, Diagnostic { range: Range { start: Position { line: 2, character: 36 }, end: Position { line: 2, character: 41 } }, severity: Some(Error), code: None, code_description: None, source: None, message: "lazzy", related_information: None, tags: None, data: Some(Object {"fixes": Array [String("lazy"), String("Lizzy"), String("jazzy"), String("Lacy"), String("lacy"), String("laze"), String("Lacey"), String("lays"), String("lay"), String("lazily"), String("Las"), String("Liz"), String("Luz"), String("Lizzie"), String("lazier"), String("Lady"), String("hazy"), String("jazz"), String("lady"), String("razz"), String("Liza"), String("La's"), String("Laos"), String("Lars"), String("Lucy"), String("la's"), String("lace"), String("lase"), String("lass"), String("laws"), String("lazed"), String("lazes"), String("Lao's"), String("law's"), String("lay's"), String("Lizzy's"), String("laze's")], "original": String("lazzy"), "range": Object {"end": Object {"character": Number(41), "line": Number(2)}, "start": Object {"character": Number(36), "line": Number(2)}}}) }] [INFO] [stdout] test_diags_impl(None) [INFO] [stdout] [INFO] [stdout] thread 'spell::tests::test_diags' (28) panicked at src/spell.rs:180:46: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "No spell checker found" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c84efff4132 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c84efff4132 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c84efff4132 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c84efff4132 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c84f0004a8f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c84f0004a8f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5c84effc14a3 - std::io::default_write_fmt::hd4797e693c0ec256 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c84effc14a3 - std::io::Write::write_fmt::h791e240ad2720c99 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c84effcd552 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c84effd22cf - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c84effd2161 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c84eff2118e - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 12: 0x5c84eff2118e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c84effd28df - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 14: 0x5c84effd28df - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c84effd273a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c84effcd689 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c84effb5c4d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c84f000cbb0 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5c84f000bfa6 - core::result::unwrap_failed::he81173b5792ad6b0 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5c84efeee122 - core::result::Result::unwrap::h24a78afc50a0287e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5c84efeee122 - spelgud::spell::tests::test_diags_impl::hdbba5b5fe5c1b116 [INFO] [stdout] at /opt/rustwide/workdir/src/spell.rs:180:46 [INFO] [stdout] 22: 0x5c84efeedf92 - spelgud::spell::tests::test_diags::h9ce41fe6f4340b4d [INFO] [stdout] at /opt/rustwide/workdir/src/spell.rs:174:9 [INFO] [stdout] 23: 0x5c84efeedfb7 - spelgud::spell::tests::test_diags::{{closure}}::h67eefb98de9c17cc [INFO] [stdout] at /opt/rustwide/workdir/src/spell.rs:172:20 [INFO] [stdout] 24: 0x5c84efef1616 - core::ops::function::FnOnce::call_once::hce56e473cf5684e5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5c84eff20fdb - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5c84eff20fdb - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c84eff355f8 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c84eff355f8 - as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5c84eff355f8 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c84eff355f8 - std::panicking::catch_unwind::h8609b446221def5f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c84eff355f8 - std::panic::catch_unwind::h362f73cc48531e26 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c84eff355f8 - test::run_test_in_process::hf52fd21d696aae67 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c84eff355f8 - test::run_test::{{closure}}::h7e780b8354e6d007 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c84eff0e3c4 - test::run_test::{{closure}}::hdc2695f2276aad3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c84eff0e3c4 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c84eff11cfa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x5c84eff11cfa - as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5c84eff11cfa - std::panicking::catch_unwind::do_call::h495689350c27df20 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c84eff11cfa - std::panicking::catch_unwind::hf22437c51d1b3740 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c84eff11cfa - std::panic::catch_unwind::habda1a57de8231f8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c84eff11cfa - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x5c84eff11cfa - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5c84effc885f - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stdout] 44: 0x5c84effc885f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7c6dee1cbaa4 - [INFO] [stdout] 46: 0x7c6dee258a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] spell::tests::test_diags [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e6856c86743cb82847a24ae7f7d40ccbbf5e5034c3acf91ec6c599efe9393617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6856c86743cb82847a24ae7f7d40ccbbf5e5034c3acf91ec6c599efe9393617", kill_on_drop: false }` [INFO] [stdout] e6856c86743cb82847a24ae7f7d40ccbbf5e5034c3acf91ec6c599efe9393617