From 5aa3fafb4acfa89c7d04e84abf7861607733e8ce Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 28 Apr 2026 00:55:25 +0100 Subject: fix: resolve compilation error and warnings in Rust backend (#95) * fix: resolve compilation error and warnings in Rust backend - Fix syntax error in directive.rs phase_replanning (bad merge created duplicate code blocks with broken `.await {` syntax) - Remove unused imports: WorktreeError, DaemonReauthStatus, ratatui::prelude - Prefix unused variables with underscore: claude_command, content, owner_id - Suppress unused_assignments warning on final_exit_code - Add #[allow(unused_imports)] for cfg(unix) CommandExt imports Co-Authored-By: Claude Opus 4.6 (1M context) * WIP: heartbeat checkpoint * fix: suppress remaining compiler warnings for clean build - Add #[allow(dead_code)] for unused but intentionally kept functions - Remove useless self-assignments in listen handler - Fixes: truncate_string, checkout_commit, handle_get_worktree_diff, default_max_retries, STREAM_CHUNK_MS, listen(), MessageResponse.role Co-Authored-By: Claude Opus 4.6 (1M context) --------- Co-authored-by: Claude Opus 4.6 (1M context) --- makima/src/llm/groq.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'makima/src/llm') diff --git a/makima/src/llm/groq.rs b/makima/src/llm/groq.rs index ee01fcf..8da9746 100644 --- a/makima/src/llm/groq.rs +++ b/makima/src/llm/groq.rs @@ -83,6 +83,7 @@ struct Choice { #[derive(Debug, Deserialize)] struct MessageResponse { + #[allow(dead_code)] role: String, content: Option, tool_calls: Option>, -- cgit v1.2.3