Build Information
Failed to build blindpay-swift, reference main (02cc06), with Swift 6.1 for Wasm on 7 May 2026 18:45:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blindpaylabs/blindpay-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/blindpaylabs/blindpay-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 02cc06d feat: sync SDK with API changes (#30)
Cloned https://github.com/blindpaylabs/blindpay-swift.git
Revision (git rev-parse @):
02cc06d0dad79ea15f58e612a7f306d1cf513a70
SUCCESS checkout https://github.com/blindpaylabs/blindpay-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/blindpaylabs/blindpay-swift.git
https://github.com/blindpaylabs/blindpay-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/48] Compiling BlindPay PayinQuotesService.swift
[5/48] Compiling BlindPay PayinsService.swift
[6/48] Compiling BlindPay PayoutsService.swift
[7/48] Compiling BlindPay QuotesService.swift
[8/48] Compiling BlindPay ReceiversService.swift
[9/53] Compiling BlindPay Upload.swift
[10/53] Compiling BlindPay VirtualAccount.swift
[11/53] Compiling BlindPay WebhookEndpoint.swift
[12/53] Compiling BlindPay ApiKeysService.swift
[13/53] Compiling BlindPay AvailableService.swift
[14/53] Compiling BlindPay BankAccountsService.swift
[15/53] Compiling BlindPay BlockchainWalletsService.swift
[16/53] Compiling BlindPay CustodialWalletsService.swift
[17/53] Compiling BlindPay InstancesService.swift
[18/53] Compiling BlindPay OfframpWalletsService.swift
[19/53] Compiling BlindPay PartnerFeesService.swift
[20/53] Compiling BlindPay TermsOfServiceService.swift
[21/53] Compiling BlindPay UploadService.swift
[22/53] Compiling BlindPay VirtualAccountsService.swift
[23/53] Compiling BlindPay WebhookEndpointsService.swift
[24/53] Compiling BlindPay blindpay_swift.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/53] Emitting module BlindPay
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
[26/53] Compiling BlindPay Available.swift
[27/53] Compiling BlindPay BankAccount.swift
[28/53] Compiling BlindPay BlockchainWallet.swift
[29/53] Compiling BlindPay Common.swift
[30/53] Compiling BlindPay CustodialWallet.swift
[31/53] Compiling BlindPay Fee.swift
[32/53] Compiling BlindPay Quote.swift
[33/53] Compiling BlindPay Receiver.swift
[34/53] Compiling BlindPay ReceiverLimits.swift
[35/53] Compiling BlindPay TermsOfService.swift
[36/53] Compiling BlindPay Transaction.swift
[37/53] Compiling BlindPay Transfer.swift
[38/53] Compiling BlindPay Instance.swift
[39/53] Compiling BlindPay OfframpWallet.swift
[40/53] Compiling BlindPay PartnerFee.swift
[41/53] Compiling BlindPay Payin.swift
[42/53] Compiling BlindPay PayinQuote.swift
[43/53] Compiling BlindPay Payout.swift
[44/53] Compiling BlindPay APIClient.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[45/53] Compiling BlindPay Errors.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[46/53] Compiling BlindPay BlindPay.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[47/53] Compiling BlindPay Configuration.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[48/53] Compiling BlindPay APIResponse.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[49/53] Compiling BlindPay ApiKey.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/46] Compiling BlindPay Available.swift
[3/46] Compiling BlindPay BankAccount.swift
[4/46] Compiling BlindPay BlockchainWallet.swift
[5/46] Compiling BlindPay Common.swift
[6/46] Compiling BlindPay CustodialWallet.swift
[7/46] Compiling BlindPay Fee.swift
[8/51] Compiling BlindPay TermsOfServiceService.swift
[9/51] Compiling BlindPay UploadService.swift
[10/51] Compiling BlindPay VirtualAccountsService.swift
[11/51] Compiling BlindPay WebhookEndpointsService.swift
[12/51] Compiling BlindPay blindpay_swift.swift
[13/51] Compiling BlindPay Quote.swift
[14/51] Compiling BlindPay Receiver.swift
[15/51] Compiling BlindPay ReceiverLimits.swift
[16/51] Compiling BlindPay TermsOfService.swift
[17/51] Compiling BlindPay Transaction.swift
[18/51] Compiling BlindPay Transfer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/51] Emitting module BlindPay
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
[20/51] Compiling BlindPay BlockchainWalletsService.swift
[21/51] Compiling BlindPay CustodialWalletsService.swift
[22/51] Compiling BlindPay InstancesService.swift
[23/51] Compiling BlindPay OfframpWalletsService.swift
[24/51] Compiling BlindPay PartnerFeesService.swift
[25/51] Compiling BlindPay PayinQuotesService.swift
[26/51] Compiling BlindPay PayinsService.swift
[27/51] Compiling BlindPay PayoutsService.swift
[28/51] Compiling BlindPay QuotesService.swift
[29/51] Compiling BlindPay ReceiversService.swift
[30/51] Compiling BlindPay Upload.swift
[31/51] Compiling BlindPay VirtualAccount.swift
[32/51] Compiling BlindPay WebhookEndpoint.swift
[33/51] Compiling BlindPay ApiKeysService.swift
[34/51] Compiling BlindPay AvailableService.swift
[35/51] Compiling BlindPay BankAccountsService.swift
[36/51] Compiling BlindPay Instance.swift
[37/51] Compiling BlindPay OfframpWallet.swift
[38/51] Compiling BlindPay PartnerFee.swift
[39/51] Compiling BlindPay Payin.swift
[40/51] Compiling BlindPay PayinQuote.swift
[41/51] Compiling BlindPay Payout.swift
[42/51] Compiling BlindPay APIClient.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[43/51] Compiling BlindPay Errors.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[44/51] Compiling BlindPay BlindPay.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[45/51] Compiling BlindPay Configuration.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[46/51] Compiling BlindPay APIResponse.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
[47/51] Compiling BlindPay ApiKey.swift
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:19:17: warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
17 | private let instanceId: String
18 | private let configuration: Configuration
19 | private let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming class 'APIClient' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
20 |
21 | init(apiKey: String, instanceId: String, configuration: Configuration) {
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:26:60: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
24 | self.configuration = configuration
25 |
26 | let sessionConfiguration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | sessionConfiguration.httpAdditionalHeaders = [
28 | "Content-Type": "application/json",
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:33:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 | ]
32 |
33 | self.session = URLSession(configuration: sessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
34 | }
35 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:56:23: error: cannot find 'URLRequest' in scope
54 | }
55 |
56 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
57 | request.httpMethod = method.rawValue
58 |
/host/spi-builder-workspace/Sources/BlindPay/API/APIClient.swift:63:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
61 | }
62 |
63 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
64 |
65 | guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.1 wasm