Build Information
Failed to build blindpay-swift, reference main (02cc06), with Swift 6.2 for Wasm on 7 May 2026 18:40:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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.2
Building package at path: $PWD
https://github.com/blindpaylabs/blindpay-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/48] 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) {
[5/53] Compiling BlindPay PayinQuotesService.swift
[6/53] Compiling BlindPay PayinsService.swift
[7/53] Compiling BlindPay PayoutsService.swift
[8/53] Compiling BlindPay QuotesService.swift
[9/53] Compiling BlindPay ReceiversService.swift
[10/53] Compiling BlindPay TermsOfServiceService.swift
[11/53] Compiling BlindPay UploadService.swift
[12/53] Compiling BlindPay VirtualAccountsService.swift
[13/53] Compiling BlindPay WebhookEndpointsService.swift
[14/53] Compiling BlindPay blindpay_swift.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 Available.swift
[21/53] Compiling BlindPay BankAccount.swift
[22/53] Compiling BlindPay BlockchainWallet.swift
[23/53] Compiling BlindPay Common.swift
[24/53] Compiling BlindPay CustodialWallet.swift
[25/53] Compiling BlindPay Fee.swift
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/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 {
[31/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 {
[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 Upload.swift
[39/53] Compiling BlindPay VirtualAccount.swift
[40/53] Compiling BlindPay WebhookEndpoint.swift
[41/53] Compiling BlindPay ApiKeysService.swift
[42/53] Compiling BlindPay AvailableService.swift
[43/53] Compiling BlindPay BankAccountsService.swift
[44/53] Compiling BlindPay Instance.swift
[45/53] Compiling BlindPay OfframpWallet.swift
[46/53] Compiling BlindPay PartnerFee.swift
[47/53] Compiling BlindPay Payin.swift
[48/53] Compiling BlindPay PayinQuote.swift
[49/53] Compiling BlindPay Payout.swift
BUILD FAILURE 6.2 wasm