master does not compile: ContinuousEvent::Caption matched as tuple, declared as struct
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
Research direction
Read the ContinuousEvent::Caption declaration in crates/jcode-voice/src/continuous.rs:57 and the match in crates/jcode-tui/src/tui/app/jarvis_listen.rs:383. Start by comparing the variant’s fields with the match pattern; update the two sites so they agree, then run cargo build -p jcode --bin jcode. Done when that build succeeds.
Written by the indexing model from the issue text.
Description
Summary
origin/master at fb21cb403 does not compile:
error[E0164]: expected tuple struct or tuple variant, found struct variant `ContinuousEvent::Caption`
--> crates/jcode-tui/src/tui/app/jarvis_listen.rs:383:21
|
383 | ContinuousEvent::Caption(text) => {
Why
The variant is declared as a struct variant in crates/jcode-voice/src/continuous.rs:57:
Caption {
...
}
but matched as a tuple variant in crates/jcode-tui/src/tui/app/jarvis_listen.rs:383:
ContinuousEvent::Caption(text) => {
Evidence
git diff origin/master -- crates/jcode-tui/src/tui/app/jarvis_listen.rsis empty on a branch rebased ontofb21cb403, so the file is exactly master's.cargo build -p jcode --bin jcodeon that tree stops at the error above.- Nothing in the reporting branch touches
jarvis_listen.rs,continuous.rs, or Jarvis code at all.
Impact
Every PR that merges into master inherits this, so the build jobs go red for reasons unrelated to the PR. It also blocks local verification of any Windows/ConPTY work, because the binary cannot be produced.
Fix
Either destructure the struct variant at jarvis_listen.rs:383 (ContinuousEvent::Caption { text, .. } or whatever the fields are), or change the declaration if the tuple form was intended. Whichever it is, the two sites have to agree; I did not touch it because it is outside the scope of the branch that found it.
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 1
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 1jehuang/jcode
-
gemini-api profile defaults to gemini-2.5-flash, which Google reroutes from 2026-12-01Possibly taken @EslamOsama00 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 4 days
-
autonomous: no documentation triage: needs-decision
Difficulty 1/5 Under an hour Newbie friendliness 63/100
1jehuang/jcode#2288 · 1 comment ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 4 days
-
`jcode run` prints streamed reasoning one chunk per linePossibly taken @theammir claimed this 15 days ago. Openautonomous: likely bug type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
1jehuang/jcode#2134 · 1 comment ·
Maintainers usually reply within 4 days
-
ACP titles are non descriptive, even though they could bePossibly taken @Aafimalek claimed this 15 days ago. Openautonomous: likely enhancement type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
1jehuang/jcode#2093 · 1 comment ·
Maintainers usually reply within 4 days
Similar issues
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#59692 ·
Maintainers usually reply within 1 day
-
Retire stale Python-parity labels in Rust ingress and auth testsPossibly taken @github-actions claimed this today. Openfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JoshCLWren/comic-pile#5874 · 2 comments ·
Maintainers usually reply within 1 day
-
status:ready unit
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nonagenticai/conveyor#787 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day