Build Information
Failed to build swift-transformers, reference main (15bcc4), with Swift 6.2 for Wasm on 22 Apr 2026 03:18:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-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: 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/swift-transformers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 15bcc47 Bump actions/cache from 5.0.4 to 5.0.5 (#342)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
15bcc471a2de73ce3c17c08781f34a1f9bebaf70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
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/23620] Fetching swift-collections
[1655/28063] Fetching swift-collections, yyjson
[1744/45499] Fetching swift-collections, yyjson, swift-crypto
[2493/47839] Fetching swift-collections, yyjson, swift-crypto, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.22s)
[6195/45499] Fetching swift-collections, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (3.79s)
[37221/41056] Fetching swift-collections, swift-crypto
Fetched https://github.com/apple/swift-collections.git from cache (3.88s)
[13775/17436] Fetching swift-crypto
Fetching https://github.com/huggingface/swift-jinja.git
Fetched https://github.com/apple/swift-crypto.git from cache (5.24s)
[1/1051] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.52s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (9.33s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.82s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.37s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (1.13s)
Fetching https://github.com/apple/swift-nio.git
[1/83202] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.23s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (11.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.56s)
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.89s)
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (5.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.81s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.74s)
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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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/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.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
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/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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/404] Write sources
[3/404] Copying t5_tokenizer_config.json
[3/404] Copying gpt2_tokenizer_config.json
[3/404] Write sources
[19/404] Compiling KeccakHash.c
[20/404] Compiling CXKCPShims shims.c
[21/404] Compiling SimpleFIPS202.c
[22/404] Compiling CNIOWindows shim.c
[23/404] Compiling KeccakSponge.c
[24/404] Compiling _AtomicsShims.c
[25/404] Compiling CNIOWindows WSAStartup.c
[26/404] Compiling CNIOLinux shim.c
[27/404] Compiling CNIOWASI CNIOWASI.c
[28/404] Write swift-version-24593BA9C3E375BF.txt
[29/404] Compiling CNIOLinux liburing_shims.c
[30/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
[41/428] Compiling err_data.cc
[42/428] Compiling chacha20_poly1305_x86_64-linux.S
[43/428] Compiling chacha20_poly1305_x86_64-apple.S
[44/428] Compiling chacha20_poly1305_armv8-win.S
[45/428] Compiling chacha20_poly1305_armv8-linux.S
[46/428] Compiling chacha20_poly1305_armv8-apple.S
[47/428] Compiling chacha-x86_64-linux.S
[48/428] Compiling chacha-x86_64-apple.S
[49/428] Compiling chacha-x86-linux.S
[50/428] Compiling chacha-x86-apple.S
[51/428] Compiling chacha-armv8-win.S
[52/428] Compiling chacha-armv8-linux.S
[53/428] Compiling chacha-armv8-apple.S
[54/428] Compiling chacha-armv4-linux.S
[55/428] Compiling aes128gcmsiv-x86_64-linux.S
[56/428] Compiling aes128gcmsiv-x86_64-apple.S
[57/428] Compiling x86_64-mont5-linux.S
[58/428] Compiling x86_64-mont5-apple.S
[59/428] Compiling x86_64-mont-linux.S
[60/428] Compiling x86_64-mont-apple.S
[61/428] Compiling x86-mont-linux.S
[62/428] Compiling x86-mont-apple.S
[63/428] Compiling vpaes-x86_64-linux.S
[64/428] Compiling vpaes-x86_64-apple.S
[65/428] Compiling vpaes-x86-linux.S
[66/428] Compiling vpaes-x86-apple.S
[67/428] Compiling vpaes-armv8-win.S
[68/428] Compiling vpaes-armv8-linux.S
[69/428] Compiling vpaes-armv8-apple.S
[70/428] Compiling c-nioatomics.c
[71/428] Compiling vpaes-armv7-linux.S
[72/428] Compiling sha512-x86_64-linux.S
[73/428] Compiling sha512-armv8-win.S
[74/428] Compiling sha512-x86_64-apple.S
[75/428] Compiling sha512-armv8-apple.S
[76/428] Compiling sha512-armv8-linux.S
[77/428] Compiling sha512-586-linux.S
[78/428] Compiling sha512-armv4-linux.S
[79/428] Compiling sha256-x86_64-linux.S
[80/428] Compiling sha512-586-apple.S
[81/428] Compiling sha256-x86_64-apple.S
[82/428] Compiling sha256-armv8-win.S
[83/428] Compiling sha256-armv8-linux.S
[84/428] Compiling sha256-armv8-apple.S
[85/428] Compiling sha256-armv4-linux.S
[86/428] Compiling sha256-586-linux.S
[87/428] Compiling sha256-586-apple.S
[88/428] Compiling sha1-x86_64-apple.S
[89/428] Compiling sha1-x86_64-linux.S
[90/428] Compiling sha1-armv8-win.S
[90/428] Compiling sha1-armv8-linux.S
[92/428] Compiling sha1-armv8-apple.S
[93/428] Compiling sha1-armv4-large-linux.S
[94/428] Compiling sha1-586-apple.S
[95/428] Compiling sha1-586-linux.S
[96/428] Compiling rsaz-avx2-linux.S
[97/428] Compiling rsaz-avx2-apple.S
[98/428] Compiling rdrand-x86_64-apple.S
[99/428] Compiling rdrand-x86_64-linux.S
[100/428] Compiling p256_beeu-x86_64-asm-linux.S
[101/428] Compiling p256_beeu-x86_64-asm-apple.S
[102/428] Compiling p256_beeu-armv8-asm-linux.S
[103/428] Compiling p256_beeu-armv8-asm-win.S
[104/428] Compiling p256_beeu-armv8-asm-apple.S
[105/428] Compiling p256-x86_64-asm-linux.S
[106/428] Compiling p256-x86_64-asm-apple.S
[107/428] Compiling p256-armv8-asm-win.S
[108/428] Compiling p256-armv8-asm-linux.S
[109/428] Compiling p256-armv8-asm-apple.S
[110/428] Compiling ghashv8-armv8-win.S
[111/428] Compiling ghashv8-armv8-apple.S
[112/428] Compiling ghashv8-armv8-linux.S
[114/428] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[115/428] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[115/428] Compiling c-atomics.c
[116/430] Compiling ghash-x86_64-linux.S
[117/430] Compiling ghashv8-armv7-linux.S
[119/430] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[120/430] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[121/430] Compiling InternalCollectionsUtilities Span+Extras.swift
[122/430] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[123/430] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[124/431] Compiling InternalCollectionsUtilities Integer rank.swift
[125/431] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[126/431] Compiling InternalCollectionsUtilities UInt+reversed.swift
[127/434] Compiling InternalCollectionsUtilities _SortedCollection.swift
[128/434] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[128/435] Compiling ghash-x86_64-apple.S
[130/437] Emitting module InternalCollectionsUtilities
[131/437] Compiling InternalCollectionsUtilities Debugging.swift
[132/437] Compiling InternalCollectionsUtilities Descriptions.swift
[133/437] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[133/437] Compiling ghash-x86-linux.S
[135/437] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[136/437] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[137/437] Compiling InternalCollectionsUtilities String+Padding.swift
[138/437] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[138/438] Compiling ghash-ssse3-x86_64-linux.S
[139/438] Compiling ghash-x86-apple.S
[142/438] Emitting module _NIOBase64
[143/438] Compiling _NIOBase64 Base64.swift
[143/438] Compiling ghash-ssse3-x86_64-apple.S
[144/439] Compiling ghash-ssse3-x86-linux.S
[147/439] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[147/439] Compiling ghash-ssse3-x86-apple.S
[148/439] Compiling ghash-neon-armv8-win.S
[150/439] Compiling _NIODataStructures PriorityQueue.swift
[151/439] Compiling _NIODataStructures _TinyArray.swift
[151/439] Compiling ghash-neon-armv8-linux.S
[152/464] Compiling ghash-neon-armv8-apple.S
[153/504] Compiling ghash-armv4-linux.S
[154/527] Compiling co-586-linux.S
[156/527] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[157/527] Compiling OrderedCollections OrderedDictionary.swift
[158/527] Compiling OrderedCollections OrderedSet+Codable.swift
[159/527] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[159/527] Compiling co-586-apple.S
[161/531] Compiling OrderedCollections OrderedSet+Initializers.swift
[162/531] Compiling OrderedCollections OrderedSet+Insertions.swift
[163/531] Compiling OrderedCollections OrderedSet+Invariants.swift
[164/531] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[165/531] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[166/531] Compiling OrderedCollections _HashTable.swift
[167/531] Compiling OrderedCollections _Hashtable+Header.swift
[168/531] Compiling OrderedCollections OrderedDictionary+Codable.swift
[169/531] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[170/531] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[171/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[172/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[173/531] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[173/531] Compiling bsaes-armv7-linux.S
[174/531] Compiling bn-armv8-win.S
[176/531] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[177/531] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[178/531] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[179/531] Compiling OrderedCollections OrderedDictionary+Elements.swift
[180/531] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[181/531] Compiling OrderedCollections OrderedSet+Descriptions.swift
[182/531] Compiling OrderedCollections OrderedSet+Diffing.swift
[183/531] Compiling OrderedCollections OrderedSet+Equatable.swift
[184/531] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[185/531] Compiling OrderedCollections OrderedSet+Hashable.swift
[185/531] Compiling bn-armv8-linux.S
[186/531] Compiling bn-armv8-apple.S
[187/531] Compiling bn-586-linux.S
[189/531] Emitting module ContainersPreview
[189/531] Compiling bn-586-apple.S
[191/531] Compiling ContainersPreview Box.swift
[192/531] Compiling ContainersPreview Inout.swift
[193/531] Compiling ContainersPreview InputSpan.swift
[194/531] Compiling ContainersPreview Shared.swift
[194/531] Compiling armv8-mont-win.S
[195/531] Compiling armv8-mont-linux.S
[197/531] Compiling OrderedCollections _HashTable+Bucket.swift
[198/531] Compiling OrderedCollections _HashTable+BucketIterator.swift
[199/531] Compiling OrderedCollections _HashTable+Constants.swift
[200/531] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[201/531] Compiling OrderedCollections _HashTable+Testing.swift
[201/532] Compiling armv8-mont-apple.S
[203/532] Compiling armv4-mont-linux.S
[204/532] Compiling aesv8-gcm-armv8-win.S
[205/532] Compiling aesv8-gcm-armv8-linux.S
[206/532] Compiling aesv8-gcm-armv8-apple.S
[208/532] Emitting module NIOConcurrencyHelpers
[208/532] Compiling aesv8-armv8-win.S
[210/532] Compiling NIOConcurrencyHelpers lock.swift
[210/532] Compiling aesv8-armv8-linux.S
[212/563] Compiling NIOConcurrencyHelpers NIOLock.swift
[213/566] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[213/572] Compiling aesv8-armv8-apple.S
[214/572] Compiling aesv8-armv7-linux.S
[215/572] Compiling aesni-x86_64-linux.S
[217/572] Compiling _NIODataStructures Heap.swift
[217/572] Compiling aesni-x86_64-apple.S
[218/572] Emitting module _NIODataStructures
[219/573] Compiling aesni-x86-linux.S
[221/573] Compiling aesni-x86-apple.S
[222/573] Compiling aesni-gcm-x86_64-linux.S
[223/573] Compiling aesni-gcm-x86_64-apple.S
[225/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[226/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[227/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[228/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[229/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[230/573] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[231/573] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[232/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[233/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[234/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[235/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[236/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[237/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[238/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[238/580] Compiling aes-gcm-avx512-x86_64-linux.S
[240/580] Compiling DequeModule UniqueDeque+Consumption.swift
[241/580] Compiling DequeModule UniqueDeque+Container.swift
[242/580] Compiling DequeModule UniqueDeque+Descriptions.swift
[243/580] Compiling DequeModule UniqueDeque+Equatable.swift
[244/580] Compiling DequeModule UniqueDeque+Experimental.swift
[244/580] Compiling aes-gcm-avx512-x86_64-apple.S
[245/585] Compiling aes-gcm-avx2-x86_64-linux.S
[246/585] Compiling aes-gcm-avx2-x86_64-apple.S
[248/585] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[249/585] Compiling NIOConcurrencyHelpers atomics.swift
[251/586] Compiling DequeModule RigidDeque+Container.swift
[252/586] Compiling DequeModule RigidDeque+Descriptions.swift
[258/586] Compiling DequeModule RigidDeque+Removals.swift
[259/586] Compiling DequeModule UniqueDeque+Hashable.swift
[260/586] Compiling DequeModule UniqueDeque+Initializers.swift
[261/586] Compiling DequeModule UniqueDeque+Insertions.swift
[262/586] Compiling DequeModule UniqueDeque+Prepend.swift
[263/586] Compiling DequeModule UniqueDeque+Removals.swift
[264/586] Compiling DequeModule RigidDeque+Insertions.swift
[265/586] Compiling DequeModule RigidDeque+Prepend.swift
[271/586] Compiling DequeModule UniqueDeque+Replacements.swift
[272/586] Compiling DequeModule Deque+Testing.swift
[273/586] Compiling DequeModule Deque._Storage.swift
[274/586] Compiling DequeModule Deque._UnsafeHandle.swift
[275/586] Compiling DequeModule Deque.swift
[276/586] Compiling DequeModule _DequeBuffer.swift
[277/586] Compiling DequeModule _DequeBufferHeader.swift
[278/586] Compiling DequeModule RigidDeque+Append.swift
[279/586] Compiling DequeModule RigidDeque+Consumption.swift
[280/586] Compiling DequeModule RigidDeque+Replacements.swift
[281/586] Compiling DequeModule RigidDeque+Testing.swift
[282/586] Compiling DequeModule RigidDeque.swift
[283/586] Compiling DequeModule UniqueDeque+Append.swift
[284/586] Compiling DequeModule RigidDeque+Equatable.swift
[285/586] Compiling DequeModule RigidDeque+Experimental.swift
[286/586] Compiling DequeModule RigidDeque+Hashable.swift
[287/586] Compiling DequeModule RigidDeque+Initializers.swift
[304/586] Compiling KeccakP-1600-opt64.c
[305/586] Compiling xwing.cc
[307/586] Compiling DequeModule Deque+Codable.swift
[308/586] Compiling DequeModule Deque+Collection.swift
[309/586] Compiling DequeModule Deque+CustomReflectable.swift
[310/586] Compiling DequeModule Deque+Descriptions.swift
[311/586] Compiling DequeModule Deque+Equatable.swift
[312/586] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[313/586] Compiling DequeModule Deque+Extras.swift
[314/586] Compiling DequeModule Deque+Hashable.swift
[314/586] Compiling x_x509a.cc
[327/586] Compiling x_spki.cc
[329/586] Compiling OrderedCollections OrderedSet+Sendable.swift
[330/586] Compiling OrderedCollections OrderedSet+SubSequence.swift
[331/586] Compiling OrderedCollections OrderedSet+Testing.swift
[332/586] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[333/586] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[334/586] Compiling OrderedCollections OrderedSet.swift
[335/586] Compiling OrderedCollections _UnsafeBitset.swift
[335/586] Compiling x_x509.cc
[337/586] Emitting module OrderedCollections
[338/587] Compiling x_sig.cc
[339/601] Compiling x_req.cc
[340/601] Compiling x_pubkey.cc
[341/601] Compiling x_name.cc
[342/601] Compiling x_exten.cc
[343/601] Compiling x_crl.cc
[344/601] Compiling x_attrib.cc
[346/601] Emitting module DequeModule
[346/601] Compiling x_all.cc
[347/601] Compiling x509spki.cc
[348/601] Compiling x_algor.cc
[350/601] Compiling Jinja Utilities.swift
[352/602] Compiling DequeModule UniqueDeque.swift
[353/602] Compiling DequeModule _DequeSlot.swift
[354/602] Compiling DequeModule _UnsafeDequeHandle.swift
[355/602] Compiling DequeModule _UnsafeDequeSegments.swift
[356/603] Compiling x509rset.cc
[358/603] Emitting module Jinja
[358/603] Compiling x509name.cc
[359/603] Compiling x509cset.cc
[360/603] Compiling x509_vfy.cc
[361/603] Compiling x509_vpm.cc
[362/603] Compiling x509_v3.cc
[363/603] Compiling x509_txt.cc
[365/603] Compiling Jinja Interpreter.swift
[366/603] Compiling Jinja Lexer.swift
[366/603] Compiling x509_trs.cc
[368/603] Compiling Jinja Value.swift
[368/603] Compiling x509_obj.cc
[370/603] Compiling Jinja PropertyMembers.swift
[371/603] Compiling Jinja Template.swift
[372/603] Compiling Jinja Macro.swift
[373/603] Compiling Jinja Parser.swift
[374/603] Compiling Jinja Tests.swift
[375/603] Compiling Jinja Token.swift
[375/603] Compiling x509_set.cc
[376/603] Compiling x509_req.cc
[377/603] Compiling x509_def.cc
[378/603] Compiling x509_lu.cc
[379/603] Compiling x509_ext.cc
[380/603] Compiling x509_cmp.cc
[381/603] Compiling x509_att.cc
[383/603] Compiling Jinja AST.swift
[384/603] Compiling Jinja Error.swift
[385/603] Compiling Jinja Filters.swift
[386/603] Compiling Jinja Globals.swift
[387/604] Compiling x509_d2.cc
[388/604] Compiling v3_purp.cc
[389/604] Compiling x509.cc
[390/604] Compiling v3_skey.cc
[391/604] Compiling v3_utl.cc
[392/604] Compiling v3_prn.cc
[393/604] Compiling v3_ocsp.cc
[394/604] Compiling v3_pmaps.cc
[395/604] Compiling v3_pcons.cc
[396/604] Compiling v3_lib.cc
[397/604] Compiling v3_ncons.cc
[398/604] Compiling v3_ia5.cc
[399/604] Compiling v3_int.cc
[400/604] Compiling v3_info.cc
[401/604] Compiling v3_genn.cc
[402/604] Compiling v3_extku.cc
[403/604] Compiling v3_enum.cc
[404/604] Compiling v3_crld.cc
[405/604] Compiling v3_cpols.cc
[406/604] Compiling v3_bitst.cc
[407/604] Compiling v3_bcons.cc
[408/604] Compiling v3_conf.cc
[409/604] Compiling v3_alt.cc
[410/604] Compiling v3_akeya.cc
[411/604] Compiling v3_akey.cc
[412/604] Compiling t_crl.cc
[413/604] Compiling t_x509a.cc
[414/604] Compiling t_x509.cc
[415/604] Compiling t_req.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_file.cc
[421/604] Compiling by_dir.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 voprf.cc
[428/604] Compiling thread_win.cc
[429/604] Compiling thread_pthread.cc
[430/604] Compiling thread_none.cc
[431/604] Compiling thread.cc
[432/604] Compiling trust_token.cc
[433/604] Compiling pmbtoken.cc
[434/604] Compiling stack.cc
[435/604] Compiling sha512.cc
[436/604] Compiling sha256.cc
[437/604] Compiling siphash.cc
[438/604] Compiling slhdsa.cc
[439/604] Compiling rsa_extra.cc
[440/604] Compiling sha1.cc
[441/604] Compiling spake2plus.cc
[442/604] Compiling rsa_print.cc
[443/604] Compiling windows.cc
[444/604] Compiling rsa_crypt.cc
[445/604] Compiling refcount.cc
[446/604] Compiling trusty.cc
[447/604] Compiling rc4.cc
[448/604] Compiling urandom.cc
[449/604] Compiling rand.cc
[450/604] Compiling passive.cc
[451/604] Compiling ios.cc
[452/604] Compiling rsa_asn1.cc
[453/604] Compiling deterministic.cc
[454/604] Compiling poly1305_arm_asm.S
[455/604] Compiling fork_detect.cc
[456/604] Compiling getentropy.cc
[457/604] Compiling forkunsafe.cc
[458/604] Compiling poly1305_arm.cc
[459/604] Compiling poly1305_vec.cc
[460/604] Compiling poly1305.cc
[461/604] Compiling pool.cc
[462/604] Compiling pkcs8.cc
[463/604] Compiling pkcs7.cc
[464/604] Compiling pkcs8_x509.cc
[465/604] Compiling p5_pbev2.cc
[466/604] Compiling pem_x509.cc
[467/604] Compiling pem_xaux.cc
[468/604] Compiling pkcs7_x509.cc
[469/604] Compiling pem_pk8.cc
[470/604] Compiling pem_pkey.cc
[471/604] Compiling pem_lib.cc
[472/604] Compiling obj_xref.cc
[473/604] Compiling pem_oth.cc
[474/604] Compiling pem_all.cc
[475/604] Compiling mlkem.cc
[476/604] Compiling pem_info.cc
[477/604] Compiling mldsa.cc
[478/604] Compiling lhash.cc
[479/604] Compiling poly_rq_mul.S
[480/604] Compiling mem.cc
[481/604] Compiling obj.cc
[482/604] Compiling fips_shared_support.cc
[483/604] Compiling md5.cc
[484/604] Compiling kyber.cc
[485/604] Compiling md4.cc
[486/604] Compiling fuzzer_mode.cc
[487/604] Compiling yyjson.c
[488/604] Compiling hrss.cc
[489/604] Compiling ex_data.cc
[490/604] Compiling hpke.cc
[491/604] Compiling scrypt.cc
[492/604] Compiling print.cc
[493/604] Compiling pbkdf.cc
[494/604] Compiling sign.cc
[495/604] Compiling p_x25519.cc
[496/604] Compiling p_x25519_asn1.cc
[497/604] Compiling p_hkdf.cc
[498/604] Compiling p_rsa.cc
[499/604] Compiling p_rsa_asn1.cc
[500/604] Compiling p_ed25519.cc
[501/604] Compiling p_ed25519_asn1.cc
[502/604] Compiling p_ec_asn1.cc
[503/604] Compiling p_ec.cc
[504/604] Compiling p_dsa_asn1.cc
[505/604] Compiling p_dh_asn1.cc
[506/604] Compiling p_dh.cc
[507/604] Compiling evp_ctx.cc
[508/604] Compiling evp_asn1.cc
[509/604] Compiling err.cc
[510/604] Compiling engine.cc
[511/604] Compiling ecdsa_p1363.cc
[512/604] Compiling evp.cc
[513/604] Compiling hash_to_curve.cc
[514/604] Compiling ecdh.cc
[515/604] Compiling ecdsa_asn1.cc
[516/604] Compiling ec_derive.cc
[517/604] Compiling dsa_asn1.cc
[518/604] Compiling ec_asn1.cc
[519/604] Compiling bcm.cc
[520/604] Compiling dsa.cc
[521/604] Compiling des.cc
[522/604] Compiling x25519-asm-arm.S
[523/604] Compiling params.cc
[524/604] Compiling digest_extra.cc
[525/604] Compiling dh_asn1.cc
[526/604] Compiling curve25519_64_adx.cc
[527/604] Compiling spake25519.cc
[528/604] Compiling crypto.cc
[529/604] Compiling cpu_intel.cc
[530/604] Compiling cpu_aarch64_win.cc
[531/604] Compiling curve25519.cc
[532/604] Compiling cpu_arm_freebsd.cc
[533/604] Compiling cpu_arm_linux.cc
[534/604] Compiling cpu_aarch64_openbsd.cc
[535/604] Compiling cpu_aarch64_sysreg.cc
[536/604] Compiling cpu_aarch64_fuchsia.cc
[537/604] Compiling cpu_aarch64_linux.cc
[538/604] Compiling cpu_aarch64_apple.cc
[539/604] Compiling conf.cc
[540/604] Compiling get_cipher.cc
[541/604] Compiling tls_cbc.cc
[542/604] Compiling e_tls.cc
[543/604] Compiling e_null.cc
[544/604] Compiling e_rc4.cc
[545/604] Compiling e_rc2.cc
[546/604] Compiling cms.cc
[547/604] Compiling e_des.cc
[548/604] Compiling e_chacha20poly1305.cc
[549/604] Compiling e_aesgcmsiv.cc
[550/604] Compiling e_aeseax.cc
[551/604] Compiling e_aesctrhmac.cc
[552/604] Compiling chacha.cc
[553/604] Compiling derive_key.cc
[554/604] Compiling unicode.cc
[555/604] Compiling sqrt.cc
[556/604] Compiling buf.cc
[557/604] Compiling exponentiation.cc
[558/604] Compiling ber.cc
[559/604] Compiling cbb.cc
[560/604] Compiling cbs.cc
[561/604] Compiling asn1_compat.cc
[562/604] Compiling div.cc
[563/604] Compiling blake2.cc
[564/604] Compiling convert.cc
[565/604] Compiling hexdump.cc
[565/604] Compiling printf.cc
[567/604] Compiling file.cc
[568/604] Compiling fd.cc
[569/604] Compiling bn_asn1.cc
[570/604] Compiling pair.cc
[571/604] Compiling errno.cc
[572/604] Compiling base64.cc
[572/604] Compiling bio_mem.cc
[574/604] Compiling bio.cc
[575/604] Compiling tasn_typ.cc
[576/604] Compiling tasn_new.cc
[577/604] Compiling tasn_utl.cc
[578/604] Compiling tasn_fre.cc
[579/604] Compiling f_string.cc
[580/604] Compiling asn1_par.cc
[581/604] Compiling tasn_enc.cc
[582/604] Compiling posix_time.cc
[583/604] Compiling asn_pack.cc
[584/604] Compiling f_int.cc
[585/604] Compiling tasn_dec.cc
[586/604] Compiling asn1_lib.cc
[587/604] Compiling a_utctm.cc
[588/604] Compiling a_octet.cc
[589/604] Compiling a_time.cc
[590/604] Compiling a_strnid.cc
[591/604] Compiling a_type.cc
[592/604] Compiling a_strex.cc
[593/604] Compiling a_object.cc
[594/604] Compiling a_mbstr.cc
[595/604] Compiling a_i2d_fp.cc
[596/604] Write sources
[597/604] Compiling a_dup.cc
[598/604] Compiling a_int.cc
[599/614] Compiling a_d2i_fp.cc
[600/622] Compiling a_gentm.cc
[601/622] Compiling aes.cc
[602/622] Compiling a_bool.cc
[603/622] Compiling a_bitstr.cc
[605/622] Compiling Atomics ManagedAtomic.swift
[606/622] Compiling Atomics ManagedAtomicLazyReference.swift
[607/622] Compiling Atomics UnsafeAtomic.swift
[608/622] Compiling Atomics UnsafeAtomicLazyReference.swift
[609/632] Compiling Atomics AtomicStorage.swift
[610/632] Compiling Atomics AtomicValue.swift
[611/632] Compiling Atomics AtomicMemoryOrderings.swift
[612/632] Compiling Atomics DoubleWord.swift
[613/632] Compiling Atomics AtomicInteger.swift
[614/632] Compiling Atomics AtomicOptionalWrappable.swift
[615/632] Compiling Atomics AtomicReference.swift
[616/632] Compiling Atomics IntegerOperations.swift
[617/632] Compiling Atomics Unmanaged extensions.swift
[618/632] Compiling CryptoBoringWrapper RandomBytes.swift
[619/632] Emitting module CryptoBoringWrapper
[620/632] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[621/632] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[622/632] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[623/632] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[624/632] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[625/632] Compiling CryptoBoringWrapper EllipticCurve.swift
[627/716] Compiling Crypto ASN1Null.swift
[628/716] Compiling Crypto ASN1OctetString.swift
[629/716] Compiling Crypto ASN1Strings.swift
[630/716] Emitting module Atomics
[631/716] Compiling Crypto ArraySliceBigint.swift
[632/716] Compiling Crypto GeneralizedTime.swift
[633/716] Compiling Crypto ObjectIdentifier.swift
[635/781] Compiling Crypto HPKE-LabeledExtract.swift
[636/781] Compiling Crypto HPKE-Utils.swift
[637/781] Compiling Crypto DHKEM.swift
[638/781] Compiling Crypto HPKE-KEM-Curve25519.swift
[639/781] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[640/781] Compiling Crypto HPKE-KEM.swift
[641/781] Compiling Crypto HPKE-Errors.swift
[642/781] Compiling Crypto HPKE.swift
[643/781] Compiling Crypto HPKE-Context.swift
[644/781] Compiling Crypto HPKE-KeySchedule.swift
[645/781] Compiling Crypto HPKE-Modes.swift
[646/781] Compiling Crypto Insecure.swift
[647/792] Compiling NIOCore NIOCoreSendableMetatype.swift
[648/792] Compiling NIOCore NIODecodedAsyncSequence.swift
[649/792] Compiling NIOCore NIOLoopBound.swift
[650/792] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[651/792] Compiling NIOCore NIOScheduledCallback.swift
[652/792] Compiling NIOCore NIOSendable.swift
[653/792] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[654/792] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[655/792] Compiling NIOCore RecvByteBufferAllocator.swift
[656/800] Compiling NIOCore AddressedEnvelope.swift
[657/800] Compiling NIOCore AsyncAwaitSupport.swift
[658/800] Compiling NIOCore AsyncChannel.swift
[659/800] Compiling NIOCore AsyncChannelHandler.swift
[660/800] Compiling NIOCore AsyncChannelInboundStream.swift
[661/800] Compiling NIOCore AsyncChannelOutboundWriter.swift
[662/800] Compiling NIOCore NIOAsyncSequenceProducer.swift
[663/800] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[664/800] Compiling NIOCore NIOAsyncWriter.swift
[665/800] Compiling NIOCore ByteBuffer-multi-int.swift
[666/800] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[667/800] Compiling NIOCore ByteBuffer-views.swift
[668/800] Compiling NIOCore IPProtocol.swift
[669/800] Compiling NIOCore IntegerBitPacking.swift
[670/800] Compiling NIOCore IntegerTypes.swift
[671/800] Compiling NIOCore Interfaces.swift
[672/800] Compiling NIOCore Linux.swift
[673/800] Compiling NIOCore MarkedCircularBuffer.swift
[674/800] Compiling NIOCore MulticastChannel.swift
[675/800] Compiling NIOCore NIOAny.swift
[676/800] Compiling NIOCore NIOCloseOnErrorHandler.swift
[677/800] Compiling NIOCore EventLoopFuture+Deprecated.swift
[678/800] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[679/800] Compiling NIOCore EventLoopFuture.swift
[680/800] Compiling NIOCore FileDescriptor.swift
[681/800] Compiling NIOCore FileHandle.swift
[682/800] Compiling NIOCore FileRegion.swift
[683/800] Compiling NIOCore GlobalSingletons.swift
[684/800] Compiling NIOCore IO.swift
[685/800] Compiling NIOCore IOData.swift
[686/800] Compiling Crypto MLDSA.swift
[687/800] Compiling Crypto Signature.swift
[688/800] Compiling Crypto CryptoKitErrors_boring.swift
[689/800] Compiling Crypto Optional+withUnsafeBytes_boring.swift
[690/800] Compiling Crypto RNG_boring.swift
[691/800] Compiling Crypto SafeCompare_boring.swift
[692/800] Compiling Crypto Zeroization_boring.swift
[693/800] Compiling Crypto PrettyBytes.swift
[694/800] Compiling Crypto SafeCompare.swift
[695/800] Compiling Crypto SecureBytes.swift
[696/800] Compiling Crypto Zeroization.swift
[697/800] Compiling NIOCore Channel.swift
[698/800] Compiling NIOCore ChannelHandler.swift
[699/800] Compiling NIOCore ChannelHandlers.swift
[700/800] Compiling NIOCore ChannelInvoker.swift
[701/800] Compiling NIOCore ChannelOption.swift
[702/800] Compiling NIOCore ChannelPipeline.swift
[703/800] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[704/800] Compiling NIOCore BSDSocketAPI.swift
[705/800] Compiling NIOCore ByteBuffer-aux.swift
[706/800] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[707/800] Compiling NIOCore ByteBuffer-conversions.swift
[708/800] Compiling NIOCore ByteBuffer-core.swift
[713/800] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[714/800] Compiling NIOCore SocketAddresses.swift
[715/800] Compiling NIOCore SocketOptionProvider.swift
[716/800] Compiling NIOCore SystemCallHelpers.swift
[717/800] Compiling NIOCore TimeAmount+Duration.swift
[718/800] Compiling NIOCore TypeAssistedChannelHandler.swift
[719/800] Compiling NIOCore UniversalBootstrapSupport.swift
[739/800] Compiling NIOCore Utilities.swift
[740/800] Compiling NIOCore ByteBuffer-hex.swift
[741/800] Compiling NIOCore ByteBuffer-int.swift
[742/800] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[743/800] Compiling NIOCore CircularBuffer.swift
[744/800] Compiling NIOCore Codec.swift
[745/800] Compiling NIOCore ConvenienceOptionSupport.swift
[746/800] Compiling NIOCore DeadChannel.swift
[747/800] Compiling NIOCore DispatchQueue+WithFuture.swift
[748/800] Compiling NIOCore EventLoop+Deprecated.swift
[749/800] Compiling NIOCore EventLoop+SerialExecutor.swift
[750/800] Compiling NIOCore EventLoop.swift
[751/800] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[763/800] Emitting module Crypto
[801/801] Emitting module NIOCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[803/807] Compiling EventSource AsyncEventsSequence.swift
[804/807] Compiling EventSource EventSource+AsyncHTTPClient.swift
[805/807] Compiling EventSource AsyncSequence+Events.swift
[806/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
[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.2 wasm