[INFO] cloning repository https://github.com/herisetiawan00/dartrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/herisetiawan00/dartrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherisetiawan00%2Fdartrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherisetiawan00%2Fdartrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43e9aadb6f3528160492510f6d497a34cca3d33d
[INFO] testing herisetiawan00/dartrs against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fherisetiawan00%2Fdartrs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/herisetiawan00/dartrs
[INFO] finished tweaking git repo https://github.com/herisetiawan00/dartrs
[INFO] tweaked toml for git repo https://github.com/herisetiawan00/dartrs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/herisetiawan00/dartrs on toolchain caccb4d0368bd918ef6668af8e13834d07040417
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/herisetiawan00/dartrs 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded tree-sitter v0.25.6
[INFO] [stderr] Downloaded lsp-types v0.94.1
[INFO] [stderr] Downloaded tower-lsp v0.20.0
[INFO] [stderr] Downloaded tree-sitter-dart v0.0.4
[INFO] [stderr] Downloaded jiff-static v0.2.14
[INFO] [stderr] Downloaded tower-lsp-macros v0.9.0
[INFO] [stderr] Downloaded jiff v0.2.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7613b077c5da2025d39fd355d2deb90efe7e5c6cb6ffbba6133c6b6468ab5623
[INFO] running `Command { std: "docker" "start" "-a" "7613b077c5da2025d39fd355d2deb90efe7e5c6cb6ffbba6133c6b6468ab5623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7613b077c5da2025d39fd355d2deb90efe7e5c6cb6ffbba6133c6b6468ab5623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7613b077c5da2025d39fd355d2deb90efe7e5c6cb6ffbba6133c6b6468ab5623", kill_on_drop: false }`
[INFO] [stdout] 7613b077c5da2025d39fd355d2deb90efe7e5c6cb6ffbba6133c6b6468ab5623
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 336223839cbb222d0b6ed9885084f700feaf23605379ba7a4b05f8defcfc6e68
[INFO] running `Command { std: "docker" "start" "-a" "336223839cbb222d0b6ed9885084f700feaf23605379ba7a4b05f8defcfc6e68", kill_on_drop: false }`
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling lock_api v0.4.13
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling cc v1.2.27
[INFO] [stderr] Compiling memchr v2.7.5
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling syn v2.0.102
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling signal-hook-registry v1.4.5
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling anstyle-query v1.1.3
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling tree-sitter-language v0.1.5
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling streaming-iterator v0.1.9
[INFO] [stderr] Compiling anstream v0.6.19
[INFO] [stderr] Compiling str_indices v0.4.4
[INFO] [stderr] Compiling jiff v0.2.14
[INFO] [stderr] Compiling ropey v1.6.1
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling indexmap v2.9.0
[INFO] [stderr] Compiling dashmap v5.5.3
[INFO] [stderr] Compiling tree-sitter-dart v0.0.4
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling tree-sitter v0.25.6
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling env_filter v0.1.3
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling zerovec-derive v0.11.1
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Compiling serde_repr v0.1.20
[INFO] [stderr] Compiling tracing-attributes v0.1.29
[INFO] [stderr] Compiling tower-lsp-macros v0.9.0
[INFO] [stderr] Compiling auto_impl v1.3.0
[INFO] [stderr] Compiling async-trait v0.1.88
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling env_logger v0.11.8
[INFO] [stderr] Compiling tokio v1.45.1
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling pin-project v1.1.10
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling zerovec v0.11.2
[INFO] [stderr] Compiling zerotrie v0.2.2
[INFO] [stderr] Compiling tinystr v0.8.1
[INFO] [stderr] Compiling potential_utf v0.1.2
[INFO] [stderr] Compiling icu_collections v2.0.0
[INFO] [stderr] Compiling icu_locale_core v2.0.0
[INFO] [stderr] Compiling icu_provider v2.0.0
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling icu_properties v2.0.1
[INFO] [stderr] Compiling futures v0.3.31
[INFO] [stderr] Compiling tower v0.4.13
[INFO] [stderr] Compiling idna_adapter v1.2.1
[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 tokio-util v0.7.15
[INFO] [stderr] Compiling tower-lsp v0.20.0
[INFO] [stderr] Compiling dartrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `find_definition`, `find_node_at`, `node_to_lsp_location`, and `position_to_offset`
[INFO] [stdout] --> src/handlers/goto_definition/mod.rs:1:14
[INFO] [stdout] |
[INFO] [stdout] 1 | use helper::{find_definition, find_node_at, node_to_lsp_location, position_to_offset};
[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: `parser::parse_code`
[INFO] [stdout] --> src/handlers/goto_definition/mod.rs:7:13
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::{parser::parse_code, server::LspContext};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout] --> src/handlers/completion.rs:5:21
[INFO] [stdout] |
[INFO] [stdout] 5 | pub async fn action(context: &LspContext, params: CompletionParams) -> Result