fn rebuild_with<T>( memory: &Path, computer: &str, files: &[&str], rejoin: bool, then: impl FnOnce() -> T, ) -> Result<T, String>