CI broken: hero_admin_lib uses local path dep instead of git reference #132

Closed
opened 2026-05-11 09:23:13 +00:00 by casper-stevens · 1 comment
Member

Problem

The workspace Cargo.toml declares hero_admin_lib as a local path dependency:

hero_admin_lib = { path = "../hero_website_framework/crates/hero_admin_lib" }

This path does not exist in CI or on any machine where only this repo is cloned. The build fails immediately during manifest resolution with:

error: failed to load manifest for dependency `hero_admin_lib`
Caused by: failed to read `.../hero_website_framework/crates/hero_admin_lib/Cargo.toml`
Caused by: No such file or directory (os error 2)

Fix

Replace the local path with a git reference, matching the pattern used by all other Hero framework dependencies:

hero_admin_lib = { version = "0.1.0", git = "https://forge.ourworld.tf/lhumina_code/hero_website_framework.git", branch = "development" }

This is the same fix applied to hero_biz (commit 0c52e37) and hero_osis (issue #51).

## Problem The workspace `Cargo.toml` declares `hero_admin_lib` as a local path dependency: ```toml hero_admin_lib = { path = "../hero_website_framework/crates/hero_admin_lib" } ``` This path does not exist in CI or on any machine where only this repo is cloned. The build fails immediately during manifest resolution with: ``` error: failed to load manifest for dependency `hero_admin_lib` Caused by: failed to read `.../hero_website_framework/crates/hero_admin_lib/Cargo.toml` Caused by: No such file or directory (os error 2) ``` ## Fix Replace the local path with a git reference, matching the pattern used by all other Hero framework dependencies: ```toml hero_admin_lib = { version = "0.1.0", git = "https://forge.ourworld.tf/lhumina_code/hero_website_framework.git", branch = "development" } ``` This is the same fix applied to `hero_biz` (commit `0c52e37`) and `hero_osis` (issue #51).
Author
Member

Fixed in commit 09a9da0 — switched to git reference.

Fixed in commit 09a9da0 — switched to git reference.
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_os#132
No description provided.