Build Information
Failed to build swift-acp, reference main (71cb78), with Swift 6.1 for Wasm on 9 Apr 2026 21:14:04 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
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.1
Building package at path: $PWD
https://github.com/TeamSloppy/swift-acp.git
https://github.com/TeamSloppy/swift-acp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "swift-acp",
"name" : "swift-acp",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "ACPModel",
"targets" : [
"ACPModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ACP",
"targets" : [
"ACP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ACPHTTP",
"targets" : [
"ACPHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ACPRegistry",
"targets" : [
"ACPRegistry"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ACPTests",
"module_type" : "SwiftTarget",
"name" : "ACPTests",
"path" : "Tests/ACPTests",
"sources" : [
"ACPClientTests.swift",
"ACPE2ETests.swift",
"ACPPerformanceTests.swift"
],
"target_dependencies" : [
"ACP",
"ACPModel"
],
"type" : "test"
},
{
"c99name" : "ACPRegistryTests",
"module_type" : "SwiftTarget",
"name" : "ACPRegistryTests",
"path" : "Tests/ACPRegistryTests",
"sources" : [
"RegistryTests.swift"
],
"target_dependencies" : [
"ACPRegistry"
],
"type" : "test"
},
{
"c99name" : "ACPRegistry",
"module_type" : "SwiftTarget",
"name" : "ACPRegistry",
"path" : "Sources/ACPRegistry",
"product_memberships" : [
"ACPRegistry"
],
"sources" : [
"AgentInstaller.swift",
"RegistryClient.swift",
"RegistryTypes.swift"
],
"type" : "library"
},
{
"c99name" : "ACPModelTests",
"module_type" : "SwiftTarget",
"name" : "ACPModelTests",
"path" : "Tests/ACPModelTests",
"sources" : [
"ACPModelTests.swift"
],
"target_dependencies" : [
"ACPModel"
],
"type" : "test"
},
{
"c99name" : "ACPModel",
"module_type" : "SwiftTarget",
"name" : "ACPModel",
"path" : "Sources/ACPModel",
"product_memberships" : [
"ACPModel",
"ACP",
"ACPHTTP"
],
"sources" : [
"ACPModel.swift",
"Capabilities.swift",
"Config.swift",
"Content.swift",
"Errors.swift",
"Message.swift",
"Permission.swift",
"Requests.swift",
"Responses.swift",
"Session.swift",
"Terminal.swift",
"Tool.swift",
"Updates.swift"
],
"type" : "library"
},
{
"c99name" : "ACPHTTPTests",
"module_type" : "SwiftTarget",
"name" : "ACPHTTPTests",
"path" : "Tests/ACPHTTPTests",
"sources" : [
"ACPHTTPTests.swift"
],
"target_dependencies" : [
"ACPHTTP",
"ACP",
"ACPModel"
],
"type" : "test"
},
{
"c99name" : "ACPHTTP",
"module_type" : "SwiftTarget",
"name" : "ACPHTTP",
"path" : "Sources/ACPHTTP",
"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"
],
"product_memberships" : [
"ACP",
"ACPHTTP"
],
"sources" : [
"Agent/Agent.swift",
"Agent/StdinTransport.swift",
"Capabilities.swift",
"Client.swift",
"ClientDelegate.swift",
"Config.swift",
"Content.swift",
"Errors.swift",
"FileSystemDelegate.swift",
"Internal/ProcessManager.swift",
"Internal/ProcessRegistry.swift",
"Internal/RequestRouter.swift",
"Message.swift",
"Permission.swift",
"Requests.swift",
"Responses.swift",
"Session.swift",
"Terminal.swift",
"TerminalDelegate.swift",
"Tool.swift",
"Transport/StdioTransport.swift",
"Transport/Transport.swift",
"Updates.swift",
"Utilities/Logger.swift",
"Utilities/ShellEnvironment.swift"
],
"target_dependencies" : [
"ACPModel"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
[1/6463] 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.11.0 (1.03s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/29] Emitting module ACPModel
[8/30] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/30] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/30] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/30] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/30] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/30] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/31] Compiling ACPModel Errors.swift
[16/31] Compiling ACPModel Message.swift
[17/31] Compiling ACPRegistry RegistryTypes.swift
[18/31] Compiling ACPModel ACPModel.swift
[19/31] Compiling ACPModel Capabilities.swift
[20/31] Compiling ACPModel Config.swift
[21/31] Compiling ACPModel Content.swift
[22/31] Compiling ACPModel Terminal.swift
[23/31] Compiling ACPModel Tool.swift
[24/31] 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: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 {
[25/31] Compiling ACPModel Updates.swift
[26/31] 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: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)
[27/31] 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/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
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling Logging MetadataProvider.swift
[3/24] Compiling Logging LogHandler.swift
[4/24] Compiling Logging Locks.swift
[5/24] Compiling Logging LogEvent.swift
[6/24] Emitting module Logging
[7/24] Emitting module ACPModel
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/25] 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/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
[9/25] 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: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 {
[10/25] 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: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
[11/25] Compiling ACPRegistry RegistryTypes.swift
BUILD FAILURE 6.1 wasm