tinyhumansai/openhuman · error

browser.backend='rust_native' requires build feature 'browse

Error message

browser.backend='rust_native' requires build feature 'browser-native'

What it means

resolve_backend rejects browser.backend='rust_native' when the binary was compiled without the 'browser-native' Cargo feature. The backend code simply does not exist in this build, so the request fails with a rebuild instruction rather than a runtime absence error.

Source

Thrown at src/openhuman/tools/impl/browser/browser.rs:222

                } else {
                    anyhow::bail!(
                        "browser.backend='{}' but agent-browser is unavailable. Install it in your environment.",
                        configured.as_str()
                    )
                }
            }
            BrowserBackendKind::Playwright => {
                if Self::is_playwright_available().await {
                    Ok(ResolvedBackend::Playwright)
                } else {
                    anyhow::bail!(
                        "browser.backend='playwright' but Playwright is unavailable. Ensure app/node_modules is installed, run `pnpm --filter openhuman-app exec playwright install chromium-headless-shell`, or set OPENHUMAN_PLAYWRIGHT_CWD."
                    )
                }
            }
            BrowserBackendKind::RustNative => {
                if !Self::rust_native_compiled() {
                    anyhow::bail!(
                        "browser.backend='rust_native' requires build feature 'browser-native'"
                    );
                }
                if !self.rust_native_available() {
                    anyhow::bail!(
                        "Rust-native browser backend is enabled but WebDriver endpoint is unreachable. Set browser.native_webdriver_url and start a compatible driver"
                    );
                }
                Ok(ResolvedBackend::RustNative)
            }
            BrowserBackendKind::ComputerUse => {
                if !self.computer_use_available()? {
                    anyhow::bail!(
                        "browser.backend='computer_use' but sidecar endpoint is unreachable. Check browser.computer_use.endpoint and sidecar status"
                    );
                }
                Ok(ResolvedBackend::ComputerUse)
            }

View on GitHub (pinned to 7491200858)

Solutions

  1. Rebuild the core with --features browser-native.
  2. Choose a backend compiled into this build (playwright, agent-browser, computer_use, auto).
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/openhuman/tools/impl/browser/browser.rs:222 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/946a08c83af5b618. Report an issue: GitHub.