Build Information
Failed to build CopilotSDK, reference main (dd3448), with Swift 6.2 for macOS (SPM) on 22 Aug 2026 22:57:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dd34489 chore: release v2.5.3
Updating files: 64% (3220/5007)
Updating files: 65% (3255/5007)
Updating files: 66% (3305/5007)
Updating files: 67% (3355/5007)
Updating files: 68% (3405/5007)
Updating files: 69% (3455/5007)
Updating files: 70% (3505/5007)
Updating files: 71% (3555/5007)
Updating files: 72% (3606/5007)
Updating files: 73% (3656/5007)
Updating files: 74% (3706/5007)
Updating files: 75% (3756/5007)
Updating files: 76% (3806/5007)
Updating files: 77% (3856/5007)
Updating files: 78% (3906/5007)
Updating files: 79% (3956/5007)
Updating files: 80% (4006/5007)
Updating files: 81% (4056/5007)
Updating files: 82% (4106/5007)
Updating files: 83% (4156/5007)
Updating files: 84% (4206/5007)
Updating files: 85% (4256/5007)
Updating files: 86% (4307/5007)
Updating files: 87% (4357/5007)
Updating files: 88% (4407/5007)
Updating files: 89% (4457/5007)
Updating files: 90% (4507/5007)
Updating files: 91% (4557/5007)
Updating files: 92% (4607/5007)
Updating files: 93% (4657/5007)
Updating files: 94% (4707/5007)
Updating files: 95% (4757/5007)
Updating files: 96% (4807/5007)
Updating files: 97% (4857/5007)
Updating files: 98% (4907/5007)
Updating files: 99% (4957/5007)
Updating files: 100% (5007/5007)
Updating files: 100% (5007/5007), done.
Cloned https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git
Revision (git rev-parse @):
dd34489d54addfa020a7ec5b7c5c8b61c6b99f8c
SUCCESS checkout https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write BasicExample-entitlement.plist
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/14] Compiling CopilotSDK CopilotClient.swift
[6/14] Compiling CopilotSDK CopilotSession.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/CopilotSession.swift:124:28: warning: no 'async' operations occur within 'await' expression
122 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
123 | if state.tryResume() {
124 | Task { await self.removeEventHandler(handlerId) }
| `- warning: no 'async' operations occur within 'await' expression
125 | continuation.resume(
126 | throwing: CopilotError.timeout(
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/CopilotSession.swift:160:25: warning: no 'async' operations occur within 'await' expression
158 | if state.tryResume() {
159 | timeoutTask.cancel()
160 | await self.removeEventHandler(handlerId)
| `- warning: no 'async' operations occur within 'await' expression
161 | continuation.resume(throwing: error)
162 | }
[7/14] Emitting module CopilotSDK
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:91:16: warning: stored property 'arguments' of 'Sendable'-conforming struct 'ToolInvocation' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
89 | public let toolCallId: String
90 | public let toolName: String
91 | public let arguments: Any? // The decoded JSON arguments
| `- warning: stored property 'arguments' of 'Sendable'-conforming struct 'ToolInvocation' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
92 |
93 | public init(sessionId: String, toolCallId: String, toolName: String, arguments: Any?) {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:110:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'Tool' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
108 | public let name: String
109 | public let description: String?
110 | public let parameters: [String: Any]?
| `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'Tool' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
111 | public let handler: ToolHandler
112 | /// Tool deferral policy: `ToolDefer.auto` (default) or `ToolDefer.never`.
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:244:16: warning: stored property 'rawData' of 'Sendable'-conforming struct 'PermissionRequest' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
242 | public let kind: String
243 | public let toolCallId: String?
244 | public let rawData: [String: Any]
| `- warning: stored property 'rawData' of 'Sendable'-conforming struct 'PermissionRequest' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
245 |
246 | public init(kind: String, toolCallId: String? = nil, rawData: [String: Any] = [:]) {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:1346:16: warning: stored property 'data' of 'Sendable'-conforming struct 'SessionEvent' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
1344 | public let ephemeral: Bool?
1345 | public let type: String
1346 | public let data: [String: Any]
| `- warning: stored property 'data' of 'Sendable'-conforming struct 'SessionEvent' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
1347 |
1348 | public init(
[8/14] Compiling CopilotSDK Types.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:91:16: warning: stored property 'arguments' of 'Sendable'-conforming struct 'ToolInvocation' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
89 | public let toolCallId: String
90 | public let toolName: String
91 | public let arguments: Any? // The decoded JSON arguments
| `- warning: stored property 'arguments' of 'Sendable'-conforming struct 'ToolInvocation' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
92 |
93 | public init(sessionId: String, toolCallId: String, toolName: String, arguments: Any?) {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:110:16: warning: stored property 'parameters' of 'Sendable'-conforming struct 'Tool' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
108 | public let name: String
109 | public let description: String?
110 | public let parameters: [String: Any]?
| `- warning: stored property 'parameters' of 'Sendable'-conforming struct 'Tool' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
111 | public let handler: ToolHandler
112 | /// Tool deferral policy: `ToolDefer.auto` (default) or `ToolDefer.never`.
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:244:16: warning: stored property 'rawData' of 'Sendable'-conforming struct 'PermissionRequest' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
242 | public let kind: String
243 | public let toolCallId: String?
244 | public let rawData: [String: Any]
| `- warning: stored property 'rawData' of 'Sendable'-conforming struct 'PermissionRequest' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
245 |
246 | public init(kind: String, toolCallId: String? = nil, rawData: [String: Any] = [:]) {
/Users/admin/builder/spi-builder-workspace/swift/Sources/CopilotSDK/Types.swift:1346:16: warning: stored property 'data' of 'Sendable'-conforming struct 'SessionEvent' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
1344 | public let ephemeral: Bool?
1345 | public let type: String
1346 | public let data: [String: Any]
| `- warning: stored property 'data' of 'Sendable'-conforming struct 'SessionEvent' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
1347 |
1348 | public init(
[9/14] Compiling CopilotSDK DefineTool.swift
[10/14] Compiling CopilotSDK SdkProtocolVersion.swift
[11/14] Compiling CopilotSDK JsonRpcClient.swift
[12/16] Emitting module BasicExample
[13/16] Compiling BasicExample main.swift
/Users/admin/builder/spi-builder-workspace/swift/Examples/BasicExample/main.swift:53:43: error: actor-isolated property 'sessionId' cannot be accessed from outside of the actor
51 | SessionConfig(tools: [lookupFactTool])
52 | )
53 | print("Session created: \(session.sessionId)\n")
| `- error: actor-isolated property 'sessionId' cannot be accessed from outside of the actor
54 |
55 | // Subscribe to all events
BUILD FAILURE 6.2 macosSpm