Build Information
Failed to build langchain-swift, reference 0.50.0 (0f902d
), with Swift 6.0 for Linux on 4 Nov 2024 19:58:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/buhe/similarity-search-kit
Fetching https://github.com/buhe/SwiftyNotion
Fetching https://github.com/juyan/swift-filestore
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/google/generative-ai-swift
[1/204] Fetching swift-filestore
[205/3388] Fetching swift-filestore, swiftsoup
[333/3882] Fetching swift-filestore, swiftsoup, similarity-search-kit
[1042/9243] Fetching swift-filestore, swiftsoup, similarity-search-kit, feedkit
Fetched https://github.com/scinfu/SwiftSoup from cache (0.41s)
Fetching https://github.com/drmohundro/SWXMLHash
[5734/6256] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion
[5931/9088] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift
[8763/11908] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash from cache (0.89s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[8766/15202] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift, swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.46s)
Fetching https://github.com/supabase-community/supabase-swift
[8767/9088] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift
[8773/19849] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift, supabase-swift
Fetched https://github.com/supabase-community/supabase-swift from cache (0.49s)
Fetching https://github.com/buhe/openai-kit
[8773/9516] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift, openai-kit
Fetched https://github.com/buhe/openai-kit from cache (0.92s)
[8780/9088] Fetching swift-filestore, similarity-search-kit, feedkit, swiftynotion, generative-ai-swift
Fetched https://github.com/juyan/swift-filestore from cache (7.12s)
Fetched https://github.com/buhe/SwiftyNotion from cache (7.12s)
Fetched https://github.com/google/generative-ai-swift from cache (7.12s)
Fetched https://github.com/nmdias/FeedKit from cache (7.12s)
Fetched https://github.com/buhe/similarity-search-kit from cache (7.43s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (7.89s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.87s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.53s)
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.56s)
Fetching https://github.com/swift-server/async-http-client.git
[1/13265] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.73s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (0.56s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.7.0 (0.55s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.3.0 (0.95s)
Fetching https://github.com/supabase-community/storage-swift.git
Fetching https://github.com/supabase-community/functions-swift
Fetching https://github.com/supabase-community/realtime-swift.git
Fetching https://github.com/supabase-community/postgrest-swift
Fetching https://github.com/supabase-community/gotrue-swift
[1/400] Fetching storage-swift
[401/777] Fetching storage-swift, realtime-swift
[413/2091] Fetching storage-swift, realtime-swift, postgrest-swift
[2092/4087] Fetching storage-swift, realtime-swift, postgrest-swift, gotrue-swift
[2192/4259] Fetching storage-swift, realtime-swift, postgrest-swift, gotrue-swift, functions-swift
[2481/3859] Fetching realtime-swift, postgrest-swift, gotrue-swift, functions-swift
Fetched https://github.com/supabase-community/storage-swift.git from cache (0.26s)
Fetched https://github.com/supabase-community/functions-swift from cache (0.29s)
Fetched https://github.com/supabase-community/postgrest-swift from cache (0.30s)
Fetched https://github.com/supabase-community/realtime-swift.git from cache (0.31s)
Fetched https://github.com/supabase-community/gotrue-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.56s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.1.1 (0.52s)
Fetching https://github.com/kean/Get
[1/2335] Fetching get
Fetched https://github.com/kean/Get from cache (0.30s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.3 (0.54s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/33] Fetching getextensions
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.56s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (1.14s)
Computing version for https://github.com/supabase-community/storage-swift.git
Computed https://github.com/supabase-community/storage-swift.git at 0.1.4 (0.61s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.64s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.7.5 (0.50s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.3.0 (0.50s)
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/128] Fetching urlqueryencoder
[129/4517] Fetching urlqueryencoder, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (0.48s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.49s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.49s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.51s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.5.6 (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.23.1 (0.48s)
Fetching https://github.com/apple/swift-log.git
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-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
[535/6712] Fetching swift-atomics, swift-nio-extras
[835/8972] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services
[2463/14535] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-algorithms
[7177/25611] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-nio-http2
[8195/29271] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
Fetching https://github.com/apple/swift-nio-ssl.git
[15291/23708] Fetching swift-atomics, swift-nio-extras, swift-nio-transport-services, swift-nio-http2, swift-log
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
[10369/18565] Fetching swift-atomics, swift-nio-transport-services, swift-nio-http2, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.75s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.75s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.75s)
[2991/11076] Fetching swift-nio-http2
[11077/24371] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.48s)
[2527/13295] Fetching swift-nio-ssl
[9441/84442] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.03s)
[36997/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.54s)
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.0 (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.65s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.14s)
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.45s)
Fetching https://github.com/apple/swift-http-types
[1/648] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.25s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.45s)
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.34.1
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.0
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.7.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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Creating working copy for https://github.com/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.0
Creating working copy for https://github.com/supabase-community/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-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/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.2
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.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/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.23.1
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/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
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/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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/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/functions-swift
Working copy of https://github.com/supabase-community/functions-swift resolved at 1.1.1
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/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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.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
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Building for debugging...
[0/468] Write sources
[9/468] Copying PrivacyInfo.xcprivacy
[9/468] Write sources
[41/468] Compiling CNIOWASI CNIOWASI.c
[41/468] Compiling CNIOWindows WSAStartup.c
[41/468] Compiling CNIOWindows shim.c
[44/468] Compiling _NumericsShims _NumericsShims.c
[45/468] Compiling _AtomicsShims.c
[46/468] Compiling CNIOLinux liburing_shims.c
[47/468] Compiling CNIOExtrasZlib empty.c
[48/468] Compiling CNIOLLHTTP c_nio_http.c
[49/468] Compiling CNIODarwin shim.c
[50/468] Compiling CNIOLinux shim.c
[51/468] Compiling fiat_p256_adx_mul.S
[52/468] Compiling CNIOLLHTTP c_nio_api.c
[53/468] Compiling fiat_p256_adx_sqr.S
[53/468] Compiling fiat_curve25519_adx_mul.S
[54/468] Compiling fiat_curve25519_adx_square.S
[56/468] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/468] Write swift-version-24593BA9C3E375BF.txt
[58/468] Compiling CNIOBoringSSLShims shims.c
[59/472] Compiling tls_method.cc
[60/472] Compiling t1_enc.cc
[61/472] Compiling tls_record.cc
[62/472] Compiling tls13_server.cc
[63/474] Compiling tls13_enc.cc
[64/474] Compiling tls13_client.cc
[65/488] Compiling tls13_both.cc
[67/563] Emitting module SupabaseStorage
[68/563] Emitting module URLQueryEncoder
[69/564] Compiling SupabaseStorage FileObject.swift
[70/564] Compiling SupabaseStorage FileOptions.swift
[71/564] Compiling SupabaseStorage SupabaseStorage.swift
[72/564] Compiling _NIODataStructures _TinyArray.swift
[73/564] Emitting module _NIOBase64
[74/564] Compiling _NIOBase64 Base64.swift
[75/565] Compiling _NIODataStructures PriorityQueue.swift
[77/589] Emitting module SWXMLHash
[78/592] Compiling _NIODataStructures Heap.swift
[79/592] Emitting module _NIODataStructures
[81/604] Compiling Realtime SocketError.swift
[82/605] Compiling SwiftyJSON resource_bundle_accessor.swift
[83/605] Compiling SWXMLHash XMLHashOptions.swift
[84/605] Compiling SWXMLHash XMLIndexer.swift
[85/605] Compiling SWXMLHash shim.swift
[86/605] Compiling SwiftFileStore Observer.swift
[87/606] Compiling SwiftyNotion NotionRichText.swift
[88/607] Compiling SwiftFileStore ObjectStore.swift
[89/607] Compiling SwiftFileStore ObserverManager.swift
[90/607] Compiling SWXMLHash XMLContent.swift
[91/607] Compiling SWXMLHash XMLElement.swift
[92/607] Compiling SWXMLHash XMLHash.swift
[93/607] Emitting module SwiftyJSON
[94/607] 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:24: note: found this candidate in module 'Foundation'
1 | extension NSNumber : Comparable {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
| `- note: found this candidate in module 'Foundation'
3 | }
BUILD FAILURE 6.0 linux