Build Information
Failed to build swift-acp, reference main (e1f7e0), with Swift 6.2 for Wasm on 1 Jul 2026 02:04:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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 e1f7e08 update interface for xcode 26.6
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 @):
e1f7e084fe9a2014ed8aee97ad24b788281bf703
SUCCESS checkout https://github.com/TeamSloppy/swift-acp.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/TeamSloppy/swift-acp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
[1/7604] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.65s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/34] Compiling Logging Logger+Attributes.swift
[8/35] Compiling ACPModel Config.swift
[9/35] Compiling ACPModel Content.swift
[10/35] Compiling Logging Logger+With.swift
[11/35] Compiling Logging Logger.swift
[12/35] Compiling Logging LoggingSystem.swift
[13/35] Compiling Logging MetadataProvider.swift
[14/35] Emitting module ACPModel
[15/35] Compiling ACPModel Permission.swift
[16/35] Compiling ACPModel Requests.swift
[17/35] Compiling ACPModel Errors.swift
[18/35] Compiling ACPModel Message.swift
[19/36] 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: 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: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: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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/36] 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: 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: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/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
[21/36] Compiling ACPRegistry RegistryTypes.swift
[22/36] 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 {
[23/36] Emitting module Logging
BUILD FAILURE 6.2 wasm