-
Bug
-
Resolution: Done
-
Critical
-
None
-
rhel-9.5, rhel-10.0.beta
-
None
-
None
-
None
-
rhel-sst-logical-storage
-
ssg_filesystems_storage_and_HA
-
2
-
False
-
-
None
-
None
-
None
-
None
-
None
With the latest update to rust-1.77.2, stratisd fails to build from srpm with the following output:
error: non-binding let on a synchronization lock --> src/engine/structures/lock.rs:524:31 | 524 | let (mut lock_record, _) = self.acquire_mutex(); | ^ 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 | 524 | let (mut lock_record, _unused) = self.acquire_mutex(); | ~~~~~~~ warning: `stratisd` (lib) generated 1 warning error: could not compile `stratisd` (lib) due to 1 previous error; 1 warning emitted
If I understand it correctly, this was fixed upstream in this PR
Please provide the package NVR for which bug is seen:
stratisd-3.6.4-1.el10
How reproducible:
Steps to reproduce
- Install latest rust build (rust-1.77.2-1.el10)
- dnf download --source stratisd
- rpm -ivh stratisd-3.6.4-1.el10.src.rpm
- dnf builddep -y ~/rpmbuild/SPECS/stratisd.spec
- rpmbuild -bb ~/rpmbuild/SPECS/stratisd.spec