[INFO] cloning repository https://github.com/xsro/typst-lsp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xsro/typst-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Ftypst-lsp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Ftypst-lsp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d397309bba829b55969091205a680c1284b6b385
[INFO] testing xsro/typst-lsp against beta-2025-09-21 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsro%2Ftypst-lsp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xsro/typst-lsp
[INFO] finished tweaking git repo https://github.com/xsro/typst-lsp
[INFO] tweaked toml for git repo https://github.com/xsro/typst-lsp written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xsro/typst-lsp on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xsro/typst-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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e341e3de77773863fcf4439c2582aaac614eb784fc92ab665a39715bc70f92ce
[INFO] running `Command { std: "docker" "start" "-a" "e341e3de77773863fcf4439c2582aaac614eb784fc92ab665a39715bc70f92ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e341e3de77773863fcf4439c2582aaac614eb784fc92ab665a39715bc70f92ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e341e3de77773863fcf4439c2582aaac614eb784fc92ab665a39715bc70f92ce", kill_on_drop: false }`
[INFO] [stdout] e341e3de77773863fcf4439c2582aaac614eb784fc92ab665a39715bc70f92ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10aab123355a81e35bc0f00a1cb409084cff8669b698437e33d2b9339f280aa9
[INFO] running `Command { std: "docker" "start" "-a" "10aab123355a81e35bc0f00a1cb409084cff8669b698437e33d2b9339f280aa9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling simd-adler32 v0.3.5
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling unicode-general-category v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling unicode-ccc v0.1.2
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling ttf-parser v0.17.1
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling unicode-bidi-mirroring v0.1.0
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling xmlparser v0.13.5
[INFO] [stderr]    Compiling unicode-script v0.5.5
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling png v0.17.8
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling kurbo v0.8.3
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling data-url v0.1.1
[INFO] [stderr]    Compiling roxmltree v0.14.1
[INFO] [stderr]    Compiling simplecss v0.2.1
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling svgtypes v0.8.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling float-cmp v0.9.0
[INFO] [stderr]    Compiling rctree v0.4.0
[INFO] [stderr]    Compiling unicode-vo v0.1.0
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unscanny v0.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling rgb v0.8.36
[INFO] [stderr]    Compiling tiny-skia v0.6.6
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling fontdb v0.9.3
[INFO] [stderr]    Compiling pdf-writer v0.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.5.4
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling winnow v0.4.6
[INFO] [stderr]    Compiling numerals v0.1.4
[INFO] [stderr]    Compiling jpeg-decoder v0.2.6
[INFO] [stderr]    Compiling ttf-parser v0.18.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling rustybuzz v0.5.1
[INFO] [stderr]    Compiling fancy-regex v0.7.1
[INFO] [stderr]    Compiling isolang v2.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling xmp-writer v0.1.0
[INFO] [stderr]    Compiling chinese-variant v1.0.9
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling ecow v0.1.0
[INFO] [stderr]    Compiling unicode-math-class v0.1.0
[INFO] [stderr]    Compiling subsetter v0.1.1
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling lipsum v0.9.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]    Compiling serde_repr v0.1.12
[INFO] [stderr]    Compiling pixglyph v0.1.0
[INFO] [stderr]    Compiling dashmap v5.4.0
[INFO] [stderr]    Compiling dirs-sys v0.4.0
[INFO] [stderr]    Compiling usvg v0.22.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling hypher v0.1.1
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling elsa v1.8.1 (https://github.com/nvarner/elsa.git#1b7eb00c)
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling dirs v5.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling comemo-macros v0.2.2
[INFO] [stderr]    Compiling typst-macros v0.3.0 (https://github.com/typst/typst.git?tag=v0.3.0#b1e0de00)
[INFO] [stderr]    Compiling enum-ordinalize v3.1.12
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]    Compiling tinystr v0.7.1
[INFO] [stderr]    Compiling comemo v0.2.2
[INFO] [stderr]    Compiling unic-langid-impl v0.9.1
[INFO] [stderr]    Compiling tower-lsp-macros v0.8.0
[INFO] [stderr]    Compiling svg2pdf v0.4.1
[INFO] [stderr]    Compiling resvg v0.22.0
[INFO] [stderr]    Compiling unic-langid v0.9.1
[INFO] [stderr]    Compiling chinese-number v0.7.2
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling tokio-util v0.7.7
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling biblatex v0.8.0
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling serde_spanned v0.6.1
[INFO] [stderr]    Compiling toml_datetime v0.6.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling bitflags v2.2.1
[INFO] [stderr]    Compiling csv v1.2.1
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling typst v0.3.0 (https://github.com/typst/typst.git?tag=v0.3.0#b1e0de00)
[INFO] [stderr]    Compiling toml_edit v0.19.8
[INFO] [stderr]    Compiling syntect v5.0.0
[INFO] [stderr]    Compiling lsp-types v0.94.0
[INFO] [stderr]    Compiling toml v0.7.3
[INFO] [stderr]    Compiling hayagriva v0.3.0
[INFO] [stderr]    Compiling tower-lsp v0.19.0
[INFO] [stderr]    Compiling typst-library v0.3.0 (https://github.com/typst/typst.git?tag=v0.3.0#b1e0de00)
[INFO] [stderr]    Compiling typst-lsp v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `result`
[INFO] [stdout]  --> src/server/command.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{path::PathBuf, result};
[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: `geom::Abs`
[INFO] [stdout]   --> src/server/command.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use typst::{self, geom::Abs};
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/server/lsp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/server/command.rs:268:18
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let Some(pos) = arguments.get(2).and_then(|v| v.as_u64()) else {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]    --> src/server/command.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let source = workspace.sources.get_open_source_by_id(source_id);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]    --> src/server/command.rs:292:21
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 let frame=&document.pages[page_index];
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frames`
[INFO] [stdout]    --> src/server/command.rs:293:21
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 let frames=&document.pages;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frames`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]    --> src/server/command.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let width=document.pages[page_index].width();// in pt
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/server/command.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                 let height=document.pages[page_index].height();// in pt
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `jump_from_cursor` is never used
[INFO] [stdout]    --> src/server/command.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl TypstServer {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn jump_from_cursor(&self, arguments: Vec<Value>) -> Result<Option<Value>>{
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/document.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 self.export_pdf(source, &document);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let _ = self.export_pdf(source, &document);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/document.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 self.export_pdf(source, &document);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let _ = self.export_pdf(source, &document);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] running `Command { std: "docker" "inspect" "10aab123355a81e35bc0f00a1cb409084cff8669b698437e33d2b9339f280aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10aab123355a81e35bc0f00a1cb409084cff8669b698437e33d2b9339f280aa9", kill_on_drop: false }`
[INFO] [stdout] 10aab123355a81e35bc0f00a1cb409084cff8669b698437e33d2b9339f280aa9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2be6ad8c7652e66c4373b3793d45cc7ce727405ee4b9182a130dfc53533e14d8
[INFO] running `Command { std: "docker" "start" "-a" "2be6ad8c7652e66c4373b3793d45cc7ce727405ee4b9182a130dfc53533e14d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling typst-lsp v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `result`
[INFO] [stdout]  --> src/server/command.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{path::PathBuf, result};
[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: `geom::Abs`
[INFO] [stdout]   --> src/server/command.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use typst::{self, geom::Abs};
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/server/lsp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/server/command.rs:268:18
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let Some(pos) = arguments.get(2).and_then(|v| v.as_u64()) else {
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]    --> src/server/command.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let source = workspace.sources.get_open_source_by_id(source_id);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]    --> src/server/command.rs:292:21
[INFO] [stdout]     |
[INFO] [stdout] 292 |                 let frame=&document.pages[page_index];
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frames`
[INFO] [stdout]    --> src/server/command.rs:293:21
[INFO] [stdout]     |
[INFO] [stdout] 293 |                 let frames=&document.pages;
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frames`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]    --> src/server/command.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |                 let width=document.pages[page_index].width();// in pt
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]    --> src/server/command.rs:295:21
[INFO] [stdout]     |
[INFO] [stdout] 295 |                 let height=document.pages[page_index].height();// in pt
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `jump_from_cursor` is never used
[INFO] [stdout]    --> src/server/command.rs:246:18
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl TypstServer {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub async fn jump_from_cursor(&self, arguments: Vec<Value>) -> Result<Option<Value>>{
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/document.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 self.export_pdf(source, &document);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let _ = self.export_pdf(source, &document);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server/document.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 self.export_pdf(source, &document);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let _ = self.export_pdf(source, &document);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.47s
[INFO] running `Command { std: "docker" "inspect" "2be6ad8c7652e66c4373b3793d45cc7ce727405ee4b9182a130dfc53533e14d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2be6ad8c7652e66c4373b3793d45cc7ce727405ee4b9182a130dfc53533e14d8", kill_on_drop: false }`
[INFO] [stdout] 2be6ad8c7652e66c4373b3793d45cc7ce727405ee4b9182a130dfc53533e14d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b874c84626118011354f20f54c27630a92c57465a251417ecaec12b005c7797e
[INFO] running `Command { std: "docker" "start" "-a" "b874c84626118011354f20f54c27630a92c57465a251417ecaec12b005c7797e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `result`
[INFO] [stderr]  --> src/server/command.rs:1:26
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{path::PathBuf, result};
[INFO] [stderr]   |                          ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `geom::Abs`
[INFO] [stderr]   --> src/server/command.rs:10:19
[INFO] [stderr]    |
[INFO] [stderr] 10 | use typst::{self, geom::Abs};
[INFO] [stderr]    |                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt::format`
[INFO] [stderr]  --> src/server/lsp.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::format;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pos`
[INFO] [stderr]    --> src/server/command.rs:268:18
[INFO] [stderr]     |
[INFO] [stderr] 268 |         let Some(pos) = arguments.get(2).and_then(|v| v.as_u64()) else {
[INFO] [stderr]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source`
[INFO] [stderr]    --> src/server/command.rs:278:13
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let source = workspace.sources.get_open_source_by_id(source_id);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `frame`
[INFO] [stderr]    --> src/server/command.rs:292:21
[INFO] [stderr]     |
[INFO] [stderr] 292 |                 let frame=&document.pages[page_index];
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `frames`
[INFO] [stderr]    --> src/server/command.rs:293:21
[INFO] [stderr]     |
[INFO] [stderr] 293 |                 let frames=&document.pages;
[INFO] [stderr]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frames`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `width`
[INFO] [stderr]    --> src/server/command.rs:294:21
[INFO] [stderr]     |
[INFO] [stderr] 294 |                 let width=document.pages[page_index].width();// in pt
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `height`
[INFO] [stderr]    --> src/server/command.rs:295:21
[INFO] [stderr]     |
[INFO] [stderr] 295 |                 let height=document.pages[page_index].height();// in pt
[INFO] [stderr]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stderr] 
[INFO] [stderr] warning: method `jump_from_cursor` is never used
[INFO] [stderr]    --> src/server/command.rs:246:18
[INFO] [stderr]     |
[INFO] [stderr]  45 | impl TypstServer {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 246 |     pub async fn jump_from_cursor(&self, arguments: Vec<Value>) -> Result<Option<Value>>{
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/server/document.rs:45:17
[INFO] [stderr]    |
[INFO] [stderr] 45 |                 self.export_pdf(source, &document);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 45 |                 let _ = self.export_pdf(source, &document);
[INFO] [stderr]    |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/server/document.rs:58:17
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 self.export_pdf(source, &document);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 58 |                 let _ = self.export_pdf(source, &document);
[INFO] [stderr]    |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `typst-lsp` (bin "typst-lsp" test) generated 12 warnings (run `cargo fix --bin "typst-lsp" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/typst_lsp-83d38fa9a7cccbdc)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test lsp_typst_boundary::test::utf16_position_to_utf8_offset ... ok
[INFO] [stdout] test lsp_typst_boundary::test::utf8_offset_to_utf16_position ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b874c84626118011354f20f54c27630a92c57465a251417ecaec12b005c7797e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b874c84626118011354f20f54c27630a92c57465a251417ecaec12b005c7797e", kill_on_drop: false }`
[INFO] [stdout] b874c84626118011354f20f54c27630a92c57465a251417ecaec12b005c7797e
