Build Information
Failed to build langchain-swift with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.35.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: 5.9
Building package at path: $workDir
https://github.com/buhe/langchain-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/buhe/similarity-search-kit
[1/494] Fetching similarity-search-kit
[169/10700] Fetching similarity-search-kit, swift-nio-http2
[2721/76046] Fetching similarity-search-kit, swift-nio-http2, swift-nio
Fetching https://github.com/supabase-community/storage-swift.git
Fetched https://github.com/apple/swift-nio-http2.git (1.17s)
[34151/65840] Fetching similarity-search-kit, swift-nio
[38073/66240] Fetching similarity-search-kit, swift-nio, storage-swift
Fetched https://github.com/supabase-community/storage-swift.git (0.26s)
Fetching https://github.com/apple/swift-nio-extras.git
[39379/65840] Fetching similarity-search-kit, swift-nio
[40034/70661] Fetching similarity-search-kit, swift-nio, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git (0.43s)
Fetching https://github.com/supabase-community/gotrue-swift
[44607/65840] Fetching similarity-search-kit, swift-nio
[47875/67836] Fetching similarity-search-kit, swift-nio, gotrue-swift
Fetched https://github.com/supabase-community/gotrue-swift (0.34s)
Fetching https://github.com/google/generative-ai-swift
[49188/65840] Fetching similarity-search-kit, swift-nio
[55724/68059] Fetching similarity-search-kit, swift-nio, generative-ai-swift
Fetched https://github.com/google/generative-ai-swift (0.36s)
Fetching https://github.com/supabase-community/realtime-swift.git
[65524/65840] Fetching similarity-search-kit, swift-nio
[65525/66213] Fetching similarity-search-kit, swift-nio, realtime-swift
Fetched https://github.com/supabase-community/realtime-swift.git (0.29s)
Fetching https://github.com/supabase-community/postgrest-swift
[65525/67154] Fetching similarity-search-kit, swift-nio, postgrest-swift
Fetched https://github.com/supabase-community/postgrest-swift (0.33s)
Fetching https://github.com/buhe/SwiftyNotion
[65525/66037] Fetching similarity-search-kit, swift-nio, swiftynotion
Fetched https://github.com/buhe/SwiftyNotion (0.24s)
Fetching https://github.com/buhe/openai-kit
[65529/65840] Fetching similarity-search-kit, swift-nio
[65530/66268] Fetching similarity-search-kit, swift-nio, openai-kit
Fetched https://github.com/buhe/openai-kit (0.34s)
Fetching https://github.com/juyan/swift-filestore
[65530/66038] Fetching similarity-search-kit, swift-nio, swift-filestore
Fetched https://github.com/juyan/swift-filestore (0.27s)
Fetching https://github.com/apple/swift-numerics.git
[65532/65840] Fetching similarity-search-kit, swift-nio
[65533/71262] Fetching similarity-search-kit, swift-nio, swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Fetching https://github.com/apple/swift-log.git
[65534/65840] Fetching similarity-search-kit, swift-nio
[65560/69013] Fetching similarity-search-kit, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git (0.70s)
Fetching https://github.com/drmohundro/SWXMLHash
[65584/68610] Fetching similarity-search-kit, swift-nio, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash (0.34s)
Fetching https://github.com/nmdias/FeedKit
[65584/71019] Fetching similarity-search-kit, swift-nio, feedkit
Fetched https://github.com/nmdias/FeedKit (0.45s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/12238] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.23s)
Fetching https://github.com/apple/swift-http-types
Fetched https://github.com/apple/swift-nio.git (8.33s)
Fetching https://github.com/apple/swift-system.git
[1/360] Fetching swift-http-types
Fetched https://github.com/buhe/similarity-search-kit (8.55s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-http-types (0.28s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/3179] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.46s)
Fetching https://github.com/kean/URLQueryEncoder
[1/4377] Fetching keychainaccess
[702/16996] Fetching keychainaccess, async-http-client
[15881/17124] Fetching keychainaccess, async-http-client, urlqueryencoder
Fetched https://github.com/kean/URLQueryEncoder (0.24s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[16603/16996] Fetching keychainaccess, async-http-client
Fetched https://github.com/kishikawakatsumi/KeychainAccess (0.69s)
Fetching https://github.com/apple/swift-atomics.git
[1/6082] Fetching swiftyjson
Fetched https://github.com/swift-server/async-http-client.git (0.83s)
Fetching https://github.com/supabase-community/functions-swift
Fetched https://github.com/SwiftyJSON/SwiftyJSON (0.51s)
Fetching https://github.com/binaryscraping/GetExtensions
[1/1563] Fetching swift-atomics
[424/1729] Fetching swift-atomics, functions-swift
Fetched https://github.com/supabase-community/functions-swift (0.24s)
[751/1563] Fetching swift-atomics
Fetching https://github.com/apple/swift-nio-transport-services.git
[1564/1596] Fetching swift-atomics, getextensions
Fetched https://github.com/apple/swift-atomics.git (0.47s)
Fetching https://github.com/kean/Get
Fetched https://github.com/binaryscraping/GetExtensions (0.22s)
Fetching https://github.com/supabase-community/supabase-swift
[1/2075] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.32s)
Fetching https://github.com/scinfu/SwiftSoup
[1/2318] Fetching get
[2319/9155] Fetching get, supabase-swift
Fetched https://github.com/kean/Get (0.33s)
Fetching https://github.com/apple/swift-collections.git
[3009/6837] Fetching supabase-swift
[6838/9895] Fetching supabase-swift, swiftsoup
Fetched https://github.com/supabase-community/supabase-swift (0.46s)
Fetching https://github.com/apple/swift-algorithms
[3028/3058] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup (0.40s)
Computing version for https://github.com/nmdias/FeedKit
[1/13799] Fetching swift-collections
[4279/19016] Fetching swift-collections, swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.51s)
[7590/13799] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.10s)
Computed https://github.com/nmdias/FeedKit at 9.1.2 (1.28s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.40s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.4.4 (0.34s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.40s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.5.0 (0.39s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.6.1 (0.38s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (0.38s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.1 (0.39s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.2.1 (0.43s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.40s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.0.0 (0.39s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.0 (0.40s)
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.40s)
Computing version for https://github.com/supabase-community/storage-swift.git
Computed https://github.com/supabase-community/storage-swift.git at 0.1.3 (0.39s)
Computing version for https://github.com/supabase-community/gotrue-swift
Computed https://github.com/supabase-community/gotrue-swift at 1.1.1 (0.40s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.20.1 (0.42s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (0.40s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.39s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.38s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.40s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (3.68s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.20.1 (0.42s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.21.0 (0.68s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.30.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.77s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.42s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.0.3 (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.75s)
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.20.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-algorithms
Working copy of https://github.com/apple/swift-algorithms 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.3
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.0.3
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.20.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.63.0
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.21.0
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.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.2.1
Creating working copy for https://github.com/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.2
Creating working copy for https://github.com/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.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.0.0
Creating working copy for https://github.com/supabase-community/gotrue-swift
Working copy of https://github.com/supabase-community/gotrue-swift resolved at 1.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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.30.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.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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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.0
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/supabase-community/supabase-swift
Working copy of https://github.com/supabase-community/supabase-swift resolved at 0.2.1
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/google/generative-ai-swift
Working copy of https://github.com/google/generative-ai-swift resolved at 0.4.4
Creating working copy for https://github.com/juyan/swift-filestore
Working copy of https://github.com/juyan/swift-filestore resolved at 0.5.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.5.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.26.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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.6.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/457] Compiling CNIOWindows WSAStartup.c
[0/457] Compiling CNIODarwin shim.c
[0/457] Compiling CNIOLinux liburing_shims.c
[3/457] Compiling CNIOWindows shim.c
[4/457] Compiling _AtomicsShims.c
[5/457] Compiling CNIOExtrasZlib empty.c
[6/457] Compiling _NumericsShims _NumericsShims.c
[7/457] Compiling CNIOLLHTTP c_nio_http.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:203:9: warning: 'RENAME_NOREPLACE' macro redefined [-Wmacro-redefined]
#define RENAME_NOREPLACE 1
^
/usr/include/stdio.h:164:10: note: previous definition is here
# define RENAME_NOREPLACE (1 << 0)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/shim.c:204:9: warning: 'RENAME_EXCHANGE' macro redefined [-Wmacro-redefined]
#define RENAME_EXCHANGE 2
^
/usr/include/stdio.h:165:10: note: previous definition is here
# define RENAME_EXCHANGE (1 << 1)
^
2 warnings generated.
[8/457] Compiling CNIOLinux shim.c
[9/457] Compiling CNIOLLHTTP c_nio_api.c
[10/457] Compiling fiat_p256_adx_sqr.S
[11/457] Compiling fiat_p256_adx_mul.S
[12/457] Compiling fiat_curve25519_adx_square.S
[13/457] Compiling fiat_curve25519_adx_mul.S
[14/474] Compiling CNIOLLHTTP c_nio_llhttp.c
[15/488] Compiling CNIOBoringSSLShims shims.c
[16/493] Compiling tls_record.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/544] 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 {
^~~~~~~~~~
[18/546] Compiling tls_method.cc
[20/554] Compiling SwiftSoup Evaluator.swift
[21/554] Compiling SwiftSoup Exception.swift
[22/556] Compiling SwiftSoup FormElement.swift
[23/556] Compiling SwiftSoup Collector.swift
[24/556] Compiling SwiftSoup Elements.swift
[25/556] Compiling SwiftSoup Entities.swift
[26/556] Compiling SwiftSoup DocumentType.swift
[27/556] Compiling SwiftSoup Element.swift
[28/556] Compiling SwiftSoup ArrayExt.swift
[29/556] Compiling SwiftSoup Attribute.swift
[30/556] Compiling SwiftSoup Attributes.swift
[31/556] Emitting module _CollectionsUtilities
[32/556] Compiling SwiftSoup BinarySearch.swift
[33/556] Compiling SwiftSoup BooleanAttribute.swift
[34/556] Compiling SwiftSoup CharacterExt.swift
[35/556] Compiling SwiftSoup CharacterReader.swift
[36/556] Compiling SwiftSoup Cleaner.swift
[37/556] Compiling _NIOBase64 Base64.swift
[38/556] Emitting module _NIOBase64
[39/557] Compiling _NIODataStructures _TinyArray.swift
[40/557] Compiling _NIODataStructures PriorityQueue.swift
[43/558] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/558] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/574] Compiling SupabaseStorage SupabaseStorage.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/599] Emitting module SupabaseStorage
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:32: error: cannot find type 'URLRequest' in scope
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:35:16: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:37:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[49/599] Emitting module SWXMLHash
[50/602] Emitting module SwiftyJSON
[51/602] 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
^
error: fatalError
[52/602] Emitting module SwiftFileStore
[53/602] Emitting module URLQueryEncoder
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/439] Compiling t1_enc.cc
[1/439] Compiling ssl_versions.cc
[2/439] Compiling tls13_enc.cc
[3/443] Compiling tls13_server.cc
[3/443] Compiling ssl_transcript.cc
[5/443] Compiling tls13_client.cc
[6/443] Compiling tls13_both.cc
[8/454] Emitting module URLQueryEncoder
[8/454] Compiling ssl_x509.cc
[10/519] Compiling _NIODataStructures Heap.swift
[11/529] Compiling SwiftFileStore ObjectStore.swift
[12/554] Compiling SwiftFileStore ObjectStore+Expiry.swift
[13/554] Compiling SwiftyNotion NotionIdentifiable.swift
[14/554] Compiling SwiftyNotion NotionList.swift
[15/555] Emitting module _NIODataStructures
[16/555] Compiling SupabaseStorage SupabaseStorage.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
[17/556] Compiling SwiftFileStore Observer.swift
[18/556] Compiling SwiftFileStore ObserverManager.swift
[19/556] Compiling SwiftyNotion NotionDatabase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/556] Compiling SWXMLHash XMLAttributeDeserializable.swift
[21/556] Compiling SWXMLHash XMLElementDeserializable.swift
[22/556] Emitting module SupabaseStorage
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:32: error: cannot find type 'URLRequest' in scope
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:35:16: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:37:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[23/556] Compiling SWXMLHash Int+XMLDeserialization.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
[24/556] 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)
~~~~~~~~~~ ^~~~~~
[25/556] Compiling SWXMLHash String+XMLDeserialization.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
[26/556] Compiling SWXMLHash Double+XMLDeserialization.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
[27/556] Compiling SWXMLHash Float+XMLDeserialization.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
[28/556] Compiling SWXMLHash IndexingError.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:32: error: cannot find type 'URLRequest' in scope
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:35:16: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:37:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:13:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let dataTask = URLSession.shared.dataTask(with: request) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:39:29: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let task = URLSession.shared.uploadTask(with: request, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:13:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let dataTask = URLSession.shared.dataTask(with: request) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:39:29: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let task = URLSession.shared.uploadTask(with: request, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~
[29/556] Compiling SWXMLHash ParsingError.swift
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:25: error: cannot find type 'URLRequest' in scope
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:26: error: cannot find type 'URLRequest' in scope
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:4:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:5:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func upload(_ request: URLRequest, from data: Data) async throws -> (Data, HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:32: error: cannot find type 'URLRequest' in scope
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:11:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func fetch(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:35:16: error: cannot find type 'URLRequest' in scope
_ request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:37:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:13:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let dataTask = URLSession.shared.dataTask(with: request) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:39:29: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let task = URLSession.shared.uploadTask(with: request, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:13:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let dataTask = URLSession.shared.dataTask(with: request) { data, response, error in
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/storage-swift/Sources/SupabaseStorage/StorageHTTPClient.swift:39:29: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
let task = URLSession.shared.uploadTask(with: request, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~
[30/556] Compiling _NIODataStructures PriorityQueue.swift
[31/557] Compiling SwiftyNotion NotionRequest.swift
[32/557] Compiling SwiftyNotion NotionRichText.swift
[33/557] Compiling SwiftFileStore JSONDataRepresentable.swift
[34/557] Compiling SwiftFileStore MemoryObjectStore.swift
[36/558] Emitting module SWXMLHash
[37/558] Compiling SupabaseStorage TransformOptions.swift
[38/561] Emitting module SwiftFileStore
[39/561] Compiling SwiftFileStore FileObjectStore.swift
[40/561] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[41/561] Compiling SWXMLHash XMLObjectDeserialization.swift
[42/561] Compiling SWXMLHash XMLValueDeserialization.swift
[43/561] Compiling SWXMLHash Bool+XMLDeserialization.swift
[45/561] Compiling URLQueryEncoder URLQueryEncoder.swift
[46/561] Compiling SwiftFileStore PersistenceLog.swift
error: fatalError
/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
^
BUILD FAILURE 5.9 linux