error[E0277]: the trait bound `MyValue: Clone` is not satisfied --> tests/compile_tests/sync/clone/sync_cache_clone.rs:18:41 | 18 | let _cache: Cache = Cache::new(CAP); | ^^^^^^^^^^ the trait `Clone` is not implemented for `MyValue` | note: required by a bound in `mini_moka::sync::Cache::::new` --> src/sync/cache.rs | | V: Clone + Send + Sync + 'static, | ^^^^^ required by this bound in `mini_moka::sync::Cache::::new` help: consider annotating `MyValue` with `#[derive(Clone)]` | 41 | #[derive(Clone)] | error[E0277]: the trait bound `MyBuildHasher1: Clone` is not satisfied --> tests/compile_tests/sync/clone/sync_cache_clone.rs:28:84 | 28 | let _cache: Cache, _> = Cache::builder().build_with_hasher(MyBuildHasher1); | ----------------- ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `MyBuildHasher1` | | | required by a bound introduced by this call | note: required by a bound in `mini_moka::sync::CacheBuilder::>::build_with_hasher` --> src/sync/builder.rs | | S: BuildHasher + Clone + Send + Sync + 'static, | ^^^^^ required by this bound in `mini_moka::sync::CacheBuilder::>::build_with_hasher` help: consider annotating `MyBuildHasher1` with `#[derive(Clone)]` | 44 | #[derive(Clone)] |