{"record":{"id":"946a08c83af5b618","repo":"tinyhumansai/openhuman","slug":"browser-backend-rust-native-requires-build-featu","errorCode":null,"errorMessage":"browser.backend='rust_native' requires build feature 'browser-native'","messagePattern":"browser\\.backend='rust_native' requires build feature 'browser-native'","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/browser.rs","lineNumber":222,"sourceCode":"                } else {\n                    anyhow::bail!(\n                        \"browser.backend='{}' but agent-browser is unavailable. Install it in your environment.\",\n                        configured.as_str()\n                    )\n                }\n            }\n            BrowserBackendKind::Playwright => {\n                if Self::is_playwright_available().await {\n                    Ok(ResolvedBackend::Playwright)\n                } else {\n                    anyhow::bail!(\n                        \"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.\"\n                    )\n                }\n            }\n            BrowserBackendKind::RustNative => {\n                if !Self::rust_native_compiled() {\n                    anyhow::bail!(\n                        \"browser.backend='rust_native' requires build feature 'browser-native'\"\n                    );\n                }\n                if !self.rust_native_available() {\n                    anyhow::bail!(\n                        \"Rust-native browser backend is enabled but WebDriver endpoint is unreachable. Set browser.native_webdriver_url and start a compatible driver\"\n                    );\n                }\n                Ok(ResolvedBackend::RustNative)\n            }\n            BrowserBackendKind::ComputerUse => {\n                if !self.computer_use_available()? {\n                    anyhow::bail!(\n                        \"browser.backend='computer_use' but sidecar endpoint is unreachable. Check browser.computer_use.endpoint and sidecar status\"\n                    );\n                }\n                Ok(ResolvedBackend::ComputerUse)\n            }","sourceCodeStart":204,"sourceCodeEnd":240,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/browser.rs#L204-L240","documentation":"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.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/browser.rs:222 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rebuild the core with --features browser-native.","Choose a backend compiled into this build (playwright, agent-browser, computer_use, auto)."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}