Build Information
Failed to build langchain-swift, reference main (516d85
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 11:22:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/langchain-swift.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/buhe/langchain-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 516d85f Merge pull request #124 from deverman/patch-1
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
516d85f8c5e39a59ecc42a8c4a1fe7c6ba3e1837
SUCCESS checkout https://github.com/buhe/langchain-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/buhe/langchain-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/google/generative-ai-swift
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/juyan/swift-filestore
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/buhe/similarity-search-kit
[1/197] Fetching swiftynotion
[198/409] Fetching swiftynotion, swift-filestore
[410/903] Fetching swiftynotion, swift-filestore, similarity-search-kit
[549/4819] Fetching swiftynotion, swift-filestore, similarity-search-kit, swiftsoup
[1675/7971] Fetching swiftynotion, swift-filestore, similarity-search-kit, swiftsoup, generative-ai-swift
[1770/16842] Fetching swiftynotion, swift-filestore, similarity-search-kit, swiftsoup, generative-ai-swift, feedkit
Fetched https://github.com/google/generative-ai-swift from cache (0.70s)
Fetched https://github.com/scinfu/SwiftSoup from cache (0.71s)
Fetching https://github.com/drmohundro/SWXMLHash
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[9449/12594] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit, swxmlhash
[12100/18790] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit, swxmlhash, swiftyjson
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.81s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.82s)
Fetching https://github.com/supabase-community/supabase-swift
Fetching https://github.com/buhe/openai-kit
[9451/9774] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit
[9452/10202] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit, openai-kit
[9688/23418] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit, openai-kit, supabase-swift
Fetched https://github.com/buhe/openai-kit from cache (0.42s)
[12491/22990] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit, supabase-swift
Fetched https://github.com/supabase-community/supabase-swift from cache (0.90s)
[9453/9774] Fetching swiftynotion, swift-filestore, similarity-search-kit, feedkit
Fetched https://github.com/buhe/SwiftyNotion from cache (9.43s)
Fetched https://github.com/juyan/swift-filestore from cache (9.43s)
Fetched https://github.com/nmdias/FeedKit from cache (9.44s)
Fetched https://github.com/buhe/similarity-search-kit from cache (9.73s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (13.40s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.75s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.47s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.47s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.45s)
Fetching https://github.com/swift-server/async-http-client.git
[1/14014] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.90s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (1.34s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.45s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.52s)
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/gotrue-swift
Fetching https://github.com/supabase-community/functions-swift
Fetching https://github.com/supabase-community/realtime-swift.git
Fetching https://github.com/supabase-community/storage-swift.git
[1/1996] Fetching gotrue-swift
[21/2168] Fetching gotrue-swift, functions-swift
[1152/3482] Fetching gotrue-swift, functions-swift, postgrest-swift
[2958/3859] Fetching gotrue-swift, functions-swift, postgrest-swift, realtime-swift
[3808/4259] Fetching gotrue-swift, functions-swift, postgrest-swift, realtime-swift, storage-swift
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.32s)
Fetched https://github.com/supabase-community/functions-swift from cache (0.32s)
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.32s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.32s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.33s)
Computing version for https://github.com/supabase-community/realtime-swift.git
Computed https://github.com/supabase-community/realtime-swift.git at 0.0.2 (0.79s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.46s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.33s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.94s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.24s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.67s)
Computing version for https://github.com/supabase-community/storage-swift.git
Computed https://github.com/supabase-community/storage-swift.git at 0.1.4 (0.46s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.46s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.49s)
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/128] Fetching urlqueryencoder
Fetched https://github.com/kean/URLQueryEncoder from cache (0.23s)
[1/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.56s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.01s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.44s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (1.23s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.8 (0.40s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.76s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/5959] Fetching swift-algorithms
[180/8626] Fetching swift-algorithms, swift-nio-transport-services
[181/10423] Fetching swift-algorithms, swift-nio-transport-services, swift-atomics
[365/14259] Fetching swift-algorithms, swift-nio-transport-services, swift-atomics, swift-log
[1310/20201] Fetching swift-algorithms, swift-nio-transport-services, swift-atomics, swift-log, swift-nio-extras
[19627/31733] Fetching swift-algorithms, swift-nio-transport-services, swift-atomics, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio-ssl.git
[16895/25774] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-extras, swift-nio-http2
[25775/40664] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.59s)
[30552/37997] Fetching swift-atomics, swift-log, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.59s)
[28904/36200] Fetching swift-log, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.60s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.60s)
[19424/26422] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.61s)
Fetching https://github.com/apple/swift-nio.git
[8041/14890] Fetching swift-nio-ssl
[14891/91229] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.22s)
[45041/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.87s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (9.08s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (2.56s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.78s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.09s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[46/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.46s)
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.56s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.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.6.3 (1.30s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.16s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1169] Fetching swift-http-structured-headers
[1170/7353] Fetching swift-http-structured-headers, swift-certificates
[2716/9779] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle
[4681/14764] Fetching swift-http-structured-headers, swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.45s)
[8152/13595] Fetching swift-certificates, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.61s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.77s)
[1/904] Fetching swift-http-types
[905/2520] Fetching swift-http-types, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.71s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.16s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.08s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.84s)
Fetching https://github.com/apple/swift-crypto.git
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (6.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.61s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.88s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.44s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/supabase-community/supabase-swift
Working copy of https://github.com/supabase-community/supabase-swift resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
Creating working copy for https://github.com/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.2
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.32.0
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.24.0
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.4.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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.0.4
Creating working copy for https://github.com/supabase-community/storage-swift.git
Working copy of https://github.com/supabase-community/storage-swift.git resolved at 0.1.4
Creating working copy for https://github.com/juyan/swift-filestore
Working copy of https://github.com/juyan/swift-filestore resolved at 0.7.0
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.26.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/supabase-community/gotrue-swift
Working copy of https://github.com/supabase-community/gotrue-swift resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/buhe/openai-kit
Working copy of https://github.com/buhe/openai-kit resolved at 1.8.5
Creating working copy for https://github.com/google/generative-ai-swift
Working copy of https://github.com/google/generative-ai-swift resolved at 0.5.6
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.28.0
Creating working copy for https://github.com/supabase-community/realtime-swift.git
Working copy of https://github.com/supabase-community/realtime-swift.git resolved at 0.0.2
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
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.36.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.3.0
Creating working copy for https://github.com/supabase-community/functions-swift
Working copy of https://github.com/supabase-community/functions-swift resolved at 1.1.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.2.0
Creating working copy for https://github.com/buhe/similarity-search-kit
Working copy of https://github.com/buhe/similarity-search-kit resolved at 0.0.16
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.8.8
Creating working copy for https://github.com/drmohundro/SWXMLHash
Working copy of https://github.com/drmohundro/SWXMLHash resolved at 7.0.2
Creating working copy for https://github.com/supabase-community/postgrest-swift
Working copy of https://github.com/supabase-community/postgrest-swift resolved at 1.0.3
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/LangChain/vectorstores/supabase/supabase.sql
Building for debugging...
[0/459] Write sources
[0/459] Copying PrivacyInfo.xcprivacy
[0/459] Write sources
[38/459] Compiling CNIOWindows shim.c
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[39/459] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[39/459] Compiling CNIOWindows WSAStartup.c
[39/459] Compiling CNIOWASI CNIOWASI.c
[39/459] Compiling _AtomicsShims.c
[39/459] Compiling CNIOLinux shim.c
[39/459] Compiling _NumericsShims _NumericsShims.c
[39/459] Compiling CNIOLinux liburing_shims.c
[39/459] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm