willcrichton / flowistry

Flowistry is an IDE plugin for Rust that helps you focus on relevant code.
https://marketplace.visualstudio.com/items?itemName=wcrichton.flowistry
MIT License
1.91k stars 45 forks source link

build 0.5.5 fails with missing imports #37

Closed thomvil closed 2 years ago

thomvil commented 2 years ago

Seems to be a lot of missing imports

....
error[E0433]: failed to resolve: use of undeclared type `HashSet`
   --> /Users/_/.cargo/registry/src/github.com-1ecc6299db9ec823/flowistry-0.5.5/src/test_utils.rs:345:27
    |
345 |                   None => HashSet::default(),
    |                           ^^^^^^^ not found in this scope
    |
help: consider importing this struct
    |
3   | use std::collections::HashSet;
    |

Some errors have detailed explanations: E0405, E0412, E0416, E0422, E0425, E0432, E0433, E0463, E0531...
For more information about an error, try `rustc --explain E0405`.
error: could not compile `flowistry` due to 771 previous errors
warning: build failed, waiting for other jobs to finish...
willcrichton commented 2 years ago

Thanks for the bug report! Can you clarify:

thomvil commented 2 years ago

Thank you for the response, and sorry for the lack of information

willcrichton commented 2 years ago

If you are manually installing Flowistry, you have to use the appropriate nightly compiler.

cargo +nightly-2022-02-17 install flowistry_ide

But note that the VScode extension should automatically do this for you.

thomvil commented 2 years ago

thank you, i missed that part

willcrichton commented 2 years ago

Ok great! I will close this for now.