From 35f576c770ddb68bf293d2fc330a18531e6372e7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Jul 2026 14:45:46 +0000 Subject: [PATCH 1/3] Initial plan From c14c7a066822b365ee1759f1e7bf180834ffff03 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Jul 2026 15:06:50 +0000 Subject: [PATCH 2/3] Upgrade swift-syntax-rs to swift-syntax 603.0.2 / Swift 6.3.3 --- MODULE.bazel | 2 +- unified/swift-syntax-rs/.swift-version | 2 +- unified/swift-syntax-rs/README.md | 2 +- unified/swift-syntax-rs/swift/Package.resolved | 6 +++--- unified/swift-syntax-rs/swift/Package.swift | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 4c9e3316c018..37a71583198f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -32,7 +32,7 @@ bazel_dep(name = "rules_dotnet", version = "0.21.5-codeql.1") bazel_dep(name = "googletest", version = "1.17.0.bcr.2") bazel_dep(name = "rules_rust", version = "0.69.0") bazel_dep(name = "rules_swift", version = "4.0.0-rc4") -bazel_dep(name = "swift-syntax", version = "602.0.0.bcr.2") +bazel_dep(name = "swift-syntax", version = "603.0.2") # Needed so we can `use_repo` `local_config_xcode` and # `local_config_apple_cc_toolchains` below (referenced by the per-target diff --git a/unified/swift-syntax-rs/.swift-version b/unified/swift-syntax-rs/.swift-version index 42cc526d6ca7..7849b73dc743 100644 --- a/unified/swift-syntax-rs/.swift-version +++ b/unified/swift-syntax-rs/.swift-version @@ -1 +1 @@ -6.2.4 +6.3.3 diff --git a/unified/swift-syntax-rs/README.md b/unified/swift-syntax-rs/README.md index 6a714137d8c7..b5cc8bd52069 100644 --- a/unified/swift-syntax-rs/README.md +++ b/unified/swift-syntax-rs/README.md @@ -98,7 +98,7 @@ The build does not depend on any particular version manager. You need: - **Rust** — pinned to `1.88` by the repo-root [`rust-toolchain.toml`](../../rust-toolchain.toml), which `rustup` picks up automatically. - **Swift** — pinned to the version in [`.swift-version`](.swift-version) - (currently `6.2.4`), used to build `swift-syntax` `602.0.0`. Install it any way + (currently `6.3.3`), used to build `swift-syntax` `603.0.2`. Install it any way you like — [swift.org](https://www.swift.org/install/) or [swiftly](https://www.swift.org/swiftly/) (which reads `.swift-version`), or a system package. Just make sure `swift` is on your `PATH` (or point `build.rs` diff --git a/unified/swift-syntax-rs/swift/Package.resolved b/unified/swift-syntax-rs/swift/Package.resolved index 9cebf34ec543..dafd46e961b5 100644 --- a/unified/swift-syntax-rs/swift/Package.resolved +++ b/unified/swift-syntax-rs/swift/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "ad84ad340ee01aa6e38b877dd29e38fa9cb40603dfdefa4e6a69e27f2db208d1", + "originHash" : "169957f8fbd882866f8f9f1c68cde813dca3560577939a8ffec366e3d77548e4", "pins" : [ { "identity" : "swift-syntax", "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax.git", "state" : { - "revision" : "4799286537280063c85a32f09884cfbca301b1a1", - "version" : "602.0.0" + "revision" : "79e4b74a295b6eb74a8b585e3a39d29e70c1dbd1", + "version" : "603.0.2" } } ], diff --git a/unified/swift-syntax-rs/swift/Package.swift b/unified/swift-syntax-rs/swift/Package.swift index fcd9fcc07bca..a58b7c1a479b 100644 --- a/unified/swift-syntax-rs/swift/Package.swift +++ b/unified/swift-syntax-rs/swift/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "SwiftSyntaxFFI", platforms: [ - // swift-syntax 602 requires macOS 10.15; declare it explicitly + // swift-syntax 603 requires macOS 10.15; declare it explicitly // rather than relying on the swift-tools-version default (10.13). .macOS(.v10_15), ], @@ -20,7 +20,7 @@ let package = Package( dependencies: [ .package( url: "https://github.com/swiftlang/swift-syntax.git", - exact: "602.0.0" + exact: "603.0.2" ) ], targets: [ From 26e6266c3c8e0b4fedc8bb1c1a9428e07d254a59 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 14 Jul 2026 15:58:55 +0000 Subject: [PATCH 3/3] Pin Swift compiler to 6.3.2 (supported by rules_swift 4.0.0-rc4) --- unified/swift-syntax-rs/.swift-version | 2 +- unified/swift-syntax-rs/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unified/swift-syntax-rs/.swift-version b/unified/swift-syntax-rs/.swift-version index 7849b73dc743..91e4a9f26224 100644 --- a/unified/swift-syntax-rs/.swift-version +++ b/unified/swift-syntax-rs/.swift-version @@ -1 +1 @@ -6.3.3 +6.3.2 diff --git a/unified/swift-syntax-rs/README.md b/unified/swift-syntax-rs/README.md index b5cc8bd52069..9b14d4026f37 100644 --- a/unified/swift-syntax-rs/README.md +++ b/unified/swift-syntax-rs/README.md @@ -98,7 +98,7 @@ The build does not depend on any particular version manager. You need: - **Rust** — pinned to `1.88` by the repo-root [`rust-toolchain.toml`](../../rust-toolchain.toml), which `rustup` picks up automatically. - **Swift** — pinned to the version in [`.swift-version`](.swift-version) - (currently `6.3.3`), used to build `swift-syntax` `603.0.2`. Install it any way + (currently `6.3.2`), used to build `swift-syntax` `603.0.2`. Install it any way you like — [swift.org](https://www.swift.org/install/) or [swiftly](https://www.swift.org/swiftly/) (which reads `.swift-version`), or a system package. Just make sure `swift` is on your `PATH` (or point `build.rs`