diff --git a/crates/sc-proof-of-time/src/verifier/tests.rs b/crates/sc-proof-of-time/src/verifier/tests.rs index 54de3f61c4..47b33fbadd 100644 --- a/crates/sc-proof-of-time/src/verifier/tests.rs +++ b/crates/sc-proof-of-time/src/verifier/tests.rs @@ -1,7 +1,6 @@ use crate::verifier::PotVerifier; use sp_consensus_slots::Slot; use sp_consensus_subspace::{PotNextSlotInput, PotParametersChange}; -use std::mem; use std::num::NonZeroU32; use subspace_core_primitives::{Blake3Hash, PotSeed}; diff --git a/crates/subspace-core-primitives/src/checksum.rs b/crates/subspace-core-primitives/src/checksum.rs index bf2fdc7932..c54bdf130b 100644 --- a/crates/subspace-core-primitives/src/checksum.rs +++ b/crates/subspace-core-primitives/src/checksum.rs @@ -4,7 +4,6 @@ mod tests; use crate::Blake3Hash; -use core::mem; use parity_scale_codec::{Decode, Encode, EncodeLike, Error, Input, Output}; /// Output wrapper for SCALE codec that will write Blake3 checksum at the end of the encoding diff --git a/crates/subspace-core-primitives/src/checksum/tests.rs b/crates/subspace-core-primitives/src/checksum/tests.rs index b11f5db5c0..09bb29e90f 100644 --- a/crates/subspace-core-primitives/src/checksum/tests.rs +++ b/crates/subspace-core-primitives/src/checksum/tests.rs @@ -2,7 +2,6 @@ use super::Blake3Checksummed; use crate::Blake3Hash; use parity_scale_codec::{Decode, Encode}; use rand::prelude::*; -use std::mem; #[test] fn basic() { diff --git a/crates/subspace-farmer-components/src/plotting.rs b/crates/subspace-farmer-components/src/plotting.rs index c5fc3ca293..2e1a5e9c1f 100644 --- a/crates/subspace-farmer-components/src/plotting.rs +++ b/crates/subspace-farmer-components/src/plotting.rs @@ -20,7 +20,6 @@ use futures::StreamExt; use parity_scale_codec::{Decode, Encode}; use parking_lot::Mutex; use rayon::prelude::*; -use std::mem; use std::simd::Simd; use std::sync::atomic::{AtomicBool, Ordering}; use std::sync::Arc; diff --git a/crates/subspace-farmer/src/disk_piece_cache.rs b/crates/subspace-farmer/src/disk_piece_cache.rs index 76b274f8b4..84c42fe994 100644 --- a/crates/subspace-farmer/src/disk_piece_cache.rs +++ b/crates/subspace-farmer/src/disk_piece_cache.rs @@ -22,7 +22,7 @@ use std::fs::{File, OpenOptions}; use std::path::Path; use std::sync::Arc; use std::task::Poll; -use std::{fs, io, mem}; +use std::{fs, io}; use subspace_core_primitives::crypto::blake3_hash_list; use subspace_core_primitives::{Blake3Hash, Piece, PieceIndex}; use subspace_farmer_components::file_ext::FileExt;