async fn build_state_with_backend( backend: &GatewayBackend, options: Option<&GatewayArgs>, ) -> Result<AppState>