fn orphaned_state_dirs<'a>( state_dirs: &'a [String], live_deployments: &[&str], bootloader_entries: &[BootloaderEntry], is_aboot: bool, ) -> Vec<&'a String>