Build Information
Failed to build A2A, reference 0.5.0 (a602e3), with Swift 6.4 for Wasm on 24 Sep 2026 11:05:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Victory-Apps/a2a-swift.git
Reference: 0.5.0
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/Victory-Apps/a2a-swift
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at a602e3d Merge pull request #12 from Victory-Apps/claude/affectionate-black
Cloned https://github.com/Victory-Apps/a2a-swift.git
Revision (git rev-parse @):
a602e3d2ee204178e4232b6a850e3073163d746e
SUCCESS checkout https://github.com/Victory-Apps/a2a-swift.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Victory-Apps/a2a-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/vapor/vapor.git
[1/82733] Fetching vapor
Fetched https://github.com/vapor/vapor.git (2.16s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.122.2 (2.37s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-certificates.git
[1/2681] Fetching websocket-kit
[2682/4664] Fetching websocket-kit, swift-asn1
[2841/10942] Fetching websocket-kit, swift-asn1, multipart-kit
[6199/17087] Fetching websocket-kit, swift-asn1, multipart-kit, swift-algorithms
[6667/18968] Fetching websocket-kit, swift-asn1, multipart-kit, swift-algorithms, swift-atomics
[8519/26543] Fetching websocket-kit, swift-asn1, multipart-kit, swift-algorithms, swift-atomics, swift-certificates
Fetched https://github.com/apple/swift-atomics.git (0.64s)
Fetched https://github.com/apple/swift-algorithms.git (0.64s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-service-context.git
Fetched https://github.com/apple/swift-certificates.git (0.71s)
Fetching https://github.com/apple/swift-nio-extras.git
[6298/14458] Fetching websocket-kit, swift-asn1, multipart-kit, swift-metrics
[10844/15834] Fetching websocket-kit, swift-asn1, multipart-kit, swift-metrics, swift-service-context
Fetched https://github.com/apple/swift-metrics.git (0.53s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-service-context.git (0.54s)
Fetched https://github.com/vapor/websocket-kit.git (1.18s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-asn1.git (1.19s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/vapor/multipart-kit.git (1.21s)
Fetching https://github.com/vapor/console-kit.git
[1/6690] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.63s)
Fetching https://github.com/vapor/async-kit.git
[1/6843] Fetching console-kit
[2/22908] Fetching console-kit, swift-nio-ssl
[71/31073] Fetching console-kit, swift-nio-ssl, swift-log
Fetched https://github.com/vapor/console-kit.git (0.53s)
[9452/30575] Fetching swift-nio-ssl, swift-log, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio.git
[9453/42827] Fetching swift-nio-ssl, swift-log, swift-distributed-tracing, swift-nio-http2
[12522/45341] Fetching swift-nio-ssl, swift-log, swift-distributed-tracing, swift-nio-http2, async-kit
Fetched https://github.com/apple/swift-log.git (0.61s)
[6228/37176] Fetching swift-nio-ssl, swift-distributed-tracing, swift-nio-http2, async-kit
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/async-kit.git (0.50s)
[10702/34662] Fetching swift-nio-ssl, swift-distributed-tracing, swift-nio-http2
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.74s)
[9768/28317] Fetching swift-nio-ssl, swift-nio-http2
Fetching https://github.com/apple/swift-crypto.git
[28318/49872] Fetching swift-nio-ssl, swift-nio-http2, routing-kit
[35216/68421] Fetching swift-nio-ssl, swift-nio-http2, routing-kit, swift-crypto
Fetched https://github.com/apple/swift-nio-http2.git (1.26s)
[31525/56169] Fetching swift-nio-ssl, routing-kit, swift-crypto
[32173/72386] Fetching swift-nio-ssl, routing-kit, swift-crypto, async-http-client
[52566/158477] Fetching swift-nio-ssl, routing-kit, swift-crypto, async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.61s)
[43932/142412] Fetching routing-kit, swift-crypto, async-http-client, swift-nio
Fetched https://github.com/vapor/routing-kit.git (1.06s)
[27729/120857] Fetching swift-crypto, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git (1.28s)
[37101/104640] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.73s)
[66184/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.31s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.05s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.58s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.73s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.17s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.16s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2863] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.16.1 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.17s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.56s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.64s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.80s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.07s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.23s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.33s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1935] Fetching swift-http-types
[1936/4778] Fetching swift-http-types, swift-service-lifecycle
[4779/6031] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[4867/12763] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git (1.02s)
Fetched https://github.com/apple/swift-http-types.git (1.02s)
[3651/9575] Fetching swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.12s)
Fetched https://github.com/apple/swift-async-algorithms.git (1.12s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (1.30s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.21s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.17s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.21s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.20s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.21s)
Fetching https://github.com/apple/swift-configuration.git
[1/3779] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git (0.54s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.82s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.122.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.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.7.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.16.1
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 128]
[Constructing description]
[Pre-planning 1 / 2622]
[Planning 602 / 2622]
[Planning 1824 / 2622]
[Planning 2470 / 2622]
[Planning deferred tasks]
[Constructing 1 / 6351]
[Constructing 1249 / 6351]
[Constructing 5415 / 6351]
[Starting]
[12 / 1630] swift-crypto_CXKCP
[219 / 1630] Instrumentation
[372 / 1630]
[391 / 1646] _NumericsShims
[397 / 1683] SystemPackage
[399 / 1683] _CertificateInternals
[411 / 1683] ServiceContextModule
[420 / 1683] RealModule
[426 / 1683] _CWASI
[427 / 1683] SystemPackage
[439 / 1683] SystemPackage
[440 / 1683] SwiftASN1
[446 / 1683] SystemPackage
[447 / 1683] _NIOBase64
[449 / 1684] _NIOBase64
[450 / 1684] _CertificateInternals
[453 / 1685] _NIOBase64
[456 / 1685] _NIODataStructures
[459 / 1686] _NIODataStructures
[460 / 1686] SystemPackage
[466 / 1686] SwiftASN1
[467 / 1686] ServiceContextModule-product
[469 / 1687] SystemPackage
[471 / 1687] SystemPackage
[473 / 1688] ServiceContextModule
[477 / 1688] ServiceContextModule
[481 / 1688] ServiceContextModule
[484 / 1688] RealModule
[486 / 1688] NIOConcurrencyHelpers-product
[488 / 1689] RealModule
[495 / 1693] _NIODataStructures
[501 / 1715] CXKCP
[503 / 1715] CXKCP
[505 / 1715] CVaporBcrypt
[507 / 1715] CoreMetrics
[513 / 1717] CoreMetrics
[524 / 1717] NIOConcurrencyHelpers
[534 / 1717] Logging
[536 / 1726] InternalCollectionsUtilities
[537 / 1726] CryptoBoringWrapper
[539 / 1726] CryptoBoringWrapper
[545 / 1726] InternalCollectionsUtilities
[546 / 1726] InternalCollectionsUtilities
[549 / 1726] InternalCollectionsUtilities
[550 / 1726] InternalCollectionsUtilities
[551 / 1726] CryptoBoringWrapper
[553 / 1726] CryptoBoringWrapper
[554 / 1727] Logging
[556 / 1727] Logging
[565 / 1727] _RopeModule
[568 / 1727] CoreMetrics
[571 / 1729] Atomics
[576 / 1739] Atomics
[583 / 1748] InternalCollectionsUtilities
[586 / 1749] InternalCollectionsUtilities
[587 / 1749] Atomics
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /// The URLSession used for requests.
[0;36m34 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Optional authentication headers to include in requests.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m public init(
[0;36m55 |[0;0m baseURL: URL,
[0;36m56 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m authHeaders: [String: String] = [:],
[0;36m58 |[0;0m interceptors: [any A2AClientInterceptor] = [],
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m54 |[0;0m public init(
[0;36m55 |[0;0m baseURL: URL,
[0;36m56 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m57 |[0;0m authHeaders: [String: String] = [:],
[0;36m58 |[0;0m interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m54 |[0;0m public init(
[0;36m55 |[0;0m baseURL: URL,
[0;36m56 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m57 |[0;0m authHeaders: [String: String] = [:],
[0;36m58 |[0;0m interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m423 |[0;0m }
[0;36m424 |[0;0m
[0;36m425 |[0;0m private func applyHeaders(to request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m426 |[0;0m for (key, value) in authHeaders {
[0;36m427 |[0;0m request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m429 |[0;0m }
[0;36m430 |[0;0m
[0;36m431 |[0;0m private func validateHTTPResponse(_ response: [4;39mURLResponse[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m432 |[0;0m guard let httpResponse = response as? HTTPURLResponse else {
[0;36m433 |[0;0m throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /// The URLSession used for requests.
[0;36m34 |[0;0m private let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m private var cache: [URL: CachedCard] = [:]
[0;36m32 |[0;0m private let defaultTTL: TimeInterval
[0;36m33 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m private let decoder = JSONDecoder()
[0;36m35 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:58: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m /// - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
[0;36m40 |[0;0m /// - session: The URL session to use for fetching. Defaults to `.shared`.
[0;36m41 |[0;0m public init(defaultTTL: TimeInterval = 300, session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m self.defaultTTL = defaultTTL
[0;36m43 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m39 |[0;0m /// - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
[0;36m40 |[0;0m /// - session: The URL session to use for fetching. Defaults to `.shared`.
[0;36m41 |[0;0m public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m42 |[0;0m self.defaultTTL = defaultTTL
[0;36m43 |[0;0m self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m39 |[0;0m /// - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
[0;36m40 |[0;0m /// - session: The URL session to use for fetching. Defaults to `.shared`.
[0;36m41 |[0;0m public init(defaultTTL: TimeInterval = 300, session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m42 |[0;0m self.defaultTTL = defaultTTL
[0;36m43 |[0;0m self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m32 |[0;0m public protocol A2AClientInterceptor: Sendable {
[0;36m33 |[0;0m /// Called before a request is sent. Modify the URLRequest to add headers, etc.
[0;36m34 |[0;0m func before(request: inout [4;39mURLRequest[0;0m, method: A2AMethod) async throws
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m36 |[0;0m /// Called after a response is received. Can inspect/transform the response data.
[0;36m37 |[0;0m /// Return the (possibly modified) data.
[0;36m38 |[0;0m func after(response: [4;39mURLResponse[0;0m, data: Data, method: A2AMethod) async throws -> Data
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m extension A2AClientInterceptor {
[0;36m42 |[0;0m public func before(request: inout [4;39mURLRequest[0;0m, method: A2AMethod) async throws {}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m43 |[0;0m public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
[0;36m44 |[0;0m }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m extension A2AClientInterceptor {
[0;36m42 |[0;0m public func before(request: inout URLRequest, method: A2AMethod) async throws {}
[0;36m43 |[0;0m public func after(response: [4;39mURLResponse[0;0m, data: Data, method: A2AMethod) async throws -> Data { data }
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m }
[0;36m45 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m }
[0;36m55 |[0;0m
[0;36m56 |[0;0m public func before(request: inout [4;39mURLRequest[0;0m, method: A2AMethod) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
[0;36m58 |[0;0m }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m public func before(request: inout [4;39mURLRequest[0;0m, method: A2AMethod) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m72 |[0;0m request.setValue(apiKey, forHTTPHeaderField: headerName)
[0;36m73 |[0;0m }
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m /// Sends push notifications to configured webhook URLs when task events occur.
[0;36m7 |[0;0m public final class PushNotificationSender: Sendable {
[0;36m8 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m private let encoder: JSONEncoder
[0;36m10 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m private let encoder: JSONEncoder
[0;36m10 |[0;0m
[0;36m11 |[0;0m public init(session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m self.session = session
[0;36m13 |[0;0m self.encoder = JSONEncoder()
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m9 |[0;0m private let encoder: JSONEncoder
[0;36m10 |[0;0m
[0;36m11 |[0;0m public init(session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m12 |[0;0m self.session = session
[0;36m13 |[0;0m self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m9 |[0;0m private let encoder: JSONEncoder
[0;36m10 |[0;0m
[0;36m11 |[0;0m public init(session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m12 |[0;0m self.session = session
[0;36m13 |[0;0m self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:17: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'AnyObject'[0;0m
[0;36m6 |[0;0m /// Sends push notifications to configured webhook URLs when task events occur.
[0;36m7 |[0;0m public final class PushNotificationSender: Sendable {
[0;36m8 |[0;0m private let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'AnyObject'[0;0m
[0;36m9 |[0;0m private let encoder: JSONEncoder
[0;36m10 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/A2A/A2A.swift /host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift /host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift /host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift /host/spi-builder-workspace/Sources/A2A/Client/ConnectionState.swift /host/spi-builder-workspace/Sources/A2A/Client/SSEConfiguration.swift /host/spi-builder-workspace/Sources/A2A/Client/SSELineParser.swift /host/spi-builder-workspace/Sources/A2A/Client/StreamingSession.swift /host/spi-builder-workspace/Sources/A2A/JSONRPC/JSONRPCMessage.swift /host/spi-builder-workspace/Sources/A2A/Models/AgentCard.swift /host/spi-builder-workspace/Sources/A2A/Models/Artifact.swift /host/spi-builder-workspace/Sources/A2A/Models/Errors.swift /host/spi-builder-workspace/Sources/A2A/Models/Events.swift /host/spi-builder-workspace/Sources/A2A/Models/JSONValue.swift /host/spi-builder-workspace/Sources/A2A/Models/Message.swift /host/spi-builder-workspace/Sources/A2A/Models/Part.swift /host/spi-builder-workspace/Sources/A2A/Models/PushNotification.swift /host/spi-builder-workspace/Sources/A2A/Models/Requests.swift /host/spi-builder-workspace/Sources/A2A/Models/Security.swift /host/spi-builder-workspace/Sources/A2A/Models/Task.swift /host/spi-builder-workspace/Sources/A2A/Server/A2AServer.swift /host/spi-builder-workspace/Sources/A2A/Server/AgentExecutor.swift /host/spi-builder-workspace/Sources/A2A/Server/DefaultRequestHandler.swift /host/spi-builder-workspace/Sources/A2A/Server/EventQueue.swift /host/spi-builder-workspace/Sources/A2A/Server/InMemoryTaskStore.swift /host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift /host/spi-builder-workspace/Sources/A2A/Server/RequestContext.swift /host/spi-builder-workspace/Sources/A2A/Server/TaskManager.swift /host/spi-builder-workspace/Sources/A2A/Server/TaskStore.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name A2A -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/A2A_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/Modules/A2A.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/Modules/A2A.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/A2A-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/A2A-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/A2A-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/A2A.build/Debug-webassembly-wasm32/A2A-t.build/Objects-normal/wasm32/Modules/A2A.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm