1 error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
2 --> $DIR/mut_mutex_lock.rs:11:33
4 LL | let mut value = value_mutex.lock().unwrap();
5 | ^^^^ help: change this to: `get_mut`
7 = note: `-D clippy::mut-mutex-lock` implied by `-D warnings`
9 error: aborting due to previous error