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

Crate install failed #5

Closed wezm closed 3 years ago

wezm commented 3 years ago

Problem

I tried installing the plugin. It installed then said that the crate needed to be installed, I clicked the button to do that. It sat there for a while then showed the error below.

Screenshot from 2021-09-23 10-20-12

Host

OS: Arch Linux x86 Rust: rustc 1.54.0 (a178d0322 2021-07-26) managed with rustup VS Code:

Version: 1.60.1 Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d Date: 2021-09-10T17:06:57.931Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Linux x64 5.14.6-arch1-1

Error message:

error: could not find `flowistry` in registry `crates-io` with version `=0.3.6`

Full log: https://paste.rs/vUr

willcrichton commented 3 years ago

Hi @wezm! Thanks for filing a bug. I think you hit a race condition, since it seems the VSCode marketplace propagates faster than crates.io. I also just pushed v0.3.7, which means if you try again right now you could conceivably hit this error again...

Can you try reinstalling in ~15 minutes?

wezm commented 3 years ago

Tried again and it installed successfully. Thanks 👍