Build Information
Failed to build AnyLanguageModel, reference main (701d7e), with Swift 6.3 for Wasm on 19 Apr 2026 09:07:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.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/huggingface/AnyLanguageModel
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 701d7e6 Transfer project to @huggingface (#150)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
701d7e61db7b59db9092f2db62b1567144835b3b
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at main
========================================
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-1":/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/swiftlang/swift-syntax
Fetching https://github.com/mattt/PartialJSONDecoder
[1/39] Fetching partialjsondecoder
[40/231] Fetching partialjsondecoder, jsonschema
[56/502] Fetching partialjsondecoder, jsonschema, eventsource
Fetched https://github.com/mattt/PartialJSONDecoder from cache (0.32s)
[332/75446] Fetching jsonschema, eventsource, swift-syntax
Fetched https://github.com/mattt/EventSource from cache (6.61s)
Fetched https://github.com/mattt/JSONSchema from cache (6.61s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.72s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.0 (7.92s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.45s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.55s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.63s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.4.1 (2.14s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (9.93s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.79s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1548/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.61s)
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/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/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/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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Building for debugging...
[0/57] Write sources
[13/57] Compiling _SwiftSyntaxCShims dummy.c
[14/57] Write sources
[27/57] Compiling CNIOWASI CNIOWASI.c
[28/57] Compiling CNIOWindows shim.c
[28/57] Compiling CNIOWindows WSAStartup.c
[30/57] Compiling _AtomicsShims.c
[31/57] Compiling CNIOOpenBSD shim.c
[32/57] Compiling CNIOLinux liburing_shims.c
[33/57] Compiling CNIOLinux shim.c
[34/57] Compiling CNIODarwin shim.c
[35/57] Write swift-version-24593BA9C3E375BF.txt
[35/57] Write sources
[39/74] Emitting module _NIODataStructures
[39/74] Compiling c-nioatomics.c
[40/92] Compiling c-atomics.c
[42/110] Compiling Atomics AtomicMemoryOrderings.swift
[43/110] Compiling Atomics DoubleWord.swift
[44/112] Compiling Atomics UnsafeAtomic.swift
[45/112] Compiling Atomics UnsafeAtomicLazyReference.swift
[46/112] Compiling Atomics AtomicOptionalWrappable.swift
[47/112] Compiling Atomics AtomicReference.swift
[48/114] Compiling Atomics OptionalRawRepresentable.swift
[49/114] Compiling Atomics RawRepresentable.swift
[50/114] Compiling Atomics AtomicBool.swift
[51/114] Emitting module InternalCollectionsUtilities
[59/114] Compiling Atomics ManagedAtomic.swift
[60/114] Compiling Atomics ManagedAtomicLazyReference.swift
[61/114] Compiling Atomics AtomicInteger.swift
[64/114] Compiling Atomics IntegerConformances.swift
[65/114] Compiling Atomics PointerConformances.swift
[66/114] Compiling Atomics Primitives.native.swift
[67/114] Compiling Atomics AtomicStorage.swift
[68/114] Compiling Atomics AtomicValue.swift
[72/114] Compiling InternalCollectionsUtilities _SortedCollection.swift
[73/114] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/115] Emitting module _NIOBase64
[76/115] Compiling _NIOBase64 Base64.swift
[78/116] Compiling _NIODataStructures PriorityQueue.swift
[79/116] Compiling _NIODataStructures _TinyArray.swift
[80/178] Compiling OrderedCollections OrderedSet+Codable.swift
[81/178] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[82/178] Compiling NIOConcurrencyHelpers lock.swift
[83/178] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/178] Compiling OrderedCollections OrderedDictionary+Codable.swift
[85/178] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[86/178] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[87/178] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[88/178] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[89/178] Compiling OrderedCollections OrderedDictionary+Elements.swift
[90/178] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[91/178] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[92/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[93/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[94/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[95/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[96/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[97/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[98/185] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[99/185] Compiling _NIODataStructures Heap.swift
[101/186] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[102/186] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[103/186] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[104/186] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[105/186] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[106/186] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[107/186] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[108/186] Compiling OrderedCollections OrderedDictionary.swift
[111/186] Compiling OrderedCollections OrderedSet+Descriptions.swift
[112/186] Compiling OrderedCollections OrderedSet+Diffing.swift
[113/186] Compiling OrderedCollections OrderedSet+Equatable.swift
[114/186] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[115/186] Compiling OrderedCollections OrderedSet+Hashable.swift
[116/186] Compiling PartialJSONDecoder AsyncSequence+PartialJSON.swift
[117/186] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[118/186] Emitting module NIOConcurrencyHelpers
[119/186] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[120/186] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[121/186] Compiling NIOConcurrencyHelpers atomics.swift
[122/187] Emitting module SwiftSyntax600
[123/187] Compiling SwiftSyntax600 Empty.swift
[124/187] Compiling SwiftSyntax509 Empty.swift
[125/187] Emitting module SwiftSyntax509
[126/189] Compiling SwiftSyntax510 Empty.swift
[127/189] Emitting module SwiftSyntax510
[130/190] Compiling PartialJSONDecoder PartialJSONDecoder.swift
[132/190] Compiling OrderedCollections OrderedSet+Initializers.swift
[133/190] Compiling OrderedCollections OrderedSet+Insertions.swift
[134/190] Compiling OrderedCollections OrderedSet+Invariants.swift
[135/190] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[136/190] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[137/190] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[138/190] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[139/190] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[141/196] Compiling PartialJSONDecoder AsyncPartialJSONSequence.swift
[141/196] Wrapping AST for SwiftSyntax509 for debugging
[142/196] Wrapping AST for SwiftSyntax600 for debugging
[144/223] Emitting module PartialJSONDecoder
[145/223] Compiling PartialJSONDecoder JSONCompleter.swift
[145/223] Wrapping AST for SwiftSyntax510 for debugging
[147/224] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[148/224] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[149/224] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[150/224] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[151/224] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[152/224] Compiling ContainersPreview Producer+Map.swift
[153/224] Compiling ContainersPreview Producer+Reduce.swift
[154/224] Compiling ContainersPreview Producer.swift
[155/224] Compiling ContainersPreview Borrow.swift
[157/228] Emitting module Atomics
[158/228] Compiling ContainersPreview Drain+Reduce.swift
[159/228] Compiling ContainersPreview Drain.swift
[160/228] Compiling ContainersPreview Producer+Collect.swift
[161/228] Compiling ContainersPreview Producer+Filter.swift
[162/228] Compiling ContainersPreview RandomAccessContainer.swift
[163/228] Compiling ContainersPreview RangeExpression2.swift
[164/228] Compiling ContainersPreview RangeReplaceableContainer.swift
[165/228] Compiling ContainersPreview Drain+Map.swift
[166/229] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[167/229] Compiling ContainersPreview BorrowingSequence.swift
[168/229] Compiling ContainersPreview BidirectionalContainer.swift
[169/229] Compiling ContainersPreview Container+Filter.swift
[170/229] Compiling ContainersPreview Container+SpanwiseZip.swift
[171/229] Compiling ContainersPreview Container.swift
[172/229] Compiling ContainersPreview ContainerIterator.swift
[173/229] Compiling ContainersPreview DynamicContainer.swift
[174/229] Compiling ContainersPreview MutableContainer.swift
[175/229] Compiling ContainersPreview PermutableContainer.swift
[176/229] Emitting module ContainersPreview
[177/229] Compiling ContainersPreview Box.swift
[178/229] Compiling ContainersPreview Inout.swift
[179/229] Compiling ContainersPreview InputSpan.swift
[180/229] Compiling ContainersPreview Shared.swift
[181/278] Compiling SwiftSyntax TokenKind.swift
[182/278] Compiling SwiftSyntax Tokens.swift
[183/278] Compiling SwiftSyntax TriviaPieces.swift
[184/278] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[185/278] Compiling SwiftSyntax RawSyntaxNodesC.swift
[186/278] Compiling SwiftSyntax SourcePresence.swift
[187/278] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[188/278] Compiling SwiftSyntax Syntax.swift
[189/292] Compiling SwiftSyntax AbsolutePosition.swift
[190/292] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[191/292] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[192/292] Compiling SwiftSyntax Assert.swift
[193/292] Compiling SwiftSyntax BumpPtrAllocator.swift
[195/333] Compiling DequeModule Deque+Codable.swift
[196/333] Compiling DequeModule Deque+Collection.swift
[197/333] Compiling DequeModule Deque+CustomReflectable.swift
[198/333] Compiling DequeModule Deque+Descriptions.swift
[199/333] Compiling DequeModule Deque+Equatable.swift
[200/333] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[201/333] Compiling DequeModule Deque+Extras.swift
[202/333] Compiling DequeModule Deque+Hashable.swift
[203/333] Compiling DequeModule _DequeBuffer.swift
[204/333] Compiling DequeModule _DequeBufferHeader.swift
[205/333] Compiling DequeModule RigidDeque+Append.swift
[206/333] Compiling DequeModule RigidDeque+Consumption.swift
[207/333] Compiling DequeModule RigidDeque+Container.swift
[208/333] Compiling DequeModule RigidDeque+Descriptions.swift
[209/338] Compiling DequeModule UniqueDeque+Consumption.swift
[210/338] Compiling DequeModule UniqueDeque+Container.swift
[211/338] Compiling DequeModule UniqueDeque+Descriptions.swift
[212/338] Compiling DequeModule UniqueDeque+Equatable.swift
[213/338] Compiling DequeModule UniqueDeque+Experimental.swift
[214/338] Compiling DequeModule UniqueDeque+Hashable.swift
[215/338] Compiling DequeModule UniqueDeque+Initializers.swift
[216/338] Compiling DequeModule UniqueDeque+Insertions.swift
[217/338] Compiling DequeModule UniqueDeque+Prepend.swift
[218/338] Compiling DequeModule UniqueDeque+Removals.swift
[224/339] Compiling DequeModule RigidDeque+Equatable.swift
[225/339] Compiling DequeModule RigidDeque+Experimental.swift
[226/339] Compiling DequeModule RigidDeque+Hashable.swift
[227/339] Compiling DequeModule RigidDeque+Initializers.swift
[228/339] Compiling DequeModule RigidDeque+Insertions.swift
[229/339] Compiling DequeModule RigidDeque+Prepend.swift
[231/339] Compiling SwiftSyntax RawSyntaxNodesD.swift
[232/339] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[233/339] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[234/339] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[235/339] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[236/339] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[237/339] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[238/339] Compiling DequeModule RigidDeque+Removals.swift
[239/339] Compiling DequeModule RigidDeque+Replacements.swift
[240/339] Compiling DequeModule RigidDeque+Testing.swift
[241/339] Compiling DequeModule RigidDeque.swift
[242/339] Compiling DequeModule UniqueDeque+Append.swift
[243/339] Emitting module OrderedCollections
[253/343] Compiling DequeModule Deque+Testing.swift
[254/343] Compiling DequeModule Deque._Storage.swift
[255/343] Compiling DequeModule Deque._UnsafeHandle.swift
[256/343] Compiling DequeModule Deque.swift
[257/343] Emitting module JSONSchema
[267/351] Compiling JSONSchema JSONValue.swift
[280/351] Compiling DequeModule UniqueDeque+Replacements.swift
[281/351] Compiling DequeModule UniqueDeque.swift
[282/351] Compiling DequeModule _DequeSlot.swift
[283/351] Compiling DequeModule _UnsafeDequeHandle.swift
[284/351] Compiling DequeModule _UnsafeDequeSegments.swift
[285/351] Compiling SwiftSyntax SyntaxIdentifier.swift
[295/351] Emitting module DequeModule
[302/416] Compiling JSONSchema JSONSchema.swift
[304/417] Compiling NIOCore EventLoopFuture+Deprecated.swift
[305/417] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[306/417] Compiling NIOCore EventLoopFuture.swift
[307/417] Compiling NIOCore FileDescriptor.swift
[308/417] Compiling NIOCore FileHandle.swift
[309/417] Compiling NIOCore FileRegion.swift
[310/417] Compiling NIOCore GlobalSingletons.swift
[311/417] Compiling NIOCore IO.swift
[312/417] Compiling NIOCore IOData.swift
[313/425] Compiling NIOCore CircularBuffer.swift
[314/425] Compiling NIOCore Codec.swift
[315/425] Compiling NIOCore ConvenienceOptionSupport.swift
[316/425] Compiling NIOCore DeadChannel.swift
[317/425] Compiling NIOCore DispatchQueue+WithFuture.swift
[318/425] Compiling NIOCore EventLoop+Deprecated.swift
[319/425] Compiling NIOCore EventLoop+SerialExecutor.swift
[320/425] Compiling NIOCore EventLoop.swift
[321/425] Compiling NIOCore EventLoopFuture+AssumeIsolated.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 NIOThrowingAsyncSequenceProducer.swift
[332/425] Compiling NIOCore BSDSocketAPI.swift
[333/425] Compiling NIOCore ByteBuffer-aux.swift
[334/425] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[335/425] Compiling NIOCore ByteBuffer-conversions.swift
[336/425] Compiling NIOCore ByteBuffer-core.swift
[337/425] Compiling NIOCore ByteBuffer-hex.swift
[338/425] Compiling NIOCore ByteBuffer-int.swift
[339/425] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[340/425] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[341/425] Compiling NIOCore SocketAddresses.swift
[342/425] Compiling NIOCore SocketOptionProvider.swift
[343/425] Compiling NIOCore SystemCallHelpers.swift
[344/425] Compiling NIOCore TimeAmount+Duration.swift
[345/425] Compiling NIOCore TypeAssistedChannelHandler.swift
[346/425] Compiling NIOCore UniversalBootstrapSupport.swift
[347/425] Compiling NIOCore Utilities.swift
[348/425] Compiling NIOCore NIOCoreSendableMetatype.swift
[349/425] Compiling NIOCore NIODecodedAsyncSequence.swift
[350/425] Compiling NIOCore NIOLoopBound.swift
[351/425] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[352/425] Compiling NIOCore NIOScheduledCallback.swift
[353/425] Compiling NIOCore NIOSendable.swift
[354/425] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[355/425] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[356/425] Compiling NIOCore RecvByteBufferAllocator.swift
[357/425] Compiling NIOCore ByteBuffer-multi-int.swift
[358/425] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[359/425] Compiling NIOCore ByteBuffer-views.swift
[360/425] Compiling NIOCore Channel.swift
[361/425] Compiling NIOCore ChannelHandler.swift
[362/425] Compiling NIOCore ChannelHandlers.swift
[363/425] Compiling NIOCore ChannelInvoker.swift
[364/425] Compiling NIOCore ChannelOption.swift
[365/425] Compiling NIOCore ChannelPipeline.swift
[366/425] Compiling NIOCore IPProtocol.swift
[367/425] Compiling NIOCore IntegerBitPacking.swift
[368/425] Compiling NIOCore IntegerTypes.swift
[369/425] Compiling NIOCore Interfaces.swift
[370/425] Compiling NIOCore Linux.swift
[371/425] Compiling NIOCore MarkedCircularBuffer.swift
[372/425] Compiling NIOCore MulticastChannel.swift
[373/425] Compiling NIOCore NIOAny.swift
[374/425] Compiling NIOCore NIOCloseOnErrorHandler.swift
[375/425] Emitting module SwiftSyntax
[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