hero_embedder_app fails to compile — hero_archipelagos_core is 124 commits stale on Cargo.lock #30

Open
opened 2026-04-30 21:53:15 +00:00 by mik-tf · 0 comments
Owner

cargo check -p hero_embedder_app against current development tip fails with 4 errors across 2 distinct API symbols:

error[E0425]: cannot find function `use_focus_poll` in crate `hero_archipelagos_core`
   --> crates/hero_embedder_app/src/app.rs:106:29
   --> crates/hero_embedder_app/src/components/connection_status.rs:48:33

error[E0609]: no field `window_id` on type `IslandContext`
   --> crates/hero_embedder_app/src/app.rs:106:52
   --> crates/hero_embedder_app/src/app.rs:406:32

Root cause is in Cargo.lock:

[[package]]
name = "hero_archipelagos_core"
source = "git+https://forge.ourworld.tf/lhumina_code/hero_archipelagos.git?branch=development#f8e09921be6bfba3b3982f2838856e3f0cd9bc0d"

That SHA is 124 commits behind current origin/development of lhumina_code/hero_archipelagos. The window_id field on IslandContext (added at core/src/context.rs:86) and the use_focus_poll hook (core/src/focus.rs:33) both landed in those 124 commits. hero_embedder_app source uses both APIs but the locked dep predates them.

Suggested fix: cargo update -p hero_archipelagos_core and commit the refreshed lockfile.

Scope note: hero_embedder_lib, hero_embedderd, and hero_embedder_server (the binaries downstream consumers like freezone ship) compile cleanly — this only affects the UI crate.

`cargo check -p hero_embedder_app` against current `development` tip fails with 4 errors across 2 distinct API symbols: ``` error[E0425]: cannot find function `use_focus_poll` in crate `hero_archipelagos_core` --> crates/hero_embedder_app/src/app.rs:106:29 --> crates/hero_embedder_app/src/components/connection_status.rs:48:33 error[E0609]: no field `window_id` on type `IslandContext` --> crates/hero_embedder_app/src/app.rs:106:52 --> crates/hero_embedder_app/src/app.rs:406:32 ``` Root cause is in `Cargo.lock`: ```toml [[package]] name = "hero_archipelagos_core" source = "git+https://forge.ourworld.tf/lhumina_code/hero_archipelagos.git?branch=development#f8e09921be6bfba3b3982f2838856e3f0cd9bc0d" ``` That SHA is **124 commits behind** current `origin/development` of `lhumina_code/hero_archipelagos`. The `window_id` field on `IslandContext` (added at `core/src/context.rs:86`) and the `use_focus_poll` hook (`core/src/focus.rs:33`) both landed in those 124 commits. `hero_embedder_app` source uses both APIs but the locked dep predates them. Suggested fix: `cargo update -p hero_archipelagos_core` and commit the refreshed lockfile. Scope note: `hero_embedder_lib`, `hero_embedderd`, and `hero_embedder_server` (the binaries downstream consumers like freezone ship) compile cleanly — this only affects the UI crate.
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_embedder#30
No description provided.