         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)

                // update is needed, or cases where the range is invalid.
                fatalError("unexpected dependency resolution result")
            case .removed: try remove(specifier: specifier)
            case .unchanged(_): break
            }
        }


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