{"record":{"id":"df6944a1e7fbafff","repo":"DioxusLabs/dioxus","slug":"build-aborted-for-platform-bundle-format","errorCode":null,"errorMessage":"Build aborted for platform: {bundle_format}","messagePattern":"Build aborted for platform: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/cli/run.rs","lineNumber":132,"sourceCode":"                                tracing::info!(\"[{bundle_format}] Running Gradle\")\n                            }\n                            BuildStage::CodeSigning => {\n                                tracing::info!(\"[{bundle_format}] Code signing app\")\n                            }\n                            BuildStage::Success => {}\n                            BuildStage::Restarting => {}\n                            BuildStage::CompressingAssets => {}\n                            BuildStage::ExtractingAssets => {}\n                            BuildStage::Prerendering => {\n                                tracing::info!(\"[{bundle_format}] Prerendering app\")\n                            }\n                            BuildStage::Failed => {\n                                tracing::error!(\"[{bundle_format}] Build failed\");\n                                bail!(\"Build failed for platform: {bundle_format}\");\n                            }\n                            BuildStage::Aborted => {\n                                tracing::error!(\"[{bundle_format}] Build aborted\");\n                                bail!(\"Build aborted for platform: {bundle_format}\");\n                            }\n                            _ => {}\n                        },\n                        BuilderUpdate::CompilerMessage { message } => {\n                            print!(\"{message}\");\n                        }\n                        BuilderUpdate::BuildFailed { err } => {\n                            tracing::error!(\"❌ Build failed: {}\", err);\n                            return Err(err);\n                        }\n                        BuilderUpdate::StdoutReceived { msg } => {\n                            tracing::info!(\"[{bundle_format}] {msg}\");\n                        }\n                        BuilderUpdate::StderrReceived { msg } => {\n                            tracing::error!(\"[{bundle_format}] {msg}\");\n                        }\n                        BuilderUpdate::ProcessExited { status } => {\n                            if !status.success() {","sourceCodeStart":114,"sourceCodeEnd":150,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/cli/run.rs#L114-L150","documentation":"Terminal-state report in the run loop: a BuilderUpdate progress event reported a build stage indicating the build for this bundle format was aborted (e.g. interrupted or cancelled mid-pipeline) rather than failing with a compiler error. It distinguishes a user/system-initiated abort from the 'Build failed' path and stops the run loop for that platform.","triggerScenarios":"Thrown at packages/cli/src/cli/run.rs:132 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The build was aborted before completion. Rerun the build; investigate the abort cause if it repeats."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}