From f7f117489f58d70ef92de865869d4189446af803 Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Sat, 7 Nov 2026 17:54:13 +0900 Subject: [PATCH] Pin swift-collections below 1.7.0 to keep Swift 6.1 building swift-collections 1.7.0 raised its minimum required toolchain to Swift 6.2: Our `from: "1.3.0"` requirement resolves to the newest 1.x, so any fresh resolve breaks the Swift 6.1.3 CI leg with compile errors inside swift-collections. For now we remain supporting 6.1, so lock down the collections version, but we'll drop 6.1 soon as well. --- Package.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 14bd36aea..4ea22aa5a 100644 --- a/Package.swift +++ b/Package.swift @@ -170,7 +170,9 @@ let package = Package( .package(url: "https://github.com/apple/swift-argument-parser", from: "1.8.0"), .package(url: "https://github.com/apple/swift-system", from: "1.4.0"), .package(url: "https://github.com/apple/swift-log", from: "1.2.0"), - .package(url: "https://github.com/apple/swift-collections", from: "1.3.0"), // primarily for ordered collections + // primarily for ordered collections + // FIXME: swift-collections 1.7.0 raised its minimum toolchain to Swift 6.2; stay below it while we still support Swift 6.1 + .package(url: "https://github.com/apple/swift-collections", "1.3.0"..<"1.7.0"), .package(url: "https://github.com/swiftlang/swift-subprocess.git", "0.4.0"..<"0.5.0", traits: ["SubprocessFoundation"]), // Benchmarking