diff --git a/crates/lib/container_common/src/filesystem/safe_delete_temp_file.rs b/crates/lib/container_common/src/filesystem/safe_delete_temp_file.rs index 14d57c1f78..b4b955515e 100644 --- a/crates/lib/container_common/src/filesystem/safe_delete_temp_file.rs +++ b/crates/lib/container_common/src/filesystem/safe_delete_temp_file.rs @@ -1,10 +1,7 @@ -use anyhow::bail; -use crate::anyhow_result::AnyhowResult; use log::info; use log::warn; use std::fs; use std::path::Path; -use std::path::PathBuf; pub fn safe_delete_temp_file>(file_path: P) { // NB: We should be using a tempdir, but to make absolutely certain we don't overflow the disk... diff --git a/crates/lib/container_common/src/thread/async_thread_kill_signal.rs b/crates/lib/container_common/src/thread/async_thread_kill_signal.rs index 6d014c78ad..b27fc13acb 100644 --- a/crates/lib/container_common/src/thread/async_thread_kill_signal.rs +++ b/crates/lib/container_common/src/thread/async_thread_kill_signal.rs @@ -1,6 +1,6 @@ use anyhow::anyhow; use crate::anyhow_result::AnyhowResult; -use std::sync::{Arc, RwLock, PoisonError, RwLockWriteGuard}; +use std::sync::{Arc, RwLock}; use std::time::{Instant, Duration}; /// Sometimes I need to kill a thread from somewhere else. This is a mechanism