Problem
cargo install opencode-voice fails with 71 compilation errors in whisper-rs. All errors are:
error[E0609]: no field `greedy` on type `whisper_full_params`
error[E0609]: no field `beam_search` on type `whisper_full_params`
error[E0609]: no field `n_threads` on type `whisper_full_params`
... (71 total)
The whisper_full_params struct in whisper-rs-sys only exposes _address (opaque), meaning the Rust FFI bindings no longer match the whisper.cpp struct layout.
Environment
- Rust: 1.97.1 (stable)
- OS: macOS (darwin)
- whisper-rs: 0.13.2 (pinned in Cargo.toml)
- whisper-rs 0.16.0 is available on crates.io
Suggested fix
Bump whisper-rs dependency from "0.13" to "0.16" in Cargo.toml. The high-level API (FullParams, WhisperContext, WhisperState) used in src/transcribe/engine.rs appears stable between versions.
Problem
cargo install opencode-voicefails with 71 compilation errors inwhisper-rs. All errors are:The
whisper_full_paramsstruct inwhisper-rs-sysonly exposes_address(opaque), meaning the Rust FFI bindings no longer match the whisper.cpp struct layout.Environment
Suggested fix
Bump
whisper-rsdependency from"0.13"to"0.16"inCargo.toml. The high-level API (FullParams,WhisperContext,WhisperState) used insrc/transcribe/engine.rsappears stable between versions.