FauxFaux / zrs

faster 'z': jump to frecently used directories
MIT License
25 stars 1 forks source link

Errors trying to cargo install #2

Closed nikitavoloboev closed 4 years ago

nikitavoloboev commented 4 years ago
error[E0432]: unresolved import `failure::ensure`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/store.rs:11:5
   |
11 | use failure::ensure;
   |     ^^^^^^^^^^^^^^^ no `ensure` in the root

error[E0432]: unresolved import `failure::err_msg`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/store.rs:12:5
   |
12 | use failure::err_msg;
   |     ^^^^^^^^^^^^^^^^ no `err_msg` in the root

error[E0432]: unresolved import `failure::format_err`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/store.rs:13:5
   |
13 | use failure::format_err;
   |     ^^^^^^^^^^^^^^^^^^^ no `format_err` in the root

error[E0432]: unresolved import `failure::Error`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/store.rs:14:5
   |
14 | use failure::Error;
   |     ^^^^^^^^^^^^^^ no `Error` in the root

error[E0432]: unresolved import `failure::ensure`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/main.rs:17:5
   |
17 | use failure::ensure;
   |     ^^^^^^^^^^^^^^^ no `ensure` in the root

error[E0432]: unresolved import `failure::err_msg`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/main.rs:18:5
   |
18 | use failure::err_msg;
   |     ^^^^^^^^^^^^^^^^ no `err_msg` in the root

error[E0432]: unresolved import `failure::format_err`
  --> /Users/nikivi/.cargo/registry/src/github.com-1ecc6299db9ec823/zrs-0.1.5/src/main.rs:19:5
   |
19 | use failure::format_err;
   |     ^^^^^^^^^^^^^^^^^^^ no `format_err` in the root

And more. Ran cargo install zrs

FauxFaux commented 4 years ago

No idea how that ever worked. It definitely did, I've been using it on things that aren't my development machine.

Thanks!

Fixed as https://github.com/FauxFaux/zrs/commit/c220c7f2f2538df258603d26bc3f93757789822c , published as 0.1.6.