chashmap v2.1.0 fails to compile due to upstream changes in owning_ref ~v0.3.2
Created by: brendanzab
I've yet to investigate this further, but thought I'd share:
Downloading uuid v0.4.0
Compiling syn v0.11.8
Compiling serde_json v0.9.9
Compiling uuid v0.4.0
Compiling chashmap v2.1.0
error[E0277]: the trait bound `parking_lot::RwLockReadGuard<'a, Table<K, V>>: owning_ref::StableAddress` is not satisfied
--> /Users/brendan/.cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.1.0/src/lib.rs:490:5
|
490 | inner: OwningRef<OwningHandle<RwLockReadGuard<'a, Table<K, V>>, RwLockReadGuard<'a, Bucket<K, V>>>, V>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `owning_ref::StableAddress` is not implemented for `parking_lot::RwLockReadGuard<'a, Table<K, V>>`
|
= note: required by `owning_ref::OwningHandle`
error[E0277]: the trait bound `parking_lot::RwLockReadGuard<'a, Table<K, V>>: owning_ref::StableAddress` is not satisfied
--> /Users/brendan/.cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.1.0/src/lib.rs:520:5
|
520 | inner: OwningHandle<OwningHandle<RwLockReadGuard<'a, Table<K, V>>, RwLockWriteGuard<'a, Bucket<K, V>>>, &'a mut V>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `owning_ref::StableAddress` is not implemented for `parking_lot::RwLockReadGuard<'a, Table<K, V>>`
|
= note: required by `owning_ref::OwningHandle`
error[E0277]: the trait bound `parking_lot::RwLockWriteGuard<'a, Bucket<K, V>>: owning_ref::StableAddress` is not satisfied
--> /Users/brendan/.cargo/registry/src/github.com-1ecc6299db9ec823/chashmap-2.1.0/src/lib.rs:520:5
|
520 | inner: OwningHandle<OwningHandle<RwLockReadGuard<'a, Table<K, V>>, RwLockWriteGuard<'a, Bucket<K, V>>>, &'a mut V>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `owning_ref::StableAddress` is not implemented for `parking_lot::RwLockWriteGuard<'a, Bucket<K, V>>`
|
= note: required because of the requirements on the impl of `owning_ref::StableAddress` for `owning_ref::OwningHandle<parking_lot::RwLockReadGuard<'a, Table<K, V>>, parking_lot::RwLockWriteGuard<'a, Bucket<K, V>>>`
= note: required by `owning_ref::OwningHandle`
error: aborting due to 3 previous errors
error: Could not compile `chashmap`.