Build Information
Failed to build langchain-swift, reference main (516d85
), with Swift 6.1 for Wasm on 29 May 2025 08:19:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/buhe/langchain-swift.git
https://github.com/buhe/langchain-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "openai-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/openai-kit"
},
{
"identity" : "supabase-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/supabase-community/supabase-swift"
},
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyJSON/SwiftyJSON"
},
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.2",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup"
},
{
"identity" : "swift-filestore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/juyan/swift-filestore"
},
{
"identity" : "similarity-search-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.16",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/similarity-search-kit"
},
{
"identity" : "generative-ai-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/generative-ai-swift"
},
{
"identity" : "swiftynotion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/SwiftyNotion"
},
{
"identity" : "feedkit",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.2",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nmdias/FeedKit"
}
],
"manifest_display_name" : "langchain-swift",
"name" : "langchain-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "LangChain",
"targets" : [
"LangChain"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LangChainTests",
"module_type" : "SwiftTarget",
"name" : "LangChainTests",
"path" : "Tests/LangChainTests",
"sources" : [
"Base64.swift",
"BySplit.swift",
"langchain_swiftTests.swift"
],
"target_dependencies" : [
"LangChain"
],
"type" : "test"
},
{
"c99name" : "LangChain",
"module_type" : "SwiftTarget",
"name" : "LangChain",
"path" : "Sources/LangChain",
"product_dependencies" : [
"OpenAIKit",
"Supabase",
"SwiftyJSON",
"SWXMLHash",
"SwiftSoup",
"SwiftFileStore",
"SimilaritySearchKit",
"GoogleGenerativeAI",
"SwiftyNotion",
"FeedKit"
],
"product_memberships" : [
"LangChain"
],
"sources" : [
"LangChain.swift",
"agents/Agent.swift",
"cache/Cache.swift",
"callbacks/BaseCallbackHandler.swift",
"callbacks/StdOutCallbackHandler.swift",
"callbacks/TraceCallbackHandler.swift",
"chains/BaseChain.swift",
"chains/DNChain.swift",
"chains/LLMChain.swift",
"chains/SequentialChain.swift",
"chains/SimpleSequentialChain.swift",
"chains/TransformChain.swift",
"chains/qa/BaseCombineDocumentsChain.swift",
"chains/qa/BaseConversationalRetrievalChain.swift",
"chains/qa/ConversationalRetrievalChain.swift",
"chains/qa/StuffDocumentsChain.swift",
"chains/router/LLMRouterChain.swift",
"chains/router/MultiRouteChain.swift",
"document_loaders/AudioLoader.swift",
"document_loaders/BaseLoader.swift",
"document_loaders/BilibiliLoader.swift",
"document_loaders/HtmlLoader.swift",
"document_loaders/ImageOCRLoader.swift",
"document_loaders/NotionLoader.swift",
"document_loaders/PDFLoader.swift",
"document_loaders/RSSLoader.swift",
"document_loaders/TextLoader.swift",
"document_loaders/YoutubeLoader.swift",
"embeddings/Distilbert.swift",
"embeddings/Embeddings.swift",
"embeddings/OllamaEmbeddings.swift",
"embeddings/OpenAIEmbeddings.swift",
"llms/Baidu.swift",
"llms/ChatGLM.swift",
"llms/ChatOllama.swift",
"llms/ChatOpenAI.swift",
"llms/Dalle.swift",
"llms/Gemini.swift",
"llms/HuggingFace.swift",
"llms/LLM.swift",
"llms/LMStudio.swift",
"llms/Llama2.swift",
"llms/Local.swift",
"llms/Ollama.swift",
"llms/OpenAI.swift",
"memory/Base.swift",
"memory/Chat.swift",
"memory/ReadOnlySharedMemory.swift",
"parser/BaseOutputParser.swift",
"parser/DateOutputParser.swift",
"parser/EnumOutputParser.swift",
"parser/ListOutputParser.swift",
"parser/MRKLOutputParser.swift",
"parser/ObjectOutputParser.swift",
"parser/RouterOutputParser.swift",
"parser/SimpleJsonOutputParser.swift",
"prompts/MultiPromptRouter.swift",
"prompts/PromptTemplate.swift",
"prompts/mrkl/MrklPrompt.swift",
"retriever/BaseRetriever.swift",
"retriever/MultiVectorRetriever.swift",
"retriever/ParentDocumentRetriever.swift",
"retriever/PubmedRetriever.swift",
"retriever/WikipediaRetriever.swift",
"schema/BaseStore.swift",
"schema/InMemoryStore.swift",
"schema/LocalFileStore.swift",
"schema/Schema.swift",
"tools/BaseTool.swift",
"tools/Dummy.swift",
"tools/GetLocationTool.swift",
"tools/InvalidTool.swift",
"tools/JavascriptREPLTool.swift",
"tools/Serper.swift",
"tools/TTSTool.swift",
"tools/WeatherTool.swift",
"utilities/GoogleSerperAPIWrapper.swift",
"utilities/HFInferenceApi.swift",
"utilities/LC.swift",
"utilities/LlamaAPIWrapper.swift",
"utilities/OpenWeatherAPIWrapper.swift",
"utilities/TextSplitter.swift",
"utilities/ThreadManager.swift",
"utilities/anotheropenai/OpenAITTSAPIWrapper.swift",
"utilities/baidu/BaiduClient.swift",
"utilities/bilibili/BilibiliClient.swift",
"utilities/bilibili/BilibiliCredential.swift",
"utilities/bilibili/BilibiliVideo.swift",
"utilities/chatglm/ChatGLMAPIWrapper.swift",
"utilities/chatglm/ChatGLMModel.swift",
"utilities/dalle/DalleImage.swift",
"utilities/jwt/Cryptor.swift",
"utilities/jwt/Extensions/String.swift",
"utilities/jwt/JWT.swift",
"utilities/pubmed/PubmedAPIWrapper.swift",
"utilities/pubmed/PubmedPage.swift",
"utilities/report/ReportKey.swift",
"utilities/report/TraceManager.swift",
"utilities/wikipedia/WikipediaAPIWrapper.swift",
"utilities/wikipedia/WikipediaPage.swift",
"utilities/youtube/Transcript.swift",
"utilities/youtube/TranscriptList.swift",
"utilities/youtube/TranscriptListFetcher.swift",
"utilities/youtube/YoutubeHackClient.swift",
"utilities/youtube/YoutubeInfo.swift",
"vectorstores/SimilaritySearchKit.swift",
"vectorstores/Supabase.swift",
"vectorstores/VectorStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/google/generative-ai-swift
Fetching https://github.com/buhe/similarity-search-kit
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/juyan/swift-filestore
[1/197] Fetching swiftynotion
[198/8961] Fetching swiftynotion, feedkit
[1601/9173] Fetching swiftynotion, feedkit, swift-filestore
[3828/9667] Fetching swiftynotion, feedkit, swift-filestore, similarity-search-kit
Fetched https://github.com/juyan/swift-filestore from cache (0.40s)
[4835/9455] Fetching swiftynotion, feedkit, similarity-search-kit
Fetching https://github.com/drmohundro/SWXMLHash
[6414/12607] Fetching swiftynotion, feedkit, similarity-search-kit, generative-ai-swift
[9564/16515] Fetching swiftynotion, feedkit, similarity-search-kit, generative-ai-swift, swiftsoup
[16179/19335] Fetching swiftynotion, feedkit, similarity-search-kit, generative-ai-swift, swiftsoup, swxmlhash
Fetched https://github.com/nmdias/FeedKit from cache (0.93s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.53s)
Fetching https://github.com/supabase-community/supabase-swift
Fetched https://github.com/buhe/SwiftyNotion from cache (0.96s)
Fetching https://github.com/buhe/openai-kit
Fetched https://github.com/scinfu/SwiftSoup from cache (0.97s)
[3321/16627] Fetching similarity-search-kit, generative-ai-swift, supabase-swift
[4749/17055] Fetching similarity-search-kit, generative-ai-swift, supabase-swift, openai-kit
[5091/23250] Fetching similarity-search-kit, generative-ai-swift, supabase-swift, openai-kit, swiftyjson
Fetched https://github.com/buhe/openai-kit from cache (0.37s)
[22497/22822] Fetching similarity-search-kit, generative-ai-swift, supabase-swift, swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.60s)
Fetched https://github.com/supabase-community/supabase-swift from cache (0.61s)
[3325/3646] Fetching similarity-search-kit, generative-ai-swift
Fetched https://github.com/google/generative-ai-swift from cache (9.46s)
Fetched https://github.com/buhe/similarity-search-kit from cache (9.83s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (13.03s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (3.77s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (1.98s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.54s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.77s)
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 (1.05s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (1.57s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.53s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.54s)
Fetching https://github.com/supabase-community/storage-swift.git
Fetching https://github.com/supabase-community/realtime-swift.git
Fetching https://github.com/supabase-community/gotrue-swift
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/functions-swift
[1/1996] Fetching gotrue-swift
[1758/2396] Fetching gotrue-swift, storage-swift
[1906/2568] Fetching gotrue-swift, storage-swift, functions-swift
[2432/3882] Fetching gotrue-swift, storage-swift, functions-swift, postgrest-swift
[2459/4259] Fetching gotrue-swift, storage-swift, functions-swift, postgrest-swift, realtime-swift
Fetched https://github.com/supabase-community/functions-swift from cache (0.29s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.30s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.30s)
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.30s)
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.30s)
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.86s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.59s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.31s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.81s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.25s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (1.19s)
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.68s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.97s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (1.09s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/URLQueryEncoder
[1/128] Fetching urlqueryencoder
[129/4514] Fetching urlqueryencoder, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (0.44s)
[1711/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.81s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (3.17s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (1.39s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (0.67s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.7 (0.68s)
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.60s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2667] Fetching swift-nio-transport-services
[2/6503] Fetching swift-nio-transport-services, swift-log
[4970/8213] Fetching swift-nio-transport-services, swift-log, swift-atomics
[5734/14127] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras
[9148/20086] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras, swift-algorithms
[12703/31613] Fetching swift-nio-transport-services, swift-log, swift-atomics, swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.59s)
[20071/28946] Fetching swift-log, swift-atomics, swift-nio-extras, swift-algorithms, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
Fetching https://github.com/apple/swift-nio.git
[18476/27236] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
[16484/23400] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.71s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.71s)
[4727/11527] Fetching swift-nio-http2
[11528/26370] Fetching swift-nio-http2, swift-nio-ssl
[13310/102463] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.15s)
[5716/90936] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.67s)
[54027/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.50s)
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 (5.62s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (2.38s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.59s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
[1/1141] Fetching swift-http-structured-headers
[1142/3567] Fetching swift-http-structured-headers, swift-service-lifecycle
[1264/8552] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[1631/9456] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-http-types
[7264/15611] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-http-types, swift-certificates
[10873/17201] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-http-types, swift-certificates, swift-asn1
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.31s)
[8621/14775] Fetching swift-http-structured-headers, swift-async-algorithms, swift-http-types, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (0.44s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.44s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.01s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
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 (0.85s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.60s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.26s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.09s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.87s)
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-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.22s)
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.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
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/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-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/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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.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/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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.8.7
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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/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/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.2
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.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.31.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/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/juyan/swift-filestore
Working copy of https://github.com/juyan/swift-filestore resolved at 0.7.0
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/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/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.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.10.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/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/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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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
[16/459] Copying PrivacyInfo.xcprivacy
[18/459] Write sources
[42/459] Compiling _AtomicsShims.c
[43/459] Compiling _NumericsShims _NumericsShims.c
[44/459] Compiling CNIOWindows WSAStartup.c
[45/459] Compiling CNIOWindows shim.c
[46/459] Compiling CNIOLinux liburing_shims.c
[47/459] Compiling CNIOLinux 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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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.
[47/459] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[47/459] Compiling CNIOWASI CNIOWASI.c
[47/459] Compiling CNIOLLHTTP c_nio_http.c
[47/459] Compiling CNIOLLHTTP c_nio_llhttp.c
[47/459] Compiling CNIOExtrasZlib empty.c
[47/459] Compiling CNIODarwin shim.c
[47/459] Compiling CNIOLLHTTP c_nio_api.c
[47/459] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/412] Compiling CNIOExtrasZlib empty.c
[1/412] Compiling fiat_curve25519_adx_square.S
[2/412] Compiling fiat_p256_adx_sqr.S
[3/412] Compiling fiat_curve25519_adx_mul.S
[4/412] Compiling fiat_p256_adx_mul.S
[5/412] Compiling CNIOLinux shim.c
[6/412] Compiling CNIOWASI CNIOWASI.c
[7/412] Compiling CNIODarwin shim.c
[8/412] Compiling CNIOLLHTTP c_nio_http.c
[9/412] Compiling CNIOLLHTTP c_nio_api.c
[10/412] Write swift-version-24593BA9C3E375BF.txt
[11/412] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[12/416] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[12/416] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[12/416] Compiling tls_record.cc
[12/416] Compiling tls13_both.cc
[12/416] Compiling tls13_client.cc
[12/416] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[12/416] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm