release/mirus didn't compile: search::format_line called without its definition #1
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/iamb#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
release/mirus(and base0eb8ba8) did not compile from a clean checkout:src/main.rscallssearch::format_linein three places (the:bookmarksand search-result pickers), but theformat_linehelper was never committed — it was left as an unstaged change in the working tree.Detail
src/main.rs:917,:1010,:1265—search::format_line(...), landed with the bookmark feature (9880d14).pub fn format_lineinsrc/search.rs) was missing from every commit.cannot find function 'format_line' in module 'search'(E0425) ×3.Because the deployed binary is built from the working tree (which did have the change), this stayed invisible locally — only a fresh checkout / CI would have caught it.
Fix
Committed the missing helper in
191f909("fix(search): add format_line helper used by the bookmark/search pickers"), extracting the sharedsender · snippetformatting out ofsearch_hit_line. Branch now builds: 133 tests pass, clippy clean.Prevention
Added a Forgejo
checkworkflow (9990d8a) hard-gating oncargo build --locked+cargo test --lockedfor pushes tomain/release/mirusand PRs.Heads-up to whoever landed the bookmark feature: please confirm working-tree changes are fully staged before committing. Leaving this open as an FYI/ack.
Fixed on
release/mirus:pub fn format_linewas committed in191f909(src/search.rs:62). The branch head93d51f1builds, and CI is green (check push + pull_request). Closing.🤖 Claude Code