Build Information
Failed to build swift-huggingface, reference main (199277), with Swift 6.3 for Wasm on 31 Oct 2026 12:40:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-huggingface.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-huggingface
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 199277c Resume interrupted downloads from where they stopped (#98)
Cloned https://github.com/huggingface/swift-huggingface.git
Revision (git rev-parse @):
199277cec0e227e03b374e8962cde3888bb5327b
SUCCESS checkout https://github.com/huggingface/swift-huggingface.git at main
========================================
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-54344844-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:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/mattt/Replay.git
[1/18869] Fetching swift-crypto
[2/19202] Fetching swift-crypto, eventsource
[901/20158] Fetching swift-crypto, eventsource, replay
Fetched https://github.com/mattt/EventSource.git from cache (0.47s)
Fetched https://github.com/mattt/Replay.git from cache (0.47s)
[1510/18869] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.18s)
Computing version for https://github.com/mattt/Replay.git
Computed https://github.com/mattt/Replay.git at 0.6.0 (1.35s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/19320] Fetching swift-argument-parser
[19321/35849] Fetching swift-argument-parser, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.03s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.04s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (1.20s)
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.18s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
[1547/8256] Fetching swift-service-context, swift-nio-extras
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Fetching https://github.com/apple/swift-configuration.git
[336/6710] Fetching swift-nio-extras
[2283/13407] Fetching swift-nio-extras, swift-distributed-tracing
[13208/30301] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-ssl
[13915/42620] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.50s)
Fetching https://github.com/apple/swift-atomics.git
[7374/35910] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
[24930/40085] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.49s)
[34897/35910] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
Fetching https://github.com/apple/swift-nio-transport-services.git
[35911/37813] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-atomics
[36349/124526] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetching https://github.com/apple/swift-algorithms.git
[41113/122623] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio
[67995/125490] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.44s)
[83603/122623] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio
Fetching https://github.com/apple/swift-log.git
[93142/128782] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.51s)
[95742/122623] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio
[100079/131009] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
[105281/122623] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.16s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.17s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.17s)
Fetched https://github.com/apple/swift-nio.git from cache (3.20s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.10s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.70s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
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 (0.16s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.28s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
[6139/36812] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.26s)
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (2.07s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2892] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.54s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.70s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6825] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
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.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
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.17s)
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.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.42s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/2051] Fetching swift-asn1
[760/3335] Fetching swift-asn1, swift-http-structured-headers
[2166/5296] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[3699/12903] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.45s)
[3868/10942] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.65s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.65s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
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.82s)
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.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.20s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.25s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
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.5.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.4.0
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.2
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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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/mattt/Replay.git
Working copy of https://github.com/mattt/Replay.git resolved at 0.6.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.7.5
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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-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-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-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-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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
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.7.3
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Tracing/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/ServiceContextModule/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/CMakeLists.txt
[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 SimpleFIPS202.c
[8/381] Compiling CXKCPShims shims.c
[10/381] Compiling KeccakHash.c
[11/381] Compiling KeccakSponge.c
[12/381] Compiling fiat_p256_adx_sqr.S
[13/381] Compiling fiat_p256_adx_mul.S
[14/381] Compiling fiat_curve25519_adx_square.S
[15/381] Compiling fiat_curve25519_adx_mul.S
[16/381] Compiling md5-x86_64-apple.S
[17/381] Compiling md5-x86_64-linux.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 chacha-x86_64-apple.S
[27/381] Compiling chacha-x86-linux.S
[28/381] Compiling CCryptoBoringSSLShims shims.c
[29/381] Compiling chacha-x86-apple.S
[30/381] Compiling chacha-armv8-linux.S
[31/381] Compiling chacha-armv8-win.S
[32/381] Compiling chacha-armv8-apple.S
[33/381] Compiling aes128gcmsiv-x86_64-linux.S
[34/381] Compiling chacha-armv4-linux.S
[35/381] Compiling aes128gcmsiv-x86_64-apple.S
[36/381] Compiling x86_64-mont5-linux.S
[37/381] Compiling x86_64-mont5-apple.S
[38/381] Compiling x86_64-mont-linux.S
[39/381] Compiling x86_64-mont-apple.S
[40/381] Compiling blake2.cc
[41/381] Write swift-version-24593BA9C3E375BF.txt
[42/381] Compiling x86-mont-linux.S
[43/381] Compiling x86-mont-apple.S
[44/381] Compiling vpaes-x86_64-linux.S
[45/381] Compiling vpaes-x86-apple.S
[46/381] Compiling vpaes-x86_64-apple.S
[47/381] Compiling vpaes-x86-linux.S
[48/381] Compiling vpaes-armv8-win.S
[49/381] Compiling vpaes-armv8-linux.S
[50/381] Compiling vpaes-armv8-apple.S
[51/384] Compiling vpaes-armv7-linux.S
[52/386] Compiling sha512-x86_64-linux.S
[53/386] Compiling sha512-x86_64-apple.S
[54/386] Compiling sha512-armv8-win.S
[55/386] Compiling err_data.cc
[56/386] Compiling sha512-armv8-linux.S
[57/386] Compiling sha512-armv8-apple.S
[58/386] Compiling sha512-armv4-linux.S
[59/386] Compiling sha512-586-linux.S
[60/386] Compiling sha512-586-apple.S
[61/386] Compiling sha256-x86_64-linux.S
[62/386] Compiling sha256-x86_64-apple.S
[63/386] Compiling params.cc
[64/386] Compiling sha256-armv8-win.S
[65/386] Compiling sha256-armv8-linux.S
[66/386] Compiling sha256-armv4-linux.S
[67/386] Compiling sha256-586-linux.S
[68/386] Compiling sha256-586-apple.S
[69/386] Compiling sha256-armv8-apple.S
[70/386] Compiling sha1-x86_64-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-armv8-apple.S
[75/386] Compiling sha1-armv4-large-linux.S
[75/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-linux.S
[81/386] Compiling rdrand-x86_64-apple.S
[82/386] Compiling p256_beeu-x86_64-asm-linux.S
[83/386] Compiling p256_beeu-x86_64-asm-apple.S
[84/386] Compiling p256_beeu-armv8-asm-linux.S
[85/386] Compiling p256_beeu-armv8-asm-win.S
[86/386] Compiling p256-x86_64-asm-apple.S
[87/386] Compiling p256_beeu-armv8-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 p256-armv8-asm-apple.S
[92/386] Compiling ghashv8-armv8-linux.S
[93/386] Compiling ghashv8-armv7-linux.S
[94/386] Compiling ghashv8-armv8-win.S
[95/386] Compiling ghashv8-armv8-apple.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-ssse3-x86_64-linux.S
[100/386] Compiling ghash-x86-linux.S
[101/386] Compiling ghash-ssse3-x86_64-apple.S
[102/386] Compiling ghash-ssse3-x86-linux.S
[103/386] Compiling ghash-neon-armv8-win.S
[104/386] Compiling ghash-ssse3-x86-apple.S
[105/386] Compiling ghash-neon-armv8-linux.S
[106/386] Compiling ghash-armv4-linux.S
[107/386] Compiling ghash-neon-armv8-apple.S
[108/386] Compiling co-586-linux.S
[109/386] Compiling co-586-apple.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-win.S
[117/386] Compiling armv8-mont-apple.S
[117/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-linux.S
[122/386] Compiling aesv8-armv8-linux.S
[123/386] Compiling aesv8-armv8-apple.S
[124/386] Compiling aesv8-armv8-win.S
[125/386] Compiling aesv8-gcm-armv8-apple.S
[126/386] Compiling aesv8-armv7-linux.S
[127/386] Compiling aesni-x86_64-linux.S
[128/386] Compiling aesni-x86-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 aesni-gcm-x86_64-apple.S
[133/386] Compiling aes-gcm-avx512-x86_64-linux.S
[134/386] Compiling aes-gcm-avx2-x86_64-apple.S
[135/386] Compiling aes-gcm-avx2-x86_64-linux.S
[136/386] Compiling aes-gcm-avx512-x86_64-apple.S
[137/386] Compiling xwing.cc
[138/386] Compiling x_spki.cc
[139/386] Compiling x_sig.cc
[140/386] Compiling x_x509.cc
[141/386] Compiling x_x509a.cc
[142/386] Compiling x_req.cc
[143/386] Compiling x_pubkey.cc
[144/386] Compiling x_exten.cc
[145/386] Compiling x_attrib.cc
[146/386] Compiling x_all.cc
[147/386] Compiling x_name.cc
[148/386] Compiling x_crl.cc
[149/386] Compiling x_algor.cc
[150/386] Compiling x509rset.cc
[151/386] Compiling x509spki.cc
[152/386] Compiling x509name.cc
[153/386] Compiling x509cset.cc
[154/386] Compiling x509_vpm.cc
[155/386] Compiling x509_vfy.cc
[156/386] Compiling x509_v3.cc
[157/386] Compiling x509_txt.cc
[158/386] Compiling x509_set.cc
[158/386] Compiling x509_trs.cc
[160/386] Compiling x509_req.cc
[162/386] Compiling EventSource AsyncSequence+Events.swift
[162/386] Compiling x509_obj.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[164/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: 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
[165/386] Compiling EventSource AsyncEventsSequence.swift
[166/386] Compiling EventSource EventSource+AsyncHTTPClient.swift
[166/386] Compiling x509_lu.cc
[167/386] Compiling x509_ext.cc
[168/386] Compiling x509_def.cc
[169/386] Compiling x509_d2.cc
[170/386] Compiling x509_cmp.cc
[171/386] Compiling x509_att.cc
[172/386] Compiling KeccakP-1600-opt64.c
[173/386] Compiling x509.cc
[174/386] Compiling v3_utl.cc
[175/386] Compiling v3_prn.cc
[176/386] Compiling v3_skey.cc
[177/386] Compiling v3_purp.cc
[179/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)
[179/386] Compiling v3_pcons.cc
[179/386] Compiling v3_ocsp.cc
[179/386] Compiling v3_lib.cc
[179/386] Compiling v3_int.cc
[179/386] Compiling v3_pmaps.cc
[179/386] Compiling v3_info.cc
[179/386] Compiling v3_ncons.cc
BUILD FAILURE 6.3 wasm