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 5.9 for Linux on 22 Mar 2025 09:05:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/langchain-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/buhe/langchain-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 516d85f Merge pull request #124 from deverman/patch-1
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
516d85f8c5e39a59ecc42a8c4a1fe7c6ba3e1837
SUCCESS checkout https://github.com/buhe/langchain-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/buhe/langchain-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/google/generative-ai-swift
[1/197] Fetching swiftynotion
[198/8933] Fetching swiftynotion, feedkit
[199/12002] Fetching swiftynotion, feedkit, generative-ai-swift
Fetching https://github.com/buhe/similarity-search-kit
Fetched https://github.com/buhe/SwiftyNotion (0.51s)
Fetched https://github.com/google/generative-ai-swift (0.52s)
Fetching https://github.com/juyan/swift-filestore
Fetched https://github.com/nmdias/FeedKit (0.52s)
Fetching https://github.com/scinfu/SwiftSoup
[1/212] Fetching swift-filestore
[213/706] Fetching swift-filestore, similarity-search-kit
[381/4611] Fetching swift-filestore, similarity-search-kit, swiftsoup
Fetched https://github.com/juyan/swift-filestore (0.22s)
Fetching https://github.com/drmohundro/SWXMLHash
[1067/4399] Fetching similarity-search-kit, swiftsoup
[4074/7219] Fetching similarity-search-kit, swiftsoup, swxmlhash
Fetched https://github.com/scinfu/SwiftSoup (0.47s)
[2876/3314] Fetching similarity-search-kit, swxmlhash
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/drmohundro/SWXMLHash (0.35s)
Fetching https://github.com/supabase-community/supabase-swift
[169/6621] Fetching similarity-search-kit, swiftyjson
[5929/19249] Fetching similarity-search-kit, swiftyjson, supabase-swift
Fetched https://github.com/SwiftyJSON/SwiftyJSON (0.45s)
Fetching https://github.com/buhe/openai-kit
Fetched https://github.com/supabase-community/supabase-swift (0.54s)
[169/922] Fetching similarity-search-kit, openai-kit
Fetched https://github.com/buhe/openai-kit (0.27s)
[173/494] Fetching similarity-search-kit
Fetched https://github.com/buhe/similarity-search-kit (7.51s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (1.31s)
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.57s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.47s)
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/13735] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (1.08s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (0.88s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.42s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.48s)
Fetching https://github.com/supabase-community/functions-swift
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/realtime-swift.git
[1/172] Fetching functions-swift
[60/549] Fetching functions-swift, realtime-swift
Fetched https://github.com/supabase-community/realtime-swift.git (0.17s)
Fetching https://github.com/supabase-community/storage-swift.git
[1/1314] Fetching postgrest-swift
Fetched https://github.com/supabase-community/functions-swift (0.24s)
Fetching https://github.com/supabase-community/gotrue-swift
Fetched https://github.com/supabase-community/postgrest-swift (0.24s)
[1/400] Fetching storage-swift
Fetched https://github.com/supabase-community/storage-swift.git (0.17s)
[1/1996] Fetching gotrue-swift
Fetched https://github.com/supabase-community/gotrue-swift (0.26s)
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.41s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.44s)
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get (0.35s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.43s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions (0.22s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.42s)
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.39s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.40s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.42s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/kean/URLQueryEncoder
[1/128] Fetching urlqueryencoder
[129/4514] Fetching urlqueryencoder, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder (0.50s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess (0.52s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.41s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.42s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (0.46s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.8.7 (0.37s)
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.43s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
[1/5863] Fetching swift-algorithms
[998/9650] Fetching swift-algorithms, swift-log
[1988/11355] Fetching swift-algorithms, swift-log, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.47s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-log.git (0.47s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-algorithms.git (0.48s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/2336] Fetching swift-nio-transport-services
[2314/7771] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git (0.37s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-extras.git (0.37s)
Fetching https://github.com/apple/swift-nio.git
[1/11384] Fetching swift-nio-http2
[11385/85679] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git (1.31s)
[19317/74295] Fetching swift-nio
[20061/88757] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.34s)
[57208/74295] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (5.48s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/5659] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.81.0 (0.73s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4221] Fetching swift-system
[930/20116] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.07s)
Fetched https://github.com/apple/swift-collections.git (1.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (3.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (3.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.88s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.1 (0.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.3 (0.64s)
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.25.0 (0.49s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1093] Fetching swift-http-structured-headers
[1094/1970] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git (0.27s)
Fetched https://github.com/apple/swift-http-types.git (0.28s)
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.0 (0.43s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.3.1 (0.71s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.35.0 (0.70s)
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/supabase-community/storage-swift.git
Working copy of https://github.com/supabase-community/storage-swift.git resolved at 0.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.81.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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.25.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/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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.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/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/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.8.7
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.0
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
Creating working copy for https://github.com/supabase-community/gotrue-swift
Working copy of https://github.com/supabase-community/gotrue-swift resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.35.0
Creating working copy for https://github.com/supabase-community/supabase-swift
Working copy of https://github.com/supabase-community/supabase-swift resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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/buhe/openai-kit
Working copy of https://github.com/buhe/openai-kit resolved at 1.8.5
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/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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.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/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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.3.1
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/416] Copying PrivacyInfo.xcprivacy
[1/416] Compiling CNIOWindows WSAStartup.c
[2/416] Compiling CNIOWASI CNIOWASI.c
[3/416] Compiling CNIOWindows shim.c
[4/416] Compiling CNIOLinux liburing_shims.c
[5/416] Compiling _NumericsShims _NumericsShims.c
[6/416] Compiling _AtomicsShims.c
[7/416] Compiling CNIODarwin shim.c
[8/416] Compiling CNIOLLHTTP c_nio_http.c
[9/416] Compiling CNIOExtrasZlib empty.c
[10/416] Compiling CNIOLinux shim.c
[11/416] Compiling CNIOLLHTTP c_nio_api.c
[12/416] Compiling fiat_p256_adx_mul.S
[13/416] Compiling fiat_p256_adx_sqr.S
[14/416] Compiling fiat_curve25519_adx_square.S
[15/416] Compiling fiat_curve25519_adx_mul.S
[16/416] Compiling CNIOLLHTTP c_nio_llhttp.c
[17/420] Compiling CNIOBoringSSLShims shims.c
[19/422] Emitting module _NIOBase64
[19/422] Compiling tls_method.cc
[20/422] Compiling tls13_both.cc
[21/422] Compiling tls_record.cc
[22/422] Compiling tls13_enc.cc
[23/425] Compiling tls13_server.cc
[24/498] Compiling tls13_client.cc
[26/512] Emitting module SwiftFileStore
[27/513] Emitting module URLQueryEncoder
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/513] Emitting module SwiftyNotion
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:52:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
[29/514] Compiling SupabaseStorage SupabaseStorage.swift
[30/515] Compiling _NIOBase64 Base64.swift
[33/517] Compiling _NIODataStructures PriorityQueue.swift
[34/517] Compiling _NIODataStructures _TinyArray.swift
[35/541] Compiling SwiftFileStore ObjectStore.swift
[36/541] Compiling SwiftyNotion SwiftyNotion.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:52:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:21:23: error: cannot find 'URLRequest' in scope
        let request = URLRequest(from: notionRequest, baseUrl: baseUrl, secretKey: secretKey)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyNotion/Sources/SwiftyNotion/SwiftyNotion.swift:22:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(for: request)
                                  ~~~~~~~~~~ ^~~~~~
[37/541] Emitting module SWXMLHash
[38/544] Emitting module SupabaseStorage
[39/544] Compiling SWXMLHash XMLValueDeserialization.swift
[40/544] Compiling SWXMLHash Bool+XMLDeserialization.swift
[41/544] Emitting module SwiftyJSON
[42/544] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
[43/544] Compiling SwiftyJSON resource_bundle_accessor.swift
[44/544] Compiling SwiftFileStore Observer.swift
[45/544] Compiling SwiftFileStore ObserverManager.swift
[46/544] Compiling SwiftFileStore ObjectStore+Expiry.swift
[47/544] Compiling SupabaseStorage TransformOptions.swift
[48/544] Compiling SwiftyNotion NotionIdentifiable.swift
[49/544] Compiling SWXMLHash IndexingError.swift
[50/544] Compiling SWXMLHash ParsingError.swift
[51/544] Compiling SWXMLHash XMLAttributeDeserializable.swift
[52/544] Compiling SWXMLHash XMLElementDeserializable.swift
[53/544] Compiling SWXMLHash Int+XMLDeserialization.swift
[54/544] Compiling SWXMLHash String+XMLDeserialization.swift
[55/544] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[56/544] Compiling SWXMLHash XMLObjectDeserialization.swift
[57/544] Compiling SWXMLHash Double+XMLDeserialization.swift
[58/544] Compiling SWXMLHash Float+XMLDeserialization.swift
[59/545] Compiling SwiftFileStore PersistenceLog.swift
error: fatalError
[61/545] Compiling SWXMLHash XMLDeserializationError.swift
[62/545] Compiling SWXMLHash FullXMLParser.swift
[63/545] Compiling SwiftFileStore JSONDataRepresentable.swift
[64/545] Compiling SwiftFileStore MemoryObjectStore.swift
[65/545] Compiling SwiftyNotion NotionList.swift
[66/545] Compiling SwiftyNotion NotionRequest.swift
[67/545] Emitting module _NIODataStructures
[68/545] Compiling SwiftSoup ParseErrorList.swift
[69/545] Compiling SwiftSoup ParseSettings.swift
[70/545] Compiling SwiftSoup Parser.swift
[71/545] Compiling SwiftSoup ParsingStrings.swift
[72/545] Compiling SwiftSoup Pattern.swift
[73/545] Compiling SwiftSoup QueryParser.swift
[74/545] Compiling SwiftSoup SerializationException.swift
BUILD FAILURE 5.9 linux