-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
version 0.11.0 does not build.
Stacktrace:
Compiling hypercore v0.11.0
error[E0277]: the trait bound `random_access_memory::RandomAccessMemory: random_access_storage::RandomAccess` is not satisfied
--> /Users/dylan/.cargo/registry/src/github.com-1ecc6299db9ec823/hypercore-0.11.0/src/feed.rs:572:6
|
30 | pub struct Feed<T>
| ---- required by a bound in this
31 | where
32 | T: RandomAccess<Error = Error> + Debug,
| --------------------------- required by this bound in `feed::Feed`
...
572 | impl Default for Feed<RandomAccessMemory> {
| ^^^^^^^ the trait `random_access_storage::RandomAccess` is not implemented for `random_access_memory::RandomAccessMemory`
|
help: trait impl with same name found
--> /Users/dylan/.cargo/registry/src/github.com-1ecc6299db9ec823/random-access-memory-1.2.0/src/lib.rs:55:1
|
55 | / impl RandomAccess for RandomAccessMemory {
56 | | type Error = Box<dyn std::error::Error + Send + Sync>;
57 | |
58 | | fn write(&mut self, offset: u64, data: &[u8]) -> Result<(), Self::Error> {
... |
203 | | }
204 | | }
| |_^
= note: perhaps two different versions of crate `random_access_storage` are being used?
Metadata
Metadata
Assignees
Labels
No labels