Build Information
Failed to build langchain-swift, reference 0.50.0 (0f902d
), with Swift 6.1 for Wasm on 29 May 2025 08:18:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.50.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/buhe/langchain-swift
* tag 0.50.0 -> FETCH_HEAD
HEAD is now at 0f902da Merge pull request #115 from rhx/main
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
0f902da81f1567b96fcdc55d3eeb2d5af1f32d06
SUCCESS checkout https://github.com/buhe/langchain-swift.git at 0.50.0
========================================
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-4606859-3":/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/juyan/swift-filestore
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/google/generative-ai-swift
[1/212] Fetching swift-filestore
[213/409] Fetching swift-filestore, swiftynotion
Fetched https://github.com/juyan/swift-filestore from cache (0.46s)
[1/3152] Fetching generative-ai-swift
Fetching https://github.com/drmohundro/SWXMLHash
Fetching https://github.com/buhe/similarity-search-kit
Fetching https://github.com/scinfu/SwiftSoup
Fetched https://github.com/buhe/SwiftyNotion from cache (0.49s)
Fetching https://github.com/nmdias/FeedKit
Fetched https://github.com/google/generative-ai-swift from cache (0.85s)
Fetching https://github.com/supabase-community/supabase-swift
[1/494] Fetching similarity-search-kit
[169/9258] Fetching similarity-search-kit, feedkit
[345/12078] Fetching similarity-search-kit, feedkit, swxmlhash
[1144/15986] Fetching similarity-search-kit, feedkit, swxmlhash, swiftsoup
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.87s)
[11316/13166] Fetching similarity-search-kit, feedkit, swiftsoup
Fetching https://github.com/buhe/openai-kit
[11552/26147] Fetching similarity-search-kit, feedkit, swiftsoup, supabase-swift
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/nmdias/FeedKit from cache (1.32s)
[14981/17383] Fetching similarity-search-kit, swiftsoup, supabase-swift
[16280/17811] Fetching similarity-search-kit, swiftsoup, supabase-swift, openai-kit
Fetched https://github.com/buhe/openai-kit from cache (0.58s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.49s)
[13153/19670] Fetching similarity-search-kit, supabase-swift, swiftyjson
Fetched https://github.com/supabase-community/supabase-swift from cache (1.30s)
[5499/6689] Fetching similarity-search-kit, swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.57s)
[171/494] Fetching similarity-search-kit
Fetched https://github.com/buhe/similarity-search-kit from cache (8.41s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (12.45s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (1.00s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.64s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.98s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.67s)
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.51s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (2.18s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.76s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.76s)
Fetching https://github.com/supabase-community/storage-swift.git
Fetching https://github.com/supabase-community/gotrue-swift
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/realtime-swift.git
Fetching https://github.com/supabase-community/functions-swift
[1/1996] Fetching gotrue-swift
[1878/2396] Fetching gotrue-swift, storage-swift
[2154/2568] Fetching gotrue-swift, storage-swift, functions-swift
[2505/2945] Fetching gotrue-swift, storage-swift, functions-swift, realtime-swift
[2775/4259] Fetching gotrue-swift, storage-swift, functions-swift, realtime-swift, postgrest-swift
Fetched https://github.com/supabase-community/functions-swift from cache (0.97s)
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.97s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.97s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.97s)
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.97s)
Computing version for https://github.com/supabase-community/realtime-swift.git
Computed https://github.com/supabase-community/realtime-swift.git at 0.0.2 (1.63s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.60s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.41s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (1.00s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.34s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.92s)
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.61s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.59s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.87s)
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.23s)
[746/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.61s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.18s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.57s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (0.56s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.7 (0.50s)
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.53s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
[1/2667] Fetching swift-nio-transport-services
[242/8626] Fetching swift-nio-transport-services, swift-algorithms
[708/20153] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2
[763/26067] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-nio-extras
[1649/27777] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-nio-extras, swift-atomics
[2790/31613] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-nio-extras, swift-atomics, swift-log
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.80s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.03s)
Fetching https://github.com/apple/swift-nio.git
[18361/27236] Fetching swift-algorithms, swift-nio-http2, swift-nio-extras, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (1.11s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.12s)
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
[2882/11527] Fetching swift-nio-http2
[11528/26370] Fetching swift-nio-http2, swift-nio-ssl
[12716/102463] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.32s)
[20377/90936] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.03s)
[54787/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.23s)
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 (8.80s)
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.56s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.65s)
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.70s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[207/3567] Fetching swift-http-structured-headers, swift-service-lifecycle
[1225/5157] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1
[3160/10142] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-async-algorithms
[6604/16297] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.56s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.76s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.76s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.76s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.52s)
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 (1.49s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (2.71s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.39s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (2.04s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.97s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
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.91s)
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.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.75s)
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/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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.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-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-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/openai-kit
Working copy of https://github.com/buhe/openai-kit resolved at 1.8.5
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/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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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/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/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/postgrest-swift
Working copy of https://github.com/supabase-community/postgrest-swift resolved at 1.0.3
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/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/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/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.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/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/juyan/swift-filestore
Working copy of https://github.com/juyan/swift-filestore resolved at 0.7.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/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-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-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/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.1
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/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/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/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.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
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
[41/459] Compiling CNIOWASI CNIOWASI.c
[42/459] Compiling _NumericsShims _NumericsShims.c
[43/459] Compiling CNIOWindows shim.c
[44/459] Compiling CNIOLinux liburing_shims.c
[44/459] Compiling _AtomicsShims.c
[46/459] Compiling CNIOLinux shim.c
[47/459] Compiling CNIOExtrasZlib empty.c
[47/459] Compiling CNIOLLHTTP c_nio_http.c
[49/459] Compiling CNIODarwin shim.c
[50/459] Compiling fiat_curve25519_adx_square.S
[51/459] Compiling fiat_p256_adx_mul.S
[52/459] Compiling CNIOLLHTTP c_nio_api.c
[53/459] Write swift-version-24593BA9C3E375BF.txt
[53/459] Compiling CNIOWindows WSAStartup.c
[55/459] Compiling fiat_p256_adx_sqr.S
[56/459] Compiling fiat_curve25519_adx_mul.S
[57/465] 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.
[58/467] Compiling tls_method.cc
[58/467] Compiling tls13_server.cc
[58/467] Compiling tls13_enc.cc
[58/467] Compiling tls_record.cc
[58/467] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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...
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>
| ^~~~~~~~~~~
1 error generated.
[0/402] Compiling tls13_enc.cc
[0/402] Compiling tls13_both.cc
[0/402] Compiling t1_enc.cc
[0/402] Compiling tls13_server.cc
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>
| ^~~~~~~~~~~
[0/402] Compiling tls_method.cc
[0/402] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
| ^~~~~~~~~~~
[0/402] Compiling tls13_client.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>
| ^~~~~~~~~~~
[0/402] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm