Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

RLS extension in Visual Studio Code blowing up when attempting to compile dependencies. #1635

Open
Hordynski opened this issue Feb 14, 2020 · 1 comment

Comments

@Hordynski
Copy link

Hordynski commented Feb 14, 2020

Sorry this is my first issue post. I was having issues running cargo run or cargo build when working through the getting started pages for Rocket and Actix. I found an old issue back from May which had pointed out the problem had to do with the Bitflags version. Currently Bitflags is on version 1.2.1, I changed my local version to 1.2.0. This change gave me the work around to compile and run the files, but wanted to bring it to your guys' attention. Additionally the RLS extension still underlines everything in the Cargo file, saying it can't compile and that the build failed.

@budleigh
Copy link

budleigh commented Feb 29, 2020

Could not compile `lexical-core`. process didn't exit successfully: `C:\Users\budleigh\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rls.exe --crate-name lexical_core C:\Users\budleigh\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.6.7\src\lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg "feature=\"arrayvec\"" --cfg "feature=\"correct\"" --cfg "feature=\"default\"" --cfg "feature=\"ryu\"" --cfg "feature=\"static_assertions\"" --cfg "feature=\"std\"" --cfg "feature=\"table\"" -C metadata=53f283c455243eba -C extra-filename=-53f283c455243eba --out-dir c:\Users\budleigh\Projects\qdb\target\rls\debug\deps -L dependency=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps --extern arrayvec=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps\libarrayvec-6b76279baf9a3ba5.rmeta --extern bitflags=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps\libbitflags-f026cd37813887ff.rmeta --extern cfg_if=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps\libcfg_if-cec7484d4608f6e7.rmeta --extern ryu=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps\libryu-7eaec988f487a1ce.rmeta --extern static_assertions=c:\Users\budleigh\Projects\qdb\target\rls\debug\deps\libstatic_assertions-5a6705264e5b549c.rmeta --cap-lints allow --cfg has_range_bounds --cfg has_slice_index --cfg has_full_range_inclusive --cfg has_const_index --cfg has_i128 --cfg has_ops_bound --cfg has_pointer_methods --cfg has_range_inclusive --cfg limb_width_64 --error-format=json --sysroot C:\Users\budleigh\.rustup/toolchains/stable-x86_64-pc-windows-msvc` (exit code: 101)

Bumping - seeing this w/vscode and the nom dependency (which does depend on bitflags, albeit v.1.2.1 according to lock).

This is an RLS-only thing, cargo builds fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants