Build Information
Failed to build CopilotSDK, reference v2.5.3 (dd3448), with Swift 6.2 for Linux on 22 Aug 2026 13:47:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git
Reference: v2.5.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged
* tag v2.5.3 -> FETCH_HEAD
HEAD is now at dd34489 chore: release v2.5.3
Updating files: 99% (4964/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 v2.5.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/jeremiahjordanisaacson/copilot-sdk-supercharged.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/14] Emitting module CopilotSDK
/host/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?) {
/host/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`.
/host/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] = [:]) {
/host/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(
[5/14] Compiling CopilotSDK CopilotSession.swift
/host/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(
/host/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 | }
[6/14] Compiling CopilotSDK CopilotClient.swift
[7/14] Compiling CopilotSDK Types.swift
/host/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?) {
/host/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`.
/host/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] = [:]) {
/host/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 SdkProtocolVersion.swift
[9/14] Compiling CopilotSDK JsonRpcClient.swift
[10/14] Compiling CopilotSDK DefineTool.swift
[11/15] Wrapping AST for CopilotSDK for debugging
[13/17] Emitting module BasicExample
[14/17] Compiling BasicExample main.swift
/host/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 linux