Build Information
Failed to build ACP, reference v0.1.16 (f38606), with Swift 6.1 for Android on 3 Mar 2026 07:30:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aptove/swift-sdk.git
Reference: v0.1.16
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/aptove/swift-sdk
* tag v0.1.16 -> FETCH_HEAD
HEAD is now at f38606f fix: fail pending requests on transport close, call close() on POSIX 57
Cloned https://github.com/aptove/swift-sdk.git
Revision (git rev-parse @):
f38606f7bb43a12122b8338b2bb694084ededf94
SUCCESS checkout https://github.com/aptove/swift-sdk.git at v0.1.16
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/aptove/swift-sdk.git
https://github.com/aptove/swift-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "ACP",
"name" : "ACP",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "ACPModel",
"targets" : [
"ACPModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ACP",
"targets" : [
"ACP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ACPHTTP",
"targets" : [
"ACPHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EchoAgent",
"targets" : [
"EchoAgent"
],
"type" : {
"executable" : null
}
},
{
"name" : "SimpleClient",
"targets" : [
"SimpleClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "InteractiveClient",
"targets" : [
"InteractiveClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "SimpleAgentApp",
"targets" : [
"SimpleAgentApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SimpleClient",
"module_type" : "SwiftTarget",
"name" : "SimpleClient",
"path" : "Samples/SimpleClient",
"product_memberships" : [
"SimpleClient"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "executable"
},
{
"c99name" : "SimpleAgentApp",
"module_type" : "SwiftTarget",
"name" : "SimpleAgentApp",
"path" : "Samples/SimpleAgentApp",
"product_memberships" : [
"SimpleAgentApp"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "executable"
},
{
"c99name" : "InteractiveClient",
"module_type" : "SwiftTarget",
"name" : "InteractiveClient",
"path" : "Samples/InteractiveClient",
"product_memberships" : [
"InteractiveClient"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "executable"
},
{
"c99name" : "EchoAgent",
"module_type" : "SwiftTarget",
"name" : "EchoAgent",
"path" : "Samples/EchoAgent",
"product_memberships" : [
"EchoAgent"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "executable"
},
{
"c99name" : "ACPTests",
"module_type" : "SwiftTarget",
"name" : "ACPTests",
"path" : "Tests/ACPTests",
"sources" : [
"ACPTests.swift",
"AgentClientTests.swift",
"ClientSessionModelTests.swift",
"ClientSessionTests.swift",
"E2EIntegrationTests.swift",
"IntegrationTests.swift",
"OperationsTests.swift",
"PaginatedResponseTests.swift",
"ProtocolTests.swift",
"StdioTransportTests.swift",
"TestTransport.swift"
],
"target_dependencies" : [
"ACP"
],
"type" : "test"
},
{
"c99name" : "ACPModelTests",
"module_type" : "SwiftTarget",
"name" : "ACPModelTests",
"path" : "Tests/ACPModelTests",
"sources" : [
"ACPModelTests.swift",
"AuthMessagesTests.swift",
"FileMessagesTests.swift",
"JsonRpcTests.swift",
"JsonValueTests.swift",
"ModelMessagesTests.swift",
"NotificationsTests.swift",
"PaginationTests.swift",
"PermissionMessagesTests.swift",
"ProtocolVersionTests.swift",
"RequestIdTests.swift",
"SessionConfigOptionTests.swift",
"SessionIdTests.swift",
"SessionModeMessagesTests.swift",
"SessionOperationsTests.swift",
"TerminalTests.swift"
],
"target_dependencies" : [
"ACPModel"
],
"type" : "test"
},
{
"c99name" : "ACPModel",
"module_type" : "SwiftTarget",
"name" : "ACPModel",
"path" : "Sources/ACPModel",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"ACPModel",
"ACP",
"ACPHTTP",
"EchoAgent",
"SimpleClient",
"InteractiveClient",
"SimpleAgentApp"
],
"sources" : [
"ACPModel.swift",
"AcpProtocols.swift",
"Annotations.swift",
"AuthMessages.swift",
"AvailableCommand.swift",
"Capabilities.swift",
"ContentBlock.swift",
"Cursor.swift",
"FileMessages.swift",
"Implementation.swift",
"InitializeMessages.swift",
"JsonRpc.swift",
"JsonValue.swift",
"McpServer.swift",
"ModelId.swift",
"ModelMessages.swift",
"Notifications.swift",
"Pagination.swift",
"PermissionMessages.swift",
"PermissionOptionId.swift",
"PlanEntry.swift",
"Priority.swift",
"ProtocolVersion.swift",
"RequestId.swift",
"Role.swift",
"SessionConfigGroupId.swift",
"SessionConfigId.swift",
"SessionConfigOption.swift",
"SessionConfigValueId.swift",
"SessionId.swift",
"SessionInfo.swift",
"SessionMessages.swift",
"SessionModeId.swift",
"SessionModeMessages.swift",
"SessionOperations.swift",
"SessionUpdate.swift",
"SessionUpdateTypes.swift",
"Terminal.swift",
"ToolCall.swift",
"ToolCallId.swift"
],
"type" : "library"
},
{
"c99name" : "ACPHTTPTests",
"module_type" : "SwiftTarget",
"name" : "ACPHTTPTests",
"path" : "Tests/ACPHTTPTests",
"sources" : [
"ACPHTTPTests.swift",
"WebSocketTransportTests.swift"
],
"target_dependencies" : [
"ACPHTTP"
],
"type" : "test"
},
{
"c99name" : "ACPHTTP",
"module_type" : "SwiftTarget",
"name" : "ACPHTTP",
"path" : "Sources/ACPHTTP",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"ACPHTTP"
],
"sources" : [
"ACPHTTP.swift",
"WebSocketTransport.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "library"
},
{
"c99name" : "ACP",
"module_type" : "SwiftTarget",
"name" : "ACP",
"path" : "Sources/ACP",
"product_dependencies" : [
"Logging",
"Collections"
],
"product_memberships" : [
"ACP",
"ACPHTTP",
"EchoAgent",
"SimpleClient",
"InteractiveClient",
"SimpleAgentApp"
],
"sources" : [
"ACP.swift",
"Agent.swift",
"AgentConnection.swift",
"AgentContext.swift",
"Client.swift",
"ClientConnection.swift",
"ClientSession.swift",
"ClientSessionOperations.swift",
"Event.swift",
"FileSystemOperations.swift",
"PaginatedResponse.swift",
"Protocol.swift",
"ProtocolExtensions.swift",
"RemoteClientOperations.swift",
"StdioTransport.swift",
"TerminalOperations.swift",
"Transport.swift"
],
"target_dependencies" : [
"ACPModel"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/20327] Fetching swift-collections
[1221/26417] Fetching swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.48s)
Fetched https://github.com/apple/swift-collections.git from cache (1.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.61s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/EchoAgent/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/SimpleClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/InteractiveClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/SimpleAgentApp/README.md
Building for debugging...
[0/40] Write sources
[16/40] Write swift-version-24593BA9C3E375BF.txt
[18/61] Emitting module Logging
[19/61] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[20/61] Compiling InternalCollectionsUtilities Integer rank.swift
[21/61] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/61] Emitting module InternalCollectionsUtilities
[23/63] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/63] Compiling Logging LogHandler.swift
[26/63] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[27/63] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[28/63] Compiling InternalCollectionsUtilities UInt+reversed.swift
[29/63] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[30/63] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/63] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/63] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[33/63] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[34/63] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/63] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/63] Compiling InternalCollectionsUtilities Debugging.swift
[37/63] Compiling InternalCollectionsUtilities Descriptions.swift
[38/64] Wrapping AST for InternalCollectionsUtilities for debugging
[40/338] Compiling BitCollections BitArray+Extras.swift
[41/338] Compiling BitCollections BitArray+Fill.swift
[42/338] Compiling BitCollections BitArray+Hashable.swift
[43/338] Compiling BitCollections BitArray+Initializers.swift
[44/340] Compiling HeapModule _HeapNode.swift
[45/340] Compiling BitCollections BitArray._UnsafeHandle.swift
[46/340] Compiling BitCollections BitArray.swift
[47/340] Compiling HeapModule Heap.swift
[48/340] Compiling BitCollections BitArray+Invariants.swift
[49/340] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[50/340] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[51/340] Compiling HeapModule Heap+Invariants.swift
[52/340] Compiling HeapModule Heap+UnsafeHandle.swift
[53/340] Compiling HeapModule Heap+Descriptions.swift
[54/340] Emitting module HeapModule
[56/341] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[57/341] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[58/341] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[59/341] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[60/341] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[61/341] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[62/341] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[63/341] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[64/341] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[65/341] Compiling BitCollections BitSet+SetAlgebra union.swift
[66/341] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[67/341] Compiling BitCollections BitSet.Counted.swift
[68/341] Compiling _RopeModule Rope+Sequence.swift
[69/341] Compiling _RopeModule Rope+Append.swift
[70/341] Compiling _RopeModule _RopeItem.swift
[71/341] Compiling _RopeModule _RopePath.swift
[72/341] Compiling HashTreeCollections TreeSet+Sequence.swift
[73/341] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[74/341] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[75/341] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[76/341] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[77/341] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[78/341] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[79/341] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[79/358] Wrapping AST for HeapModule for debugging
[81/358] Compiling DequeModule _DequeSlot.swift
[82/358] Compiling DequeModule _UnsafeWrappedBuffer.swift
[83/358] Emitting module BitCollections
[84/365] Compiling BitCollections BitArray+Shifts.swift
[85/365] Compiling BitCollections BitArray+Testing.swift
[86/365] Compiling BitCollections BitArray+RandomBits.swift
[87/365] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[88/365] Compiling BitCollections Range+Utilities.swift
[89/365] Compiling BitCollections Slice+Utilities.swift
[90/365] Compiling BitCollections UInt+Tricks.swift
[91/365] Compiling BitCollections _Word.swift
[92/365] Compiling OrderedCollections OrderedSet.swift
[93/365] Compiling OrderedCollections _UnsafeBitset.swift
[94/365] Compiling _RopeModule Rope.swift
[95/365] Compiling _RopeModule RopeElement.swift
[96/365] Compiling _RopeModule RopeMetric.swift
[97/365] Compiling _RopeModule RopeSummary.swift
[98/365] Compiling BitCollections BitSet+Invariants.swift
[99/365] Compiling BitCollections BitSet+Random.swift
[100/365] Compiling BitCollections BitSet+SetAlgebra basics.swift
[101/365] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[102/365] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[103/365] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[104/365] Compiling BitCollections BitArray+BitwiseOperations.swift
[105/365] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[114/365] Compiling BitCollections BitSet.Index.swift
[115/365] Compiling BitCollections BitSet._UnsafeHandle.swift
[116/365] Compiling BitCollections BitSet.swift
[117/365] Compiling BitCollections BitArray+Codable.swift
[118/365] Compiling BitCollections BitArray+Collection.swift
[119/365] Compiling BitCollections BitArray+Copy.swift
[120/365] Compiling BitCollections BitArray+CustomReflectable.swift
[121/365] Compiling BitCollections BitArray+Descriptions.swift
[122/365] Compiling BitCollections BitArray+Equatable.swift
[123/365] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[124/365] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[133/365] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[134/365] Compiling BitCollections BitSet+CustomReflectable.swift
[135/365] Compiling BitCollections BitSet+CustomStringConvertible.swift
[136/365] Compiling BitCollections BitSet+Equatable.swift
[137/365] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[138/365] Compiling BitCollections BitSet+Extras.swift
[139/365] Compiling BitCollections BitSet+Hashable.swift
[140/365] Compiling BitCollections BitSet+Initializers.swift
[141/365] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[142/365] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[150/365] Emitting module DequeModule
[180/366] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[181/366] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[182/366] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[183/366] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[184/366] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[185/366] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[186/366] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[187/366] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[188/366] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[189/366] Compiling HashTreeCollections TreeSet.swift
[190/366] Wrapping AST for DequeModule for debugging
[192/366] Compiling Logging MetadataProvider.swift
[193/366] Compiling Logging Locks.swift
[194/366] Compiling Logging Logging.swift
[219/367] Wrapping AST for Logging for debugging
[264/377] Wrapping AST for BitCollections for debugging
[266/377] Emitting module OrderedCollections
[268/378] Emitting module _RopeModule
[268/378] Wrapping AST for OrderedCollections for debugging
[303/378] Emitting module HashTreeCollections
[354/379] Compiling _RopeModule Rope+Join.swift
[355/379] Compiling _RopeModule Rope+MutatingForEach.swift
[356/379] Compiling _RopeModule Rope+Remove.swift
[357/379] Compiling _RopeModule Rope+RemoveSubrange.swift
[358/379] Compiling _RopeModule Rope+Split.swift
[359/379] Compiling _RopeModule Optional Utilities.swift
[360/379] Compiling _RopeModule String Utilities.swift
[361/379] Compiling _RopeModule String.Index+ABI.swift
[362/379] Compiling _RopeModule _CharacterRecognizer.swift
[362/379] Wrapping AST for HashTreeCollections for debugging
[364/380] Wrapping AST for _RopeModule for debugging
[366/382] Emitting module Collections
[367/382] Compiling Collections Collections.swift
[368/383] Wrapping AST for Collections for debugging
[370/419] Emitting module ACPModel
[371/424] Compiling ACPModel SessionConfigGroupId.swift
[372/424] Compiling ACPModel SessionConfigId.swift
[373/424] Compiling ACPModel SessionConfigOption.swift
[374/424] Compiling ACPModel SessionConfigValueId.swift
[375/424] Compiling ACPModel SessionId.swift
[376/424] Compiling ACPModel PlanEntry.swift
[377/424] Compiling ACPModel Priority.swift
[378/424] Compiling ACPModel ProtocolVersion.swift
[379/424] Compiling ACPModel RequestId.swift
[380/424] Compiling ACPModel Role.swift
[381/424] Compiling ACPModel ModelMessages.swift
[382/424] Compiling ACPModel Notifications.swift
[383/424] Compiling ACPModel Pagination.swift
[384/424] Compiling ACPModel PermissionMessages.swift
[385/424] Compiling ACPModel PermissionOptionId.swift
[386/424] Compiling ACPModel SessionInfo.swift
[387/424] Compiling ACPModel SessionMessages.swift
[388/424] Compiling ACPModel SessionModeId.swift
[389/424] Compiling ACPModel SessionModeMessages.swift
[390/424] Compiling ACPModel SessionOperations.swift
[391/424] Compiling ACPModel Capabilities.swift
[392/424] Compiling ACPModel ContentBlock.swift
[393/424] Compiling ACPModel Cursor.swift
[394/424] Compiling ACPModel FileMessages.swift
[395/424] Compiling ACPModel Implementation.swift
[396/424] Compiling ACPModel InitializeMessages.swift
[397/424] Compiling ACPModel JsonRpc.swift
[398/424] Compiling ACPModel JsonValue.swift
[399/424] Compiling ACPModel McpServer.swift
[400/424] Compiling ACPModel ModelId.swift
[401/424] Compiling ACPModel ACPModel.swift
[402/424] Compiling ACPModel AcpProtocols.swift
[403/424] Compiling ACPModel Annotations.swift
[404/424] Compiling ACPModel AuthMessages.swift
[405/424] Compiling ACPModel AvailableCommand.swift
[406/424] Compiling ACPModel SessionUpdate.swift
[407/424] Compiling ACPModel SessionUpdateTypes.swift
[408/424] Compiling ACPModel Terminal.swift
[409/424] Compiling ACPModel ToolCall.swift
[410/424] Compiling ACPModel ToolCallId.swift
[411/425] Wrapping AST for ACPModel for debugging
[413/441] Emitting module ACP
[414/443] Compiling ACP AgentContext.swift
[415/443] Compiling ACP Client.swift
[416/443] Compiling ACP TerminalOperations.swift
[417/443] Compiling ACP Transport.swift
[418/443] Compiling ACP ACP.swift
[419/443] Compiling ACP Agent.swift
[420/443] Compiling ACP AgentConnection.swift
[421/443] Compiling ACP RemoteClientOperations.swift
[422/443] Compiling ACP StdioTransport.swift
[423/443] Compiling ACP FileSystemOperations.swift
[424/443] Compiling ACP PaginatedResponse.swift
[425/443] Compiling ACP ClientConnection.swift
[426/443] Compiling ACP ClientSession.swift
[427/443] Compiling ACP ClientSessionOperations.swift
[428/443] Compiling ACP Event.swift
[429/443] Compiling ACP Protocol.swift
[430/443] Compiling ACP ProtocolExtensions.swift
[431/444] Wrapping AST for ACP for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[433/455] Emitting module ACPHTTP
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
[434/455] Emitting module InteractiveClient
[435/455] Compiling ACPHTTP ACPHTTP.swift
[436/455] Compiling ACPHTTP WebSocketTransport.swift
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:69:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
67 |
68 | // Create WebSocket task
69 | webSocketTask = session.webSocketTask(with: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
70 |
71 | // Start the connection
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:97:40: error: cannot infer contextual base in reference to member 'string'
95 | }
96 |
97 | try await webSocketTask?.send(.string(text))
| `- error: cannot infer contextual base in reference to member 'string'
98 | }
99 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:38: error: cannot infer contextual base in reference to member 'normalClosure'
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: cannot infer contextual base in reference to member 'normalClosure'
115 | webSocketTask = nil
116 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:61: error: 'nil' requires a contextual type
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: 'nil' requires a contextual type
115 | webSocketTask = nil
116 |
[437/455] Emitting module SimpleClient
[438/455] Emitting module EchoAgent
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/EchoAgent/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/SimpleClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/InteractiveClient/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Samples/SimpleAgentApp/README.md
[0/1] Planning build
Building for debugging...
[0/24] Write swift-version-24593BA9C3E375BF.txt
[2/45] Compiling Logging MetadataProvider.swift
[3/45] Compiling InternalCollectionsUtilities Debugging.swift
[4/45] Compiling InternalCollectionsUtilities Descriptions.swift
[5/47] Emitting module Logging
[6/47] Compiling Logging Locks.swift
[7/47] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[8/47] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[9/47] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/47] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/47] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/47] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[14/47] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/47] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/47] Compiling InternalCollectionsUtilities Integer rank.swift
[17/47] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/47] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/47] Emitting module InternalCollectionsUtilities
[21/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/47] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[24/47] Compiling Logging Logging.swift
[25/47] Compiling Logging LogHandler.swift
[27/178] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[28/210] Compiling HashTreeCollections _AncestorHashSlots.swift
[29/210] Compiling HashTreeCollections _Bitmap.swift
[30/233] Compiling HeapModule Heap+Descriptions.swift
[31/306] Compiling _RopeModule BigString+CustomStringConvertible.swift
[32/306] Compiling _RopeModule BigString+Equatable.swift
[33/323] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[34/323] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[35/323] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[36/323] Compiling _RopeModule BigString+Chunk+Splitting.swift
[37/323] Compiling HeapModule Heap.swift
[38/323] Compiling HeapModule _HeapNode.swift
[39/323] Compiling _RopeModule BigString+Chunk.swift
[40/323] Compiling _RopeModule BigString+BidirectionalCollection.swift
[41/323] Compiling HeapModule Heap+UnsafeHandle.swift
[42/323] Compiling HeapModule Heap+Invariants.swift
[45/323] Compiling _RopeModule BigString+Comparable.swift
[46/323] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[49/323] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[50/330] Emitting module HeapModule
[51/331] Compiling _RopeModule BigString+Summary.swift
[52/331] Compiling _RopeModule BigString.swift
[53/331] Compiling _RopeModule Rope+_Storage.swift
[54/331] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[55/331] Compiling _RopeModule Rope+_UnsafeHandle.swift
[56/331] Compiling _RopeModule Rope.swift
[57/331] Compiling _RopeModule RopeElement.swift
[59/331] Compiling _RopeModule BigString+Hashing.swift
[60/331] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[61/331] Compiling _RopeModule BigString+Chunk+Breaks.swift
[62/331] Compiling _RopeModule BigString+Chunk+Counts.swift
[63/331] Compiling _RopeModule BigString+Chunk+Description.swift
[69/331] Compiling OrderedCollections OrderedSet+Sendable.swift
[70/331] Compiling OrderedCollections OrderedSet+SubSequence.swift
[71/331] Compiling OrderedCollections OrderedSet+Testing.swift
[72/331] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[73/331] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[74/331] Compiling OrderedCollections OrderedSet.swift
[75/331] Compiling OrderedCollections _UnsafeBitset.swift
[76/331] Compiling _RopeModule Rope+Sequence.swift
[77/331] Compiling _RopeModule Rope+Append.swift
[78/331] Compiling _RopeModule Rope+Extract.swift
[92/347] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[93/347] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[94/347] Compiling _RopeModule BigString+Sequence.swift
[95/347] Compiling _RopeModule BigString+TextOutputStream.swift
[96/347] Compiling _RopeModule BigString+Append.swift
[97/347] Compiling _RopeModule BigString+Initializers.swift
[98/347] Compiling _RopeModule BigString+Insert.swift
[99/347] Compiling _RopeModule BigSubstring+UTF16View.swift
[100/347] Compiling _RopeModule BigSubstring+UTF8View.swift
[101/347] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[102/347] Compiling _RopeModule BigSubstring.swift
[103/347] Compiling _RopeModule Rope+Builder.swift
[104/347] Compiling _RopeModule Rope+Debugging.swift
[105/347] Compiling _RopeModule Rope+Invariants.swift
[106/347] Compiling _RopeModule Rope+_Node.swift
[107/347] Compiling _RopeModule BigString+Managing Breaks.swift
[108/347] Compiling _RopeModule BigString+RemoveSubrange.swift
[109/347] Compiling _RopeModule BigString+ReplaceSubrange.swift
[110/347] Compiling _RopeModule BigString+Split.swift
[111/347] Compiling _RopeModule Range+BigString.swift
[112/347] Compiling _RopeModule BigString+UTF16View.swift
[113/347] Compiling _RopeModule BigString+UTF8View.swift
[114/347] Compiling _RopeModule BigString+UnicodeScalarView.swift
[122/347] Compiling _RopeModule BigString+Invariants.swift
[123/347] Compiling _RopeModule BigString+Iterators.swift
[124/347] Compiling _RopeModule BigString+Metrics.swift
[130/347] Compiling BitCollections BitSet.Index.swift
[131/347] Compiling BitCollections BitSet._UnsafeHandle.swift
[133/347] Compiling _RopeModule BigString+Builder.swift
[134/347] Compiling _RopeModule BigString+Contents.swift
[135/347] Compiling _RopeModule BigString+Debugging.swift
[136/347] Compiling _RopeModule BigString+Index.swift
[137/347] Compiling _RopeModule BigString+Ingester.swift
[161/347] Emitting module BitCollections
[162/347] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[163/347] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[164/347] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[165/347] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[166/347] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[167/347] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[168/347] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[169/347] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[170/347] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[171/347] Compiling HashTreeCollections TreeSet.swift
[172/347] Emitting module DequeModule
[192/347] Compiling BitCollections BitSet.swift
[193/347] Compiling BitCollections Range+Utilities.swift
[194/347] Compiling BitCollections Slice+Utilities.swift
[195/347] Compiling BitCollections UInt+Tricks.swift
[196/347] Compiling BitCollections _Word.swift
[197/348] Compiling _RopeModule Rope+Find.swift
[198/348] Compiling _RopeModule Rope+ForEachWhile.swift
[199/348] Compiling _RopeModule Rope+Insert.swift
[200/348] Compiling HashTreeCollections _RawHashNode.swift
[201/348] Compiling HashTreeCollections _UnmanagedHashNode.swift
[202/348] Compiling HashTreeCollections _UnsafePath.swift
[203/348] Compiling HashTreeCollections TreeDictionary+Codable.swift
[204/348] Compiling HashTreeCollections TreeDictionary+Collection.swift
[205/348] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[206/348] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[207/348] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[288/356] Emitting module OrderedCollections
[290/356] Emitting module _RopeModule
[291/356] Compiling _RopeModule Rope+Join.swift
[292/356] Compiling _RopeModule Rope+MutatingForEach.swift
[293/356] Compiling _RopeModule Rope+Remove.swift
[294/356] Compiling _RopeModule Rope+RemoveSubrange.swift
[295/356] Compiling _RopeModule Rope+Split.swift
[296/356] Compiling _RopeModule Optional Utilities.swift
[297/356] Compiling _RopeModule String Utilities.swift
[298/356] Compiling _RopeModule String.Index+ABI.swift
[299/356] Compiling _RopeModule _CharacterRecognizer.swift
[340/356] Emitting module HashTreeCollections
[342/358] Compiling Collections Collections.swift
[343/358] Emitting module Collections
[345/394] Compiling ACPModel PlanEntry.swift
[346/394] Compiling ACPModel Priority.swift
[347/394] Compiling ACPModel ProtocolVersion.swift
[348/394] Compiling ACPModel RequestId.swift
[349/394] Compiling ACPModel Role.swift
[350/394] Compiling ACPModel ModelMessages.swift
[351/394] Compiling ACPModel Notifications.swift
[352/394] Compiling ACPModel Pagination.swift
[353/394] Compiling ACPModel PermissionMessages.swift
[354/394] Compiling ACPModel PermissionOptionId.swift
[355/399] Compiling ACPModel SessionConfigGroupId.swift
[356/399] Compiling ACPModel SessionConfigId.swift
[357/399] Compiling ACPModel SessionConfigOption.swift
[358/399] Compiling ACPModel SessionConfigValueId.swift
[359/399] Compiling ACPModel SessionId.swift
[360/399] Compiling ACPModel SessionInfo.swift
[361/399] Compiling ACPModel SessionMessages.swift
[362/399] Compiling ACPModel SessionModeId.swift
[363/399] Compiling ACPModel SessionModeMessages.swift
[364/399] Compiling ACPModel SessionOperations.swift
[365/399] Compiling ACPModel ACPModel.swift
[366/399] Compiling ACPModel AcpProtocols.swift
[367/399] Compiling ACPModel Annotations.swift
[368/399] Compiling ACPModel AuthMessages.swift
[369/399] Compiling ACPModel AvailableCommand.swift
[370/399] Compiling ACPModel InitializeMessages.swift
[371/399] Compiling ACPModel JsonRpc.swift
[372/399] Compiling ACPModel JsonValue.swift
[373/399] Compiling ACPModel McpServer.swift
[374/399] Compiling ACPModel ModelId.swift
[375/399] Emitting module ACPModel
[376/399] Compiling ACPModel Capabilities.swift
[377/399] Compiling ACPModel ContentBlock.swift
[378/399] Compiling ACPModel Cursor.swift
[379/399] Compiling ACPModel FileMessages.swift
[380/399] Compiling ACPModel Implementation.swift
[381/399] Compiling ACPModel SessionUpdate.swift
[382/399] Compiling ACPModel SessionUpdateTypes.swift
[383/399] Compiling ACPModel Terminal.swift
[384/399] Compiling ACPModel ToolCall.swift
[385/399] Compiling ACPModel ToolCallId.swift
[387/415] Compiling ACP FileSystemOperations.swift
[388/415] Compiling ACP PaginatedResponse.swift
[389/417] Emitting module ACP
[390/417] Compiling ACP RemoteClientOperations.swift
[391/417] Compiling ACP StdioTransport.swift
[392/417] Compiling ACP Protocol.swift
[393/417] Compiling ACP ProtocolExtensions.swift
[394/417] Compiling ACP AgentContext.swift
[395/417] Compiling ACP Client.swift
[396/417] Compiling ACP ACP.swift
[397/417] Compiling ACP Agent.swift
[398/417] Compiling ACP AgentConnection.swift
[399/417] Compiling ACP ClientSessionOperations.swift
[400/417] Compiling ACP Event.swift
[401/417] Compiling ACP ClientConnection.swift
[402/417] Compiling ACP ClientSession.swift
[403/417] Compiling ACP TerminalOperations.swift
[404/417] Compiling ACP Transport.swift
[406/428] Compiling ACPHTTP ACPHTTP.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[407/428] Emitting module ACPHTTP
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
[408/428] Compiling ACPHTTP WebSocketTransport.swift
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:44:32: error: cannot find type 'URLSessionWebSocketTask' in scope
42 |
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
45 | private let session: URLSession
46 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:45:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | private let stateActor: WebSocketStateActor
44 | private var webSocketTask: URLSessionWebSocketTask?
45 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 | /// Initialize a new WebSocket transport.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 | self.url = url
54 | self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:52:50: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
50 | /// - url: The WebSocket URL to connect to (must use ws:// or wss://)
51 | /// - session: URLSession to use for connections (defaults to shared)
52 | public init(url: URL, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
53 | self.url = url
54 | self.session = session
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:69:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
67 |
68 | // Create WebSocket task
69 | webSocketTask = session.webSocketTask(with: url)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
70 |
71 | // Start the connection
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:97:40: error: cannot infer contextual base in reference to member 'string'
95 | }
96 |
97 | try await webSocketTask?.send(.string(text))
| `- error: cannot infer contextual base in reference to member 'string'
98 | }
99 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:38: error: cannot infer contextual base in reference to member 'normalClosure'
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: cannot infer contextual base in reference to member 'normalClosure'
115 | webSocketTask = nil
116 |
/host/spi-builder-workspace/Sources/ACPHTTP/WebSocketTransport.swift:114:61: error: 'nil' requires a contextual type
112 |
113 | // Close WebSocket with normal closure
114 | webSocketTask?.cancel(with: .normalClosure, reason: nil)
| `- error: 'nil' requires a contextual type
115 | webSocketTask = nil
116 |
[409/428] Compiling EchoAgent main.swift
[410/428] Emitting module EchoAgent
[411/428] Compiling SimpleAgentApp main.swift
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:400:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
398 | if case .text(let text) = chunk.content {
399 | print(text.text, terminator: "")
400 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
401 | }
402 | case .agentThoughtChunk(let chunk):
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
61 | #if __ANDROID_API__ >= 23
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
| `- note: var declared here
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
65 |
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:491:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
489 | while true {
490 | print("You: ", terminator: "")
491 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
492 |
493 | guard let input = readLine() else { break }
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
61 | #if __ANDROID_API__ >= 23
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
| `- note: var declared here
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
65 |
/host/spi-builder-workspace/Samples/SimpleAgentApp/main.swift:501:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
499 | print()
500 | print("Agent: ", terminator: "")
501 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
502 |
503 | let response = try await clientConnection.prompt(request: PromptRequest(
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
61 | #if __ANDROID_API__ >= 23
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
| `- note: var declared here
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
65 |
[412/428] Emitting module SimpleAgentApp
[413/428] Emitting module InteractiveClient
/host/spi-builder-workspace/Samples/InteractiveClient/main.swift:326:49: warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
324 | case .toolCall(let call):
325 | print()
326 | print("🔧 Tool call: \(call.title ?? "Unknown") (\(call.kind?.rawValue ?? ""))")
| `- warning: left side of nil coalescing operator '??' has non-optional type 'String', so the right side is never used
327 |
328 | case .toolCallUpdate(let update):
/host/spi-builder-workspace/Samples/InteractiveClient/main.swift:315:20: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
313 | // Print agent message inline (no newline)
314 | print(renderContent(chunk.content), terminator: "")
315 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
316 |
317 | case .agentThoughtChunk(let chunk):
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/stdio.h:63:23: note: var declared here
61 | #if __ANDROID_API__ >= 23
62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
| `- note: var declared here
64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
65 |
[414/428] Emitting module SimpleClient
BUILD FAILURE 6.1 android