The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-acp, reference main (71cb78), with Swift 6.3 for Wasm on 19 Apr 2026 21:52:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TeamSloppy/swift-acp.git
Reference: main
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/TeamSloppy/swift-acp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 71cb789 Fix macos error
Submodule path 'reference/agent-client-protocol': checked out '709a3cfe366fb7063aea284ef4f3b25dad1ac6ec'
Submodule path 'reference/kotlin-sdk': checked out 'eb2f16207e41febfa901d0bf0070f0213ae7df8d'
Submodule path 'reference/python-sdk': checked out '69c184c86a1ec7e77a718fcbbfdc7db7eb5351e6'
Submodule path 'reference/registry': checked out '2924f20806c51e1281e3f829ed8b59d1e4699ef6'
Submodule path 'reference/rust-sdk': checked out 'a0917aafe98c95d8e3654d5c441e0cd347df654f'
Submodule path 'reference/typescript-sdk': checked out '9609d922dc855dc4446dfaef082416d34e0f123a'
Submodule 'reference/agent-client-protocol' (https://github.com/agentclientprotocol/agent-client-protocol.git) registered for path 'reference/agent-client-protocol'
Submodule 'reference/kotlin-sdk' (https://github.com/agentclientprotocol/kotlin-sdk.git) registered for path 'reference/kotlin-sdk'
Submodule 'reference/python-sdk' (https://github.com/agentclientprotocol/python-sdk.git) registered for path 'reference/python-sdk'
Submodule 'reference/registry' (https://github.com/agentclientprotocol/registry.git) registered for path 'reference/registry'
Submodule 'reference/rust-sdk' (https://github.com/agentclientprotocol/rust-sdk.git) registered for path 'reference/rust-sdk'
Submodule 'reference/typescript-sdk' (https://github.com/agentclientprotocol/typescript-sdk.git) registered for path 'reference/typescript-sdk'
Cloning into '/host/spi-builder-workspace/reference/agent-client-protocol'...
Cloning into '/host/spi-builder-workspace/reference/kotlin-sdk'...
Cloning into '/host/spi-builder-workspace/reference/python-sdk'...
Cloning into '/host/spi-builder-workspace/reference/registry'...
Cloning into '/host/spi-builder-workspace/reference/rust-sdk'...
Cloning into '/host/spi-builder-workspace/reference/typescript-sdk'...
Cloned https://github.com/TeamSloppy/swift-acp.git
Revision (git rev-parse @):
71cb789b66355bbeb82b402a4b61b7cb1e584ad8
SUCCESS checkout https://github.com/TeamSloppy/swift-acp.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/TeamSloppy/swift-acp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.21s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/29] Compiling Logging MetadataProvider.swift
[8/29] Compiling ACPModel Permission.swift
[9/29] Compiling ACPModel Requests.swift
[10/29] Compiling ACPModel Config.swift
[11/29] Compiling ACPModel Content.swift
[12/29] Compiling ACPModel Errors.swift
[13/29] Compiling ACPModel Message.swift
[14/29] Compiling ACPModel Responses.swift
[15/29] Compiling ACPModel Session.swift
[16/30] Emitting module ACPModel
[17/30] Compiling ACPModel ACPModel.swift
[18/30] Compiling ACPModel Capabilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/30] Compiling ACPRegistry AgentInstaller.swift
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 | public actor AgentInstaller {
 16 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     private let installDirectory: URL
 18 |
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/ACPRegistry/AgentInstaller.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         installDirectory: URL? = nil
 24 |     ) {
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/ACPRegistry/AgentInstaller.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |         installDirectory: URL? = nil
 24 |     ) {
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:22:32: error: value of type '_' expected to be instance of class or class-constrained type
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 23 |         installDirectory: URL? = nil
 24 |     ) {
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:130:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
128 |
129 |         // Download archive
130 |         let (tempURL, _) = try await session.download(from: archiveURL)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
131 |
132 |         // Determine executable path
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:188:23: error: cannot find 'Process' in scope
186 |         let archiveKind = Self.binaryArchiveKind(for: archiveURL)
187 |
188 |         let process = Process()
    |                       `- error: cannot find 'Process' in scope
189 |         let pipe = Pipe()
190 |         process.standardError = pipe
[20/30] Compiling ACPRegistry RegistryClient.swift
/host/spi-builder-workspace/Sources/ACPRegistry/RegistryClient.swift:20:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |
 19 |     private let registryURL: URL
 20 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     private let cacheDirectory: URL?
 22 |
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/ACPRegistry/RegistryClient.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
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/ACPRegistry/RegistryClient.swift:31:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
/host/spi-builder-workspace/Sources/ACPRegistry/RegistryClient.swift:31:32: error: value of type '_' expected to be instance of class or class-constrained type
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
/host/spi-builder-workspace/Sources/ACPRegistry/RegistryClient.swift:106:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
104 |
105 |     private func fetchFromNetwork() async throws -> Registry {
106 |         let (data, response) = try await session.data(from: registryURL)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
107 |
108 |         guard let httpResponse = response as? HTTPURLResponse else {
[21/30] Compiling ACPRegistry RegistryTypes.swift
[22/30] Emitting module ACPRegistry
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 | public actor AgentInstaller {
 16 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |     private let installDirectory: URL
 18 |
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/ACPRegistry/AgentInstaller.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |         installDirectory: URL? = nil
 24 |     ) {
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/ACPRegistry/AgentInstaller.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |         installDirectory: URL? = nil
 24 |     ) {
/host/spi-builder-workspace/Sources/ACPRegistry/AgentInstaller.swift:22:32: error: value of type '_' expected to be instance of class or class-constrained type
 20 |
 21 |     public init(
 22 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 23 |         installDirectory: URL? = nil
 24 |     ) {
/host/spi-builder-workspace/Sources/ACPRegistry/RegistryClient.swift:20:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |
 19 |     private let registryURL: URL
 20 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     private let cacheDirectory: URL?
 22 |
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/ACPRegistry/RegistryClient.swift:31:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
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/ACPRegistry/RegistryClient.swift:31:32: error: value of type '_' expected to be instance of class or class-constrained type
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
/host/spi-builder-workspace/Sources/ACPRegistry/RegistryClient.swift:31:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     public init(
 30 |         registryURL: URL = RegistryClient.defaultURL,
 31 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 32 |         cacheDirectory: URL? = nil,
 33 |         cacheDuration: TimeInterval = 3600 // 1 hour default
[23/30] Compiling Logging LogHandler.swift
[24/30] Compiling Logging Logging.swift
[25/30] Emitting module Logging
[26/30] Compiling Logging Locks.swift
[27/30] Compiling Logging LogEvent.swift
[28/31] Compiling ACPModel Terminal.swift
[29/31] Compiling ACPModel Tool.swift
BUILD FAILURE 6.3 wasm