[auto-build-break] herolib_tools failed to compile #141

Open
opened 2026-05-16 01:03:07 +00:00 by zaelgohary · 6 comments
Member

Auto-detected build break

The hero_lib rebuild on herodev started failing on 9b5912bf (last-good: 37125e5).

Failing crates: herolib_tools

Error codes: E0308, E0560, E0599

Build error:

   Compiling herolib_tools v0.6.0 (/home/zainab/hero/code0/forge.ourworld.tf/lhumina_code/hero_lib/crates/tools)
error[E0560]: struct `JobLogsInput` has no field named `attempt`
   --> crates/tools/src/agent/mod.rs:518:17
    |
518 |                 attempt: None,
    |                 ^^^^^^^ `JobLogsInput` does not have this field
    |
    = note: all struct fields are already assigned

error[E0599]: no method named `unwrap_or_default` found for struct `Vec<JobLogLine>` in the current scope
   --> crates/tools/src/agent/mod.rs:526:14
    |
524 |           Ok(result
    |  ____________-
525 | |             .value
526 | |             .unwrap_or_default()
    | |             -^^^^^^^^^^^^^^^^^ method not found in `Vec<JobLogLine>`
    | |_____________|
    |

error[E0308]: mismatched types
   --> crates/tools/src/agent/mod.rs:661:13
    |
661 |             job_id,
    |             ^^^^^^ expected `i64`, found `Option<i64>`
    |
    = note: expected type `i64`
               found enum `std::option::Option<i64>`
help: consider using `Option::expect` to unwrap the `std::option::Option<i64>` value, panicking if the value is an `Option::None`
    |
661 |             job_id: job_id.expect("REASON"),
    |                   +++++++++++++++++++++++++

Some errors have detailed explanations: E0308, E0560, E0599.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `herolib_tools` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...

Auto-filed by hero-sync-poll on herodev at 2026-05-16T01:03:07+00:00.
Re-runs will comment on this issue rather than open duplicates.

# Auto-detected build break The `hero_lib` rebuild on herodev started failing on `9b5912bf` (last-good: `37125e5`). **Failing crates:** herolib_tools **Error codes:** `E0308`, `E0560`, `E0599` **Build error:** ``` Compiling herolib_tools v0.6.0 (/home/zainab/hero/code0/forge.ourworld.tf/lhumina_code/hero_lib/crates/tools) error[E0560]: struct `JobLogsInput` has no field named `attempt` --> crates/tools/src/agent/mod.rs:518:17 | 518 | attempt: None, | ^^^^^^^ `JobLogsInput` does not have this field | = note: all struct fields are already assigned error[E0599]: no method named `unwrap_or_default` found for struct `Vec<JobLogLine>` in the current scope --> crates/tools/src/agent/mod.rs:526:14 | 524 | Ok(result | ____________- 525 | | .value 526 | | .unwrap_or_default() | | -^^^^^^^^^^^^^^^^^ method not found in `Vec<JobLogLine>` | |_____________| | error[E0308]: mismatched types --> crates/tools/src/agent/mod.rs:661:13 | 661 | job_id, | ^^^^^^ expected `i64`, found `Option<i64>` | = note: expected type `i64` found enum `std::option::Option<i64>` help: consider using `Option::expect` to unwrap the `std::option::Option<i64>` value, panicking if the value is an `Option::None` | 661 | job_id: job_id.expect("REASON"), | +++++++++++++++++++++++++ Some errors have detailed explanations: E0308, E0560, E0599. For more information about an error, try `rustc --explain E0308`. error: could not compile `herolib_tools` (lib) due to 3 previous errors warning: build failed, waiting for other jobs to finish... ``` --- *Auto-filed by `hero-sync-poll` on herodev at 2026-05-16T01:03:07+00:00.* *Re-runs will comment on this issue rather than open duplicates.*
Author
Member

Build still broken as of 2026-05-16T08:11:17+00:00.

Build still broken as of 2026-05-16T08:11:17+00:00.
Author
Member

Build still broken as of 2026-05-16T14:30:52+00:00.

Build still broken as of 2026-05-16T14:30:52+00:00.
Author
Member

Build still broken as of 2026-05-16T17:45:59+00:00.

Build still broken as of 2026-05-16T17:45:59+00:00.
Author
Member

Build still broken as of 2026-05-17T05:00:55+00:00.

Build still broken as of 2026-05-17T05:00:55+00:00.
Author
Member

Build still broken as of 2026-05-17T05:11:00+00:00.

Build still broken as of 2026-05-17T05:11:00+00:00.
Author
Member

Build still broken as of 2026-05-17T05:15:54+00:00.

Build still broken as of 2026-05-17T05:15:54+00:00.
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_lib#141
No description provided.