SpriteOvO/spdlog-rs

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

Closed this issue · 2 comments

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

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

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