The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZohoBooksClient, reference main (cab7c3), with Swift 6.1 for Linux on 18 Aug 2026 14:37:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
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 cab7c31 Card-payment categorization and transaction matching
Cloned https://github.com/emotiveapps/ZohoBooksClient.git
Revision (git rev-parse @):
cab7c31b36db70b50750f9b3cde86aa32ee56436
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/emotiveapps/ZohoBooksClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/emotiveapps/ZohoBooksClient.git
https://github.com/emotiveapps/ZohoBooksClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/ChimeHQ/OAuthenticator
Fetching https://github.com/emotiveapps/MimeTypeEnum
[1/46] Fetching mimetypeenum
Fetched https://github.com/emotiveapps/MimeTypeEnum from cache (0.41s)
[1/1274] Fetching oauthenticator
Fetched https://github.com/ChimeHQ/OAuthenticator from cache (0.49s)
Computing version for https://github.com/emotiveapps/MimeTypeEnum
Computed https://github.com/emotiveapps/MimeTypeEnum at 1.0.2 (0.72s)
Computing version for https://github.com/ChimeHQ/OAuthenticator
Computed https://github.com/ChimeHQ/OAuthenticator at 0.7.2 (0.22s)
Creating working copy for https://github.com/ChimeHQ/OAuthenticator
Working copy of https://github.com/ChimeHQ/OAuthenticator resolved at 0.7.2
Creating working copy for https://github.com/emotiveapps/MimeTypeEnum
Working copy of https://github.com/emotiveapps/MimeTypeEnum resolved at 1.0.2
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/23] Compiling MimeTypeEnum MimeType.swift
[7/23] Emitting module MimeTypeEnum
[8/24] Compiling OAuthenticator DPoPKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/24] Compiling OAuthenticator DPoPSigner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/26] Compiling OAuthenticator URLSession+ResponseProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/26] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/26] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/26] Compiling OAuthenticator Authenticator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/26] Compiling OAuthenticator CredentialWindowProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/26] Compiling OAuthenticator Data+Base64URLEncode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/26] Compiling OAuthenticator Models.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/26] Compiling OAuthenticator PKCE.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/26] Compiling OAuthenticator Bluesky.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/26] Emitting module OAuthenticator
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/26] Compiling OAuthenticator GitHub.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/26] Compiling OAuthenticator GoogleAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/26] Compiling OAuthenticator Mastodon.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/26] Compiling OAuthenticator URL+QueryParams.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/26] Compiling OAuthenticator WellknownEndpoints.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/26] Compiling OAuthenticator resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/42] Compiling ZohoBooksClient ZohoConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/42] Compiling ZohoBooksClient ZohoError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/44] Compiling ZohoBooksClient ZohoOAuth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:72:19: error: cannot find 'URLRequest' in scope
 70 |     ]
 71 |
 72 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 73 |     request.httpMethod = "POST"
 74 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:77:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |     request.httpBody = Data((bodyComponents.percentEncodedQuery ?? "").utf8)
 76 |
 77 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 78 |
 79 |     guard let httpResponse = response as? HTTPURLResponse else {
/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/44] Compiling ZohoBooksClient ZohoOAuthenticator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:72:19: error: cannot find 'URLRequest' in scope
 70 |     ]
 71 |
 72 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 73 |     request.httpMethod = "POST"
 74 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:77:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |     request.httpBody = Data((bodyComponents.percentEncodedQuery ?? "").utf8)
 76 |
 77 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 78 |
 79 |     guard let httpResponse = response as? HTTPURLResponse else {
/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 |
[32/44] Compiling ZohoBooksClient ZBPayment.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/44] Compiling ZohoBooksClient ZBTax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/44] Compiling ZohoBooksClient OAuthProviding.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/44] Compiling ZohoBooksClient ZohoBooksClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/44] Compiling ZohoBooksClient ZBItem.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/44] Compiling ZohoBooksClient ZBPagedResponse.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/44] Compiling ZohoBooksClient ZBExpense.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/44] Compiling ZohoBooksClient ZBInvoice.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/44] Compiling ZohoBooksClient ZBBankTransaction.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/44] Compiling ZohoBooksClient ZBContact.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/44] Emitting module ZohoBooksClient
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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,
[43/44] Compiling ZohoBooksClient HttpService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:102:19: error: cannot find 'URLRequest' in scope
100 |     }
101 |
102 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
103 |     request.httpMethod = method
104 |     request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:124:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
122 |     }
123 |
124 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |
126 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:264:19: error: cannot find 'URLRequest' in scope
262 |
263 |     let boundary = "Boundary-\(UUID().uuidString)"
264 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
265 |     request.httpMethod = "POST"
266 |     request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:298:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
296 |     }
297 |
298 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
299 |
300 |     guard let httpResponse = response as? HTTPURLResponse else {
[44/44] Compiling ZohoBooksClient ZBAccount.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:102:19: error: cannot find 'URLRequest' in scope
100 |     }
101 |
102 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
103 |     request.httpMethod = method
104 |     request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:124:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
122 |     }
123 |
124 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |
126 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:264:19: error: cannot find 'URLRequest' in scope
262 |
263 |     let boundary = "Boundary-\(UUID().uuidString)"
264 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
265 |     request.httpMethod = "POST"
266 |     request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:298:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
296 |     }
297 |
298 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
299 |
300 |     guard let httpResponse = response as? HTTPURLResponse else {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling OAuthenticator URLSession+ResponseProvider.swift
[3/19] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
[4/21] Emitting module OAuthenticator
[5/21] Compiling MimeTypeEnum MimeType.swift
[6/21] Emitting module MimeTypeEnum
[8/22] Compiling OAuthenticator Mastodon.swift
[9/22] Compiling OAuthenticator URL+QueryParams.swift
[10/22] Compiling OAuthenticator Data+Base64URLEncode.swift
[11/22] Compiling OAuthenticator Models.swift
[12/22] Compiling OAuthenticator WellknownEndpoints.swift
[13/22] Compiling OAuthenticator resource_bundle_accessor.swift
[14/22] Compiling OAuthenticator PKCE.swift
[15/22] Compiling OAuthenticator Bluesky.swift
[16/22] Compiling OAuthenticator GitHub.swift
[17/22] Compiling OAuthenticator GoogleAPI.swift
[18/22] Compiling OAuthenticator DPoPKey.swift
[19/22] Compiling OAuthenticator DPoPSigner.swift
[20/22] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
[21/22] Compiling OAuthenticator Authenticator.swift
[22/22] Compiling OAuthenticator CredentialWindowProvider.swift
[24/38] Compiling ZohoBooksClient ZohoConfig.swift
[25/38] Compiling ZohoBooksClient ZohoError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/40] 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,
[27/40] Compiling ZohoBooksClient ZohoOAuth.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:72:19: error: cannot find 'URLRequest' in scope
 70 |     ]
 71 |
 72 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 73 |     request.httpMethod = "POST"
 74 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:77:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |     request.httpBody = Data((bodyComponents.percentEncodedQuery ?? "").utf8)
 76 |
 77 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 78 |
 79 |     guard let httpResponse = response as? HTTPURLResponse else {
/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 |
[28/40] Compiling ZohoBooksClient ZohoOAuthenticator.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:72:19: error: cannot find 'URLRequest' in scope
 70 |     ]
 71 |
 72 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 73 |     request.httpMethod = "POST"
 74 |     request.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/ZohoOAuth.swift:77:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |     request.httpBody = Data((bodyComponents.percentEncodedQuery ?? "").utf8)
 76 |
 77 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 78 |
 79 |     guard let httpResponse = response as? HTTPURLResponse else {
/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 |
[29/40] Compiling ZohoBooksClient OAuthProviding.swift
[30/40] Compiling ZohoBooksClient ZohoBooksClient.swift
[31/40] Compiling ZohoBooksClient ZBPayment.swift
[32/40] Compiling ZohoBooksClient ZBTax.swift
[33/40] Compiling ZohoBooksClient ZBItem.swift
[34/40] Compiling ZohoBooksClient ZBPagedResponse.swift
[35/40] Compiling ZohoBooksClient ZBExpense.swift
[36/40] Compiling ZohoBooksClient ZBInvoice.swift
[37/40] Compiling ZohoBooksClient ZBBankTransaction.swift
[38/40] Compiling ZohoBooksClient ZBContact.swift
[39/40] Compiling ZohoBooksClient HttpService.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:102:19: error: cannot find 'URLRequest' in scope
100 |     }
101 |
102 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
103 |     request.httpMethod = method
104 |     request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:124:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
122 |     }
123 |
124 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |
126 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:264:19: error: cannot find 'URLRequest' in scope
262 |
263 |     let boundary = "Boundary-\(UUID().uuidString)"
264 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
265 |     request.httpMethod = "POST"
266 |     request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:298:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
296 |     }
297 |
298 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
299 |
300 |     guard let httpResponse = response as? HTTPURLResponse else {
[40/40] Compiling ZohoBooksClient ZBAccount.swift
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:102:19: error: cannot find 'URLRequest' in scope
100 |     }
101 |
102 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
103 |     request.httpMethod = method
104 |     request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:124:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
122 |     }
123 |
124 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |
126 |     guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:264:19: error: cannot find 'URLRequest' in scope
262 |
263 |     let boundary = "Boundary-\(UUID().uuidString)"
264 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
265 |     request.httpMethod = "POST"
266 |     request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/ZohoBooksClient/HttpService.swift:298:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
296 |     }
297 |
298 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
299 |
300 |     guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.1 linux