dalance / svls

SystemVerilog language server
MIT License
461 stars 31 forks source link

failed to compile `svls v0.2.0` #130

Open tinywaferShark opened 2 years ago

tinywaferShark commented 2 years ago

Hello, I tried to use cargo to install svls , but I encountered this issue. ERROR INFORMATION error: failed to compile svls v0.2.0, intermediate artifacts can be found at /tmp/cargo-installZoviMs

Caused by: could not compile sv-parser-parser

Caused by: process didn't exit successfully: rustc --crate-name sv_parser_parser --edition=2018 /home/shark/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sv-parser-parser-0.11.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=59a4925f72e49b25 -C extra-filename=-59a4925f72e49b25 --out-dir /tmp/cargo-installZoviMs/release/deps -L dependency=/tmp/cargo-installZoviMs/release/deps --extern nom=/tmp/cargo-installZoviMs/release/deps/libnom-96cc9d3fca65563f.rmeta --extern nom_greedyerror=/tmp/cargo-installZoviMs/release/deps/libnom_greedyerror-a43c24ef75aaf975.rmeta --extern nom_packrat=/tmp/cargo-installZoviMs/release/deps/libnom_packrat-53cf9756c30907e6.rmeta --extern nom_recursive=/tmp/cargo-installZoviMs/release/deps/libnom_recursive-092d30470400ccd3.rmeta --extern nom_tracable=/tmp/cargo-installZoviMs/release/deps/libnom_tracable-d03bbc9967fd7924.rmeta --extern nom_locate=/tmp/cargo-installZoviMs/release/deps/libnom_locate-6b3311e1a4987f0f.rmeta --extern str_concat=/tmp/cargo-installZoviMs/release/deps/libstr_concat-9356af5eb5aa645b.rmeta --extern sv_parser_macros=/tmp/cargo-installZoviMs/release/deps/libsv_parser_macros-f7393d134adfc645.so --extern sv_parser_syntaxtree=/tmp/cargo-installZoviMs/release/deps/libsv_parser_syntaxtree-cab3f6ff8ab3dafb.rmeta --cap-lints allow (signal: 9, SIGKILL: kill)

Xtscat commented 2 years ago

the same error

Xtscat commented 2 years ago

hello, i used cargo install svls --version 0.2.0 and after a long time, it installed successful

image

i hope this can help you

tinywaferShark commented 2 years ago

cargo install svls --version 0.2.0

Thanks for your suggestion , But I used this cargo install svls --version 0.2.0 ,and it does not work.

Xtscat commented 2 years ago

I am sorry for that, but you can look at this and here is my vim.

https://github.com/chipsalliance/verible

image

image

tinywaferShark commented 2 years ago

Do you mean use verible instead of svls? Let me have a try.

DaveMcEwan commented 1 year ago

Did you guys manage to resolve this? I've seen no issues building svls (or the dependencies svlint and sv-parser).