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/daemon/process/claude.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makima/src/daemon/process') diff --git a/makima/src/daemon/process/claude.rs b/makima/src/daemon/process/claude.rs index 57c8f77..aa18fab 100644 --- a/makima/src/daemon/process/claude.rs +++ b/makima/src/daemon/process/claude.rs @@ -577,6 +577,7 @@ impl ProcessManager { // On Unix, create a new process group so we can kill all child processes #[cfg(unix)] { + #[allow(unused_imports)] use std::os::unix::process::CommandExt; cmd.process_group(0); } @@ -762,6 +763,7 @@ impl ProcessManager { // On Unix, create a new process group so we can kill all child processes #[cfg(unix)] { + #[allow(unused_imports)] use std::os::unix::process::CommandExt; cmd.process_group(0); } -- cgit v1.2.3