diff --git a/hostd/src/machine.rs b/hostd/src/machine.rs
index eb4c81e..ba63010 100644
--- a/hostd/src/machine.rs
+++ b/hostd/src/machine.rs
@@ -34,7 +34,7 @@ pub async fn describe(
         // convert bytes to hex string
         .iter()
         .map(|&b| format!("{:02x}", b))
-        .collect();
+        .collect::<String>();
 
     let machine_info = MachineInfo { machine_id };