Build Information
Failed to build swift-huggingface, reference 1.0.0 (c30143), with Swift 6.3 for Wasm on 12 Oct 2026 18:09:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-huggingface.git
Reference: 1.0.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-huggingface
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at c30143a Bump version to 1.0.0 (#94)
Cloned https://github.com/huggingface/swift-huggingface.git
Revision (git rev-parse @):
c30143a4616f3fa994ee3ab3e3464f752845c07c
SUCCESS checkout https://github.com/huggingface/swift-huggingface.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/huggingface/swift-huggingface.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/mattt/Replay.git
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/apple/swift-crypto.git
[1/314] Fetching eventsource
[315/1270] Fetching eventsource, replay
[316/19899] Fetching eventsource, replay, swift-crypto
Fetched https://github.com/mattt/EventSource.git from cache (0.36s)
[11/19585] Fetching replay, swift-crypto
Fetched https://github.com/mattt/Replay.git from cache (1.23s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.24s)
Computing version for https://github.com/mattt/Replay.git
Computed https://github.com/mattt/Replay.git at 0.6.0 (1.39s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/19112] Fetching swift-argument-parser
[19113/35591] Fetching swift-argument-parser, async-http-client
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
[330/16479] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.08s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (1.23s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.16s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.16s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-configuration.git
[1/1503] Fetching swift-service-context
[467/9783] Fetching swift-service-context, swift-log
[544/12650] Fetching swift-service-context, swift-log, swift-nio-transport-services
[1011/19222] Fetching swift-service-context, swift-log, swift-nio-transport-services, swift-distributed-tracing
[1012/23150] Fetching swift-service-context, swift-log, swift-nio-transport-services, swift-distributed-tracing, swift-configuration
[4888/29314] Fetching swift-service-context, swift-log, swift-nio-transport-services, swift-distributed-tracing, swift-configuration, swift-algorithms
Fetched https://github.com/apple/swift-configuration.git from cache (0.51s)
[23661/25386] Fetching swift-service-context, swift-log, swift-nio-transport-services, swift-distributed-tracing, swift-algorithms
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-service-context.git from cache (0.58s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.58s)
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
[20/8593] Fetching swift-atomics, swift-nio-extras
[8594/20887] Fetching swift-atomics, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[6827/18998] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.57s)
[492/12294] Fetching swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.91s)
[1/16880] Fetching swift-nio-ssl
[13674/103276] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.19s)
Fetched https://github.com/apple/swift-nio.git from cache (6.21s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (8.56s)
Fetching https://github.com/apple/swift-numerics.git
[1/6743] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.78s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.4.0 (0.92s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.6.0 (0.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.12s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (0.77s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2874] Fetching swift-service-lifecycle
[2875/31577] Fetching swift-service-lifecycle, swift-collections
[3450/38834] Fetching swift-service-lifecycle, swift-collections, swift-system
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.29s)
Fetched https://github.com/apple/swift-system from cache (1.29s)
Fetched https://github.com/apple/swift-collections from cache (1.30s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (1.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.1 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.71s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.16s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.2 (0.21s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.14s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.17s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.39s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1939] Fetching swift-http-types
[1940/9552] Fetching swift-http-types, swift-certificates
[2017/10805] Fetching swift-http-types, swift-certificates, swift-http-structured-headers
[2510/12814] Fetching swift-http-types, swift-certificates, swift-http-structured-headers, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.77s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.77s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.77s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.91s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.21s)
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.2
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.1
Creating working copy for https://github.com/mattt/Replay.git
Working copy of https://github.com/mattt/Replay.git resolved at 0.6.0
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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.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.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.1
[1/1] Compiling plugin ReplayPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/381] Write sources
[8/381] Compiling CXKCPShims shims.c
[9/381] Compiling KeccakHash.c
[10/381] Compiling SimpleFIPS202.c
[11/381] Compiling KeccakSponge.c
[12/381] Compiling fiat_p256_adx_sqr.S
[13/381] Compiling fiat_curve25519_adx_square.S
[14/381] Compiling fiat_p256_adx_mul.S
[15/381] Compiling fiat_curve25519_adx_mul.S
[16/381] Compiling md5-x86_64-linux.S
[16/381] Compiling md5-x86_64-apple.S
[18/381] Compiling md5-586-linux.S
[19/381] Compiling md5-586-apple.S
[20/381] Compiling chacha20_poly1305_x86_64-linux.S
[21/381] Compiling chacha20_poly1305_x86_64-apple.S
[22/381] Compiling chacha20_poly1305_armv8-win.S
[23/381] Compiling chacha20_poly1305_armv8-linux.S
[24/381] Compiling chacha20_poly1305_armv8-apple.S
[25/381] Compiling chacha-x86_64-linux.S
[26/381] Compiling CCryptoBoringSSLShims shims.c
[27/381] Compiling chacha-x86_64-apple.S
[28/381] Compiling chacha-x86-linux.S
[29/381] Compiling chacha-x86-apple.S
[30/381] Compiling chacha-armv8-win.S
[31/381] Compiling chacha-armv8-apple.S
[32/381] Compiling chacha-armv8-linux.S
[33/381] Compiling chacha-armv4-linux.S
[34/381] Compiling aes128gcmsiv-x86_64-linux.S
[35/381] Compiling aes128gcmsiv-x86_64-apple.S
[36/381] Compiling x86_64-mont-linux.S
[37/381] Compiling x86_64-mont5-linux.S
[38/381] Compiling x86_64-mont5-apple.S
[39/381] Compiling x86-mont-linux.S
[40/381] Compiling x86_64-mont-apple.S
[41/381] Compiling x86-mont-apple.S
[42/381] Compiling vpaes-x86_64-apple.S
[43/381] Compiling vpaes-x86_64-linux.S
[44/381] Compiling vpaes-x86-linux.S
[45/381] Compiling vpaes-x86-apple.S
[46/381] Compiling vpaes-armv8-win.S
[47/381] Compiling vpaes-armv8-linux.S
[48/381] Compiling err_data.cc
[49/381] Compiling vpaes-armv8-apple.S
[50/381] Compiling vpaes-armv7-linux.S
[51/381] Compiling sha512-x86_64-linux.S
[52/381] Compiling posix_time.cc
[53/381] Write swift-version-24593BA9C3E375BF.txt
[54/381] Compiling sha512-x86_64-apple.S
[55/381] Compiling sha512-armv8-linux.S
[55/381] Compiling sha512-armv8-win.S
[57/381] Compiling sha512-armv8-apple.S
[58/381] Compiling sha512-armv4-linux.S
[59/381] Compiling sha512-586-linux.S
[60/381] Compiling a_bool.cc
[61/381] Compiling sha512-586-apple.S
[62/381] Compiling sha256-x86_64-linux.S
[63/381] Compiling sha256-x86_64-apple.S
[64/381] Compiling sha256-armv8-win.S
[65/383] Compiling sha256-armv8-linux.S
[66/386] Compiling sha256-armv8-apple.S
[67/386] Compiling sha256-586-linux.S
[68/386] Compiling sha256-586-apple.S
[69/386] Compiling sha1-x86_64-linux.S
[70/386] Compiling sha256-armv4-linux.S
[71/386] Compiling sha1-x86_64-apple.S
[72/386] Compiling sha1-armv8-win.S
[73/386] Compiling sha1-armv8-linux.S
[74/386] Compiling sha1-armv4-large-linux.S
[75/386] Compiling sha1-armv8-apple.S
[76/386] Compiling sha1-586-apple.S
[77/386] Compiling sha1-586-linux.S
[78/386] Compiling rsaz-avx2-linux.S
[79/386] Compiling rsaz-avx2-apple.S
[80/386] Compiling rdrand-x86_64-apple.S
[81/386] Compiling p256_beeu-x86_64-asm-linux.S
[82/386] Compiling rdrand-x86_64-linux.S
[83/386] Compiling p256_beeu-armv8-asm-win.S
[84/386] Compiling p256_beeu-x86_64-asm-apple.S
[85/386] Compiling p256_beeu-armv8-asm-linux.S
[86/386] Compiling p256_beeu-armv8-asm-apple.S
[87/386] Compiling p256-x86_64-asm-apple.S
[88/386] Compiling p256-x86_64-asm-linux.S
[89/386] Compiling p256-armv8-asm-win.S
[90/386] Compiling p256-armv8-asm-linux.S
[91/386] Compiling ghashv8-armv8-win.S
[92/386] Compiling ghashv8-armv8-linux.S
[93/386] Compiling p256-armv8-asm-apple.S
[94/386] Compiling ghashv8-armv8-apple.S
[95/386] Compiling ghashv8-armv7-linux.S
[96/386] Compiling ghash-x86_64-linux.S
[97/386] Compiling ghash-x86_64-apple.S
[98/386] Compiling ghash-x86-apple.S
[99/386] Compiling ghash-x86-linux.S
[100/386] Compiling ghash-ssse3-x86_64-linux.S
[101/386] Compiling ghash-ssse3-x86_64-apple.S
[102/386] Compiling ghash-ssse3-x86-apple.S
[103/386] Compiling ghash-ssse3-x86-linux.S
[104/386] Compiling ghash-neon-armv8-win.S
[105/386] Compiling ghash-neon-armv8-linux.S
[106/386] Compiling ghash-neon-armv8-apple.S
[107/386] Compiling ghash-armv4-linux.S
[108/386] Compiling co-586-apple.S
[109/386] Compiling co-586-linux.S
[110/386] Compiling bsaes-armv7-linux.S
[111/386] Compiling bn-armv8-linux.S
[112/386] Compiling bn-armv8-win.S
[113/386] Compiling bn-armv8-apple.S
[114/386] Compiling bn-586-linux.S
[115/386] Compiling bn-586-apple.S
[116/386] Compiling armv8-mont-apple.S
[117/386] Compiling armv8-mont-win.S
[118/386] Compiling armv8-mont-linux.S
[119/386] Compiling armv4-mont-linux.S
[120/386] Compiling aesv8-gcm-armv8-win.S
[121/386] Compiling aesv8-gcm-armv8-apple.S
[122/386] Compiling aesv8-armv8-win.S
[123/386] Compiling aesv8-gcm-armv8-linux.S
[124/386] Compiling aesv8-armv8-linux.S
[125/386] Compiling aesv8-armv8-apple.S
[126/386] Compiling aesv8-armv7-linux.S
[127/386] Compiling aesni-x86-linux.S
[127/386] Compiling aesni-x86_64-linux.S
[129/386] Compiling aesni-x86_64-apple.S
[130/386] Compiling aesni-x86-apple.S
[131/386] Compiling aesni-gcm-x86_64-linux.S
[132/386] Compiling aes-gcm-avx512-x86_64-linux.S
[132/386] Compiling aesni-gcm-x86_64-apple.S
[134/386] Compiling aes-gcm-avx2-x86_64-linux.S
[135/386] Compiling aes-gcm-avx512-x86_64-apple.S
[136/386] Compiling aes-gcm-avx2-x86_64-apple.S
[137/386] Compiling xwing.cc
[138/386] Compiling x_x509.cc
[139/386] Compiling x_sig.cc
[140/386] Compiling x_x509a.cc
[141/386] Compiling x_spki.cc
[142/386] Compiling x_req.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/386] 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: 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
[144/386] Compiling x_pubkey.cc
[145/386] Compiling x_name.cc
[146/386] Compiling x_crl.cc
[147/386] Compiling x_exten.cc
[148/386] Compiling x_attrib.cc
[149/386] Compiling x_all.cc
[150/386] Compiling x509spki.cc
[151/386] Compiling x_algor.cc
[152/386] Compiling x509rset.cc
[153/386] Compiling x509name.cc
[154/386] Compiling x509cset.cc
[155/386] Compiling x509_vpm.cc
[156/386] Compiling x509_vfy.cc
[157/386] Compiling x509_v3.cc
[158/386] Compiling x509_txt.cc
[159/386] Compiling x509_trs.cc
[160/386] Compiling x509_set.cc
[161/386] Compiling x509_req.cc
[162/386] Compiling x509_obj.cc
[163/386] Compiling x509_lu.cc
[164/386] Compiling x509_def.cc
[165/386] Compiling x509_d2.cc
[166/386] Compiling x509_ext.cc
[167/386] Compiling x509_cmp.cc
[168/386] Compiling x509_att.cc
[170/386] Compiling EventSource EventSource+AsyncHTTPClient.swift
[170/386] Compiling x509.cc
[172/386] Compiling EventSource AsyncSequence+Events.swift
[173/386] Compiling EventSource AsyncEventsSequence.swift
[173/386] Compiling v3_utl.cc
[174/386] Compiling v3_skey.cc
[175/386] Compiling v3_prn.cc
[176/386] Compiling v3_purp.cc
[177/386] Compiling KeccakP-1600-opt64.c
[178/386] Compiling v3_pmaps.cc
[180/386] 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)
[180/386] Compiling v3_ia5.cc
[180/386] Compiling v3_pcons.cc
[180/386] Compiling v3_lib.cc
[180/386] Compiling v3_info.cc
[180/386] Compiling v3_ncons.cc
[180/386] Compiling v3_ocsp.cc
[180/386] Compiling v3_int.cc
BUILD FAILURE 6.3 wasm