The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreMLLLM, reference main (e45a7a), with Swift 6.2 for Wasm on 9 Oct 2026 01:25:53 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/CoreML-LLM.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/john-rocky/CoreML-LLM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e45a7a6 README: list VivaDicta and Jot under Projects using CoreML-LLM [skip ci]
Cloned https://github.com/john-rocky/CoreML-LLM.git
Revision (git rev-parse @):
e45a7a61dd7e35ba58dd14aa7a8f843c8caa3f0f
SUCCESS checkout https://github.com/john-rocky/CoreML-LLM.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/john-rocky/CoreML-LLM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/huggingface/swift-transformers
[1/7084] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (0.71s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (0.88s)
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/18603] Fetching swift-crypto
[2/19979] Fetching swift-crypto, swift-jinja
[271/22946] Fetching swift-crypto, swift-jinja, swift-huggingface
[6205/51576] Fetching swift-crypto, swift-jinja, swift-huggingface, swift-collections
[6206/56656] Fetching swift-crypto, swift-jinja, swift-huggingface, swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.06s)
[40012/51576] Fetching swift-crypto, swift-jinja, swift-huggingface, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.53s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.53s)
Fetched https://github.com/apple/swift-collections.git from cache (1.55s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.57s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.46s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.40s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.20s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.65s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
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.3
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.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.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
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/436] Write sources
[10/436] Compiling bsaes-armv7-linux.S
[11/436] Copying t5_tokenizer_config.json
[12/436] Copying gpt2_tokenizer_config.json
[13/436] Write sources
[21/436] Write swift-version-24593BA9C3E375BF.txt
[22/436] Compiling CXKCPShims shims.c
[24/469] Emitting module InternalCollectionsUtilities
[24/472] Compiling derive_key.cc
[25/472] Compiling chacha.cc
[26/472] Compiling KeccakSponge.c
[27/472] Compiling SimpleFIPS202.c
[28/472] Compiling KeccakHash.c
[29/472] Compiling unicode.cc
[30/472] Compiling cbb.cc
[31/472] Compiling cbs.cc
[32/472] Compiling fiat_p256_adx_sqr.S
[33/472] Compiling CCryptoBoringSSLShims shims.c
[34/472] Compiling fiat_p256_adx_mul.S
[35/472] Compiling fiat_curve25519_adx_square.S
[36/472] Compiling fiat_curve25519_adx_mul.S
[37/472] Compiling md5-x86_64-linux.S
[38/472] Compiling md5-586-apple.S
[39/472] Compiling md5-x86_64-apple.S
[40/472] Compiling md5-586-linux.S
[41/472] Compiling chacha20_poly1305_x86_64-linux.S
[42/472] Compiling chacha20_poly1305_x86_64-apple.S
[43/472] Compiling chacha20_poly1305_armv8-win.S
[44/472] Compiling chacha20_poly1305_armv8-linux.S
[45/472] Compiling chacha-x86_64-linux.S
[46/472] Compiling chacha20_poly1305_armv8-apple.S
[47/472] Compiling chacha-x86_64-apple.S
[48/472] Compiling chacha-x86-linux.S
[49/472] Compiling chacha-x86-apple.S
[50/472] Compiling chacha-armv8-win.S
[51/472] Compiling chacha-armv8-linux.S
[52/472] Compiling chacha-armv8-apple.S
[53/472] Compiling chacha-armv4-linux.S
[54/472] Compiling aes128gcmsiv-x86_64-linux.S
[55/472] Compiling aes128gcmsiv-x86_64-apple.S
[56/472] Compiling x86_64-mont5-linux.S
[57/472] Compiling x86_64-mont5-apple.S
[58/472] Compiling x86_64-mont-linux.S
[59/472] Compiling x86_64-mont-apple.S
[60/472] Compiling x86-mont-apple.S
[61/472] Compiling x86-mont-linux.S
[62/472] Compiling vpaes-x86_64-linux.S
[63/472] Compiling vpaes-x86_64-apple.S
[64/472] Compiling vpaes-x86-linux.S
[65/472] Compiling vpaes-x86-apple.S
[66/472] Compiling vpaes-armv8-win.S
[67/472] Compiling vpaes-armv8-linux.S
[68/472] Compiling err_data.cc
[69/472] Compiling vpaes-armv7-linux.S
[70/472] Compiling vpaes-armv8-apple.S
[71/472] Compiling sha512-x86_64-linux.S
[72/472] Compiling sha512-x86_64-apple.S
[73/472] Compiling sha512-armv8-win.S
[74/472] Compiling sha512-armv8-linux.S
[75/472] Compiling sha512-armv8-apple.S
[76/472] Compiling sha512-586-linux.S
[77/472] Compiling sha512-armv4-linux.S
[78/472] Compiling sha512-586-apple.S
[79/472] Compiling sha256-x86_64-apple.S
[80/472] Compiling sha256-x86_64-linux.S
[81/472] Compiling sha256-armv8-win.S
[82/472] Compiling sha256-armv8-linux.S
[83/472] Compiling sha256-armv8-apple.S
[84/472] Compiling sha256-586-apple.S
[85/472] Compiling sha256-586-linux.S
[86/472] Compiling sha256-armv4-linux.S
[87/472] Compiling sha1-armv8-win.S
[88/472] Compiling sha1-x86_64-apple.S
[88/472] Compiling sha1-x86_64-linux.S
[90/472] Compiling sha1-armv8-linux.S
[91/472] Compiling sha1-586-linux.S
[92/472] Compiling sha1-armv8-apple.S
[93/472] Compiling sha1-armv4-large-linux.S
[94/472] Compiling sha1-586-apple.S
[95/472] Compiling rdrand-x86_64-linux.S
[96/472] Compiling rsaz-avx2-linux.S
[97/472] Compiling rsaz-avx2-apple.S
[98/472] Compiling rdrand-x86_64-apple.S
[99/472] Compiling p256_beeu-x86_64-asm-apple.S
[100/472] Compiling p256_beeu-x86_64-asm-linux.S
[101/472] Compiling p256_beeu-armv8-asm-win.S
[102/472] Compiling p256_beeu-armv8-asm-linux.S
[103/472] Compiling p256-x86_64-asm-linux.S
[104/472] Compiling p256_beeu-armv8-asm-apple.S
[105/472] Compiling p256-x86_64-asm-apple.S
[106/472] Compiling p256-armv8-asm-linux.S
[107/472] Compiling p256-armv8-asm-apple.S
[108/472] Compiling p256-armv8-asm-win.S
[109/472] Compiling ghashv8-armv8-win.S
[110/472] Compiling ghashv8-armv8-linux.S
[111/472] Compiling ghashv8-armv8-apple.S
[112/472] Compiling ghashv8-armv7-linux.S
[113/472] Compiling ghash-x86_64-apple.S
[114/472] Compiling ghash-x86_64-linux.S
[115/472] Compiling ghash-x86-apple.S
[116/472] Compiling ghash-x86-linux.S
[117/472] Compiling ghash-ssse3-x86_64-linux.S
[118/472] Compiling ghash-ssse3-x86_64-apple.S
[119/472] Compiling ghash-neon-armv8-win.S
[120/472] Compiling ghash-ssse3-x86-linux.S
[121/472] Compiling ghash-ssse3-x86-apple.S
[122/472] Compiling ghash-neon-armv8-linux.S
[123/472] Compiling ghash-neon-armv8-apple.S
[124/472] Compiling ghash-armv4-linux.S
[125/472] Compiling bn-armv8-win.S
[126/472] Compiling co-586-apple.S
[127/472] Compiling co-586-linux.S
[128/472] Compiling bn-armv8-apple.S
[129/472] Compiling bn-armv8-linux.S
[130/472] Compiling bn-586-linux.S
[131/472] Compiling bn-586-apple.S
[132/472] Compiling armv8-mont-apple.S
[133/472] Compiling armv4-mont-linux.S
[134/472] Compiling armv8-mont-win.S
[135/472] Compiling armv8-mont-linux.S
[136/472] Compiling aesv8-gcm-armv8-win.S
[137/472] Compiling aesv8-gcm-armv8-apple.S
[138/472] Compiling aesv8-armv8-win.S
[139/472] Compiling aesv8-gcm-armv8-linux.S
[140/472] Compiling aesni-x86_64-linux.S
[141/472] Compiling aesv8-armv8-linux.S
[142/472] Compiling aesv8-armv7-linux.S
[143/472] Compiling aesv8-armv8-apple.S
[144/472] Compiling aesni-x86_64-apple.S
[145/472] Compiling aesni-x86-apple.S
[146/472] Compiling aesni-x86-linux.S
[147/472] Compiling aesni-gcm-x86_64-apple.S
[148/472] Compiling aesni-gcm-x86_64-linux.S
[149/472] Compiling aes-gcm-avx512-x86_64-linux.S
[150/472] Compiling aes-gcm-avx512-x86_64-apple.S
[151/472] Compiling aes-gcm-avx2-x86_64-apple.S
[152/472] Compiling aes-gcm-avx2-x86_64-linux.S
[153/472] Compiling x_x509a.cc
[154/472] Compiling xwing.cc
[155/472] Compiling x_spki.cc
[157/472] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[158/472] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[159/472] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[159/472] Compiling x_x509.cc
[161/472] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[162/472] Compiling InternalCollectionsUtilities _SortedCollection.swift
[163/472] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[164/472] Compiling EventSource AsyncSequence+Events.swift
[165/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[166/472] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[167/472] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[168/472] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[169/472] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[170/472] Compiling InternalCollectionsUtilities Integer rank.swift
[171/472] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[172/472] Compiling InternalCollectionsUtilities UInt+reversed.swift
[173/472] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[174/472] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[175/472] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[176/472] Compiling InternalCollectionsUtilities MutableRef.swift
[177/472] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[178/472] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[179/472] Compiling InternalCollectionsUtilities Debugging.swift
[180/472] Compiling InternalCollectionsUtilities Descriptions.swift
[181/472] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[182/472] Compiling InternalCollectionsUtilities String+Padding.swift
[183/472] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[184/472] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[185/472] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[186/472] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[187/472] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[188/472] Compiling InternalCollectionsUtilities Span+Extras.swift
[189/473] Compiling EventSource AsyncEventsSequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[191/473] 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
[191/473] Compiling x_sig.cc
[192/473] Wrapping AST for InternalCollectionsUtilities for debugging
[193/530] Compiling x_req.cc
[195/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[196/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[197/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[198/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[199/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[200/530] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[201/530] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[202/530] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[203/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[204/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[205/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[206/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[207/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[208/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[209/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[210/537] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[210/537] Compiling x_name.cc
[211/537] Compiling x_pubkey.cc
[213/537] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[214/537] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[215/537] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[216/537] Compiling OrderedCollections OrderedDictionary+Move.swift
[217/537] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[218/537] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[219/537] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[220/537] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[221/537] Compiling OrderedCollections OrderedDictionary+Codable.swift
[222/537] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[223/537] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[224/537] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[225/537] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[226/537] Compiling OrderedCollections OrderedDictionary+Elements.swift
[227/537] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[228/537] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[229/537] Compiling EventSource EventSource+AsyncHTTPClient.swift
[230/537] 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: 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: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: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)
[230/537] Compiling x_exten.cc
[231/537] Compiling x_algor.cc
[231/537] Compiling x_all.cc
[231/537] Compiling x_crl.cc
[231/537] Compiling KeccakP-1600-opt64.c
[231/537] Compiling x_attrib.cc
[231/537] Compiling yyjson.c
BUILD FAILURE 6.2 wasm