Build Information
Failed to build langchain-swift, reference main (d1b5be
), with Swift 5.9 for Linux on 6 Jul 2024 18:48:15 UTC.
Build Command
bash -c docker run --pull=always --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.45.2
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 d1b5bee Merge pull request #119 from rhx/main
Cloned https://github.com/buhe/langchain-swift.git
Revision (git rev-parse @):
d1b5beee99f7c15d25a671cec20cafd0f2f17da4
SUCCESS checkout https://github.com/buhe/langchain-swift.git at main
========================================
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 --pull=always --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
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:bf2706fb3ad57f47449cad6c85f40e5d27f055fda5f2d8da4d3c25f3a5524d1a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/nmdias/FeedKit
Fetching https://github.com/apple/swift-nio.git
[1/2105] Fetching swift-nio-transport-services
[296/7341] Fetching swift-nio-transport-services, feedkit
[7342/73418] Fetching swift-nio-transport-services, feedkit, swift-nio
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetched https://github.com/apple/swift-nio-transport-services.git (4.62s)
Fetched https://github.com/nmdias/FeedKit (4.62s)
Fetching https://github.com/supabase-community/realtime-swift.git
Fetched https://github.com/apple/swift-nio.git (4.71s)
Fetching https://github.com/kean/Get
[1/4391] Fetching keychainaccess
[177/4768] Fetching keychainaccess, realtime-swift
[1081/7097] Fetching keychainaccess, realtime-swift, get
Fetched https://github.com/supabase-community/realtime-swift.git (0.25s)
Fetching https://github.com/apple/swift-nio-extras.git
[3039/6720] Fetching keychainaccess, get
Fetched https://github.com/kean/Get (0.31s)
Fetching https://github.com/apple/swift-nio-http2.git
[4304/4391] Fetching keychainaccess
[4392/9232] Fetching keychainaccess, swift-nio-extras
Fetched https://github.com/kishikawakatsumi/KeychainAccess (0.58s)
Fetching https://github.com/supabase-community/postgrest-swift
Fetched https://github.com/apple/swift-nio-extras.git (0.37s)
Fetching https://github.com/kean/URLQueryEncoder
[1/1314] Fetching postgrest-swift
[1276/11734] Fetching postgrest-swift, swift-nio-http2
[1628/11862] Fetching postgrest-swift, swift-nio-http2, urlqueryencoder
Fetched https://github.com/kean/URLQueryEncoder (0.18s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetched https://github.com/supabase-community/postgrest-swift (0.22s)
Fetching https://github.com/apple/swift-log.git
[1563/10420] Fetching swift-nio-http2
[3127/16506] Fetching swift-nio-http2, swiftyjson
[10123/20031] Fetching swift-nio-http2, swiftyjson, swift-log
Fetched https://github.com/apple/swift-log.git (0.50s)
Fetching https://github.com/buhe/openai-kit
Fetched https://github.com/SwiftyJSON/SwiftyJSON (0.50s)
Fetching https://github.com/apple/swift-atomics.git
[1/428] Fetching openai-kit
[429/1997] Fetching openai-kit, swift-atomics
Fetched https://github.com/buhe/openai-kit (0.32s)
Fetching https://github.com/apple/swift-collections.git
[393/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-nio-http2.git (1.29s)
Fetching https://github.com/apple/swift-http-types
Fetched https://github.com/apple/swift-atomics.git (0.50s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/452] Fetching swift-http-types
[453/14914] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types (0.31s)
Fetching https://github.com/buhe/similarity-search-kit
[868/14462] Fetching swift-collections
[4195/26762] Fetching swift-collections, swift-nio-ssl
[5917/27256] Fetching swift-collections, swift-nio-ssl, similarity-search-kit
Fetched https://github.com/apple/swift-collections.git (1.35s)
Fetching https://github.com/supabase-community/storage-swift.git
[12469/13194] Fetching swift-nio-ssl, similarity-search-kit, storage-swift
Fetched https://github.com/supabase-community/storage-swift.git (0.28s)
Fetching https://github.com/google/generative-ai-swift
Fetched https://github.com/apple/swift-nio-ssl.git (1.53s)
Fetching https://github.com/supabase-community/supabase-swift
[172/3146] Fetching similarity-search-kit, generative-ai-swift
[2824/11710] Fetching similarity-search-kit, generative-ai-swift, supabase-swift
Fetched https://github.com/google/generative-ai-swift (0.35s)
Fetching https://github.com/juyan/swift-filestore
[771/9058] Fetching similarity-search-kit, supabase-swift
[8736/9256] Fetching similarity-search-kit, supabase-swift, swift-filestore
Fetched https://github.com/supabase-community/supabase-swift (0.48s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/juyan/swift-filestore (0.22s)
Fetching https://github.com/apple/swift-numerics.git
[172/6018] Fetching similarity-search-kit, swift-numerics
[5365/18861] Fetching similarity-search-kit, swift-numerics, async-http-client
Fetched https://github.com/apple/swift-numerics.git (0.43s)
Fetching https://github.com/scinfu/SwiftSoup
[9554/13337] Fetching similarity-search-kit, async-http-client
[13022/16399] Fetching similarity-search-kit, async-http-client, swiftsoup
Fetched https://github.com/swift-server/async-http-client.git (0.89s)
Fetching https://github.com/binaryscraping/GetExtensions
Fetched https://github.com/scinfu/SwiftSoup (0.46s)
Fetching https://github.com/apple/swift-system.git
[179/527] Fetching similarity-search-kit, getextensions
Fetched https://github.com/binaryscraping/GetExtensions (0.19s)
Fetching https://github.com/supabase-community/gotrue-swift
[179/4074] Fetching similarity-search-kit, swift-system
[3079/6070] Fetching similarity-search-kit, swift-system, gotrue-swift
Fetched https://github.com/apple/swift-system.git (0.45s)
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/supabase-community/gotrue-swift (0.27s)
Fetching https://github.com/buhe/SwiftyNotion
[178/494] Fetching similarity-search-kit
[179/691] Fetching similarity-search-kit, swiftynotion
Fetched https://github.com/buhe/SwiftyNotion (0.23s)
Fetching https://github.com/drmohundro/SWXMLHash
[179/5741] Fetching similarity-search-kit, swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.43s)
Fetching https://github.com/supabase-community/functions-swift
[184/3264] Fetching similarity-search-kit, swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash (0.34s)
[184/660] Fetching similarity-search-kit, functions-swift
Fetched https://github.com/supabase-community/functions-swift (0.20s)
[186/494] Fetching similarity-search-kit
Fetched https://github.com/buhe/similarity-search-kit (8.80s)
Computing version for https://github.com/nmdias/FeedKit
Computed https://github.com/nmdias/FeedKit at 9.1.2 (1.19s)
Computing version for https://github.com/buhe/SwiftyNotion
Computed https://github.com/buhe/SwiftyNotion at 0.1.5 (0.38s)
Computing version for https://github.com/google/generative-ai-swift
Computed https://github.com/google/generative-ai-swift at 0.4.4 (0.33s)
Computing version for https://github.com/buhe/similarity-search-kit
Computed https://github.com/buhe/similarity-search-kit at 0.0.16 (0.39s)
Computing version for https://github.com/juyan/swift-filestore
Computed https://github.com/juyan/swift-filestore at 0.5.0 (0.38s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.6.1 (0.36s)
Computing version for https://github.com/drmohundro/SWXMLHash
Computed https://github.com/drmohundro/SWXMLHash at 7.0.2 (4.73s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.1 (0.38s)
Computing version for https://github.com/supabase-community/supabase-swift
Computed https://github.com/supabase-community/supabase-swift at 0.2.1 (0.79s)
Computing version for https://github.com/buhe/openai-kit
Computed https://github.com/buhe/openai-kit at 1.8.5 (0.46s)
Computing version for https://github.com/supabase-community/functions-swift
Computed https://github.com/supabase-community/functions-swift at 1.0.0 (0.99s)
Computing version for https://github.com/supabase-community/postgrest-swift
Computed https://github.com/supabase-community/postgrest-swift at 1.0.0 (0.41s)
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.98s)
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.50s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (0.53s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.77s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.75s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.62s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.56s)
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.59s)
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.62s)
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.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (1.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.63.0 (0.60s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.43s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.0.3 (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.59s)
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/buhe/SwiftyNotion
Working copy of https://github.com/buhe/SwiftyNotion resolved at 0.1.5
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/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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.63.0
Creating working copy for https://github.com/buhe/similarity-search-kit
Working copy of https://github.com/buhe/similarity-search-kit resolved at 0.0.16
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms 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.26.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.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/nmdias/FeedKit
Working copy of https://github.com/nmdias/FeedKit resolved at 9.1.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.3
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/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/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.6.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.5.4
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/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-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/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/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/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/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/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/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.6
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.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
[1/457] Compiling CNIOLinux liburing_shims.c
[1/457] Compiling CNIODarwin shim.c
[3/457] Compiling CNIOWindows shim.c
[4/457] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[5/457] Compiling _NumericsShims _NumericsShims.c
[6/457] Compiling _AtomicsShims.c
[7/457] Compiling CNIOExtrasZlib empty.c
[8/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.
[9/457] Compiling CNIOLinux shim.c
[10/457] Compiling fiat_p256_adx_sqr.S
[11/457] Compiling CNIOLLHTTP c_nio_api.c
[12/457] Compiling fiat_p256_adx_mul.S
[13/457] Compiling fiat_curve25519_adx_mul.S
[14/457] Compiling fiat_curve25519_adx_square.S
[15/461] Compiling CNIOLLHTTP c_nio_llhttp.c
[16/461] Compiling CNIOBoringSSLShims shims.c
[18/480] Emitting module _NIODataStructures
[18/480] Compiling tls13_server.cc
[19/482] Compiling tls13_client.cc
[20/482] Compiling tls_method.cc
[21/491] Compiling tls_record.cc
[22/493] Compiling tls13_enc.cc
[24/553] Emitting module URLQueryEncoder
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/553] 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 {
^~~~~~~~~~
[26/554] Emitting module SwiftyJSON
[27/554] Emitting module _CollectionsUtilities
[28/556] Compiling SwiftSoup ArrayExt.swift
[29/556] Compiling SwiftSoup Attribute.swift
[30/556] Compiling SwiftSoup Attributes.swift
[31/556] Compiling SwiftSoup BinarySearch.swift
[32/556] Compiling SwiftSoup BooleanAttribute.swift
[33/556] Compiling SwiftSoup CharacterExt.swift
[34/556] Compiling SwiftSoup CharacterReader.swift
[35/556] Compiling SwiftSoup Cleaner.swift
[36/556] Compiling SwiftSoup DocumentType.swift
[37/556] Compiling SwiftSoup Element.swift
[38/556] Compiling SwiftSoup Elements.swift
[39/556] Compiling SwiftSoup Entities.swift
[40/556] Compiling SwiftSoup FormElement.swift
[41/556] Compiling SwiftSoup HtmlTreeBuilder.swift
[42/556] Compiling SwiftSoup Evaluator.swift
[43/556] Compiling SwiftSoup Exception.swift
[44/556] Emitting module _NIOBase64
[45/556] Compiling _NIOBase64 Base64.swift
[47/558] Compiling _NIODataStructures _TinyArray.swift
[48/558] Compiling _NIODataStructures PriorityQueue.swift
[50/558] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[51/558] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/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)
^~~~~~~~~~
[55/599] Compiling SWXMLHash String+Extensions.swift
[56/599] Compiling SWXMLHash TextElement.swift
[57/599] Compiling SWXMLHash XMLAttribute.swift
[58/599] Compiling SWXMLHash XMLContent.swift
[59/599] Compiling SWXMLHash XMLElement.swift
[60/599] Compiling SWXMLHash XMLHash.swift
[61/599] 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
^
[62/599] Compiling SwiftFileStore Observer.swift
[63/603] Emitting module SWXMLHash
[64/603] Compiling SwiftyNotion NotionDatabase.swift
[65/603] 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)
~~~~~~~~~~ ^~~~~~
[66/603] Compiling SWXMLHash IndexOp.swift
[67/603] Compiling SWXMLHash LazyXMLParser.swift
[68/603] Compiling SWXMLHash Stack.swift
[69/603] Compiling SwiftFileStore ObjectStore.swift
[70/603] 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
~~~~~~~~~~ ^~~~~~
/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
~~~~~~~~~~ ^~~~~~
error: fatalError
[72/603] Compiling SWXMLHash XMLAttributeDeserializable.swift
[73/603] Compiling SWXMLHash XMLElementDeserializable.swift
[74/603] Compiling SwiftFileStore ObjectStore+Expiry.swift
[75/603] Compiling SwiftyNotion NotionRequest.swift
[76/603] Compiling SwiftFileStore JSONDataRepresentable.swift
[77/603] Compiling SwiftSoup SerializationException.swift
[78/603] Compiling SwiftSoup SimpleDictionary.swift
[79/603] Compiling SwiftSoup StreamReader.swift
[80/603] Compiling SwiftSoup String.swift
[81/603] Compiling SwiftSoup StringBuilder.swift
[82/603] Compiling SwiftSoup StringUtil.swift
[83/603] Compiling SwiftSoup StructuralEvaluator.swift
[84/603] Emitting module SwiftSoup
BUILD FAILURE 5.9 linux