oberblastmeister / trashy

a cli system trash manager, alternative to rm and trash-cli
Apache License 2.0
362 stars 13 forks source link

macOS Installation problem #33

Closed jokyv closed 2 years ago

jokyv commented 2 years ago

Hello there,

Trying to install trashy on my MacBook (Intel processor) but I get the below error:

error[E0433]: failed to resolve: could not find `os_limited` in `trash`
  --> ~/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/empty.rs:52:12
   |
52 |     trash::os_limited::purge_all(items.items())?;
   |            ^^^^^^^^^^ could not find `os_limited` in `trash`

error[E0433]: failed to resolve: could not find `os_limited` in `trash`
  --> ~.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:64:28
   |
64 |     let mut items = trash::os_limited::list()?;
   |                            ^^^^^^^^^^ could not find `os_limited` in `trash`

error[E0433]: failed to resolve: could not find `os_limited` in `trash`
  --> ~/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:90:36
   |
90 |             let mut items = trash::os_limited::list()?;
   |                                    ^^^^^^^^^^ could not find `os_limited` in `trash`

error[E0433]: failed to resolve: could not find `os_limited` in `trash`
  --> ~/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/restore.rs:49:12
   |
49 |     trash::os_limited::restore_all(items.items())?;
   |            ^^^^^^^^^^ could not find `os_limited` in `trash`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `trashy` due to 4 previous errors
error: failed to compile `trashy v1.0.2`, intermediate artifacts can be found at `/var/folders/3c/4h7rrmnd2s1cjhqysqk345lm0000gp/T/cargo-installEiaubN`
roland-5 commented 2 years ago

https://www.reddit.com/r/rust/comments/wrvfef/comment/ikvjm9s/?utm_source=share&utm_medium=web2x&context=3

jokyv commented 2 years ago

OK it seems there is an issue with MacOS. I am currently using it with another computer with Arch installation and I really like it. Especially the tables and colours that come with it ;)