pub fn build_bottom_up_graph<'a>( spans: impl Iterator<Item = SpanRef<'a>>, ) -> Vec<Arc<SpanBottomUp>>