From de7339bea182f6f1440e3587f49cf7baf6790d57 Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Tue, 26 May 2026 14:16:55 +0530 Subject: [PATCH 1/2] Argument parsing is now async since apple/swift-argument-parser#855 This is needed for swiftlang/swift#89404, which updates the Argument Parser used to the latest 1.8.0 tag. --- Sources/Commands/SwiftTestCommand.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Commands/SwiftTestCommand.swift b/Sources/Commands/SwiftTestCommand.swift index 301bb369948..2f477ee1312 100644 --- a/Sources/Commands/SwiftTestCommand.swift +++ b/Sources/Commands/SwiftTestCommand.swift @@ -556,7 +556,7 @@ public struct SwiftTestCommand: AsyncSwiftCommand { try await printCodeCovPath(swiftCommandState) } else if self.options._deprecated_shouldListTests { // Backward compatibility 6/2022 for deprecation of a flag into a subcommand. - let command = try List.parse() + let command = try await List.parse() try await command.run(swiftCommandState) } else { let (productsBuildParameters, _) = try swiftCommandState.buildParametersForTest(options: self.options) From 76c43a98c1733328ab018fa8cb7c4ae6df259866 Mon Sep 17 00:00:00 2001 From: Bassam Khouri Date: Tue, 26 May 2026 14:33:59 -0400 Subject: [PATCH 2/2] Update SAP in Package.swift to 1.8.0 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 9cd6e4f09b7..cebed33bf61 100644 --- a/Package.swift +++ b/Package.swift @@ -1125,7 +1125,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { // utils/update_checkout/update-checkout-config.json // They are used to build the official swift toolchain. .package(url: "https://github.com/swiftlang/swift-syntax.git", branch: relatedDependenciesBranch), - .package(url: "https://github.com/apple/swift-argument-parser.git", revision: "1.6.1"), + .package(url: "https://github.com/apple/swift-argument-parser.git", revision: "1.8.0"), .package(url: "https://github.com/apple/swift-crypto.git", revision: "3.12.5"), .package(url: "https://github.com/apple/swift-system.git", revision: "1.5.0"), .package(url: "https://github.com/apple/swift-collections.git", revision: "1.1.6"),