The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build langchain-swift, reference main (bc6067), with Swift 6.1 for Wasm on 7 Sep 2025 15:07:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.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 bc60677 Merge pull request #125 from alexandr-vp/main
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
bc6067703f3b25bbaedec0afb8a495abf442b807
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/scinfu/SwiftSoup
Fetching https://github.com/google/generative-ai-swift
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/nmdias/FeedKit
[2/197] Fetching swiftynotion
[198/3342] Fetching swiftynotion, generative-ai-swift
[261/7934] Fetching swiftynotion, generative-ai-swift, swiftsoup
[1297/8146] Fetching swiftynotion, generative-ai-swift, swiftsoup, swift-filestore
[4658/17054] Fetching swiftynotion, generative-ai-swift, swiftsoup, swift-filestore, feedkit
Fetching https://github.com/buhe/similarity-search-kit
Fetched https://github.com/juyan/swift-filestore from cache (0.40s)
[4491/16842] Fetching swiftynotion, generative-ai-swift, swiftsoup, feedkit
Fetching https://github.com/drmohundro/SWXMLHash
[16843/17336] Fetching swiftynotion, generative-ai-swift, swiftsoup, feedkit, similarity-search-kit
[17011/20183] Fetching swiftynotion, generative-ai-swift, swiftsoup, feedkit, similarity-search-kit, swxmlhash
Fetched https://github.com/google/generative-ai-swift from cache (1.07s)
Fetched https://github.com/buhe/SwiftyNotion from cache (1.07s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.08s)
Fetching https://github.com/supabase-community/supabase-swift
Fetching https://github.com/buhe/openai-kit
Fetched https://github.com/nmdias/FeedKit from cache (1.09s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.71s)
[169/922] Fetching similarity-search-kit, openai-kit
[495/7121] Fetching similarity-search-kit, openai-kit, swiftyjson
[783/21697] Fetching similarity-search-kit, openai-kit, swiftyjson, supabase-swift
[6903/21269] Fetching similarity-search-kit, swiftyjson, supabase-swift
Fetched https://github.com/buhe/openai-kit from cache (0.42s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.79s)
Fetched https://github.com/supabase-community/supabase-swift from cache (0.97s)
[171/494] Fetching similarity-search-kit
Fetched https://github.com/buhe/similarity-search-kit from cache (10.73s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (13.21s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.60s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.52s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.61s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.51s)
Fetching https://github.com/swift-server/async-http-client.git
[1/14119] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.85s)
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.48s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.56s)
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/functions-swift
[1/400] Fetching storage-swift
[401/572] Fetching storage-swift, functions-swift
[467/1886] Fetching storage-swift, functions-swift, postgrest-swift
[533/3882] Fetching storage-swift, functions-swift, postgrest-swift, gotrue-swift
Fetched https://github.com/supabase-community/functions-swift from cache (0.26s)
Fetching https://github.com/supabase-community/realtime-swift.git
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.28s)
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.28s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.28s)
[1/377] Fetching realtime-swift
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.20s)
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.06s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.55s)
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.84s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.19s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (1.00s)
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.76s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.80s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (1.02s)
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/128] Fetching urlqueryencoder
[53/4514] Fetching urlqueryencoder, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (0.24s)
[702/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.59s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.29s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.83s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (2.59s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.27.0 (0.68s)
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-log.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2698] Fetching swift-nio-transport-services
[1647/8825] Fetching swift-nio-transport-services, swift-nio-extras
[3741/10639] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics
[4084/14542] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-log
[7169/26203] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-log, swift-nio-http2
[7515/32188] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-log, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio-ssl.git
[17083/26061] Fetching swift-nio-transport-services, swift-atomics, swift-log, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
[13879/22158] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-algorithms
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
[12881/20344] Fetching swift-nio-transport-services, swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.83s)
[7130/14359] Fetching swift-nio-transport-services, swift-nio-http2
[14360/29434] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
[18581/107466] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.61s)
[18649/104768] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.63s)
[8221/93107] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.20s)
[49941/78032] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.41s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (7.87s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.64s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.23s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[2/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (3.79s)
Fetched https://github.com/apple/swift-collections.git from cache (3.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.48s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.68s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
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-asn1.git
[1/1629] Fetching swift-asn1
[1630/8090] Fetching swift-asn1, swift-certificates
[1889/13280] Fetching swift-asn1, swift-certificates, swift-async-algorithms
[3171/14197] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-http-types
[4891/16667] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-http-types, swift-service-lifecycle
[6005/17843] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-http-types, swift-service-lifecycle, swift-http-structured-headers
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.56s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.57s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.57s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.67s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
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.38s)
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.55s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.52s)
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.48s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.67s)
Fetching https://github.com/apple/swift-crypto.git
[1/16377] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.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.4.0 (3.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.92s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.81s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.11.0 (0.75s)
Fetching https://github.com/nicklockwood/LRUCache.git
[1/320] Fetching lrucache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.39s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (1.25s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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/supabase-swift
Working copy of https://github.com/supabase-community/supabase-swift resolved at 0.3.0
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.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.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.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/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.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.27.0
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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
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/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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.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.25.1
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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.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.4.0
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.11.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/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.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.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.13.0
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/buhe/openai-kit
Working copy of https://github.com/buhe/openai-kit resolved at 1.8.5
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/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
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/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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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.6.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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
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/461] Write sources
[0/461] Copying PrivacyInfo.xcprivacy
[0/461] Write sources
[41/461] Compiling _NumericsShims _NumericsShims.c
[42/461] Compiling _AtomicsShims.c
[43/461] Compiling CNIOWindows shim.c
[44/461] Compiling CNIOWASI CNIOWASI.c
[44/461] Compiling CNIOWindows WSAStartup.c
[46/461] Compiling CNIOLinux liburing_shims.c
[47/461] Compiling CNIOPosix event_loop_id.c
[48/461] Compiling CNIOLinux shim.c
[49/461] Compiling CNIODarwin shim.c
[50/461] Compiling CNIOLLHTTP c_nio_http.c
[51/461] Compiling CNIOExtrasZlib empty.c
[52/461] Compiling fiat_p256_adx_sqr.S
[53/461] Compiling CNIOLLHTTP c_nio_api.c
[54/461] Compiling fiat_p256_adx_mul.S
[55/461] Compiling fiat_curve25519_adx_square.S
[56/461] Compiling fiat_curve25519_adx_mul.S
[57/461] Write swift-version-24593BA9C3E375BF.txt
[58/461] Compiling CNIOBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[59/465] Compiling tls13_enc.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.
[59/465] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[59/465] 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>
      |          ^~~~~~~~~~~
[59/465] Compiling tls13_server.cc
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>
      |          ^~~~~~~~~~~
[59/465] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
      |          ^~~~~~~~~~~
[59/465] Compiling tls13_both.cc
[59/465] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/403] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[0/403] Compiling tls_method.cc
[0/403] Compiling tls13_server.cc
[0/403] Compiling CNIOLLHTTP c_nio_llhttp.c
[0/403] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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/403] Compiling t1_enc.cc
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/403] 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/403] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm