Skip to content

Instantly share code, notes, and snippets.

@niklasad1
Last active November 6, 2019 14:40
Show Gist options
  • Save niklasad1/0591bfd94f2ee3838a8bc30ccb2fb3e3 to your computer and use it in GitHub Desktop.
Save niklasad1/0591bfd94f2ee3838a8bc30ccb2fb3e3 to your computer and use it in GitHub Desktop.
rustc.err
error[E0599]: no method named `size_of` found for type `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, common_types::encoded::Header>>` in the current scope
--> ethcore/blockchain/src/blockchain.rs:1495:31
|
1495 | blocks: self.block_headers.size_of(&mut ops) + self.block_bodies.size_of(&mut ops),
| ^^^^^^^ method not found in `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, common_types::encoded::Header>>`
error[E0599]: no method named `size_of` found for type `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, common_types::encoded::Body>>` in the current scope
--> ethcore/blockchain/src/blockchain.rs:1495:69
|
1495 | blocks: self.block_headers.size_of(&mut ops) + self.block_bodies.size_of(&mut ops),
| ^^^^^^^ method not found in `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, common_types::encoded::Body>>`
error[E0599]: no method named `size_of` found for type `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::BlockDetails>>` in the current scope
--> ethcore/blockchain/src/blockchain.rs:1496:38
|
1496 | block_details: self.block_details.size_of(&mut ops),
| ^^^^^^^ method not found in `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::BlockDetails>>`
error[E0599]: no method named `size_of` found for type `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::TransactionAddress>>` in the current scope
--> ethcore/blockchain/src/blockchain.rs:1497:54
|
1497 | transaction_addresses: self.transaction_addresses.size_of(&mut ops),
| ^^^^^^^ method not found in `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::TransactionAddress>>`
error[E0599]: no method named `size_of` found for type `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::BlockReceipts>>` in the current scope
--> ethcore/blockchain/src/blockchain.rs:1498:40
|
1498 | block_receipts: self.block_receipts.size_of(&mut ops),
| ^^^^^^^ method not found in `lock_api::rwlock::RwLock<parking_lot::raw_rwlock::RawRwLock, std::collections::HashMap<primitive_types::H256, ethcore_db::keys::BlockReceipts>>`
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0599`.
error: could not compile `ethcore-blockchain`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment