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

Crash during install: daemon/src/wallpaper.rs: 146:21 #88

Open
Letsgoleggo opened this issue Mar 22, 2024 · 4 comments
Open

Crash during install: daemon/src/wallpaper.rs: 146:21 #88

Letsgoleggo opened this issue Mar 22, 2024 · 4 comments

Comments

@Letsgoleggo
Copy link

During compilation swww-daemon v0.8.2
-->daemon/src/wallpaper.rs: 146:21
let (inner, _) =self.lock();
^ this lock is not assigned to a binding and is immediately dropped

I short: let (inner,_unused) = self.lock();
I don't know how to fix this, maybe bind it to an unused variable or use drop after 'let' statement.

Always open to ideas that's how I learn

@Speeif
Copy link

Speeif commented Mar 22, 2024

This seems to be an error produced by the swww package, and has been noted as an issue on the swww github page
LGFae/swww#234

yeah, a rustc update caused this. I will look into publishing a new update to work around this. The problem is that I wanted to solve (another issue) before that.

@LGFae
Copy link

LGFae commented Mar 23, 2024

Sorry for the inconvenience. I just published v0.9.0, which should build just fine.

@Speeif
Copy link

Speeif commented Mar 24, 2024

As LGFae states, there's just been published a new version, and additionally, a version v0.9.1 is available from the AUR package repository. This means that the issue should have been resolved, and that the install script should function as intended.

At the start I experienced problems with getting swww to run after boot, but after running both swww init and swww-daemon & in the terminal, it would finally start at reboot. Additionally I have updated the below line

exec-once = swww init

to become swww-daemon & as per the explanation of the releasenotes in the swww repository https://github.com/LGFae/swww/releases/tag/v0.9.1

@Letsgoleggo
Copy link
Author

I'm just writing this so people know it's resolved, thnq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants