Sample Header Ad - 728x90

Kate fails to launch openscad-lsp, I think that it's because cargo can't install it

0 votes
1 answer
30 views
So I'm toying around with scad files. When I open them on Kate I get this error: [10:55:26  LSP Client Warning] Failed to find server binary: openscad-lsp Please check your PATH for the binary See also https://github.com/Leathong/openscad-LSP for installation or details I got to the github link, and there I see that to install `openscad-lsp I need to have cargo installed. I install this, with build-essential as well and I try to install openscad-lsp` and I get the long output below that to me reads like "there was a problem" and doesn't give any concrete information (as in, there is no specific package that failed to be installed). My knowledge about rust (which I understand is the programming/scripting language) is 0, so I'm left helpless here. Any of you has an idea how I can fix this? yotam@poorThing:~$ cargo install openscad-lsp Updating crates.io index Downloaded openscad-lsp v1.3.1 Downloaded 1 crate (60.3 KB) in 1.37s Installing openscad-lsp v1.3.1 Updating crates.io index Locking 101 packages to latest compatible versions Adding bitflags v1.3.2 (latest: v2.9.1) Adding getrandom v0.2.16 (latest: v0.3.3) Adding lsp-types v0.94.1 (latest: v0.97.0) Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.14.2+wasi-0.2.4) Adding windows-targets v0.52.6 (latest: v0.53.0) Adding windows_aarch64_gnullvm v0.52.6 (latest: v0.53.0) Adding windows_aarch64_msvc v0.52.6 (latest: v0.53.0) Adding windows_i686_gnu v0.52.6 (latest: v0.53.0) Adding windows_i686_gnullvm v0.52.6 (latest: v0.53.0) Adding windows_i686_msvc v0.52.6 (latest: v0.53.0) Adding windows_x86_64_gnu v0.52.6 (latest: v0.53.0) Adding windows_x86_64_gnullvm v0.52.6 (latest: v0.53.0) Adding windows_x86_64_msvc v0.52.6 (latest: v0.53.0) Downloaded anstyle-query v1.1.2 Downloaded tree-sitter-language v0.1.5 Downloaded equivalent v1.0.2 Downloaded zerofrom v0.1.6 Downloaded stable_deref_trait v1.2.0 Downloaded strsim v0.11.1 Downloaded bitflags v1.3.2 Downloaded anstyle v1.0.10 Downloaded anstyle-parse v0.2.6 Downloaded dirs v6.0.0 Downloaded zerofrom-derive v0.1.6 Downloaded clap_lex v0.7.4 Downloaded dirs-sys v0.5.0 Downloaded serde_repr v0.1.20 Downloaded form_urlencoded v1.2.1 Downloaded shlex v1.3.0 Downloaded colorchoice v1.0.3 Downloaded zerovec-derive v0.11.1 Downloaded idna_adapter v1.2.1 Downloaded streaming-iterator v0.1.9 Downloaded utf8parse v0.2.2 Downloaded potential_utf v0.1.2 Downloaded lazy_static v1.5.0 Downloaded itoa v1.0.15 Downloaded option-ext v0.2.0 Downloaded percent-encoding v2.3.1 Downloaded linked-hash-map v0.5.6 Downloaded heck v0.5.0 Downloaded lsp-server v0.7.8 Downloaded yoke-derive v0.8.0 Downloaded utf8_iter v1.0.4 Downloaded is_terminal_polyfill v1.70.1 Downloaded synstructure v0.13.2 Downloaded anstream v0.6.18 Downloaded quote v1.0.40 Downloaded yoke v0.8.0 Downloaded displaydoc v0.2.5 Downloaded shellexpand v3.1.1 Downloaded tree-sitter-openscad-ng v0.6.0 Downloaded litemap v0.8.0 Downloaded writeable v0.6.1 Downloaded tinystr v0.8.1 Downloaded directories v6.0.0 Downloaded smallvec v1.15.0 Downloaded crossbeam-utils v0.8.21 Downloaded clap_derive v4.5.32 Downloaded log v0.4.27 Downloaded icu_normalizer v2.0.0 Downloaded unicode-ident v1.0.18 Downloaded serde_derive v1.0.219 Downloaded ryu v1.0.20 Downloaded proc-macro2 v1.0.95 Downloaded clap v4.5.38 Downloaded url v2.5.4 Downloaded icu_properties v2.0.1 Downloaded memchr v2.7.4 Downloaded zerotrie v0.2.2 Downloaded indexmap v2.9.0 Downloaded zerovec v0.11.2 Downloaded idna v1.0.3 Downloaded hashbrown v0.15.3 Downloaded tree-sitter v0.25.4 Downloaded aho-corasick v1.1.3 Downloaded serde_json v1.0.140 Downloaded icu_properties_data v2.0.1 Downloaded clap_builder v4.5.38 Downloaded syn v2.0.101 Downloaded regex v1.11.1 Downloaded regex-syntax v0.8.5 Downloaded crossbeam-channel v0.5.15 Downloaded icu_locale_core v2.0.0 Downloaded icu_collections v2.0.0 Downloaded serde v1.0.219 Downloaded cc v1.2.24 Downloaded lsp-types v0.94.1 Downloaded icu_provider v2.0.0 Downloaded icu_normalizer_data v2.0.0 Downloaded regex-automata v0.4.9 Downloaded tree-sitter-traversal2 v0.2.1 Downloaded libc v0.2.172 Downloaded 80 crates (5.8 MB) in 1.56s error: failed to compile openscad-lsp v1.3.1, intermediate artifacts can be found at /tmp/cargo-install9QolOI. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path. Caused by: rustc 1.80.1 is not supported by the following packages: icu_collections@2.0.0 requires rustc 1.82 icu_locale_core@2.0.0 requires rustc 1.82 icu_normalizer@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_normalizer_data@2.0.0 requires rustc 1.82 icu_properties@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_properties_data@2.0.1 requires rustc 1.82 icu_provider@2.0.0 requires rustc 1.82 idna_adapter@1.2.1 requires rustc 1.82 litemap@0.8.0 requires rustc 1.82 potential_utf@0.1.2 requires rustc 1.81 tinystr@0.8.1 requires rustc 1.81 writeable@0.6.1 requires rustc 1.81 yoke@0.8.0 requires rustc 1.81 zerofrom@0.1.6 requires rustc 1.81 zerotrie@0.2.2 requires rustc 1.82 zerovec@0.11.2 requires rustc 1.82 Try re-running cargo install with --locked yotam@poorThing:~$ cargo install --locked openscad-lsp
Asked by Yotam (2744 rep)
May 24, 2025, 07:59 AM
Last activity: May 24, 2025, 08:11 AM