fix: hero_cloud_server fails to compile — missing .await on async call #12

Closed
opened 2026-03-09 17:40:36 +00:00 by mik-tf · 0 comments
Owner

Problem

The chvm-lib dependency updated refresh_status() from sync to async, but chvm_driver.rs was not updated. This causes hero_cloud_server to fail compilation:

error[E0277]: the `?` operator can only be applied to values that implement `Try`
  --> chvm_driver.rs:165

The Cloud island shows blank in Hero OS because the binary is missing from the Docker image.

Fix

Add .await to the mgr.refresh_status() call on line 165 of chvm_driver.rs.

1-line fix in PR #2.

## Problem The `chvm-lib` dependency updated `refresh_status()` from sync to async, but `chvm_driver.rs` was not updated. This causes `hero_cloud_server` to fail compilation: ``` error[E0277]: the `?` operator can only be applied to values that implement `Try` --> chvm_driver.rs:165 ``` The Cloud island shows blank in Hero OS because the binary is missing from the Docker image. ## Fix Add `.await` to the `mgr.refresh_status()` call on line 165 of `chvm_driver.rs`. 1-line fix in PR #2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_compute#12
No description provided.