The Swift Package Index logo.Swift Package Index

Build Information

Failed to build A2A, reference main (2dbdef), with Swift 6.2 for Wasm on 20 Mar 2026 17:00:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Victory-Apps/a2a-swift.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/Victory-Apps/a2a-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2dbdef6 Add ASCII art banner to README
Cloned https://github.com/Victory-Apps/a2a-swift.git
Revision (git rev-parse @):
2dbdef6a394844798da547b2ccb2fe2066433662
SUCCESS checkout https://github.com/Victory-Apps/a2a-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Victory-Apps/a2a-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/vapor/vapor.git
[1/76849] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.72s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.3 (3.21s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1769] Fetching swift-asn1
[320/4421] Fetching swift-asn1, websocket-kit
[622/8037] Fetching swift-asn1, websocket-kit, multipart-kit
[1283/9857] Fetching swift-asn1, websocket-kit, multipart-kit, swift-atomics
[5702/16982] Fetching swift-asn1, websocket-kit, multipart-kit, swift-atomics, swift-certificates
Fetched https://github.com/apple/swift-atomics.git from cache (0.63s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.63s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.80s)
Fetching https://github.com/apple/swift-metrics.git
[3398/6595] Fetching swift-asn1, multipart-kit, swift-service-context
[4608/12286] Fetching swift-asn1, multipart-kit, swift-service-context, swift-distributed-tracing
[8706/15260] Fetching swift-asn1, multipart-kit, swift-service-context, swift-distributed-tracing, swift-metrics
Fetched https://github.com/apple/swift-service-context.git from cache (0.66s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.50s)
Fetching https://github.com/apple/swift-nio-http2.git
[3419/11876] Fetching swift-asn1, multipart-kit, swift-nio-extras
[9326/23946] Fetching swift-asn1, multipart-kit, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.91s)
[7306/17455] Fetching swift-asn1, multipart-kit, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-asn1.git from cache (2.78s)
Fetching https://github.com/apple/swift-algorithms.git
[13152/15686] Fetching multipart-kit, swift-nio-http2
[14239/31046] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/vapor/multipart-kit.git from cache (2.95s)
[13606/27430] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-crypto.git
[14375/33488] Fetching swift-nio-http2, swift-nio-ssl, swift-algorithms
[21969/50734] Fetching swift-nio-http2, swift-nio-ssl, swift-algorithms, swift-crypto
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.29s)
Fetching https://github.com/vapor/console-kit.git
[17504/44676] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto
[20018/66032] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, routing-kit
Fetching https://github.com/apple/swift-log.git
[21312/72599] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, routing-kit, console-kit
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.35s)
[9307/60529] Fetching swift-nio-ssl, swift-crypto, routing-kit, console-kit
Fetching https://github.com/vapor/async-kit.git
[22946/63025] Fetching swift-nio-ssl, swift-crypto, routing-kit, console-kit, async-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.00s)
[20892/56458] Fetching swift-nio-ssl, swift-crypto, routing-kit, async-kit
Fetching https://github.com/swift-server/async-http-client.git
[22918/62692] Fetching swift-nio-ssl, swift-crypto, routing-kit, async-kit, swift-log
Fetched https://github.com/vapor/async-kit.git from cache (0.60s)
[24688/60196] Fetching swift-nio-ssl, swift-crypto, routing-kit, swift-log
Fetching https://github.com/apple/swift-nio.git
[35097/75821] Fetching swift-nio-ssl, swift-crypto, routing-kit, swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (1.62s)
[37118/69587] Fetching swift-nio-ssl, swift-crypto, routing-kit, async-http-client
[48117/152471] Fetching swift-nio-ssl, swift-crypto, routing-kit, async-http-client, swift-nio
Fetched https://github.com/vapor/routing-kit.git from cache (4.94s)
[63918/131115] Fetching swift-nio-ssl, swift-crypto, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (3.89s)
[49294/115490] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (7.05s)
[44638/100130] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (7.96s)
[38127/82884] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (19.02s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.92s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.73s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (1.41s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.99s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2821] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.57s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.76s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.49s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (3.31s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (0.53s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.62s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.22.0 (0.49s)
Fetching https://github.com/apple/swift-collections.git
[1/22628] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.96.0 (3.18s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.60s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.50s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.0 (1.72s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.73s)
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-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/951] Fetching swift-http-types
[629/2170] Fetching swift-http-types, swift-http-structured-headers
[1379/8398] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms
[1442/11074] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.48s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.48s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (1.06s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.76s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.49s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.41.0 (0.56s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.32.1 (0.64s)
Fetching https://github.com/apple/swift-configuration.git
[1/3122] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.42s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (1.12s)
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.36.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.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.96.0
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.3
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.26.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.8.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
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.4.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.3
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.5.1
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.32.1
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.6.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.33.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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.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.18.0
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.41.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/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.22.0
Building for debugging...
[0/862] Write sources
[44/862] Compiling _CWASI _CWASI.c
[44/862] Write sources
[46/862] Compiling CNIOWindows WSAStartup.c
[47/862] Write sources
[49/862] Compiling CNIOWASI CNIOWASI.c
[49/862] Write sources
[60/862] Compiling CNIOWindows shim.c
[61/862] Compiling CNIOOpenBSD shim.c
[61/862] Compiling _AtomicsShims.c
[63/862] Compiling CVaporBcrypt bcrypt.c
[64/862] Compiling CVaporBcrypt blf.c
[65/862] Compiling _NumericsShims _NumericsShims.c
[66/862] Compiling CXKCPShims shims.c
[67/862] Compiling SimpleFIPS202.c
[68/862] Compiling CSystem shims.c
[68/862] Compiling KeccakHash.c
[70/862] Write swift-version-24593BA9C3E375BF.txt
[71/862] Compiling KeccakSponge.c
[72/862] Compiling CNIOLinux shim.c
[73/862] Compiling CNIOPosix event_loop_id.c
[74/862] Compiling CNIOLinux liburing_shims.c
[74/862] Compiling CNIOSHA1 c_nio_sha1.c
[76/862] Compiling CNIOLLHTTP c_nio_http.c
[78/921] Emitting module _CertificateInternals
[78/921] Compiling CNIOLLHTTP c_nio_llhttp.c
[80/932] Compiling ServiceContextModule ServiceContextKey.swift
[81/932] Compiling RealModule AlgebraicField.swift
[82/932] Compiling RealModule ApproximateEquality.swift
[83/932] Emitting module RealModule
[84/932] Compiling RealModule AugmentedArithmetic.swift
[85/932] Compiling RealModule Double+Real.swift
[86/933] Compiling SwiftASN1 ArraySliceBigint.swift
[87/933] Compiling SwiftASN1 GeneralizedTime.swift
[88/933] Compiling SwiftASN1 ObjectIdentifier.swift
[89/933] Compiling SwiftASN1 PEMDocument.swift
[90/933] Compiling SwiftASN1 TimeUtilities.swift
[91/933] Compiling SwiftASN1 UTCTime.swift
[92/939] Compiling RealModule Float80+Real.swift
[93/939] Compiling RealModule RealFunctions.swift
[94/939] Compiling RealModule Real.swift
[99/939] Compiling RealModule ElementaryFunctions.swift
[100/939] Compiling RealModule Float+Real.swift
[101/939] Compiling SystemPackage FilePathComponentView.swift
[102/939] Compiling SystemPackage FilePathComponents.swift
[103/939] Compiling SystemPackage FilePathParsing.swift
[104/939] Compiling SystemPackage FilePathString.swift
[105/939] Compiling RealModule RelaxedArithmetic.swift
[108/939] Compiling RealModule Float16+Real.swift
[114/939] Emitting module SystemPackage
[120/940] Emitting module ServiceContextModule
[121/940] Compiling ServiceContextModule ServiceContext.swift
[123/941] Compiling _NIOBase64 Base64.swift
[124/941] Emitting module _NIOBase64
[127/942] Compiling _NIODataStructures PriorityQueue.swift
[128/942] Compiling _NIODataStructures _TinyArray.swift
[129/952] Compiling _CertificateInternals _TinyArray.swift
[131/972] Emitting module Instrumentation
[132/972] Compiling Instrumentation NoOpInstrument.swift
[133/972] Compiling Instrumentation MultiplexInstrument.swift
[134/975] Compiling Instrumentation Instrument.swift
[135/975] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[136/975] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[137/977] Compiling InternalCollectionsUtilities _SortedCollection.swift
[138/977] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[139/977] Compiling InternalCollectionsUtilities String+Padding.swift
[140/977] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[142/977] Compiling SystemPackage Exports.swift
[143/977] Compiling SystemPackage Mocking.swift
[144/977] Compiling SystemPackage RawBuffer.swift
[145/977] Compiling SystemPackage Syscalls.swift
[146/977] Compiling SystemPackage WindowsSyscallAdapters.swift
[147/977] Compiling SystemPackage MachPort.swift
[148/977] Compiling SystemPackage PlatformString.swift
[149/977] Compiling Logging MetadataProvider.swift
[150/977] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[154/977] Compiling SystemPackage IORing.swift
[155/977] Compiling SystemPackage RawIORequest.swift
[156/977] Compiling SystemPackage Backcompat.swift
[157/977] Compiling SystemPackage CInterop.swift
[158/977] Compiling InternalCollectionsUtilities Debugging.swift
[159/977] Compiling InternalCollectionsUtilities Descriptions.swift
[160/977] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[161/977] Compiling Instrumentation InstrumentationSystem.swift
[162/977] Compiling Instrumentation Locks.swift
[163/978] Compiling InternalCollectionsUtilities UInt+reversed.swift
[164/978] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[165/978] Compiling InternalCollectionsUtilities Integer rank.swift
[166/978] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[167/978] Compiling Logging Locks.swift
[168/978] Emitting module Logging
[169/978] Emitting module CoreMetrics
[173/978] Emitting module _NIODataStructures
[174/978] Compiling _NIODataStructures Heap.swift
[176/997] Compiling A2A AgentCard.swift
[177/997] Compiling A2A Artifact.swift
[178/1014] Emitting module SwiftASN1
[179/1015] Compiling Tracing InstrumentationSystem+Tracing.swift
[180/1015] Compiling Tracing NoOpTracer.swift
[182/1015] Compiling Tracing TracerProtocol.swift
[182/1015] Compiling CNIOLLHTTP c_nio_api.c
[184/1015] Emitting module Tracing
[185/1015] Compiling Tracing TracingTime.swift
[185/1015] Compiling CNIOExtrasZlib zutil.c
[187/1015] Compiling SystemPackage SystemString.swift
[188/1015] Compiling SystemPackage Util+StringArray.swift
[189/1015] Compiling SystemPackage Util.swift
[190/1015] Compiling SystemPackage UtilConsumers.swift
[191/1016] Compiling Tracing TracerProtocol+Legacy.swift
[192/1016] Emitting module InternalCollectionsUtilities
[193/1016] Compiling Tracing Tracer.swift
[194/1016] Compiling KeccakP-1600-opt64.c
[196/1016] Compiling Logging LogHandler.swift
[197/1016] Compiling Logging Logging.swift
[197/1017] Compiling CNIOExtrasZlib trees.c
[198/1017] Compiling CNIOExtrasZlib inftrees.c
[200/1017] Compiling A2A StreamingSession.swift
[201/1017] Compiling A2A Events.swift
[202/1017] Compiling A2A JSONValue.swift
[203/1017] Compiling A2A SSEConfiguration.swift
[204/1017] Compiling A2A SSELineParser.swift
[205/1017] Compiling A2A Message.swift
[206/1017] Compiling A2A Part.swift
[207/1017] Compiling A2A JSONRPCMessage.swift
[208/1018] Compiling CNIOExtrasZlib inffast.c
[210/1018] Compiling CNIOExtrasZlib crc32.c
[211/1024] Compiling CNIOExtrasZlib adler32.c
[213/1024] Compiling CoreMetrics Metrics.swift
[214/1024] Compiling CoreMetrics Locks.swift
[215/1025] Compiling Tracing SpanProtocol.swift
[215/1026] Compiling CNIOExtrasZlib inflate.c
[217/1026] Compiling CNIOExtrasZlib deflate.c
[219/1026] Compiling CNIODarwin shim.c
[221/1193] Compiling HeapModule Heap+Invariants.swift
[222/1223] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[223/1236] Compiling HashTreeCollections _HashNode+Builder.swift
[224/1236] Compiling HashTreeCollections _HashNode+Debugging.swift
[225/1236] Compiling HashTreeCollections _HashNode+Initializers.swift
[226/1236] Compiling HashTreeCollections _HashNode+Invariants.swift
[227/1236] Compiling HashTreeCollections _HashNode+Lookups.swift
[228/1273] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[229/1273] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[230/1273] Compiling HashTreeCollections _HashNode+Structural merge.swift
[231/1273] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[232/1273] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[233/1273] Compiling HashTreeCollections _HashNode.swift
[234/1273] Compiling HashTreeCollections _HashNodeHeader.swift
[235/1273] Compiling HashTreeCollections _HashSlot.swift
[236/1273] Compiling HashTreeCollections _HashNode+Structural filter.swift
[237/1273] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[238/1273] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[239/1273] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[240/1273] Compiling HeapModule Heap+Descriptions.swift
[241/1273] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[242/1273] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[243/1273] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[244/1273] Compiling HashTreeCollections _HashNode+Storage.swift
[245/1273] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[246/1273] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[247/1273] Compiling HashTreeCollections _HashNode+Structural union.swift
[248/1273] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[249/1273] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[250/1273] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
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/A2A/Server/PushNotificationSender.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
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/A2A/Server/PushNotificationSender.swift:11:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: error: value of type '_' expected to be instance of class or class-constrained type
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:17: error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                 `- error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 9 |     private let encoder: JSONEncoder
10 |
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:23:23: error: cannot find 'URLRequest' in scope
21 |         guard let url = URL(string: config.url) else { return }
22 |
23 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
24 |         request.httpMethod = "POST"
25 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:52:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |         do {
51 |             request.httpBody = try encoder.encode(event)
52 |             _ = try await session.data(for: request)
   |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
53 |         } catch {
54 |             // Push notifications are fire-and-forget; log errors but don't propagate
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
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/A2A/Server/PushNotificationSender.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
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/A2A/Server/PushNotificationSender.swift:11:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: error: value of type '_' expected to be instance of class or class-constrained type
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:17: error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                 `- error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 9 |     private let encoder: JSONEncoder
10 |
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:23:23: error: cannot find 'URLRequest' in scope
21 |         guard let url = URL(string: config.url) else { return }
22 |
23 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
24 |         request.httpMethod = "POST"
25 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:52:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |         do {
51 |             request.httpBody = try encoder.encode(event)
52 |             _ = try await session.data(for: request)
   |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
53 |         } catch {
54 |             // Push notifications are fire-and-forget; log errors but don't propagate
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
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/A2A/Server/PushNotificationSender.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
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/A2A/Server/PushNotificationSender.swift:11:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: error: value of type '_' expected to be instance of class or class-constrained type
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:17: error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                 `- error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 9 |     private let encoder: JSONEncoder
10 |
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:23:23: error: cannot find 'URLRequest' in scope
21 |         guard let url = URL(string: config.url) else { return }
22 |
23 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
24 |         request.httpMethod = "POST"
25 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:52:35: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |         do {
51 |             request.httpBody = try encoder.encode(event)
52 |             _ = try await session.data(for: request)
   |                                   `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
53 |         } catch {
54 |             // Push notifications are fire-and-forget; log errors but don't propagate
[254/1276] Compiling HashTreeCollections _HashLevel.swift
[258/1276] Emitting module Metrics
[259/1276] Compiling Metrics Metrics.swift
[260/1277] Compiling ContainersPreview Box.swift
[261/1277] Compiling ContainersPreview Inout.swift
[262/1277] Compiling ContainersPreview InputSpan.swift
[263/1277] Compiling ContainersPreview Shared.swift
[265/1277] Emitting module ContainersPreview
[266/1277] Compiling HashTreeCollections _AncestorHashSlots.swift
[267/1277] Compiling HashTreeCollections _Bitmap.swift
[268/1277] Compiling HashTreeCollections _Bucket.swift
[269/1277] Compiling HashTreeCollections _Hash.swift
[271/1278] Compiling HeapModule _HeapNode.swift
[272/1278] Compiling HeapModule Heap.swift
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Optional authentication headers to include in requests.
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/A2A/Client/A2AClient.swift:56:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
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/A2A/Client/A2AClient.swift:56:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: error: value of type '_' expected to be instance of class or class-constrained type
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: error: cannot find type 'URLRequest' in scope
423 |     }
424 |
425 |     private func applyHeaders(to request: inout URLRequest) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
426 |         for (key, value) in authHeaders {
427 |             request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 |     }
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |         guard let httpResponse = response as? HTTPURLResponse else {
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 35 |
 36 |     /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:75:23: error: cannot find 'URLRequest' in scope
 73 |     public func fetchAgentCard() async throws -> AgentCard {
 74 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 75 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 76 |         request.httpMethod = "GET"
 77 |         applyHeaders(to: &request)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         applyHeaders(to: &request)
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         try validateHTTPResponse(response)
 81 |         return try decoder.decode(AgentCard.self, from: data)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:168:27: error: cannot find 'URLRequest' in scope
166 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
167 |
168 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
169 |         httpRequest.httpMethod = "POST"
170 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: error: cannot find type 'URLRequest' in scope
32 | public protocol A2AClientInterceptor: Sendable {
33 |     /// Called before a request is sent. Modify the URLRequest to add headers, etc.
34 |     func before(request: inout URLRequest, method: A2AMethod) async throws
   |                                `- error: cannot find type 'URLRequest' in scope
35 |
36 |     /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
44 | }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:180:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
178 |         }
179 |
180 |         var (data, response) = try await session.data(for: httpRequest)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
181 |         try validateHTTPResponse(response)
182 |
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:209:27: error: cannot find 'URLRequest' in scope
207 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
208 |
209 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
210 |         httpRequest.httpMethod = "POST"
211 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:437:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
435 |         // We don't throw on non-2xx here because JSON-RPC errors come in the body
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:438:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:440:93: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
    |                                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
441 |             }
442 |         }
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     private var cache: [URL: CachedCard] = [:]
 32 |     private let defaultTTL: TimeInterval
 33 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     private let decoder = JSONDecoder()
 35 |
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/A2A/Client/AgentCardResolver.swift:41:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: value of type '_' expected to be instance of class or class-constrained type
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:85:23: error: cannot find 'URLRequest' in scope
 83 |     private func fetch(baseURL: URL) async throws -> AgentCard {
 84 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 85 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 86 |         request.httpMethod = "GET"
 87 |
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:88:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 86 |         request.httpMethod = "GET"
 87 |
 88 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 89 |
 90 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     /// Called after a response is received. Can inspect/transform the response data.
37 |     /// Return the (possibly modified) data.
38 |     func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | }
40 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: error: cannot find type 'URLRequest' in scope
54 |     }
55 |
56 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
57 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
58 |     }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: error: cannot find type 'URLRequest' in scope
69 |     }
70 |
71 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
72 |         request.setValue(apiKey, forHTTPHeaderField: headerName)
73 |     }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Optional authentication headers to include in requests.
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/A2A/Client/A2AClient.swift:56:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
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/A2A/Client/A2AClient.swift:56:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: error: value of type '_' expected to be instance of class or class-constrained type
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: error: cannot find type 'URLRequest' in scope
423 |     }
424 |
425 |     private func applyHeaders(to request: inout URLRequest) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
426 |         for (key, value) in authHeaders {
427 |             request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 |     }
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |         guard let httpResponse = response as? HTTPURLResponse else {
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 35 |
 36 |     /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:75:23: error: cannot find 'URLRequest' in scope
 73 |     public func fetchAgentCard() async throws -> AgentCard {
 74 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 75 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 76 |         request.httpMethod = "GET"
 77 |         applyHeaders(to: &request)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         applyHeaders(to: &request)
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         try validateHTTPResponse(response)
 81 |         return try decoder.decode(AgentCard.self, from: data)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:168:27: error: cannot find 'URLRequest' in scope
166 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
167 |
168 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
169 |         httpRequest.httpMethod = "POST"
170 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: error: cannot find type 'URLRequest' in scope
32 | public protocol A2AClientInterceptor: Sendable {
33 |     /// Called before a request is sent. Modify the URLRequest to add headers, etc.
34 |     func before(request: inout URLRequest, method: A2AMethod) async throws
   |                                `- error: cannot find type 'URLRequest' in scope
35 |
36 |     /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
44 | }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:180:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
178 |         }
179 |
180 |         var (data, response) = try await session.data(for: httpRequest)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
181 |         try validateHTTPResponse(response)
182 |
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:209:27: error: cannot find 'URLRequest' in scope
207 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
208 |
209 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
210 |         httpRequest.httpMethod = "POST"
211 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:437:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
435 |         // We don't throw on non-2xx here because JSON-RPC errors come in the body
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:438:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:440:93: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
    |                                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
441 |             }
442 |         }
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     private var cache: [URL: CachedCard] = [:]
 32 |     private let defaultTTL: TimeInterval
 33 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     private let decoder = JSONDecoder()
 35 |
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/A2A/Client/AgentCardResolver.swift:41:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: value of type '_' expected to be instance of class or class-constrained type
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:85:23: error: cannot find 'URLRequest' in scope
 83 |     private func fetch(baseURL: URL) async throws -> AgentCard {
 84 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 85 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 86 |         request.httpMethod = "GET"
 87 |
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:88:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 86 |         request.httpMethod = "GET"
 87 |
 88 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 89 |
 90 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     /// Called after a response is received. Can inspect/transform the response data.
37 |     /// Return the (possibly modified) data.
38 |     func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | }
40 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: error: cannot find type 'URLRequest' in scope
54 |     }
55 |
56 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
57 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
58 |     }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: error: cannot find type 'URLRequest' in scope
69 |     }
70 |
71 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
72 |         request.setValue(apiKey, forHTTPHeaderField: headerName)
73 |     }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Optional authentication headers to include in requests.
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/A2A/Client/A2AClient.swift:56:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
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/A2A/Client/A2AClient.swift:56:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: error: value of type '_' expected to be instance of class or class-constrained type
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: error: cannot find type 'URLRequest' in scope
423 |     }
424 |
425 |     private func applyHeaders(to request: inout URLRequest) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
426 |         for (key, value) in authHeaders {
427 |             request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 |     }
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |         guard let httpResponse = response as? HTTPURLResponse else {
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 35 |
 36 |     /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:75:23: error: cannot find 'URLRequest' in scope
 73 |     public func fetchAgentCard() async throws -> AgentCard {
 74 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 75 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 76 |         request.httpMethod = "GET"
 77 |         applyHeaders(to: &request)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         applyHeaders(to: &request)
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         try validateHTTPResponse(response)
 81 |         return try decoder.decode(AgentCard.self, from: data)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:168:27: error: cannot find 'URLRequest' in scope
166 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
167 |
168 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
169 |         httpRequest.httpMethod = "POST"
170 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: error: cannot find type 'URLRequest' in scope
32 | public protocol A2AClientInterceptor: Sendable {
33 |     /// Called before a request is sent. Modify the URLRequest to add headers, etc.
34 |     func before(request: inout URLRequest, method: A2AMethod) async throws
   |                                `- error: cannot find type 'URLRequest' in scope
35 |
36 |     /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
44 | }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:180:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
178 |         }
179 |
180 |         var (data, response) = try await session.data(for: httpRequest)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
181 |         try validateHTTPResponse(response)
182 |
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:209:27: error: cannot find 'URLRequest' in scope
207 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
208 |
209 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
210 |         httpRequest.httpMethod = "POST"
211 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:437:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
435 |         // We don't throw on non-2xx here because JSON-RPC errors come in the body
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:438:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:440:93: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
    |                                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
441 |             }
442 |         }
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     private var cache: [URL: CachedCard] = [:]
 32 |     private let defaultTTL: TimeInterval
 33 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     private let decoder = JSONDecoder()
 35 |
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/A2A/Client/AgentCardResolver.swift:41:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: value of type '_' expected to be instance of class or class-constrained type
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:85:23: error: cannot find 'URLRequest' in scope
 83 |     private func fetch(baseURL: URL) async throws -> AgentCard {
 84 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 85 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 86 |         request.httpMethod = "GET"
 87 |
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:88:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 86 |         request.httpMethod = "GET"
 87 |
 88 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 89 |
 90 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     /// Called after a response is received. Can inspect/transform the response data.
37 |     /// Return the (possibly modified) data.
38 |     func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | }
40 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: error: cannot find type 'URLRequest' in scope
54 |     }
55 |
56 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
57 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
58 |     }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: error: cannot find type 'URLRequest' in scope
69 |     }
70 |
71 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
72 |         request.setValue(apiKey, forHTTPHeaderField: headerName)
73 |     }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Optional authentication headers to include in requests.
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/A2A/Client/A2AClient.swift:56:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
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/A2A/Client/A2AClient.swift:56:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: error: value of type '_' expected to be instance of class or class-constrained type
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: error: cannot find type 'URLRequest' in scope
423 |     }
424 |
425 |     private func applyHeaders(to request: inout URLRequest) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
426 |         for (key, value) in authHeaders {
427 |             request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 |     }
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |         guard let httpResponse = response as? HTTPURLResponse else {
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 35 |
 36 |     /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:75:23: error: cannot find 'URLRequest' in scope
 73 |     public func fetchAgentCard() async throws -> AgentCard {
 74 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 75 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 76 |         request.httpMethod = "GET"
 77 |         applyHeaders(to: &request)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         applyHeaders(to: &request)
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         try validateHTTPResponse(response)
 81 |         return try decoder.decode(AgentCard.self, from: data)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:168:27: error: cannot find 'URLRequest' in scope
166 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
167 |
168 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
169 |         httpRequest.httpMethod = "POST"
170 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: error: cannot find type 'URLRequest' in scope
32 | public protocol A2AClientInterceptor: Sendable {
33 |     /// Called before a request is sent. Modify the URLRequest to add headers, etc.
34 |     func before(request: inout URLRequest, method: A2AMethod) async throws
   |                                `- error: cannot find type 'URLRequest' in scope
35 |
36 |     /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
44 | }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:180:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
178 |         }
179 |
180 |         var (data, response) = try await session.data(for: httpRequest)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
181 |         try validateHTTPResponse(response)
182 |
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:209:27: error: cannot find 'URLRequest' in scope
207 |         let rpcRequest = JSONRPCRequest(id: .int(id), method: method, params: params)
208 |
209 |         var httpRequest = URLRequest(url: baseURL)
    |                           `- error: cannot find 'URLRequest' in scope
210 |         httpRequest.httpMethod = "POST"
211 |         httpRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:432:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
432 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
434 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:437:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
435 |         // We don't throw on non-2xx here because JSON-RPC errors come in the body
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:438:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
436 |         // But we do throw on server errors that don't return JSON-RPC
437 |         if httpResponse.statusCode >= 500 {
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
    |                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:440:93: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
438 |             let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type") ?? ""
439 |             if !contentType.contains("json") {
440 |                 throw A2AError(code: .internalError, message: "Server error: \(httpResponse.statusCode)")
    |                                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
441 |             }
442 |         }
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     private var cache: [URL: CachedCard] = [:]
 32 |     private let defaultTTL: TimeInterval
 33 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     private let decoder = JSONDecoder()
 35 |
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/A2A/Client/AgentCardResolver.swift:41:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: value of type '_' expected to be instance of class or class-constrained type
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:85:23: error: cannot find 'URLRequest' in scope
 83 |     private func fetch(baseURL: URL) async throws -> AgentCard {
 84 |         let url = baseURL.appendingPathComponent(".well-known/agent-card.json")
 85 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 86 |         request.httpMethod = "GET"
 87 |
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:88:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 86 |         request.httpMethod = "GET"
 87 |
 88 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 89 |
 90 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     /// Called after a response is received. Can inspect/transform the response data.
37 |     /// Return the (possibly modified) data.
38 |     func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | }
40 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: error: cannot find type 'URLRequest' in scope
54 |     }
55 |
56 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
57 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
58 |     }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: error: cannot find type 'URLRequest' in scope
69 |     }
70 |
71 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
72 |         request.setValue(apiKey, forHTTPHeaderField: headerName)
73 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[278/1278] Emitting module A2A
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     /// Optional authentication headers to include in requests.
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/A2A/Client/A2AClient.swift:56:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
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/A2A/Client/A2AClient.swift:56:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:56:32: error: value of type '_' expected to be instance of class or class-constrained type
 54 |     public init(
 55 |         baseURL: URL,
 56 |         session: URLSession = .shared,
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 57 |         authHeaders: [String: String] = [:],
 58 |         interceptors: [any A2AClientInterceptor] = [],
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:425:49: error: cannot find type 'URLRequest' in scope
423 |     }
424 |
425 |     private func applyHeaders(to request: inout URLRequest) {
    |                                                 `- error: cannot find type 'URLRequest' in scope
426 |         for (key, value) in authHeaders {
427 |             request.setValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:431:51: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 |     }
430 |
431 |     private func validateHTTPResponse(_ response: URLResponse) throws {
    |                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |         guard let httpResponse = response as? HTTPURLResponse else {
433 |             throw A2AError(code: .internalError, message: "Invalid HTTP response")
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/A2AClient.swift:34:17: error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 32 |
 33 |     /// The URLSession used for requests.
 34 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'A2AClient' has non-Sendable type 'URLSession' (aka 'AnyObject')
 35 |
 36 |     /// Optional authentication headers to include in requests.
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:33:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     private var cache: [URL: CachedCard] = [:]
 32 |     private let defaultTTL: TimeInterval
 33 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |     private let decoder = JSONDecoder()
 35 |
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/A2A/Client/AgentCardResolver.swift:41:58: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/AgentCardResolver.swift:41:72: error: value of type '_' expected to be instance of class or class-constrained type
 39 |     ///   - defaultTTL: Default time-to-live for cached cards in seconds. Defaults to 300 (5 minutes).
 40 |     ///   - session: The URL session to use for fetching. Defaults to `.shared`.
 41 |     public init(defaultTTL: TimeInterval = 300, session: URLSession = .shared) {
    |                                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 42 |         self.defaultTTL = defaultTTL
 43 |         self.session = session
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:34:32: error: cannot find type 'URLRequest' in scope
32 | public protocol A2AClientInterceptor: Sendable {
33 |     /// Called before a request is sent. Modify the URLRequest to add headers, etc.
34 |     func before(request: inout URLRequest, method: A2AMethod) async throws
   |                                `- error: cannot find type 'URLRequest' in scope
35 |
36 |     /// Called after a response is received. Can inspect/transform the response data.
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:38:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |     /// Called after a response is received. Can inspect/transform the response data.
37 |     /// Return the (possibly modified) data.
38 |     func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | }
40 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:42:39: error: cannot find type 'URLRequest' in scope
40 |
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
   |                                       `- error: cannot find type 'URLRequest' in scope
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
44 | }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:43:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | extension A2AClientInterceptor {
42 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {}
43 |     public func after(response: URLResponse, data: Data, method: A2AMethod) async throws -> Data { data }
   |                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:56:39: error: cannot find type 'URLRequest' in scope
54 |     }
55 |
56 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
57 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
58 |     }
/host/spi-builder-workspace/Sources/A2A/Client/ClientInterceptor.swift:71:39: error: cannot find type 'URLRequest' in scope
69 |     }
70 |
71 |     public func before(request: inout URLRequest, method: A2AMethod) async throws {
   |                                       `- error: cannot find type 'URLRequest' in scope
72 |         request.setValue(apiKey, forHTTPHeaderField: headerName)
73 |     }
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
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/A2A/Server/PushNotificationSender.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
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/A2A/Server/PushNotificationSender.swift:11:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:11:40: error: value of type '_' expected to be instance of class or class-constrained type
 9 |     private let encoder: JSONEncoder
10 |
11 |     public init(session: URLSession = .shared) {
   |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
12 |         self.session = session
13 |         self.encoder = JSONEncoder()
/host/spi-builder-workspace/Sources/A2A/Server/PushNotificationSender.swift:8:17: error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 6 | /// Sends push notifications to configured webhook URLs when task events occur.
 7 | public final class PushNotificationSender: Sendable {
 8 |     private let session: URLSession
   |                 `- error: stored property 'session' of 'Sendable'-conforming class 'PushNotificationSender' has non-Sendable type 'URLSession' (aka 'AnyObject')
 9 |     private let encoder: JSONEncoder
10 |
[279/1278] Compiling HeapModule Heap+UnsafeHandle.swift
[280/1278] Emitting module HeapModule
[281/1319] Compiling fiat_p256_adx_sqr.S
[283/1319] Compiling HashTreeCollections TreeSet+Hashable.swift
[284/1319] Compiling HashTreeCollections TreeSet+Sendable.swift
[285/1319] Compiling HashTreeCollections TreeSet+Sequence.swift
[286/1319] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[287/1319] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[288/1319] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[289/1319] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[290/1319] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[291/1319] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[292/1319] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[292/1329] Compiling fiat_p256_adx_mul.S
[293/1329] Compiling fiat_curve25519_adx_square.S
[294/1329] Compiling fiat_curve25519_adx_mul.S
[296/1329] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[297/1329] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[298/1329] Compiling HashTreeCollections TreeDictionary+Keys.swift
[299/1329] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[300/1329] Compiling HashTreeCollections TreeDictionary+Merge.swift
[301/1329] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[302/1329] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[303/1329] Compiling HashTreeCollections TreeDictionary+Collection.swift
[304/1329] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[305/1329] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[306/1329] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[307/1329] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[308/1329] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[309/1329] Compiling HashTreeCollections TreeDictionary+Filter.swift
[309/1336] Compiling CNIOBoringSSLShims shims.c
[311/1336] Compiling DequeModule RigidDeque+Removals.swift
[312/1336] Compiling DequeModule RigidDeque+Replacements.swift
[313/1336] Compiling DequeModule RigidDeque+Testing.swift
[314/1336] Compiling DequeModule RigidDeque.swift
[315/1336] Compiling DequeModule UniqueDeque+Append.swift
[316/1336] Compiling DequeModule UniqueDeque+Consumption.swift
[317/1336] Compiling DequeModule UniqueDeque+Container.swift
[318/1336] Compiling DequeModule UniqueDeque+Descriptions.swift
[322/1336] Compiling DequeModule UniqueDeque+Equatable.swift
[323/1336] Compiling DequeModule UniqueDeque+Experimental.swift
[324/1336] Compiling DequeModule UniqueDeque+Hashable.swift
[325/1336] Compiling DequeModule UniqueDeque+Initializers.swift
[326/1336] Compiling DequeModule UniqueDeque+Insertions.swift
[327/1336] Compiling DequeModule UniqueDeque+Prepend.swift
[328/1336] Compiling DequeModule UniqueDeque+Removals.swift
[336/1336] Compiling HashTreeCollections TreeDictionary+Codable.swift
[337/1341] Compiling DequeModule Deque+Codable.swift
[338/1341] Compiling DequeModule Deque+Collection.swift
[339/1341] Compiling DequeModule Deque+CustomReflectable.swift
[340/1341] Compiling DequeModule Deque+Descriptions.swift
[341/1341] Compiling DequeModule Deque+Equatable.swift
[342/1341] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[343/1341] Compiling DequeModule Deque+Extras.swift
[344/1341] Compiling DequeModule Deque+Hashable.swift
[345/1341] Compiling DequeModule Deque+Testing.swift
[346/1341] Compiling DequeModule Deque._Storage.swift
[347/1341] Compiling DequeModule Deque._UnsafeHandle.swift
[348/1341] Compiling DequeModule Deque.swift
[349/1341] Compiling DequeModule _DequeBuffer.swift
[350/1341] Compiling DequeModule _DequeBufferHeader.swift
[351/1341] Compiling DequeModule RigidDeque+Append.swift
[352/1341] Compiling DequeModule RigidDeque+Consumption.swift
[357/1341] Compiling DequeModule RigidDeque+Container.swift
[358/1341] Compiling DequeModule RigidDeque+Descriptions.swift
[364/1341] Compiling DequeModule RigidDeque+Equatable.swift
[365/1341] Compiling DequeModule RigidDeque+Experimental.swift
[366/1341] Compiling DequeModule RigidDeque+Hashable.swift
[367/1341] Compiling DequeModule RigidDeque+Initializers.swift
[368/1341] Compiling DequeModule RigidDeque+Insertions.swift
[369/1341] Compiling DequeModule RigidDeque+Prepend.swift
[370/1341] Compiling OrderedCollections OrderedSet+SubSequence.swift
[371/1341] Compiling OrderedCollections OrderedSet+Testing.swift
[372/1341] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[373/1341] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[374/1341] Compiling OrderedCollections OrderedSet.swift
[375/1341] Compiling OrderedCollections _UnsafeBitset.swift
[376/1341] Compiling HashTreeCollections TreeSet+Equatable.swift
[377/1341] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[378/1341] Compiling HashTreeCollections TreeSet+Extras.swift
[379/1341] Compiling HashTreeCollections TreeSet+Filter.swift
[390/1341] Compiling OrderedCollections OrderedSet+Sendable.swift
[397/1341] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[398/1341] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[399/1341] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[400/1341] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[401/1341] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[402/1341] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[403/1341] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[404/1341] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[405/1341] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[406/1341] Compiling HashTreeCollections TreeSet.swift
[407/1341] Compiling RoutingKit AnyRouter.swift
[408/1341] Emitting module RoutingKit
[419/1350] Compiling RoutingKit Parameters.swift
[420/1350] Compiling RoutingKit PathComponent.swift
[427/1350] Compiling DequeModule UniqueDeque+Replacements.swift
[428/1350] Compiling DequeModule UniqueDeque.swift
[429/1350] Compiling DequeModule _DequeSlot.swift
[430/1350] Compiling DequeModule _UnsafeDequeHandle.swift
[431/1350] Compiling DequeModule _UnsafeDequeSegments.swift
[432/1350] Compiling RoutingKit Router.swift
[433/1350] Compiling RoutingKit TrieRouter.swift
[450/1351] Emitting module OrderedCollections
[483/1352] Compiling tls_record.cc
[484/1352] Compiling tls_method.cc
[528/1352] Emitting module _RopeModule
[539/1352] Compiling _RopeModule Rope+Join.swift
[540/1352] Compiling _RopeModule Rope+MutatingForEach.swift
[541/1352] Compiling _RopeModule Rope+Remove.swift
[542/1352] Compiling _RopeModule Rope+RemoveSubrange.swift
[543/1352] Compiling _RopeModule Rope+Split.swift
[544/1352] Compiling _RopeModule Optional Utilities.swift
[545/1352] Compiling _RopeModule String Utilities.swift
[546/1352] Compiling _RopeModule String.Index+ABI.swift
[547/1352] Compiling _RopeModule _CharacterRecognizer.swift
[548/1352] Emitting module HashTreeCollections
[549/1353] Compiling tls13_client.cc
[550/1353] Compiling tls13_server.cc
[552/1353] Emitting module DequeModule
[568/1353] Compiling ssl_x509.cc
[574/1353] Compiling t1_enc.cc
[574/1353] Compiling ssl_versions.cc
[574/1353] Compiling tls13_enc.cc
[574/1353] Compiling tls13_both.cc
BUILD FAILURE 6.2 wasm