         case removed
 
         /// The package is unchanged.
-        case unchanged(Version)
+        case unchanged
 
         /// The package is updated to a new version.
         case updated(old: Version, new: Version)

                    continue
                }
                if currentVersion == version {
                    packageStateChanges[specifier] = .unchanged(version)
                } else {
                    packageStateChanges[specifier] = .updated(old: currentVersion, new: version)
                }

            case .updated(_, let version):
                _ = try clone(specifier: specifier, version: version)
            case .removed: try remove(specifier: specifier)
            case .unchanged: break
            }
        }
    }
