Build Information
Failed to build ZohoBooksClient, reference main (24cef4), with Swift 6.2 for Linux on 9 Feb 2026 22:49:37 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/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emotiveapps/ZohoBooksClient.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/emotiveapps/ZohoBooksClient
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 24cef43 paidThroughAccountId is optional
Cloned https://github.com/emotiveapps/ZohoBooksClient.git
Revision (git rev-parse @):
24cef43b93b59aaaad437a49faf7f5ba821ad04d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/emotiveapps/ZohoBooksClient.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/emotiveapps/ZohoBooksClient.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/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ChimeHQ/OAuthenticator
Fetching https://github.com/emotiveapps/MimeTypeEnum
[1/1110] Fetching oauthenticator
[1111/1156] Fetching oauthenticator, mimetypeenum
Fetched https://github.com/ChimeHQ/OAuthenticator from cache (0.34s)
Fetched https://github.com/emotiveapps/MimeTypeEnum from cache (0.34s)
Computing version for https://github.com/emotiveapps/MimeTypeEnum
Computed https://github.com/emotiveapps/MimeTypeEnum at 1.0.2 (0.73s)
Computing version for https://github.com/ChimeHQ/OAuthenticator
Computed https://github.com/ChimeHQ/OAuthenticator at 0.7.2 (0.95s)
Creating working copy for https://github.com/emotiveapps/MimeTypeEnum
Working copy of https://github.com/emotiveapps/MimeTypeEnum resolved at 1.0.2
Creating working copy for https://github.com/ChimeHQ/OAuthenticator
Working copy of https://github.com/ChimeHQ/OAuthenticator resolved at 0.7.2
Building for debugging...
[0/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/23] Compiling OAuthenticator URLSession+ResponseProvider.swift
[7/23] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
[8/25] Compiling OAuthenticator GitHub.swift
[9/25] Compiling OAuthenticator GoogleAPI.swift
[10/25] Compiling OAuthenticator Mastodon.swift
[11/25] Compiling OAuthenticator URL+QueryParams.swift
[12/25] Emitting module OAuthenticator
[13/25] Compiling OAuthenticator PKCE.swift
[14/25] Compiling OAuthenticator Bluesky.swift
[15/25] Compiling OAuthenticator Data+Base64URLEncode.swift
[16/25] Compiling OAuthenticator Models.swift
[17/25] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
[18/25] Compiling OAuthenticator Authenticator.swift
[19/25] Compiling OAuthenticator CredentialWindowProvider.swift
[20/25] Compiling OAuthenticator DPoPKey.swift
[21/25] Compiling OAuthenticator DPoPSigner.swift
[22/25] Emitting module MimeTypeEnum
[23/25] Compiling MimeTypeEnum MimeType.swift
[25/26] Compiling OAuthenticator WellknownEndpoints.swift
[26/26] Compiling OAuthenticator resource_bundle_accessor.swift
[28/42] Compiling ZohoBooksClient ZohoError.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:70:19: error: cannot find 'URLRequest' in scope
68 | }
69 |
70 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
71 | request.httpMethod = "POST"
72 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:74:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
73 |
74 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
75 |
76 | guard let httpResponse = response as? HTTPURLResponse else {
[29/42] Compiling ZohoBooksClient ZohoOAuth.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:70:19: error: cannot find 'URLRequest' in scope
68 | }
69 |
70 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
71 | request.httpMethod = "POST"
72 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:74:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
73 |
74 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
75 |
76 | guard let httpResponse = response as? HTTPURLResponse else {
[30/43] Compiling ZohoBooksClient ZohoOAuthenticator.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:149:49: error: cannot find type 'URLRequest' in scope
147 | /// Make an authenticated request using OAuthenticator
148 | /// This is the primary way to make API calls - OAuthenticator handles auth automatically
149 | public func authenticatedRequest(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
150 | let (data, response) = try await authenticator.response(for: request)
151 |
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:149:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 | /// Make an authenticated request using OAuthenticator
148 | /// This is the primary way to make API calls - OAuthenticator handles auth automatically
149 | public func authenticatedRequest(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
150 | let (data, response) = try await authenticator.response(for: request)
151 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:60:23: error: cannot find 'URLRequest' in scope
58 | }
59 |
60 | var request = URLRequest(url: config.tokenURL)
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:95:23: error: cannot find 'URLRequest' in scope
93 | ]
94 |
95 | var request = URLRequest(url: components.url!)
| `- error: cannot find 'URLRequest' in scope
96 | request.httpMethod = "POST"
97 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:119:35: error: missing argument for parameter 'userAuthenticator' in call
117 | appCredentials: appCredentials,
118 | loginStorage: loginStorage,
119 | tokenHandling: tokenHandling
| `- error: missing argument for parameter 'userAuthenticator' in call
120 | )
121 |
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:101:10: note: 'init(appCredentials:loginStorage:tokenHandling:mode:userAuthenticator:authenticationStatusHandler:)' declared here
99 | #endif
100 |
101 | public init(
| `- note: 'init(appCredentials:loginStorage:tokenHandling:mode:userAuthenticator:authenticationStatusHandler:)' declared here
102 | appCredentials: AppCredentials,
103 | loginStorage: LoginStorage? = nil,
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:139:24: error: cannot find 'URLRequest' in scope
137 | // Make a request to trigger token refresh
138 | let urlString = "https://www.zohoapis.\(config.region.rawValue)/books/v3/contacts"
139 | let dummyRequest = URLRequest(url: URL(string: urlString)!)
| `- error: cannot find 'URLRequest' in scope
140 | _ = try await authenticator.response(for: dummyRequest)
141 |
[31/43] Compiling ZohoBooksClient ZBTax.swift
[32/43] Compiling ZohoBooksClient OAuthProviding.swift
[33/43] Compiling ZohoBooksClient ZohoBooksClient.swift
[34/43] Compiling ZohoBooksClient ZohoConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/43] Compiling ZohoBooksClient ZBItem.swift
[36/43] Compiling ZohoBooksClient ZBPayment.swift
[37/43] Compiling ZohoBooksClient ZBBankTransaction.swift
[38/43] Compiling ZohoBooksClient ZBContact.swift
[39/43] Compiling ZohoBooksClient ZBExpense.swift
[40/43] Compiling ZohoBooksClient ZBInvoice.swift
[41/43] Emitting module ZohoBooksClient
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:149:49: error: cannot find type 'URLRequest' in scope
147 | /// Make an authenticated request using OAuthenticator
148 | /// This is the primary way to make API calls - OAuthenticator handles auth automatically
149 | public func authenticatedRequest(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
150 | let (data, response) = try await authenticator.response(for: request)
151 |
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:149:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 | /// Make an authenticated request using OAuthenticator
148 | /// This is the primary way to make API calls - OAuthenticator handles auth automatically
149 | public func authenticatedRequest(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
150 | let (data, response) = try await authenticator.response(for: request)
151 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:60:23: error: cannot find 'URLRequest' in scope
58 | }
59 |
60 | var request = URLRequest(url: config.tokenURL)
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:95:23: error: cannot find 'URLRequest' in scope
93 | ]
94 |
95 | var request = URLRequest(url: components.url!)
| `- error: cannot find 'URLRequest' in scope
96 | request.httpMethod = "POST"
97 | request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuthenticator.swift:119:35: error: missing argument for parameter 'userAuthenticator' in call
117 | appCredentials: appCredentials,
118 | loginStorage: loginStorage,
119 | tokenHandling: tokenHandling
| `- error: missing argument for parameter 'userAuthenticator' in call
120 | )
121 |
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:101:10: note: 'init(appCredentials:loginStorage:tokenHandling:mode:userAuthenticator:authenticationStatusHandler:)' declared here
99 | #endif
100 |
101 | public init(
| `- note: 'init(appCredentials:loginStorage:tokenHandling:mode:userAuthenticator:authenticationStatusHandler:)' declared here
102 | appCredentials: AppCredentials,
103 | loginStorage: LoginStorage? = nil,
[42/43] Compiling ZohoBooksClient HttpService.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:101:19: error: cannot find 'URLRequest' in scope
99 | }
100 |
101 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
102 | request.httpMethod = method
103 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:123:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
121 | }
122 |
123 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
124 |
125 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:256:19: error: cannot find 'URLRequest' in scope
254 |
255 | let boundary = "Boundary-\(UUID().uuidString)"
256 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
257 | request.httpMethod = "POST"
258 | request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:290:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
288 | }
289 |
290 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
291 |
292 | guard let httpResponse = response as? HTTPURLResponse else {
[43/43] Compiling ZohoBooksClient ZBAccount.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:101:19: error: cannot find 'URLRequest' in scope
99 | }
100 |
101 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
102 | request.httpMethod = method
103 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:123:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
121 | }
122 |
123 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
124 |
125 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:256:19: error: cannot find 'URLRequest' in scope
254 |
255 | let boundary = "Boundary-\(UUID().uuidString)"
256 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
257 | request.httpMethod = "POST"
258 | request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:290:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
288 | }
289 |
290 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
291 |
292 | guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.2 linux