diff --git a/crates/maid/server/src/main.rs b/crates/maid/server/src/main.rs
index fcec46b453938b87bf646d9cb65fdec976dc2422..ead7b75322c7d95414da655d64831089e683dead 100644
--- a/crates/maid/server/src/main.rs
+++ b/crates/maid/server/src/main.rs
@@ -137,7 +137,7 @@ fn stream(ws: WebSocket, docker_state: &State<DockerState>, _token: Token) -> Ch
 
             match docker::run::exec(stream, &docker_state.docker).await {
                 Ok(_) => log::info!("build finished"),
-                Err() => log::error!("failed to build"),
+                Err(_) => log::error!("failed to build"),
             };
 
             Ok(())