The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build langchain-swift, reference main (516d85), with Swift 6.1 for Linux on 28 Apr 2025 16:45:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/langchain-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/buhe/langchain-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 516d85f Merge pull request #124 from deverman/patch-1
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
516d85f8c5e39a59ecc42a8c4a1fe7c6ba3e1837
SUCCESS checkout https://github.com/buhe/langchain-swift.git at main
========================================
Build
========================================
Selected platform:         linux
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/buhe/similarity-search-kit
Fetching https://github.com/google/generative-ai-swift
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/juyan/swift-filestore
[1/212] Fetching swift-filestore
[213/409] Fetching swift-filestore, swiftynotion
[328/903] Fetching swift-filestore, swiftynotion, similarity-search-kit
[578/4811] Fetching swift-filestore, swiftynotion, similarity-search-kit, swiftsoup
[1282/7889] Fetching swift-filestore, swiftynotion, similarity-search-kit, swiftsoup, generative-ai-swift
[1313/16647] Fetching swift-filestore, swiftynotion, similarity-search-kit, swiftsoup, generative-ai-swift, feedkit
Fetched https://github.com/juyan/swift-filestore from cache (7.87s)
Fetched https://github.com/buhe/SwiftyNotion from cache (7.87s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/google/generative-ai-swift from cache (7.87s)
Fetching https://github.com/drmohundro/SWXMLHash
Fetching https://github.com/supabase-community/supabase-swift
Fetched https://github.com/scinfu/SwiftSoup from cache (7.88s)
Fetched https://github.com/nmdias/FeedKit from cache (7.88s)
Fetching https://github.com/buhe/openai-kit
[486/922] Fetching similarity-search-kit, openai-kit
[696/7048] Fetching similarity-search-kit, openai-kit, swiftyjson
[1003/9868] Fetching similarity-search-kit, openai-kit, swiftyjson, swxmlhash
[2705/22649] Fetching similarity-search-kit, openai-kit, swiftyjson, swxmlhash, supabase-swift
Fetched https://github.com/buhe/similarity-search-kit from cache (8.20s)
[12892/22155] Fetching openai-kit, swiftyjson, swxmlhash, supabase-swift
Fetched https://github.com/buhe/openai-kit from cache (0.43s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.51s)
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.58s)
Fetched https://github.com/supabase-community/supabase-swift from cache (0.58s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (10.89s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.59s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.59s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.55s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.56s)
Fetching https://github.com/swift-server/async-http-client.git
[1/13855] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.79s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (1.65s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.94s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.71s)
Fetching https://github.com/supabase-community/gotrue-swift
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/functions-swift
Fetching https://github.com/supabase-community/storage-swift.git
Fetching https://github.com/supabase-community/realtime-swift.git
[1/1314] Fetching postgrest-swift
[277/1714] Fetching postgrest-swift, storage-swift
[1715/2091] Fetching postgrest-swift, storage-swift, realtime-swift
[2092/2263] Fetching postgrest-swift, storage-swift, realtime-swift, functions-swift
[2264/4259] Fetching postgrest-swift, storage-swift, realtime-swift, functions-swift, gotrue-swift
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.28s)
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.29s)
Fetched https://github.com/supabase-community/functions-swift from cache (0.29s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.29s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.29s)
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.84s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.56s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.34s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.92s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.27s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.87s)
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.57s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.58s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.57s)
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/128] Fetching urlqueryencoder
[129/4514] Fetching urlqueryencoder, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (0.47s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.48s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.05s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.58s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (0.58s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.7 (0.51s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.25.2 (0.54s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2619] Fetching swift-nio-transport-services
[28/6455] Fetching swift-nio-transport-services, swift-log
[313/12117] Fetching swift-nio-transport-services, swift-log, swift-nio-extras
[1538/13822] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-atomics
[6058/19725] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-atomics, swift-algorithms
[13799/31217] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-atomics, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.52s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
[11166/20014] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
[5722/14111] Fetching swift-nio-transport-services, swift-nio-http2
[14112/89635] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio
[14113/104428] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.17s)
[20789/101809] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.18s)
[10349/90317] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.84s)
[59664/75524] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.38s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.99s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.86s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4353] Fetching swift-system
[3963/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.07s)
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.76s)
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 (0.56s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.61s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1127] Fetching swift-http-structured-headers
[1117/2031] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.26s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.26s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (0.78s)
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.51s)
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.54s)
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/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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/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-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/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/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
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/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/buhe/similarity-search-kit
Working copy of https://github.com/buhe/similarity-search-kit resolved at 0.0.16
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.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.25.2
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.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.30.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/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.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.1.4
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.2.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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.8.7
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/LangChain/vectorstores/supabase/supabase.sql
Building for debugging...
[0/459] Write sources
[0/459] Copying PrivacyInfo.xcprivacy
[0/459] Write sources
[38/459] Compiling CNIOWASI CNIOWASI.c
[39/459] Compiling CNIOWindows shim.c
[40/459] Write sources
[43/459] Compiling CNIOLinux liburing_shims.c
[44/459] Compiling _NumericsShims _NumericsShims.c
[45/459] Compiling _AtomicsShims.c
[46/459] Compiling CNIODarwin shim.c
[47/459] Compiling CNIOExtrasZlib empty.c
[48/459] Compiling CNIOLLHTTP c_nio_http.c
[49/459] Compiling CNIOLinux shim.c
[50/459] Compiling fiat_p256_adx_sqr.S
[51/459] Compiling CNIOLLHTTP c_nio_api.c
[52/459] Compiling fiat_p256_adx_mul.S
[53/459] Compiling fiat_curve25519_adx_square.S
[54/459] Compiling fiat_curve25519_adx_mul.S
[55/459] Compiling CNIOWindows WSAStartup.c
[56/459] Write swift-version-24593BA9C3E375BF.txt
[57/459] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/463] Compiling CNIOBoringSSLShims shims.c
[59/465] Compiling tls_method.cc
[60/467] Compiling tls13_enc.cc
[61/467] Compiling tls13_client.cc
[62/476] Compiling tls13_server.cc
[63/479] Compiling tls_record.cc
[64/479] Compiling tls13_both.cc
[66/555] Compiling SupabaseStorage SupabaseStorage.swift
[67/556] Emitting module SwiftFileStore
[68/557] Compiling _NIODataStructures _TinyArray.swift
[69/557] Compiling _NIODataStructures PriorityQueue.swift
[70/557] Emitting module _NIOBase64
[71/557] Compiling _NIOBase64 Base64.swift
[72/558] Emitting module SwiftyJSON
[74/582] Compiling _NIODataStructures Heap.swift
[75/582] Emitting module _NIODataStructures
[77/583] Compiling SwiftyJSON resource_bundle_accessor.swift
[78/583] Compiling SwiftFileStore FileObjectStore.swift
[79/583] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
[80/583] Compiling SupabaseStorage TransformOptions.swift
[81/583] Emitting module SupabaseStorage
[82/583] Compiling SwiftFileStore MemoryObjectStore.swift
[83/583] Compiling SwiftFileStore JSONDataRepresentable.swift
[84/583] Compiling SWXMLHash Double+XMLDeserialization.swift
[85/583] Compiling SWXMLHash Float+XMLDeserialization.swift
[86/583] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[87/583] Compiling SWXMLHash XMLObjectDeserialization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/583] Emitting module SwiftyNotion
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:52:18: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
53 |     init(from notionRequest: NotionRequest, baseUrl: String, secretKey: String) {
54 |         let url = URL(string: "\(baseUrl)\(notionRequest.endpointPath)")!
[89/583] Compiling SWXMLHash XMLValueDeserialization.swift
[90/583] Compiling SWXMLHash Bool+XMLDeserialization.swift
[91/583] Compiling SwiftyNotion NotionRequest.swift
[92/583] Compiling SwiftyNotion NotionIdentifiable.swift
[93/583] Emitting module SWXMLHash
[98/583] Emitting module URLQueryEncoder
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/394] Write sources
[1/395] Compiling ssl_transcript.cc
[2/395] Compiling ssl_versions.cc
[3/395] Compiling t1_enc.cc
[4/395] Compiling ssl_stat.cc
[5/395] Compiling ssl_privkey.cc
[6/395] Compiling ssl_session.cc
[7/395] Write swift-version-24593BA9C3E375BF.txt
[8/395] Compiling ssl_x509.cc
[9/399] Compiling ssl_lib.cc
[11/401] Emitting module _NIODataStructures
[12/401] Compiling _NIODataStructures PriorityQueue.swift
[13/401] Compiling _NIODataStructures _TinyArray.swift
[14/401] Compiling _NIODataStructures Heap.swift
[15/404] Compiling ssl_file.cc
[17/404] Emitting module _NIOBase64
[18/404] Compiling _NIOBase64 Base64.swift
[18/405] Compiling ssl_key_share.cc
[19/405] Compiling ssl_cipher.cc
[20/405] Compiling ssl_credential.cc
[22/417] Compiling ssl_buffer.cc
[23/479] Compiling ssl_cert.cc
[25/494] Compiling SwiftyJSON resource_bundle_accessor.swift
[26/528] Compiling SwiftFileStore ObjectStore.swift
[27/529] Emitting module URLQueryEncoder
[28/529] Compiling URLQueryEncoder URLQueryEncoder.swift
[29/530] Compiling SwiftFileStore ObjectStore+Expiry.swift
[30/530] Compiling SwiftFileStore JSONDataRepresentable.swift
[31/530] Compiling SwiftyNotion NotionRequest.swift
[32/530] Compiling SwiftyNotion NotionRichText.swift
[33/531] Compiling SwiftFileStore Observer.swift
[34/531] Compiling SwiftFileStore ObserverManager.swift
[36/531] Compiling Realtime SocketError.swift
[37/532] Emitting module SWXMLHash
[38/535] Compiling SwiftFileStore MemoryObjectStore.swift
[39/535] Compiling SupabaseStorage SupabaseStorage.swift
[40/536] Compiling SwiftyNotion NotionDatabase.swift
[41/536] Compiling Realtime Delegated.swift
[42/536] Compiling Realtime HeartbeatTimer.swift
[43/536] Compiling SupabaseStorage MultipartFile.swift
[44/536] Compiling SupabaseStorage SearchOptions.swift
[45/536] Compiling SupabaseStorage SortBy.swift
[46/536] Compiling SupabaseStorage StorageApi.swift
[47/536] Compiling Realtime TimeoutTimer.swift
[48/536] Compiling Realtime StateChangeCallbacks.swift
[49/536] Compiling SwiftyNotion SwiftyNotion.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:52:18: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
53 |     init(from notionRequest: NotionRequest, baseUrl: String, secretKey: String) {
54 |         let url = URL(string: "\(baseUrl)\(notionRequest.endpointPath)")!
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:21:23: error: cannot find 'URLRequest' in scope
19 |
20 |     private func request(_ notionRequest: NotionRequest) async throws -> Data {
21 |         let request = URLRequest(from: notionRequest, baseUrl: baseUrl, secretKey: secretKey)
   |                       `- error: cannot find 'URLRequest' in scope
22 |         let (data, _) = try await URLSession.shared.data(for: request)
23 |         return data
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:22:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 |     private func request(_ notionRequest: NotionRequest) async throws -> Data {
21 |         let request = URLRequest(from: notionRequest, baseUrl: baseUrl, secretKey: secretKey)
22 |         let (data, _) = try await URLSession.shared.data(for: request)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 |         return data
24 |     }
[50/536] Emitting module SupabaseStorage
[51/536] Compiling SupabaseStorage Bucket.swift
[52/536] Compiling SupabaseStorage BucketOptions.swift
[53/536] Emitting module SwiftFileStore
[54/536] Compiling SwiftFileStore FileObjectStore.swift
[55/542] Compiling RealModule AlgebraicField.swift
[56/542] Compiling RealModule ApproximateEquality.swift
[57/542] Compiling RealModule AugmentedArithmetic.swift
[58/542] Compiling RealModule Double+Real.swift
[61/544] Compiling Realtime RealtimeClient.swift
/host/spi-builder-workspace/.build/checkouts/realtime-swift/Sources/Realtime/RealtimeClient.swift:715:4: error: Objective-C interoperability is disabled
713 |
714 |   /// Sends a hearbeat payload to the phoenix serverss
715 |   @objc func sendHeartbeat() {
    |    `- error: Objective-C interoperability is disabled
716 |     // Do not send if the connection is closed
717 |     guard isConnected else { return }
[64/546] Compiling SwiftyNotion NotionIdentifiable.swift
[65/546] Compiling SwiftyNotion NotionList.swift
[66/546] Compiling SwiftyNotion NotionPage.swift
[67/546] Compiling SwiftFileStore PersistenceLog.swift
[68/547] Compiling SupabaseStorage StorageBucketApi.swift
[69/547] Compiling SupabaseStorage StorageError.swift
[70/547] Compiling SupabaseStorage StorageFileApi.swift
[71/547] Compiling SupabaseStorage StorageHTTPClient.swift
[72/547] Compiling SWXMLHash String+XMLDeserialization.swift
[73/547] Compiling SWXMLHash IndexingError.swift
[74/547] Compiling SWXMLHash IndexOp.swift
[75/547] Compiling SWXMLHash LazyXMLParser.swift
[76/547] Compiling SWXMLHash Stack.swift
[77/547] Compiling SupabaseStorage TransformOptions.swift
[78/547] Compiling SWXMLHash XMLContent.swift
[79/547] Compiling SWXMLHash XMLElement.swift
[80/547] Compiling SWXMLHash XMLHash.swift
[81/547] Compiling SWXMLHash String+Extensions.swift
[82/547] Compiling SWXMLHash TextElement.swift
[83/547] Compiling SWXMLHash XMLAttribute.swift
[84/547] Compiling Realtime Transport.swift
[90/547] Emitting module SwiftyJSON
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/547] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
[92/547] Emitting module SwiftyNotion
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:52:18: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
53 |     init(from notionRequest: NotionRequest, baseUrl: String, secretKey: String) {
54 |         let url = URL(string: "\(baseUrl)\(notionRequest.endpointPath)")!
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 6.1 linux