Build Information
Failed to build swift-transformers, reference 1.3.0 (b38443), with Swift 6.3 for Wasm on 19 Apr 2026 08:08:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.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/swift-transformers.git
Reference: 1.3.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/swift-transformers
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at b38443e Add Swift 6.1 manifest to forward Xet trait to `swift-huggingface` dependency (#334)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
b38443e44d93eca770f2eb68e2a4d0fa100f9aa2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at 1.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.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/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/2340] Fetching swift-huggingface
[610/25909] Fetching swift-huggingface, swift-collections
[611/26960] Fetching swift-huggingface, swift-collections, swift-jinja
[4720/31398] Fetching swift-huggingface, swift-collections, swift-jinja, yyjson
[5087/48814] Fetching swift-huggingface, swift-collections, swift-jinja, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.85s)
Fetched https://github.com/ibireme/yyjson.git from cache (2.86s)
Fetched https://github.com/apple/swift-collections.git from cache (2.93s)
[11745/19756] Fetching swift-huggingface, swift-crypto
Fetched https://github.com/huggingface/swift-huggingface.git from cache (4.27s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.35s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (9.71s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.74s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.34s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (1.38s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.49s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (9.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.13s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.15s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[875/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
Fetched https://github.com/apple/swift-system.git from cache (0.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.79s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (3.92s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.41s)
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Building for debugging...
[0/404] Write sources
[3/404] Copying t5_tokenizer_config.json
[4/404] Copying gpt2_tokenizer_config.json
[5/404] Write sources
[19/404] Compiling _AtomicsShims.c
[20/404] Compiling CXKCPShims shims.c
[21/404] Compiling SimpleFIPS202.c
[22/404] Compiling KeccakSponge.c
[23/404] Compiling KeccakHash.c
[24/404] Compiling CNIOWindows shim.c
[25/404] Compiling CNIOWASI CNIOWASI.c
[26/404] Compiling CNIOWindows WSAStartup.c
[27/404] Write swift-version-24593BA9C3E375BF.txt
[28/404] Compiling CNIOLinux shim.c
[29/404] Compiling CNIOLinux liburing_shims.c
[29/404] Compiling CNIOOpenBSD shim.c
[31/404] Compiling CNIODarwin shim.c
[32/428] Compiling CCryptoBoringSSLShims shims.c
[33/428] Compiling fiat_p256_adx_sqr.S
[34/428] Compiling fiat_p256_adx_mul.S
[35/428] Compiling fiat_curve25519_adx_square.S
[36/428] Compiling fiat_curve25519_adx_mul.S
[37/428] Compiling md5-x86_64-linux.S
[38/428] Compiling md5-x86_64-apple.S
[39/428] Compiling md5-586-linux.S
[40/428] Compiling md5-586-apple.S
[42/428] Emitting module InternalCollectionsUtilities
[42/430] Compiling err_data.cc
[43/430] Compiling chacha20_poly1305_x86_64-linux.S
[44/430] Compiling chacha20_poly1305_x86_64-apple.S
[45/430] Compiling chacha20_poly1305_armv8-win.S
[46/430] Compiling chacha20_poly1305_armv8-linux.S
[47/430] Compiling chacha20_poly1305_armv8-apple.S
[48/430] Compiling chacha-x86_64-linux.S
[49/430] Compiling chacha-x86_64-apple.S
[50/430] Compiling chacha-x86-linux.S
[51/430] Compiling chacha-x86-apple.S
[52/430] Compiling chacha-armv8-win.S
[53/430] Compiling chacha-armv8-linux.S
[54/430] Compiling chacha-armv8-apple.S
[55/430] Compiling chacha-armv4-linux.S
[56/430] Compiling aes128gcmsiv-x86_64-linux.S
[57/430] Compiling aes128gcmsiv-x86_64-apple.S
[58/430] Compiling x86_64-mont5-linux.S
[59/430] Compiling c-nioatomics.c
[60/430] Compiling x86_64-mont5-apple.S
[61/430] Compiling x86_64-mont-linux.S
[62/430] Compiling x86_64-mont-apple.S
[63/430] Compiling x86-mont-linux.S
[64/430] Compiling vpaes-x86_64-linux.S
[65/430] Compiling x86-mont-apple.S
[66/430] Compiling vpaes-x86-linux.S
[67/430] Compiling vpaes-x86_64-apple.S
[68/430] Compiling vpaes-armv8-win.S
[69/430] Compiling vpaes-x86-apple.S
[70/430] Compiling c-atomics.c
[71/430] Compiling vpaes-armv8-apple.S
[72/430] Compiling vpaes-armv8-linux.S
[73/437] Compiling vpaes-armv7-linux.S
[74/437] Compiling sha512-x86_64-linux.S
[75/437] Compiling sha512-x86_64-apple.S
[76/437] Compiling sha512-armv8-win.S
[77/437] Compiling sha512-armv8-linux.S
[78/437] Compiling sha512-armv8-apple.S
[79/437] Compiling sha512-armv4-linux.S
[80/437] Compiling sha512-586-apple.S
[81/437] Compiling sha512-586-linux.S
[82/437] Compiling sha256-x86_64-linux.S
[83/437] Compiling sha256-x86_64-apple.S
[84/437] Compiling sha256-armv8-linux.S
[85/437] Compiling sha256-armv8-win.S
[86/437] Compiling sha256-armv8-apple.S
[87/437] Compiling sha256-armv4-linux.S
[88/437] Compiling sha256-586-apple.S
[89/437] Compiling sha256-586-linux.S
[91/437] Compiling InternalCollectionsUtilities _SortedCollection.swift
[92/437] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[92/437] Compiling sha1-x86_64-apple.S
[93/437] Compiling sha1-x86_64-linux.S
[95/437] Compiling InternalCollectionsUtilities Debugging.swift
[96/437] Compiling InternalCollectionsUtilities Descriptions.swift
[97/437] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[98/437] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[99/437] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[100/437] Compiling InternalCollectionsUtilities String+Padding.swift
[101/437] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[102/437] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[103/437] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[103/437] Compiling sha1-armv8-win.S
[105/437] Compiling InternalCollectionsUtilities Integer rank.swift
[106/437] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[107/437] Compiling InternalCollectionsUtilities UInt+reversed.swift
[107/437] Compiling sha1-armv8-linux.S
[109/437] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[110/437] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[111/437] Compiling InternalCollectionsUtilities Span+Extras.swift
[112/437] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[113/437] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[113/438] Compiling sha1-armv8-apple.S
[114/438] Compiling sha1-armv4-large-linux.S
[116/438] Emitting module _NIOBase64
[117/438] Compiling _NIOBase64 Base64.swift
[118/439] Compiling sha1-586-linux.S
[121/439] Compiling _NIODataStructures _TinyArray.swift
[122/439] Compiling _NIODataStructures PriorityQueue.swift
[122/439] Compiling sha1-586-apple.S
[123/439] Compiling rsaz-avx2-linux.S
[124/469] Compiling rsaz-avx2-apple.S
[125/505] Compiling rdrand-x86_64-linux.S
[126/527] Compiling rdrand-x86_64-apple.S
[127/527] Compiling p256_beeu-x86_64-asm-linux.S
[129/527] Compiling ContainersPreview RandomAccessContainer.swift
[130/527] Compiling ContainersPreview RangeExpression2.swift
[131/527] Compiling ContainersPreview RangeReplaceableContainer.swift
[132/527] Compiling ContainersPreview Drain+Map.swift
[133/527] Emitting module ContainersPreview
[133/527] Compiling p256_beeu-armv8-asm-win.S
[135/527] Compiling ContainersPreview Producer+Map.swift
[136/527] Compiling ContainersPreview Producer+Reduce.swift
[137/527] Compiling ContainersPreview Producer.swift
[138/527] Compiling ContainersPreview Borrow.swift
[138/531] Compiling p256_beeu-x86_64-asm-apple.S
[140/531] Compiling ContainersPreview Drain+Reduce.swift
[141/531] Compiling ContainersPreview Drain.swift
[142/531] Compiling ContainersPreview Producer+Collect.swift
[143/531] Compiling ContainersPreview Producer+Filter.swift
[144/531] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[145/531] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[146/531] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[147/531] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[148/531] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[148/531] Compiling p256_beeu-armv8-asm-apple.S
[149/531] Compiling p256_beeu-armv8-asm-linux.S
[150/531] Compiling p256-x86_64-asm-linux.S
[152/531] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[153/531] Compiling ContainersPreview BorrowingSequence.swift
[154/531] Compiling ContainersPreview BidirectionalContainer.swift
[155/531] Compiling ContainersPreview Container+Filter.swift
[156/531] Compiling ContainersPreview Container+SpanwiseZip.swift
[157/531] Compiling ContainersPreview Container.swift
[158/531] Compiling ContainersPreview ContainerIterator.swift
[159/531] Compiling ContainersPreview DynamicContainer.swift
[160/531] Compiling ContainersPreview MutableContainer.swift
[161/531] Compiling ContainersPreview PermutableContainer.swift
[161/531] Compiling p256-x86_64-asm-apple.S
[162/531] Compiling p256-armv8-asm-win.S
[163/531] Compiling p256-armv8-asm-linux.S
[165/531] Compiling ContainersPreview Box.swift
[166/531] Compiling ContainersPreview Inout.swift
[167/531] Compiling ContainersPreview InputSpan.swift
[168/531] Compiling ContainersPreview Shared.swift
[168/531] Compiling p256-armv8-asm-apple.S
[169/531] Compiling ghashv8-armv8-win.S
[170/531] Compiling ghashv8-armv8-linux.S
[171/531] Compiling ghashv8-armv8-apple.S
[173/531] Compiling ContainersPreview OutputSpan+Extras.swift
[174/531] Compiling ContainersPreview TemporaryAllocation.swift
[175/531] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[176/531] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[177/531] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[177/532] Compiling ghashv8-armv7-linux.S
[179/532] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[180/532] Compiling NIOConcurrencyHelpers lock.swift
[181/532] Emitting module NIOConcurrencyHelpers
[182/532] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[183/532] Compiling NIOConcurrencyHelpers NIOLock.swift
[183/532] Compiling ghash-x86_64-linux.S
[185/532] Compiling ghash-x86_64-apple.S
[186/532] Compiling ghash-x86-linux.S
[188/532] Emitting module _NIODataStructures
[189/532] Compiling _NIODataStructures Heap.swift
[189/534] Compiling ghash-x86-apple.S
[191/573] Compiling ghash-ssse3-x86_64-linux.S
[193/573] Compiling NIOConcurrencyHelpers atomics.swift
[194/573] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[194/574] Compiling ghash-ssse3-x86_64-apple.S
[195/574] Compiling ghash-ssse3-x86-linux.S
[196/574] Compiling ghash-ssse3-x86-apple.S
[199/574] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[200/574] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[201/574] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[202/574] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[203/574] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[204/574] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[205/574] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[205/575] Compiling ghash-neon-armv8-win.S
[206/581] Compiling ghash-neon-armv8-linux.S
[207/581] Compiling ghash-neon-armv8-apple.S
[209/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[210/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[211/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[212/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[213/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[214/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[215/581] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[215/581] Compiling ghash-armv4-linux.S
[216/581] Compiling co-586-apple.S
[217/581] Compiling co-586-linux.S
[218/581] Compiling bsaes-armv7-linux.S
[219/581] Compiling bn-armv8-win.S
[220/581] Compiling bn-armv8-apple.S
[221/581] Compiling bn-armv8-linux.S
[222/581] Compiling bn-586-linux.S
[223/581] Compiling bn-586-apple.S
[225/581] Compiling DequeModule UniqueDeque+Consumption.swift
[226/581] Compiling DequeModule UniqueDeque+Container.swift
[227/581] Compiling DequeModule UniqueDeque+Descriptions.swift
[228/581] Compiling DequeModule UniqueDeque+Equatable.swift
[229/581] Compiling DequeModule UniqueDeque+Experimental.swift
[229/586] Compiling armv8-mont-win.S
[230/586] Compiling armv8-mont-apple.S
[231/586] Compiling armv8-mont-linux.S
[232/586] Compiling armv4-mont-linux.S
[233/586] Compiling aesv8-gcm-armv8-win.S
[234/586] Compiling aesv8-gcm-armv8-linux.S
[235/586] Compiling aesv8-gcm-armv8-apple.S
[236/586] Compiling aesv8-armv8-win.S
[238/586] Compiling DequeModule Deque+Collection.swift
[239/586] Compiling DequeModule Deque+CustomReflectable.swift
[240/586] Compiling DequeModule Deque+Descriptions.swift
[241/586] Compiling DequeModule Deque+Equatable.swift
[242/586] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[243/586] Compiling DequeModule RigidDeque+Removals.swift
[244/586] Compiling DequeModule RigidDeque+Replacements.swift
[245/586] Compiling DequeModule RigidDeque+Testing.swift
[245/586] Compiling aesv8-armv8-linux.S
[246/586] Compiling aesv8-armv7-linux.S
[247/586] Compiling aesni-x86_64-linux.S
[248/586] Compiling aesv8-armv8-apple.S
[250/586] Compiling DequeModule UniqueDeque+Insertions.swift
[251/586] Compiling DequeModule UniqueDeque+Prepend.swift
[252/586] Compiling DequeModule UniqueDeque+Removals.swift
[253/586] Compiling DequeModule _DequeBuffer.swift
[254/586] Compiling DequeModule _DequeBufferHeader.swift
[255/586] Compiling DequeModule RigidDeque+Append.swift
[256/586] Compiling DequeModule RigidDeque+Consumption.swift
[257/586] Compiling DequeModule RigidDeque+Container.swift
[257/586] Compiling aesni-gcm-x86_64-linux.S
[259/586] Compiling DequeModule RigidDeque+Descriptions.swift
[260/586] Compiling DequeModule Deque+Extras.swift
[261/586] Compiling DequeModule Deque+Hashable.swift
[262/586] Compiling DequeModule Deque+Testing.swift
[263/586] Compiling DequeModule Deque._Storage.swift
[264/586] Compiling DequeModule Deque._UnsafeHandle.swift
[265/586] Compiling DequeModule Deque.swift
[266/586] Compiling DequeModule Deque+Codable.swift
[266/586] Compiling aesni-x86_64-apple.S
[267/586] Compiling aesni-x86-apple.S
[268/586] Compiling aesni-x86-linux.S
[270/586] Compiling DequeModule RigidDeque.swift
[271/586] Compiling DequeModule UniqueDeque+Append.swift
[277/586] Compiling DequeModule UniqueDeque+Replacements.swift
[277/586] Compiling aesni-gcm-x86_64-apple.S
[278/586] Compiling aes-gcm-avx512-x86_64-apple.S
[279/586] Compiling aes-gcm-avx512-x86_64-linux.S
[280/586] Compiling aes-gcm-avx2-x86_64-linux.S
[282/586] Compiling DequeModule UniqueDeque+Hashable.swift
[283/586] Compiling DequeModule UniqueDeque+Initializers.swift
[292/586] Compiling aes-gcm-avx2-x86_64-apple.S
[294/586] Compiling DequeModule RigidDeque+Equatable.swift
[295/586] Compiling DequeModule RigidDeque+Experimental.swift
[296/586] Compiling DequeModule RigidDeque+Hashable.swift
[297/586] Compiling DequeModule RigidDeque+Initializers.swift
[298/586] Compiling DequeModule RigidDeque+Insertions.swift
[299/586] Compiling DequeModule RigidDeque+Prepend.swift
[307/586] Compiling xwing.cc
[326/586] Compiling OrderedCollections OrderedSet+Sendable.swift
[327/586] Compiling OrderedCollections OrderedSet+SubSequence.swift
[328/586] Compiling OrderedCollections OrderedSet+Testing.swift
[329/586] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[330/586] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[331/586] Compiling OrderedCollections OrderedSet.swift
[332/586] Compiling OrderedCollections _UnsafeBitset.swift
[333/586] Emitting module OrderedCollections
[333/587] Compiling x_spki.cc
[334/587] Compiling x_x509a.cc
[336/587] Compiling x_x509.cc
[337/601] Compiling x_sig.cc
[338/601] Compiling x_req.cc
[339/601] Compiling x_pubkey.cc
[340/601] Compiling x_name.cc
[341/601] Compiling KeccakP-1600-opt64.c
[342/601] Compiling x_exten.cc
[344/601] Compiling Jinja Utilities.swift
[345/602] Emitting module DequeModule
[345/602] Compiling x_crl.cc
[346/602] Compiling x_attrib.cc
[347/602] Compiling x_all.cc
[350/602] Compiling DequeModule UniqueDeque.swift
[351/602] Compiling DequeModule _DequeSlot.swift
[352/602] Compiling DequeModule _UnsafeDequeHandle.swift
[353/602] Compiling DequeModule _UnsafeDequeSegments.swift
[353/602] Compiling x_algor.cc
[355/603] Compiling x509spki.cc
[356/603] Compiling x509rset.cc
[357/603] Compiling x509name.cc
[359/603] Compiling Jinja PropertyMembers.swift
[360/603] Compiling Jinja Template.swift
[361/603] Compiling Jinja Macro.swift
[362/603] Compiling Jinja Parser.swift
[362/603] Compiling x509cset.cc
[364/603] Compiling Jinja Interpreter.swift
[365/603] Compiling Jinja Lexer.swift
[365/603] Compiling x509_vpm.cc
[366/603] Compiling x509_vfy.cc
[368/603] Compiling Jinja Value.swift
[368/603] Compiling x509_v3.cc
[370/603] Compiling Jinja Tests.swift
[371/603] Compiling Jinja Token.swift
[371/603] Compiling x509_txt.cc
[372/603] Compiling x509_set.cc
[373/603] Compiling x509_trs.cc
[374/603] Compiling x509_req.cc
[375/603] Compiling x509_obj.cc
[376/603] Compiling x509_lu.cc
[377/603] Compiling x509_ext.cc
[378/603] Compiling x509_def.cc
[379/603] Compiling x509_d2.cc
[381/603] Compiling Jinja AST.swift
[382/603] Compiling Jinja Error.swift
[383/603] Compiling Jinja Filters.swift
[384/603] Compiling Jinja Globals.swift
[385/603] Emitting module Jinja
[386/604] Compiling x509_cmp.cc
[387/604] Compiling x509_att.cc
[388/604] Compiling x509.cc
[389/604] Compiling v3_skey.cc
[390/604] Compiling v3_purp.cc
[391/604] Compiling v3_utl.cc
[392/604] Compiling v3_prn.cc
[393/604] Compiling v3_pmaps.cc
[394/604] Compiling v3_pcons.cc
[395/604] Compiling v3_ocsp.cc
[396/604] Compiling v3_int.cc
[397/604] Compiling v3_lib.cc
[398/604] Compiling v3_ncons.cc
[399/604] Compiling v3_info.cc
[400/604] Compiling v3_ia5.cc
[401/604] Compiling v3_genn.cc
[402/604] Compiling v3_extku.cc
[403/604] Compiling v3_enum.cc
[404/604] Compiling v3_cpols.cc
[405/604] Compiling v3_crld.cc
[406/604] Compiling v3_conf.cc
[407/604] Compiling v3_bitst.cc
[408/604] Compiling v3_bcons.cc
[409/604] Compiling v3_alt.cc
[410/604] Compiling v3_akeya.cc
[411/604] Compiling v3_akey.cc
[412/604] Compiling t_x509a.cc
[413/604] Compiling t_x509.cc
[414/604] Compiling t_req.cc
[415/604] Compiling t_crl.cc
[416/604] Compiling rsa_pss.cc
[417/604] Compiling i2d_pr.cc
[418/604] Compiling policy.cc
[419/604] Compiling name_print.cc
[420/604] Compiling by_dir.cc
[421/604] Compiling by_file.cc
[422/604] Compiling asn1_gen.cc
[423/604] Compiling algorithm.cc
[424/604] Compiling a_verify.cc
[425/604] Compiling a_sign.cc
[426/604] Compiling a_digest.cc
[427/604] Compiling thread_win.cc
[428/604] Compiling trust_token.cc
[429/604] Compiling voprf.cc
[430/604] Compiling thread_pthread.cc
[431/604] Compiling pmbtoken.cc
[432/604] Compiling thread.cc
[433/604] Compiling thread_none.cc
[434/604] Compiling stack.cc
[435/604] Compiling sha512.cc
[436/604] Compiling siphash.cc
[437/604] Compiling slhdsa.cc
[438/604] Compiling spake2plus.cc
[439/604] Compiling sha256.cc
[440/604] Compiling sha1.cc
[441/604] Compiling rsa_print.cc
[442/604] Compiling rsa_extra.cc
[443/604] Compiling rsa_crypt.cc
[444/604] Compiling refcount.cc
[445/604] Compiling rc4.cc
[446/604] Compiling windows.cc
[447/604] Compiling urandom.cc
[448/604] Compiling rsa_asn1.cc
[449/604] Compiling trusty.cc
[450/604] Compiling rand.cc
[451/604] Compiling ios.cc
[452/604] Compiling passive.cc
[453/604] Compiling getentropy.cc
[454/604] Compiling poly1305_arm_asm.S
[455/604] Compiling forkunsafe.cc
[456/604] Compiling fork_detect.cc
[457/604] Compiling deterministic.cc
[458/604] Compiling poly1305_vec.cc
[459/604] Compiling pool.cc
[460/604] Compiling poly1305_arm.cc
[461/604] Compiling poly1305.cc
[462/604] Compiling pkcs8_x509.cc
[463/604] Compiling p5_pbev2.cc
[464/604] Compiling pkcs8.cc
[465/604] Compiling pkcs7.cc
[466/604] Compiling yyjson.c
[467/604] Compiling pem_x509.cc
[468/604] Compiling pem_xaux.cc
[469/604] Compiling pkcs7_x509.cc
[470/604] Compiling pem_pk8.cc
[471/604] Compiling obj_xref.cc
[472/604] Compiling pem_pkey.cc
[473/604] Compiling mlkem.cc
[474/604] Compiling pem_oth.cc
[475/604] Compiling pem_info.cc
[476/604] Compiling obj.cc
[477/604] Compiling pem_lib.cc
[478/604] Compiling pem_all.cc
[479/604] Compiling poly_rq_mul.S
[480/604] Compiling mldsa.cc
[481/604] Compiling lhash.cc
[482/604] Compiling mem.cc
[483/604] Compiling fips_shared_support.cc
[484/604] Compiling md5.cc
[485/604] Compiling md4.cc
[486/604] Compiling hrss.cc
[487/604] Compiling kyber.cc
[488/604] Compiling fuzzer_mode.cc
[489/604] Compiling hpke.cc
[490/604] Compiling ex_data.cc
[491/604] Compiling scrypt.cc
[492/604] Compiling pbkdf.cc
[493/604] Compiling print.cc
[494/604] Compiling sign.cc
[495/604] Compiling p_x25519.cc
[496/604] Compiling p_x25519_asn1.cc
[497/604] Compiling p_rsa_asn1.cc
[498/604] Compiling p_hkdf.cc
[499/604] Compiling p_rsa.cc
[500/604] Compiling p_ed25519_asn1.cc
[501/604] Compiling p_ed25519.cc
[502/604] Compiling p_dsa_asn1.cc
[503/604] Compiling p_ec_asn1.cc
[504/604] Compiling p_ec.cc
[505/604] Compiling p_dh_asn1.cc
[506/604] Compiling err.cc
[507/604] Compiling evp_ctx.cc
[508/604] Compiling p_dh.cc
[509/604] Compiling evp_asn1.cc
[510/604] Compiling engine.cc
[511/604] Compiling evp.cc
[512/604] Compiling ecdsa_p1363.cc
[513/604] Compiling ec_derive.cc
[514/604] Compiling ecdh.cc
[515/604] Compiling ecdsa_asn1.cc
[516/604] Compiling hash_to_curve.cc
[517/604] Compiling dsa.cc
[518/604] Compiling dsa_asn1.cc
[519/604] Compiling ec_asn1.cc
[520/604] Compiling bcm.cc
[521/604] Compiling x25519-asm-arm.S
[522/604] Compiling des.cc
[523/604] Compiling digest_extra.cc
[524/604] Compiling curve25519_64_adx.cc
[525/604] Compiling dh_asn1.cc
[526/604] Compiling params.cc
[527/604] Compiling spake25519.cc
[528/604] Compiling cpu_intel.cc
[529/604] Compiling crypto.cc
[530/604] Compiling cpu_aarch64_win.cc
[531/604] Compiling curve25519.cc
[532/604] Compiling cpu_arm_linux.cc
[533/604] Compiling cpu_arm_freebsd.cc
[534/604] Compiling cpu_aarch64_openbsd.cc
[535/604] Compiling cpu_aarch64_sysreg.cc
[536/604] Compiling cpu_aarch64_linux.cc
[537/604] Compiling tls_cbc.cc
[538/604] Compiling cpu_aarch64_fuchsia.cc
[539/604] Compiling cpu_aarch64_apple.cc
[540/604] Compiling conf.cc
[541/604] Compiling get_cipher.cc
[542/604] Compiling e_des.cc
[543/604] Compiling e_tls.cc
[544/604] Compiling cms.cc
[545/604] Compiling e_rc4.cc
[546/604] Compiling e_rc2.cc
[547/604] Compiling e_null.cc
[548/604] Compiling e_chacha20poly1305.cc
[549/604] Compiling e_aeseax.cc
[550/604] Compiling e_aesgcmsiv.cc
[551/604] Compiling derive_key.cc
[552/604] Compiling e_aesctrhmac.cc
[553/604] Compiling chacha.cc
[554/604] Compiling cbs.cc
[555/604] Compiling unicode.cc
[556/604] Compiling cbb.cc
[557/604] Compiling sqrt.cc
[558/604] Compiling ber.cc
[559/604] Compiling buf.cc
[560/604] Compiling asn1_compat.cc
[561/604] Compiling exponentiation.cc
[562/604] Compiling convert.cc
[563/604] Compiling div.cc
[564/604] Compiling blake2.cc
[565/604] Compiling printf.cc
[566/604] Compiling hexdump.cc
[567/604] Compiling pair.cc
[568/604] Compiling file.cc
[569/604] Compiling bn_asn1.cc
[570/604] Compiling errno.cc
[571/604] Compiling fd.cc
[572/604] Compiling base64.cc
[573/604] Compiling bio_mem.cc
[574/604] Compiling bio.cc
[575/604] Compiling tasn_typ.cc
[576/604] Compiling tasn_utl.cc
[577/604] Compiling tasn_fre.cc
[578/604] Compiling tasn_new.cc
[579/604] Compiling tasn_enc.cc
[580/604] Compiling f_int.cc
[581/604] Compiling f_string.cc
[582/604] Compiling posix_time.cc
[583/604] Compiling tasn_dec.cc
[584/604] Compiling asn1_par.cc
[585/604] Compiling asn_pack.cc
[586/604] Compiling asn1_lib.cc
[587/604] Compiling a_utctm.cc
[588/604] Compiling a_type.cc
[589/604] Compiling a_octet.cc
[590/604] Compiling a_strnid.cc
[591/604] Compiling a_time.cc
[592/604] Compiling a_strex.cc
[593/604] Compiling a_object.cc
[594/604] Compiling a_i2d_fp.cc
[595/604] Compiling a_dup.cc
[596/604] Write sources
[597/604] Compiling a_mbstr.cc
[598/604] Compiling a_d2i_fp.cc
[599/604] Compiling a_int.cc
[600/622] Compiling a_gentm.cc
[601/622] Compiling aes.cc
[602/622] Compiling a_bool.cc
[604/622] Compiling Atomics ManagedAtomic.swift
[605/622] Compiling Atomics ManagedAtomicLazyReference.swift
[606/624] Compiling Atomics UnsafeAtomic.swift
[607/624] Compiling Atomics UnsafeAtomicLazyReference.swift
[607/624] Compiling a_bitstr.cc
[609/624] Compiling Atomics OptionalRawRepresentable.swift
[610/624] Compiling Atomics RawRepresentable.swift
[611/624] Compiling Atomics AtomicBool.swift
[612/632] Compiling Atomics IntegerOperations.swift
[613/632] Compiling Atomics Unmanaged extensions.swift
[614/632] Compiling Atomics AtomicStorage.swift
[615/632] Compiling Atomics AtomicValue.swift
[616/632] Compiling Atomics AtomicInteger.swift
[617/632] Compiling Atomics AtomicOptionalWrappable.swift
[618/632] Compiling Atomics AtomicReference.swift
[619/632] Compiling CryptoBoringWrapper RandomBytes.swift
[620/632] Emitting module CryptoBoringWrapper
[621/632] Compiling CryptoBoringWrapper EllipticCurve.swift
[622/632] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[623/632] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[624/632] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[625/632] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[626/632] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[628/633] Emitting module Atomics
[629/716] Compiling Crypto ECDSASignature.swift
[630/716] Compiling Crypto PEMDocument.swift
[631/716] Compiling Crypto ArraySliceBigint.swift
[632/716] Compiling Crypto GeneralizedTime.swift
[633/716] Compiling Crypto ObjectIdentifier.swift
[635/781] Compiling NIOCore IPProtocol.swift
[636/781] Compiling NIOCore IntegerBitPacking.swift
[637/781] Compiling NIOCore IntegerTypes.swift
[638/781] Compiling NIOCore Interfaces.swift
[639/781] Compiling NIOCore Linux.swift
[640/781] Compiling NIOCore MarkedCircularBuffer.swift
[641/781] Compiling NIOCore MulticastChannel.swift
[642/781] Compiling NIOCore NIOAny.swift
[643/781] Compiling NIOCore NIOCloseOnErrorHandler.swift
[644/781] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[645/781] Compiling NIOCore BSDSocketAPI.swift
[655/800] Compiling NIOCore EventLoopFuture+Deprecated.swift
[656/800] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[657/800] Compiling NIOCore EventLoopFuture.swift
[658/800] Compiling NIOCore FileDescriptor.swift
[659/800] Compiling NIOCore FileHandle.swift
[660/800] Compiling NIOCore FileRegion.swift
[661/800] Compiling NIOCore GlobalSingletons.swift
[662/800] Compiling NIOCore IO.swift
[663/800] Compiling NIOCore IOData.swift
[664/800] Compiling NIOCore ChannelHandler.swift
[665/800] Compiling NIOCore ChannelHandlers.swift
[666/800] Compiling NIOCore ChannelInvoker.swift
[667/800] Compiling NIOCore ChannelOption.swift
[668/800] Compiling NIOCore ChannelPipeline.swift
[669/800] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[670/800] Compiling NIOCore SocketAddresses.swift
[671/800] Compiling NIOCore SocketOptionProvider.swift
[672/800] Compiling NIOCore SystemCallHelpers.swift
[673/800] Compiling NIOCore TimeAmount+Duration.swift
[674/800] Compiling NIOCore TypeAssistedChannelHandler.swift
[675/800] Compiling NIOCore UniversalBootstrapSupport.swift
[676/800] Emitting module Crypto
[677/800] Compiling NIOCore AddressedEnvelope.swift
[678/800] Compiling NIOCore AsyncAwaitSupport.swift
[679/800] Compiling NIOCore AsyncChannel.swift
[680/800] Compiling NIOCore AsyncChannelHandler.swift
[681/800] Compiling NIOCore AsyncChannelInboundStream.swift
[682/800] Compiling NIOCore AsyncChannelOutboundWriter.swift
[683/800] Compiling NIOCore NIOAsyncSequenceProducer.swift
[684/800] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[685/800] Compiling NIOCore NIOAsyncWriter.swift
[686/800] Compiling NIOCore CircularBuffer.swift
[687/800] Compiling NIOCore Codec.swift
[688/800] Compiling NIOCore ConvenienceOptionSupport.swift
[692/800] Compiling NIOCore NIOCoreSendableMetatype.swift
[693/800] Compiling NIOCore NIODecodedAsyncSequence.swift
[694/800] Compiling NIOCore NIOLoopBound.swift
[695/800] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[696/800] Compiling NIOCore NIOScheduledCallback.swift
[697/800] Compiling NIOCore NIOSendable.swift
[698/800] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[699/800] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[700/800] Compiling NIOCore RecvByteBufferAllocator.swift
[701/800] Compiling NIOCore DeadChannel.swift
[702/800] Compiling NIOCore DispatchQueue+WithFuture.swift
[703/800] Compiling NIOCore EventLoop+Deprecated.swift
[704/800] Compiling NIOCore EventLoop+SerialExecutor.swift
[705/800] Compiling NIOCore EventLoop.swift
[706/800] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[713/800] Compiling NIOCore ByteBuffer-aux.swift
[714/800] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[715/800] Compiling NIOCore ByteBuffer-conversions.swift
[716/800] Compiling NIOCore ByteBuffer-core.swift
[717/800] Compiling NIOCore ByteBuffer-hex.swift
[718/800] Compiling NIOCore ByteBuffer-int.swift
[719/800] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[720/800] Compiling NIOCore ByteBuffer-multi-int.swift
[721/800] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[722/800] Compiling NIOCore ByteBuffer-views.swift
[723/800] Compiling NIOCore Channel.swift
[742/800] Compiling Crypto MLDSA.swift
[743/800] Compiling Crypto Signature.swift
[744/800] Compiling Crypto CryptoKitErrors_boring.swift
[745/800] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[746/800] Compiling Crypto RNG_boring.swift
[747/800] Compiling Crypto SafeCompare_boring.swift
[748/800] Compiling Crypto Zeroization_boring.swift
[749/800] Compiling Crypto PrettyBytes.swift
[750/800] Compiling Crypto SafeCompare.swift
[751/800] Compiling Crypto SecureBytes.swift
[752/800] Compiling Crypto Zeroization.swift
[753/800] Compiling NIOCore Utilities.swift
[754/800] Compiling Crypto MLKEM_boring.swift
[755/800] Compiling Crypto MLKEM_wrapper.swift
[756/800] Compiling Crypto XWing_boring.swift
[757/800] Compiling Crypto KEM-Errors.swift
[758/800] Compiling Crypto KEM.swift
[759/800] Compiling Crypto MLKEM.swift
[760/800] Compiling Crypto XWing.swift
[761/800] Compiling Crypto ECDH_boring.swift
[762/800] Compiling Crypto DH.swift
[763/800] Compiling Crypto ECDH.swift
[764/800] Compiling Crypto ANSIx963.swift
[801/801] Emitting module NIOCore
[803/807] Compiling EventSource AsyncSequence+Events.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[804/807] Compiling EventSource AsyncEventsSequence.swift
[805/807] 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
[806/807] Compiling EventSource EventSource+AsyncHTTPClient.swift
[807/807] 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