{"record":{"id":"823cf0248d200f58","repo":"DioxusLabs/dioxus","slug":"scope-output","errorCode":null,"errorMessage":"scope output","messagePattern":"scope output","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/diff/iterator.rs","lineNumber":631,"sourceCode":"        dom: &VirtualDom,\n        to: &mut dyn WriteMutations,\n    ) -> usize {\n        match &self.vnode().dynamic_node_values()[idx] {\n            DynamicNode::Fragment(nodes) => {\n                let mounts = dom.mounted_fragment_children_exact(mount, idx, nodes.len());\n                nodes\n                    .iter()\n                    .zip(mounts)\n                    .map(|(node, mount)| {\n                        crate::MountedVNode::new(node, mount).push_all_root_nodes(dom, to)\n                    })\n                    .sum()\n            }\n            DynamicNode::Component(_) => dom\n                .get_scope(dom.unchecked_mounted_dynamic_component_scope(mount, idx))\n                .unwrap()\n                .try_mounted_root_node()\n                .expect(\"scope output\")\n                .push_all_root_nodes(dom, to),\n            DynamicNode::Text(_) => {\n                if dom.mount_target_id(mount) == target_id {\n                    let id = dom\n                        .unchecked_mounted_dynamic_text_node(mount, idx)\n                        .element_id();\n                    push_live_root(to, id)\n                } else {\n                    0\n                }\n            }\n        }\n    }\n}\n\nfn push_live_root(to: &mut dyn WriteMutations, id: ElementId) -> usize {\n    // Callers (`push_all_root_nodes`) only reach this with `id` values just\n    // read from a root anchor/dynamic text slot for a vnode whose mount target already matches","sourceCodeStart":613,"sourceCodeEnd":649,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/core/src/diff/iterator.rs#L613-L649","documentation":"Internal invariant while pushing a component dynamic node's root nodes: the component scope was expected to have mounted output. A component dynamic node without a rendered root means the component never rendered successfully.","triggerScenarios":"Thrown at packages/core/src/diff/iterator.rs:631 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["This is an internal invariant about scope output during diffing. Report it with a minimal reproduction to the Dioxus issue tracker."],"exampleFix":null,"handlingStrategy":"type-guard","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-14T05:17:10.506Z"}