You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPM 3.1 spins when fetching dependencies with invalid tags.
The following Package.swift source will try and depend on several packages which have non-existent tags (0,0,0). Calling `swift package fetch` will seemingly spin forever.
I did not see the problem with only one bad dependency. In that case I got the right answer of "error: unsatisfiable"
Environment
macOS Xcode Swift 3.1
Additional Detail from JIRA
md5: 4e4fe26eec772cc255544d28d6625428
duplicates:
relates to:
Issue Description:
SPM 3.1 spins when fetching dependencies with invalid tags.
The following Package.swift source will try and depend on several packages which have non-existent tags (0,0,0). Calling `swift package fetch` will seemingly spin forever.
I did not see the problem with only one bad dependency. In that case I got the right answer of "error: unsatisfiable"
// swift-tools-version:3.1
import PackageDescription
let package = Package(
name: "TestProj",
targets: [],
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-FileMaker.git", majorVersion: 2),
.Package(url: "https://github.com/SwiftORM/SQLite-StORM.git", Version(0,0,0)),
.Package(url: "https://github.com/SwiftORM/Postgres-StORM.git", Version(0,0,0)),
.Package(url: "https://github.com/SwiftORM/MongoDB-StORM.git", Version(0,0,0)),
.Package(url: "https://github.com/SwiftORM/MySQL-StORM.git", Version(0,0,0)),
.Package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-WebSockets.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-Notifications.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-Zip.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-Mustache.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-CURL.git", majorVersion: 2),
],
exclude: []
)
The text was updated successfully, but these errors were encountered: