diff --git a/src/bin/bench.rs b/src/bin/bench.rs
index dc0a1a4daaa..3db26741f4e 100644
--- a/src/bin/bench.rs
+++ b/src/bin/bench.rs
@@ -1,3 +1,4 @@
+use cargo::core::Workspace;
use cargo::ops;
use cargo::util::{CliResult, CliError, Human, Config, human};
use cargo::util::important_paths::{find_root_manifest_for_wd};
@@ -91,7 +92,8 @@ pub fn execute(options: Options, config: &Config) -> CliResult