Build Information
Failed to build PostgREST, reference master (7ab9a3
), with Swift 6.1 for Linux on 28 Apr 2025 00:12:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/postgrest-swift.git
Reference: master
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/supabase-community/postgrest-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7ab9a30 Update README.md
Cloned https://github.com/supabase-community/postgrest-swift.git
Revision (git rev-parse @):
7ab9a30af9ca6235c6b4131774f0c5ee370716e5
SUCCESS checkout https://github.com/supabase-community/postgrest-swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/supabase-community/postgrest-swift.git
https://github.com/supabase-community/postgrest-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "get",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kean/Get"
},
{
"identity" : "getextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/binaryscraping/GetExtensions"
}
],
"manifest_display_name" : "PostgREST",
"name" : "PostgREST",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PostgREST",
"targets" : [
"PostgREST"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PostgRESTTests",
"module_type" : "SwiftTarget",
"name" : "PostgRESTTests",
"path" : "Tests/PostgRESTTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"BuildURLRequestTests.swift",
"URLQueryRepresentableTests.swift"
],
"target_dependencies" : [
"PostgREST"
],
"type" : "test"
},
{
"c99name" : "PostgRESTIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "PostgRESTIntegrationTests",
"path" : "Tests/PostgRESTIntegrationTests",
"sources" : [
"IntegrationTests.swift"
],
"target_dependencies" : [
"PostgREST"
],
"type" : "test"
},
{
"c99name" : "PostgREST",
"module_type" : "SwiftTarget",
"name" : "PostgREST",
"path" : "Sources/PostgREST",
"product_dependencies" : [
"Get",
"GetExtensions"
],
"product_memberships" : [
"PostgREST"
],
"sources" : [
"CountOption.swift",
"PostgrestBuilder.swift",
"PostgrestClient.swift",
"PostgrestError.swift",
"PostgrestFilterBuilder.swift",
"PostgrestQueryBuilder.swift",
"PostgrestResponse.swift",
"PostgrestReturningOptions.swift",
"PostgrestRpcBuilder.swift",
"PostgrestTransformBuilder.swift",
"TextSearchType.swift",
"URLQueryRepresentable.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/binaryscraping/GetExtensions
Fetching https://github.com/kean/Get
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/33] Fetching getextensions
[34/2382] Fetching getextensions, get
Fetched https://github.com/binaryscraping/GetExtensions from cache (0.27s)
Fetched https://github.com/kean/Get from cache (0.28s)
[1/13159] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.78s)
Computing version for https://github.com/binaryscraping/GetExtensions
Computed https://github.com/binaryscraping/GetExtensions at 1.0.0 (2.25s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.51s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.46s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/74814] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (5.47s)
Fetched https://github.com/swiftlang/swift-syntax from cache (5.52s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.09s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.45s)
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/binaryscraping/GetExtensions
Working copy of https://github.com/binaryscraping/GetExtensions resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling Get APIClient.swift
[6/10] Compiling Get Response.swift
[7/10] Compiling Get Request.swift
[8/10] Compiling Get APIClientDelegate.swift
[9/10] Emitting module Get
[10/10] Compiling Get DataLoader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module GetExtensions
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
10 | }
11 |
12 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
13 | for delegate in delegates {
14 | try await delegate.client(client, willSendRequest: &request)
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public func client(
19 | _ client: APIClient,
20 | shouldRetry task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | error: Error,
22 | attempts: Int
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public func client(
33 | _ client: APIClient,
34 | validateResponse response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | data: Data,
36 | task: URLSessionTask
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | validateResponse response: HTTPURLResponse,
35 | data: Data,
36 | task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | ) throws {
38 | for delegate in delegates {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
[13/13] Compiling GetExtensions MultiAPIClientDelegate.swift
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
10 | }
11 |
12 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
13 | for delegate in delegates {
14 | try await delegate.client(client, willSendRequest: &request)
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public func client(
19 | _ client: APIClient,
20 | shouldRetry task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | error: Error,
22 | attempts: Int
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public func client(
33 | _ client: APIClient,
34 | validateResponse response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | data: Data,
36 | task: URLSessionTask
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | validateResponse response: HTTPURLResponse,
35 | data: Data,
36 | task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | ) throws {
38 | for delegate in delegates {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
23 | ) async throws -> Bool {
24 | for delegate in delegates {
25 | if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
26 | return true
27 | }
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:39:20: error: no exact matches in call to instance method 'client'
37 | ) throws {
38 | for delegate in delegates {
39 | try delegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
40 | }
41 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Get Response.swift
[3/7] Compiling Get Request.swift
[4/7] Emitting module Get
[5/7] Compiling Get APIClient.swift
[6/7] Compiling Get APIClientDelegate.swift
[7/7] Compiling Get DataLoader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module GetExtensions
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
10 | }
11 |
12 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
13 | for delegate in delegates {
14 | try await delegate.client(client, willSendRequest: &request)
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public func client(
19 | _ client: APIClient,
20 | shouldRetry task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | error: Error,
22 | attempts: Int
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public func client(
33 | _ client: APIClient,
34 | validateResponse response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | data: Data,
36 | task: URLSessionTask
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | validateResponse response: HTTPURLResponse,
35 | data: Data,
36 | task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | ) throws {
38 | for delegate in delegates {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
[10/10] Compiling GetExtensions MultiAPIClientDelegate.swift
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:12:74: error: cannot find type 'URLRequest' in scope
10 | }
11 |
12 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
13 | for delegate in delegates {
14 | try await delegate.client(client, willSendRequest: &request)
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:20:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public func client(
19 | _ client: APIClient,
20 | shouldRetry task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | error: Error,
22 | attempts: Int
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:34:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | public func client(
33 | _ client: APIClient,
34 | validateResponse response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | data: Data,
36 | task: URLSessionTask
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:36:11: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | validateResponse response: HTTPURLResponse,
35 | data: Data,
36 | task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | ) throws {
38 | for delegate in delegates {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:25:57: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
23 | ) async throws -> Bool {
24 | for delegate in delegates {
25 | if try await delegate.client(client, shouldRetry: task, error: error, attempts: attempts) {
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
26 | return true
27 | }
/host/spi-builder-workspace/.build/checkouts/GetExtensions/Sources/GetExtensions/MultiAPIClientDelegate.swift:39:20: error: no exact matches in call to instance method 'client'
37 | ) throws {
38 | for delegate in delegates {
39 | try delegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
40 | }
41 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
BUILD FAILURE 6.1 linux