Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to install thorugh yay #841

Closed
3 tasks done
lgtome opened this issue Jul 7, 2023 · 2 comments
Closed
3 tasks done

[BUG] Unable to install thorugh yay #841

lgtome opened this issue Jul 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lgtome
Copy link

lgtome commented Jul 7, 2023

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

I just wanted to install eww with yay and got an error during compiling:

error[E0635]: unknown feature `hash_drain_filter`
 --> crates/eww/src/main.rs:6:12
  |
6 | #![feature(hash_drain_filter)]
  |            ^^^^^^^^^^^^^^^^^

error[E0635]: unknown feature `drain_filter`
 --> crates/eww/src/main.rs:2:12
  |
2 | #![feature(drain_filter)]
  |            ^^^^^^^^^^^^

error[E0599]: no method named `drain_filter` found for struct `Vec<codespan_reporting::diagnostic::Label<usize>>` in the current scope
  --> crates/eww/src/error_handling_ctx.rs:55:23
   |
55 |     diagnostic.labels.drain_filter(|label| Span(label.range.start, label.range.end, label.file_id).is_du...
   |                       ^^^^^^^^^^^^ method not found in `Vec<Label<usize>>`

error[E0599]: no method named `drain_filter` found for struct `std::collections::HashMap` in the current scope
   --> crates/eww/src/widgets/widget_definitions.rs:130:62
    |
130 | ...s.unhandled_attrs.drain_filter(|a, _| deprecated.contains(&a.0 as &str)).collect();
    |                      ^^^^^^^^^^^^ method not found in `HashMap<AttrName, AttrEntry>`

Some errors have detailed explanations: E0599, E0635.
For more information about an error, try `rustc --explain E0599`.
error: could not compile `eww` (bin "eww") due to 4 previous errors
==> ERROR: A failure occurred in build().
    Aborting...

Reproducing the issue

  • yay -Syu
  • yay -S eww

Expected behaviour

eww was installed correctly

Additional context

All dependencies, rustc and cargo was installed.

  • yay version: yay v12.1.0 - libalpm v13.0.2
@lgtome lgtome added the bug Something isn't working label Jul 7, 2023
@viandoxdev
Copy link
Contributor

Duplicate of #810.

@elkowar
Copy link
Owner

elkowar commented Jul 29, 2023

I think you need to update your rust toolchain, also, just to say this again, the AUR package is not officially maintained by me, although of course I'd love if it worked... lol

@elkowar elkowar closed this as completed Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants