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 Report] fails to build on Linux with latest nightly Rust #60

Closed
ssh352 opened this issue Feb 4, 2024 · 2 comments
Closed

[Bug Report] fails to build on Linux with latest nightly Rust #60

ssh352 opened this issue Feb 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ssh352
Copy link

ssh352 commented Feb 4, 2024

Describe the bug

fails to build on Linux with latest nightly Rust, stable Rust is fine

To Reproduce

cargo build

Expected behavior

error: non-binding let on a synchronization lock
  --> spdlog/src/periodic_worker.rs:25:22
   |
25 |                 let (_, res) = active
   |                      ^ this lock is not assigned to a binding and is immediately dropped
   |
   = help: consider immediately dropping the value using `drop(..)` after the `let` statement
   = note: `#[deny(let_underscore_lock)]` on by default
help: consider binding to an unused variable to avoid immediately dropping the value
   |
25 |                 let (_unused, res) = active

Screenshots

Environments

  • OS: ubuntu
  • Version: 20

Additional context

@SpriteOvO
Copy link
Owner

Thanks for your report, fixed in #61. I will publish a new patch version for it ASAP.

@SpriteOvO
Copy link
Owner

Released in v0.3.13, please run cargo update under your project to fetch the latest package.

@SpriteOvO SpriteOvO added the bug Something isn't working label Feb 11, 2024
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

2 participants