diff --git a/codex-rs/core-plugins/src/marketplace_remove.rs b/codex-rs/core-plugins/src/marketplace_remove.rs
index 9181b72311..583a304817 100644
--- a/codex-rs/core-plugins/src/marketplace_remove.rs
+++ b/codex-rs/core-plugins/src/marketplace_remove.rs
@@ -4,6 +4,7 @@ use codex_config::remove_user_marketplace_config;
use codex_plugin::validate_plugin_segment;
use codex_utils_absolute_path::AbsolutePathBuf;
use std::fs;
+use std::io;
use std::path::Path;
use std::path::PathBuf;
@@ -74,14 +75,16 @@ fn remove_marketplace_sync(
}
fn remove_marketplace_root(root: &Path) -> Result