pub fn to_pending_set(s: &str) -> Result<PendingSet, String>