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 0.50.0 (0f902d), with Swift 6.1 for Linux on 28 Apr 2025 16:46:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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:         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-4609320-2":/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/google/generative-ai-swift
Fetching https://github.com/juyan/swift-filestore
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/buhe/similarity-search-kit
Fetching https://github.com/buhe/SwiftyNotion
[1/197] Fetching swiftynotion
[198/691] Fetching swiftynotion, similarity-search-kit
[312/903] Fetching swiftynotion, similarity-search-kit, swift-filestore
[578/4811] Fetching swiftynotion, similarity-search-kit, swift-filestore, swiftsoup
[1321/7889] Fetching swiftynotion, similarity-search-kit, swift-filestore, swiftsoup, generative-ai-swift
Fetched https://github.com/buhe/SwiftyNotion from cache (0.28s)
[2645/7692] Fetching similarity-search-kit, swift-filestore, swiftsoup, generative-ai-swift
Fetching https://github.com/drmohundro/SWXMLHash
[5531/16450] Fetching similarity-search-kit, swift-filestore, swiftsoup, generative-ai-swift, feedkit
Fetched https://github.com/scinfu/SwiftSoup from cache (0.50s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[12217/15362] Fetching similarity-search-kit, swift-filestore, generative-ai-swift, feedkit, swxmlhash
Fetched https://github.com/nmdias/FeedKit from cache (0.69s)
Fetching https://github.com/supabase-community/supabase-swift
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.41s)
Fetching https://github.com/buhe/openai-kit
[3459/9910] Fetching similarity-search-kit, swift-filestore, generative-ai-swift, swiftyjson
[9585/22691] Fetching similarity-search-kit, swift-filestore, generative-ai-swift, swiftyjson, supabase-swift
[9969/23119] Fetching similarity-search-kit, swift-filestore, generative-ai-swift, swiftyjson, supabase-swift, openai-kit
Fetched https://github.com/buhe/openai-kit from cache (0.33s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.55s)
Fetched https://github.com/supabase-community/supabase-swift from cache (0.50s)
[3461/3784] Fetching similarity-search-kit, swift-filestore, generative-ai-swift
Fetched https://github.com/juyan/swift-filestore from cache (4.69s)
Fetched https://github.com/google/generative-ai-swift from cache (4.70s)
Fetched https://github.com/buhe/similarity-search-kit from cache (4.96s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (7.23s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.51s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.72s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.51s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.47s)
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.78s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (1.27s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (1.00s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.59s)
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/storage-swift.git
Fetching https://github.com/supabase-community/gotrue-swift
Fetching https://github.com/supabase-community/realtime-swift.git
Fetching https://github.com/supabase-community/functions-swift
[1/1996] Fetching gotrue-swift
[1997/2373] Fetching gotrue-swift, realtime-swift
[2387/3687] Fetching gotrue-swift, realtime-swift, postgrest-swift
[3688/3859] Fetching gotrue-swift, realtime-swift, postgrest-swift, functions-swift
[3704/4259] Fetching gotrue-swift, realtime-swift, postgrest-swift, functions-swift, storage-swift
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.31s)
Fetched https://github.com/supabase-community/functions-swift from cache (0.31s)
Fetched https://github.com/supabase-community/gotrue-swift from cache (0.31s)
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.31s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.31s)
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.81s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.53s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (0.32s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.79s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.24s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.75s)
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.52s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.56s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.52s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/URLQueryEncoder
[1/4386] Fetching keychainaccess
[659/4514] Fetching keychainaccess, urlqueryencoder
Fetched https://github.com/kean/URLQueryEncoder from cache (1.29s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.30s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.92s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (1.23s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (0.52s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.7 (0.49s)
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.57s)
Fetching https://github.com/apple/swift-nio-http2.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-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[1958/9498] Fetching swift-log, swift-nio-extras
[9273/15401] Fetching swift-log, swift-nio-extras, swift-algorithms
[14871/17106] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-atomics
[15931/19725] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-transport-services
[19726/31217] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-transport-services, swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
[16694/27381] Fetching swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-transport-services, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[8643/19100] Fetching swift-algorithms, swift-atomics, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
[2644/11492] Fetching swift-nio-http2
[11493/87016] Fetching swift-nio-http2, swift-nio
[11494/101809] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.37s)
[18018/90317] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.92s)
[56643/75524] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.88s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.33s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.93s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4353] Fetching swift-system
[4354/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
Fetched https://github.com/apple/swift-collections.git from cache (1.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.99s)
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.55s)
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.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.43s)
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.50s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1127] Fetching swift-http-structured-headers
[1128/2031] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.27s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.30s)
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.74s)
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.43s)
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.61s)
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/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.1
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/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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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/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/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/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/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/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/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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.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/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/supabase-community/storage-swift.git
Working copy of https://github.com/supabase-community/storage-swift.git resolved at 0.1.4
Creating working copy for https://github.com/buhe/openai-kit
Working copy of https://github.com/buhe/openai-kit resolved at 1.8.5
Creating working copy for https://github.com/apple/swift-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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.8.7
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/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/LangChain/vectorstores/supabase/supabase.sql
Building for debugging...
[0/459] Write sources
[0/459] Copying PrivacyInfo.xcprivacy
[0/459] Write sources
[38/459] Compiling CNIOWindows WSAStartup.c
[38/459] Compiling CNIOWASI CNIOWASI.c
[40/459] Compiling CNIOWindows shim.c
[40/459] Compiling CNIOLinux liburing_shims.c
[40/459] Write sources
[45/459] Compiling _NumericsShims _NumericsShims.c
[46/459] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[47/459] Compiling _AtomicsShims.c
[48/459] Compiling CNIOExtrasZlib empty.c
[49/459] Compiling CNIODarwin shim.c
[50/459] Compiling CNIOLLHTTP c_nio_http.c
[51/459] Compiling CNIOLinux shim.c
[52/459] Compiling fiat_p256_adx_sqr.S
[53/459] Compiling CNIOLLHTTP c_nio_api.c
[54/459] Compiling fiat_p256_adx_mul.S
[55/459] Compiling fiat_curve25519_adx_square.S
[56/459] Compiling fiat_curve25519_adx_mul.S
[57/459] Write swift-version-24593BA9C3E375BF.txt
[58/459] Compiling CNIOLLHTTP c_nio_llhttp.c
[59/459] Compiling CNIOBoringSSLShims shims.c
[60/465] Compiling tls_record.cc
[61/465] Compiling tls13_client.cc
[62/465] Compiling tls13_both.cc
[63/465] Compiling tls_method.cc
[64/465] Compiling tls13_enc.cc
[65/541] Compiling tls13_server.cc
[67/555] Compiling _NIODataStructures PriorityQueue.swift
[68/555] Compiling _NIOBase64 Base64.swift
[69/555] Emitting module _NIOBase64
[70/556] Compiling SupabaseStorage SupabaseStorage.swift
[71/557] Emitting module SwiftFileStore
[72/558] Compiling _NIODataStructures _TinyArray.swift
[74/582] Emitting module _NIODataStructures
[75/582] Compiling _NIODataStructures Heap.swift
[77/583] Compiling SwiftFileStore ObserverManager.swift
[78/583] Compiling SwiftyNotion NotionDatabase.swift
[79/584] Compiling SwiftFileStore ObjectStore+Expiry.swift
[80/584] Compiling SwiftFileStore ObjectStore.swift
[81/584] Compiling SupabaseStorage TransformOptions.swift
[82/584] Compiling SWXMLHash XMLValueDeserialization.swift
[83/584] Compiling SWXMLHash Bool+XMLDeserialization.swift
[84/584] Compiling SWXMLHash Double+XMLDeserialization.swift
[85/584] Compiling SWXMLHash Float+XMLDeserialization.swift
[86/584] Compiling SwiftFileStore PersistenceLog.swift
[87/587] Compiling SwiftFileStore Observer.swift
[88/587] Compiling SwiftFileStore JSONDataRepresentable.swift
[89/587] Emitting module SupabaseStorage
[90/587] Compiling SWXMLHash XMLAttributeDeserializable.swift
[91/587] Compiling SWXMLHash XMLElementDeserializable.swift
[92/587] Compiling SwiftyJSON resource_bundle_accessor.swift
[93/587] Emitting module SwiftyJSON
[94/587] 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 |
[95/587] Emitting module URLQueryEncoder
[96/587] Compiling URLQueryEncoder URLQueryEncoder.swift
[97/588] Compiling SWXMLHash Int+XMLDeserialization.swift
[98/588] Compiling SWXMLHash String+XMLDeserialization.swift
[99/588] Compiling SwiftyNotion NotionRequest.swift
[100/588] Compiling SwiftFileStore FileObjectStore.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] Compiling ssl_transcript.cc
[1/394] Compiling ssl_versions.cc
[2/394] Compiling t1_enc.cc
[3/394] Compiling ssl_stat.cc
[4/394] Compiling ssl_privkey.cc
[5/394] Compiling ssl_session.cc
[6/394] Write swift-version-24593BA9C3E375BF.txt
[7/394] Compiling ssl_x509.cc
[8/398] Compiling ssl_lib.cc
[10/400] Emitting module _NIODataStructures
[11/400] Compiling _NIODataStructures Heap.swift
[12/400] Compiling _NIODataStructures PriorityQueue.swift
[13/400] Compiling _NIODataStructures _TinyArray.swift
[15/401] Emitting module _NIOBase64
[16/401] Compiling _NIOBase64 Base64.swift
[17/402] Compiling ssl_file.cc
[18/402] Compiling ssl_buffer.cc
[19/402] Compiling ssl_credential.cc
[20/404] Compiling ssl_cipher.cc
[21/425] Compiling ssl_cert.cc
[22/474] Compiling ssl_key_share.cc
[24/475] Compiling SwiftyNotion NotionDatabase.swift
[25/484] Compiling SwiftyNotion NotionIdentifiable.swift
[26/517] Compiling SwiftyJSON resource_bundle_accessor.swift
[27/517] Compiling SwiftFileStore ObjectStore.swift
[28/518] 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 |     }
[29/519] Compiling SwiftFileStore ObjectStore+Expiry.swift
[30/529] Compiling SwiftyNotion NotionRequest.swift
[31/529] Compiling SwiftyNotion NotionRichText.swift
[32/529] Compiling SwiftFileStore Observer.swift
[33/529] Compiling SwiftFileStore ObserverManager.swift
[34/529] Compiling SupabaseStorage SupabaseStorage.swift
[35/530] Compiling SwiftFileStore JSONDataRepresentable.swift
[36/530] Compiling SwiftFileStore MemoryObjectStore.swift
[37/530] Emitting module SupabaseStorage
[38/530] Compiling Realtime Channel.swift
[39/530] Compiling Realtime Defaults.swift
[40/530] Compiling Realtime SocketError.swift
[41/530] Compiling SWXMLHash String+Extensions.swift
[42/530] Compiling SWXMLHash TextElement.swift
[43/530] Compiling SWXMLHash XMLAttribute.swift
[44/534] Compiling Realtime Message.swift
[45/534] Compiling Realtime Push.swift
[46/534] Compiling SWXMLHash Double+XMLDeserialization.swift
[47/534] Compiling SWXMLHash Float+XMLDeserialization.swift
[48/534] Emitting module SwiftFileStore
[49/534] Compiling SwiftFileStore FileObjectStore.swift
[50/534] Compiling SWXMLHash Int+XMLDeserialization.swift
[51/534] Compiling SWXMLHash String+XMLDeserialization.swift
[52/534] Compiling Realtime Delegated.swift
[53/534] Compiling Realtime HeartbeatTimer.swift
[54/534] Compiling Realtime StateChangeCallbacks.swift
[55/534] Compiling Realtime TimeoutTimer.swift
[56/534] Compiling SwiftyNotion NotionPage.swift
[57/534] Compiling SwiftyNotion NotionList.swift
[62/534] Compiling SwiftFileStore PersistenceLog.swift
[63/534] Compiling SupabaseStorage TransformOptions.swift
[66/534] Compiling SWXMLHash XMLContent.swift
[67/534] Compiling SWXMLHash XMLElement.swift
[68/534] Compiling SWXMLHash XMLHash.swift
[71/535] Compiling SWXMLHash IndexingError.swift
[73/535] Compiling SWXMLHash ParsingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/536] 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)")!
[78/536] Compiling SWXMLHash XMLDeserializationError.swift
[79/536] Compiling SWXMLHash FullXMLParser.swift
[80/536] Compiling SWXMLHash IndexOp.swift
[81/536] Compiling SWXMLHash LazyXMLParser.swift
[82/536] Compiling SWXMLHash Stack.swift
[85/536] Emitting module SWXMLHash
[86/536] 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 }
[92/536] Emitting module URLQueryEncoder
[93/536] Compiling URLQueryEncoder URLQueryEncoder.swift
[95/537] Emitting module SwiftyJSON
[96/537] 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 |
BUILD FAILURE 6.1 linux