The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnyLanguageModel, reference 0.8.0 (163f38), with Swift 6.3 for Wasm on 19 Apr 2026 09:08:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.git
Reference: 0.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/huggingface/AnyLanguageModel
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 163f385 Bump version to 0.8.0
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
163f3855a53235b4ebeb69cf5e9f228215ae35b5
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at 0.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/huggingface/AnyLanguageModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/PartialJSONDecoder
[1/39] Fetching partialjsondecoder
[32/231] Fetching partialjsondecoder, jsonschema
[63/502] Fetching partialjsondecoder, jsonschema, eventsource
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/mattt/PartialJSONDecoder from cache (0.41s)
Fetched https://github.com/mattt/EventSource from cache (0.41s)
Fetched https://github.com/mattt/JSONSchema from cache (0.42s)
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.77s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.0 (7.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.54s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.41s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.4.1 (2.13s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (7.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.72s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/mattt/PartialJSONDecoder
Working copy of https://github.com/mattt/PartialJSONDecoder resolved at 1.0.0
Creating working copy for https://github.com/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/57] Write sources
[26/57] Compiling _SwiftSyntaxCShims dummy.c
[27/57] Compiling CNIOWindows shim.c
[28/57] Compiling CNIOWASI CNIOWASI.c
[29/57] Compiling CNIOWindows WSAStartup.c
[30/57] Compiling CNIOLinux shim.c
[31/57] Compiling CNIOOpenBSD shim.c
[32/57] Compiling _AtomicsShims.c
[33/57] Compiling CNIOLinux liburing_shims.c
[34/57] Compiling CNIODarwin shim.c
[35/57] Write sources
[37/57] Write swift-version-24593BA9C3E375BF.txt
[38/74] Compiling c-nioatomics.c
[39/92] Compiling c-atomics.c
[41/110] Emitting module InternalCollectionsUtilities
[42/112] Compiling Atomics AtomicInteger.swift
[43/112] Compiling Atomics AtomicOptionalWrappable.swift
[44/112] Compiling Atomics AtomicReference.swift
[45/112] Compiling Atomics AtomicValue.swift
[46/112] Compiling Atomics UnsafeAtomic.swift
[47/112] Compiling Atomics AtomicMemoryOrderings.swift
[48/112] Compiling Atomics DoubleWord.swift
[49/112] Compiling Atomics AtomicStorage.swift
[50/112] Compiling Atomics UnsafeAtomicLazyReference.swift
[51/112] Compiling Atomics IntegerConformances.swift
[54/112] Compiling InternalCollectionsUtilities _SortedCollection.swift
[55/112] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[56/114] Compiling Atomics OptionalRawRepresentable.swift
[57/114] Compiling Atomics RawRepresentable.swift
[58/114] Compiling Atomics AtomicBool.swift
[63/114] Compiling Atomics ManagedAtomic.swift
[64/114] Compiling Atomics ManagedAtomicLazyReference.swift
[73/114] Compiling Atomics PointerConformances.swift
[74/114] Compiling Atomics Primitives.native.swift
[75/115] Compiling _NIOBase64 Base64.swift
[76/115] Emitting module _NIOBase64
[79/123] Compiling _NIODataStructures PriorityQueue.swift
[80/123] Compiling _NIODataStructures _TinyArray.swift
[81/178] Emitting module SwiftSyntax510
[82/178] Compiling SwiftSyntax510 Empty.swift
[83/178] Emitting module SwiftSyntax600
[84/178] Compiling SwiftSyntax600 Empty.swift
[85/180] Emitting module SwiftSyntax509
[86/180] Compiling SwiftSyntax509 Empty.swift
[87/181] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[91/181] Compiling OrderedCollections OrderedSet+Insertions.swift
[92/181] Compiling OrderedCollections OrderedSet+Invariants.swift
[92/214] Wrapping AST for SwiftSyntax600 for debugging
[93/214] Wrapping AST for SwiftSyntax509 for debugging
[95/214] Compiling ContainersPreview Producer+Map.swift
[96/214] Compiling ContainersPreview Producer+Reduce.swift
[97/214] Compiling ContainersPreview Producer.swift
[98/214] Compiling ContainersPreview Borrow.swift
[99/214] Compiling ContainersPreview RandomAccessContainer.swift
[100/214] Compiling ContainersPreview RangeExpression2.swift
[101/214] Compiling ContainersPreview RangeReplaceableContainer.swift
[102/214] Compiling ContainersPreview Drain+Map.swift
[103/214] Compiling ContainersPreview Drain+Reduce.swift
[104/214] Compiling ContainersPreview Drain.swift
[105/214] Compiling ContainersPreview Producer+Collect.swift
[106/214] Compiling ContainersPreview Producer+Filter.swift
[106/214] Wrapping AST for SwiftSyntax510 for debugging
[108/218] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[109/218] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[110/218] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[111/218] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[112/218] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[113/218] Compiling ContainersPreview Container.swift
[114/218] Compiling ContainersPreview ContainerIterator.swift
[115/218] Compiling ContainersPreview DynamicContainer.swift
[116/218] Compiling ContainersPreview MutableContainer.swift
[117/218] Compiling ContainersPreview PermutableContainer.swift
[118/218] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[119/218] Compiling ContainersPreview BorrowingSequence.swift
[120/218] Compiling ContainersPreview BidirectionalContainer.swift
[121/218] Compiling ContainersPreview Container+Filter.swift
[122/218] Compiling ContainersPreview Container+SpanwiseZip.swift
[123/282] Emitting module ContainersPreview
[124/282] Compiling SwiftSyntax RawSyntaxTokenView.swift
[125/282] Compiling SwiftSyntax SourceEdit.swift
[126/282] Compiling SwiftSyntax SourceLength.swift
[127/282] Compiling SwiftSyntax SourceLocation.swift
[128/282] Compiling NIOConcurrencyHelpers lock.swift
[129/282] Compiling NIOConcurrencyHelpers NIOLock.swift
[130/282] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[131/282] Compiling SwiftSyntax Syntax.swift
[132/282] Compiling SwiftSyntax SyntaxArena.swift
[133/282] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[134/282] Compiling SwiftSyntax SyntaxChildren.swift
[136/283] Emitting module _NIODataStructures
[137/283] Compiling _NIODataStructures Heap.swift
[138/284] Emitting module Atomics
[140/284] Emitting module NIOConcurrencyHelpers
[141/285] Compiling SwiftSyntax SyntaxCollection.swift
[142/285] Compiling SwiftSyntax SyntaxHashable.swift
[143/285] Compiling SwiftSyntax SyntaxIdentifier.swift
[144/285] Compiling SwiftSyntax MemoryLayout.swift
[145/285] Compiling SwiftSyntax MissingNodeInitializers.swift
[146/285] Compiling SwiftSyntax RawSyntax.swift
[147/285] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[148/301] Compiling PartialJSONDecoder PartialJSONDecoder.swift
[149/331] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[150/331] Compiling NIOConcurrencyHelpers atomics.swift
[151/331] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[153/332] Compiling PartialJSONDecoder AsyncPartialJSONSequence.swift
[154/332] Emitting module PartialJSONDecoder
[155/332] Compiling PartialJSONDecoder JSONCompleter.swift
[156/332] Compiling PartialJSONDecoder AsyncSequence+PartialJSON.swift
[157/333] Compiling DequeModule _DequeBuffer.swift
[158/333] Compiling DequeModule _DequeBufferHeader.swift
[159/333] Compiling DequeModule RigidDeque+Append.swift
[162/334] Compiling DequeModule Deque._UnsafeHandle.swift
[163/334] Compiling DequeModule Deque.swift
[164/334] Compiling DequeModule UniqueDeque+Consumption.swift
[165/334] Compiling DequeModule UniqueDeque+Container.swift
[166/334] Compiling DequeModule UniqueDeque+Descriptions.swift
[167/334] Compiling DequeModule UniqueDeque+Equatable.swift
[168/334] Compiling DequeModule UniqueDeque+Experimental.swift
[169/334] Compiling DequeModule RigidDeque+Removals.swift
[170/334] Compiling SwiftSyntax ChildNameForKeyPath.swift
[171/334] Compiling SwiftSyntax Keyword.swift
[172/334] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[173/334] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[174/334] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[175/334] Compiling SwiftSyntax SyntaxBaseNodes.swift
[176/334] Compiling SwiftSyntax SyntaxCollections.swift
[177/334] Compiling SwiftSyntax SyntaxEnum.swift
[179/334] Compiling DequeModule RigidDeque+Consumption.swift
[180/334] Compiling DequeModule RigidDeque+Container.swift
[181/334] Compiling DequeModule RigidDeque+Descriptions.swift
[182/334] Compiling DequeModule Deque+Extras.swift
[183/334] Compiling DequeModule Deque+Hashable.swift
[184/334] Compiling DequeModule Deque+Testing.swift
[185/334] Compiling DequeModule Deque._Storage.swift
[186/334] Compiling DequeModule Deque+Codable.swift
[187/334] Compiling DequeModule Deque+Collection.swift
[188/334] Compiling DequeModule Deque+CustomReflectable.swift
[189/334] Compiling DequeModule Deque+Descriptions.swift
[190/334] Compiling DequeModule Deque+Equatable.swift
[191/334] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[194/334] Compiling DequeModule RigidDeque+Equatable.swift
[195/334] Compiling DequeModule RigidDeque+Experimental.swift
[196/334] Compiling DequeModule RigidDeque+Hashable.swift
[197/334] Compiling DequeModule RigidDeque+Initializers.swift
[198/334] Compiling DequeModule RigidDeque+Insertions.swift
[199/334] Compiling DequeModule RigidDeque+Prepend.swift
[205/339] Compiling DequeModule UniqueDeque+Hashable.swift
[206/339] Compiling DequeModule UniqueDeque+Initializers.swift
[207/339] Compiling DequeModule UniqueDeque+Insertions.swift
[208/339] Compiling DequeModule UniqueDeque+Prepend.swift
[209/339] Compiling DequeModule UniqueDeque+Removals.swift
[211/339] Compiling DequeModule RigidDeque+Replacements.swift
[212/339] Compiling DequeModule RigidDeque+Testing.swift
[213/339] Compiling DequeModule RigidDeque.swift
[214/339] Compiling DequeModule UniqueDeque+Append.swift
[234/339] Compiling DequeModule UniqueDeque+Replacements.swift
[235/339] Compiling DequeModule UniqueDeque.swift
[236/339] Compiling DequeModule _DequeSlot.swift
[237/339] Compiling DequeModule _UnsafeDequeHandle.swift
[238/339] Compiling DequeModule _UnsafeDequeSegments.swift
[239/339] Compiling SwiftSyntax RawSyntaxNodesC.swift
[240/339] Compiling SwiftSyntax Utils.swift
[248/339] Compiling OrderedCollections OrderedSet+Sendable.swift
[249/339] Compiling OrderedCollections OrderedSet+SubSequence.swift
[250/339] Compiling OrderedCollections OrderedSet+Testing.swift
[251/339] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[252/339] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[253/339] Compiling OrderedCollections OrderedSet.swift
[254/339] Compiling OrderedCollections _UnsafeBitset.swift
[255/339] Emitting module OrderedCollections
[257/343] Compiling JSONSchema JSONValue.swift
[267/351] Emitting module DequeModule
[301/416] Compiling NIOCore NIOCoreSendableMetatype.swift
[302/416] Compiling NIOCore NIODecodedAsyncSequence.swift
[303/416] Compiling NIOCore NIOLoopBound.swift
[304/416] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[305/416] Compiling NIOCore NIOScheduledCallback.swift
[306/416] Compiling NIOCore NIOSendable.swift
[307/416] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[308/416] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[309/416] Compiling NIOCore RecvByteBufferAllocator.swift
[310/424] Emitting module JSONSchema
[311/424] Compiling JSONSchema JSONSchema.swift
[313/425] Compiling NIOCore IPProtocol.swift
[314/425] Compiling NIOCore IntegerBitPacking.swift
[315/425] Compiling NIOCore IntegerTypes.swift
[316/425] Compiling NIOCore Interfaces.swift
[317/425] Compiling NIOCore Linux.swift
[318/425] Compiling NIOCore MarkedCircularBuffer.swift
[319/425] Compiling NIOCore MulticastChannel.swift
[320/425] Compiling NIOCore NIOAny.swift
[321/425] Compiling NIOCore NIOCloseOnErrorHandler.swift
[322/425] Compiling NIOCore AddressedEnvelope.swift
[323/425] Compiling NIOCore AsyncAwaitSupport.swift
[324/425] Compiling NIOCore AsyncChannel.swift
[325/425] Compiling NIOCore AsyncChannelHandler.swift
[326/425] Compiling NIOCore AsyncChannelInboundStream.swift
[327/425] Compiling NIOCore AsyncChannelOutboundWriter.swift
[328/425] Compiling NIOCore NIOAsyncSequenceProducer.swift
[329/425] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[330/425] Compiling NIOCore NIOAsyncWriter.swift
[331/425] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[332/425] Compiling NIOCore SocketAddresses.swift
[333/425] Compiling NIOCore SocketOptionProvider.swift
[334/425] Compiling NIOCore SystemCallHelpers.swift
[335/425] Compiling NIOCore TimeAmount+Duration.swift
[336/425] Compiling NIOCore TypeAssistedChannelHandler.swift
[337/425] Compiling NIOCore UniversalBootstrapSupport.swift
[338/425] Compiling NIOCore Utilities.swift
[339/425] Compiling NIOCore CircularBuffer.swift
[340/425] Compiling NIOCore Codec.swift
[341/425] Compiling NIOCore ConvenienceOptionSupport.swift
[342/425] Compiling NIOCore DeadChannel.swift
[343/425] Compiling NIOCore DispatchQueue+WithFuture.swift
[344/425] Compiling NIOCore EventLoop+Deprecated.swift
[345/425] Compiling NIOCore EventLoop+SerialExecutor.swift
[346/425] Compiling NIOCore EventLoop.swift
[347/425] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[348/425] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[349/425] Compiling NIOCore BSDSocketAPI.swift
[350/425] Compiling NIOCore ByteBuffer-aux.swift
[351/425] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[352/425] Compiling NIOCore ByteBuffer-conversions.swift
[353/425] Compiling NIOCore ByteBuffer-core.swift
[354/425] Compiling NIOCore ByteBuffer-hex.swift
[355/425] Compiling NIOCore ByteBuffer-int.swift
[356/425] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[357/425] Emitting module SwiftSyntax
[358/425] Compiling NIOCore EventLoopFuture+Deprecated.swift
[359/425] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[360/425] Compiling NIOCore EventLoopFuture.swift
[361/425] Compiling NIOCore FileDescriptor.swift
[362/425] Compiling NIOCore FileHandle.swift
[363/425] Compiling NIOCore FileRegion.swift
[364/425] Compiling NIOCore GlobalSingletons.swift
[365/425] Compiling NIOCore IO.swift
[366/425] Compiling NIOCore IOData.swift
[367/425] Compiling NIOCore ByteBuffer-multi-int.swift
[368/425] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[369/425] Compiling NIOCore ByteBuffer-views.swift
[370/425] Compiling NIOCore Channel.swift
[371/425] Compiling NIOCore ChannelHandler.swift
[372/425] Compiling NIOCore ChannelHandlers.swift
[373/425] Compiling NIOCore ChannelInvoker.swift
[374/425] Compiling NIOCore ChannelOption.swift
[375/425] Compiling NIOCore ChannelPipeline.swift
[376/425] Emitting module NIOCore
[378/431] Compiling EventSource EventSource+AsyncHTTPClient.swift
[379/431] Compiling EventSource AsyncEventsSequence.swift
[380/431] Compiling EventSource AsyncSequence+Events.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[381/431] Emitting module EventSource
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:346:25: error: cannot find type 'URLRequest' in scope
344 |
345 |     /// The request used for the event source connection.
346 |     public let request: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
347 |
348 |     /// The URL session for the event source connection.
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:349:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
347 |
348 |     /// The URL session for the event source connection.
349 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
350 |
351 |     /// The task managing the connection loop.
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/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:498:18: error: cannot find type 'URLRequest' in scope
496 |     ///                    Defaults to `.default`.
497 |     public init(
498 |         request: URLRequest,
    |                  `- error: cannot find type 'URLRequest' in scope
499 |         configuration: URLSessionConfiguration = .default
500 |     ) {
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:51: error: value of type '_' expected to be instance of class or class-constrained type
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:740:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 |     #endif
739 |
740 |     private func validateHTTPResponse(_ httpResponse: HTTPURLResponse) throws {
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
741 |         let status = httpResponse.statusCode
742 |         if status != 200 {
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/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:482:23: error: cannot find 'URLRequest' in scope
480 |     /// - Parameter url: The URL to open the SSE connection to.
481 |     public init(url: URL) {
482 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
483 |         request.setValue("text/event-stream", forHTTPHeaderField: "Accept")
484 |         request.setValue("no-cache", forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:485:18: error: incorrect argument label in call (have 'request:', expected 'url:')
483 |         request.setValue("text/event-stream", forHTTPHeaderField: "Accept")
484 |         request.setValue("no-cache", forHTTPHeaderField: "Cache-Control")
485 |         self.init(request: request)
    |                  `- error: incorrect argument label in call (have 'request:', expected 'url:')
486 |     }
487 |
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:501:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
499 |         configuration: URLSessionConfiguration = .default
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
502 |         self.request = request
503 |         Task { [weak self] in
[382/431] Compiling EventSource EventSource.swift
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:346:25: error: cannot find type 'URLRequest' in scope
344 |
345 |     /// The request used for the event source connection.
346 |     public let request: URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
347 |
348 |     /// The URL session for the event source connection.
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:349:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
347 |
348 |     /// The URL session for the event source connection.
349 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
350 |
351 |     /// The task managing the connection loop.
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/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:498:18: error: cannot find type 'URLRequest' in scope
496 |     ///                    Defaults to `.default`.
497 |     public init(
498 |         request: URLRequest,
    |                  `- error: cannot find type 'URLRequest' in scope
499 |         configuration: URLSessionConfiguration = .default
500 |     ) {
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                        `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:499:51: error: value of type '_' expected to be instance of class or class-constrained type
497 |     public init(
498 |         request: URLRequest,
499 |         configuration: URLSessionConfiguration = .default
    |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:740:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 |     #endif
739 |
740 |     private func validateHTTPResponse(_ httpResponse: HTTPURLResponse) throws {
    |                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
741 |         let status = httpResponse.statusCode
742 |         if status != 200 {
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/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:482:23: error: cannot find 'URLRequest' in scope
480 |     /// - Parameter url: The URL to open the SSE connection to.
481 |     public init(url: URL) {
482 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
483 |         request.setValue("text/event-stream", forHTTPHeaderField: "Accept")
484 |         request.setValue("no-cache", forHTTPHeaderField: "Cache-Control")
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:485:18: error: incorrect argument label in call (have 'request:', expected 'url:')
483 |         request.setValue("text/event-stream", forHTTPHeaderField: "Accept")
484 |         request.setValue("no-cache", forHTTPHeaderField: "Cache-Control")
485 |         self.init(request: request)
    |                  `- error: incorrect argument label in call (have 'request:', expected 'url:')
486 |     }
487 |
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:501:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
499 |         configuration: URLSessionConfiguration = .default
500 |     ) {
501 |         self.session = URLSession(configuration: configuration)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
502 |         self.request = request
503 |         Task { [weak self] in
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:593:68: error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
591 |                 #else
592 |                     // Apple platforms: Use URLSession.bytes for true streaming
593 |                     let (byteStream, response) = try await session.bytes(
    |                                                                    `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'bytes'
594 |                         for: currentRequest,
595 |                         delegate: nil
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:595:35: error: 'nil' requires a contextual type
593 |                     let (byteStream, response) = try await session.bytes(
594 |                         for: currentRequest,
595 |                         delegate: nil
    |                                   `- error: 'nil' requires a contextual type
596 |                     )
597 |
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:741:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
739 |
740 |     private func validateHTTPResponse(_ httpResponse: HTTPURLResponse) throws {
741 |         let status = httpResponse.statusCode
    |                                   `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
742 |         if status != 200 {
743 |             throw EventSourceError.invalidHTTPStatus(status)
/host/spi-builder-workspace/.build/checkouts/EventSource/Sources/EventSource/EventSource.swift:745:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
743 |             throw EventSourceError.invalidHTTPStatus(status)
744 |         }
745 |         let contentType = httpResponse.value(forHTTPHeaderField: "Content-Type")
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
746 |         if contentType?.lowercased().hasPrefix("text/event-stream") != true {
747 |             throw EventSourceError.invalidContentType(contentType)
BUILD FAILURE 6.3 wasm