Build Information
Failed to build ZohoBooksClient, reference main (cab7c3), with Swift 6.4 for Wasm on 23 Sep 2026 21:42:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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 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: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/emotiveapps/ZohoBooksClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/ChimeHQ/OAuthenticator
Fetching https://github.com/emotiveapps/MimeTypeEnum
[1/46] Fetching mimetypeenum
[47/1331] Fetching mimetypeenum, oauthenticator
Fetched https://github.com/emotiveapps/MimeTypeEnum (0.61s)
Fetched https://github.com/ChimeHQ/OAuthenticator (0.61s)
Computing version for https://github.com/emotiveapps/MimeTypeEnum
Computed https://github.com/emotiveapps/MimeTypeEnum at 1.0.2 (0.78s)
Computing version for https://github.com/ChimeHQ/OAuthenticator
Computed https://github.com/ChimeHQ/OAuthenticator at 0.7.2 (0.15s)
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...
[Pre-planning 1 / 155]
[44 / 68] OAuthenticator
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift:10:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m /// This is used to abstract the actual networking system from the underlying authentication
[0;36m9 |[0;0m /// mechanism.
[0;36m10 |[0;0m public typealias URLResponseProvider = @Sendable ([4;39mURLRequest[0;0m) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// Holds an access token value and its expiry.
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:136:17: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m134 |[0;0m @MainActor
[0;36m135 |[0;0m public static let defaultResponseProvider: URLResponseProvider = {
[0;36m136 |[0;0m let session = [4;39mURLSession[0;0m(configuration: .default)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m137 |[0;0m
[0;36m138 |[0;0m return session.responseProvider
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:142:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m140 |[0;0m
[0;36m141 |[0;0m /// Add authentication for `request`, execute it, and return its result.
[0;36m142 |[0;0m public func response(for request: [4;39mURLRequest[0;0m) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m143 |[0;0m let userAuthenticator = config.userAuthenticator
[0;36m144 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:142:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m140 |[0;0m
[0;36m141 |[0;0m /// Add authentication for `request`, execute it, and return its result.
[0;36m142 |[0;0m public func response(for request: URLRequest) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m143 |[0;0m let userAuthenticator = config.userAuthenticator
[0;36m144 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:183:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m181 |[0;0m }
[0;36m182 |[0;0m
[0;36m183 |[0;0m private func authedResponse(for request: [4;39mURLRequest[0;0m, login: Login) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m184 |[0;0m var authedRequest = request
[0;36m185 |[0;0m let token = login.accessToken.value
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:183:92: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m181 |[0;0m }
[0;36m182 |[0;0m
[0;36m183 |[0;0m private func authedResponse(for request: URLRequest, login: Login) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m184 |[0;0m var authedRequest = request
[0;36m185 |[0;0m let token = login.accessToken.value
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:418:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m416 |[0;0m }
[0;36m417 |[0;0m
[0;36m418 |[0;0m private func dpopResponse(for request: [4;39mURLRequest[0;0m, login: Login?) async throws -> (Data, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m419 |[0;0m guard let generator = config.tokenHandling.dpopJWTGenerator else {
[0;36m420 |[0;0m return try await urlLoader(request)
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:418:91: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m416 |[0;0m }
[0;36m417 |[0;0m
[0;36m418 |[0;0m private func dpopResponse(for request: URLRequest, login: Login?) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m419 |[0;0m guard let generator = config.tokenHandling.dpopJWTGenerator else {
[0;36m420 |[0;0m return try await urlLoader(request)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift:129:41: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'defaultProvider'[0;0m
[0;36m127 |[0;0m self.config = config
[0;36m128 |[0;0m
[0;36m129 |[0;0m self.urlLoader = loader ?? [4;39mURLSession[0;0m.[4;39mdefaultProvider[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'defaultProvider'[0;0m
[0;36m130 |[0;0m }
[0;36m131 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:50:21: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m public enum DPoPError: Error {
[0;36m50 |[0;0m case nonceExpected([4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m case requestInvalid(URLRequest)
[0;36m52 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:51:22: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m public enum DPoPError: Error {
[0;36m50 |[0;0m case nonceExpected(URLResponse)
[0;36m51 |[0;0m case requestInvalid([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:70:41: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m }
[0;36m69 |[0;0m
[0;36m70 |[0;0m public typealias NonceDecoder = (Data, [4;39mURLResponse[0;0m) throws -> String
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m public typealias JWTGenerator = @Sendable (JWTParameters) async throws -> String
[0;36m72 |[0;0m private let nonceDecoder: NonceDecoder
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:75:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m public var nonce: String?
[0;36m74 |[0;0m
[0;36m75 |[0;0m public static func nonceHeaderDecoder(data: Data, response: [4;39mURLResponse[0;0m) throws -> String {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m guard let value = (response as? HTTPURLResponse)?.value(forHTTPHeaderField: "DPoP-Nonce") else {
[0;36m77 |[0;0m print("data:", String(decoding: data, as: UTF8.self))
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:91:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m89 |[0;0m extension DPoPSigner {
[0;36m90 |[0;0m public func authenticateRequest(
[0;36m91 |[0;0m _ request: inout [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m92 |[0;0m isolation: isolated (any Actor),
[0;36m93 |[0;0m using jwtGenerator: JWTGenerator,
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:124:38: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m122 |[0;0m
[0;36m123 |[0;0m @discardableResult
[0;36m124 |[0;0m public func setNonce(from response: [4;39mURLResponse[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m125 |[0;0m let newValue = (response as? HTTPURLResponse)?.value(forHTTPHeaderField: "dpop-nonce")
[0;36m126 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:134:16: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m132 |[0;0m public func response(
[0;36m133 |[0;0m isolation: isolated (any Actor),
[0;36m134 |[0;0m for request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m135 |[0;0m using jwtGenerator: JWTGenerator,
[0;36m136 |[0;0m token: String?,
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift:140:27: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m138 |[0;0m issuingServer: String?,
[0;36m139 |[0;0m provider: URLResponseProvider
[0;36m140 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m141 |[0;0m var request = request
[0;36m142 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift:139:22: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m137 |[0;0m credentials: AppCredentials,
[0;36m138 |[0;0m redirectURL: URL,
[0;36m139 |[0;0m responseProvider: @escaping URLResponseProvider,
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m140 |[0;0m stateToken: String,
[0;36m141 |[0;0m pcke: PKCEVerifier?
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift:163:62: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m161 |[0;0m public typealias LoginProvider = @Sendable (LoginProviderParameters) async throws -> Login
[0;36m162 |[0;0m public typealias RefreshProvider = @Sendable (Login, AppCredentials, URLResponseProvider) async throws -> Login
[0;36m163 |[0;0m public typealias ResponseStatusProvider = @Sendable ((Data, [4;39mURLResponse[0;0m)) throws -> ResponseStatus
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m164 |[0;0m
[0;36m165 |[0;0m public let authorizationURLProvider: AuthorizationURLProvider
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift:193:54: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m191 |[0;0m
[0;36m192 |[0;0m @Sendable
[0;36m193 |[0;0m public static func allResponsesValid(result: (Data, [4;39mURLResponse[0;0m)) throws -> ResponseStatus {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m194 |[0;0m return .valid
[0;36m195 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift:198:71: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m196 |[0;0m
[0;36m197 |[0;0m @Sendable
[0;36m198 |[0;0m public static func refreshOrAuthorizeWhenUnauthorized(result: (Data, [4;39mURLResponse[0;0m)) throws -> ResponseStatus {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m199 |[0;0m guard let response = result.1 as? HTTPURLResponse else {
[0;36m200 |[0;0m throw AuthenticatorError.httpResponseExpected
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/GitHub.swift:109:93: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m107 |[0;0m }
[0;36m108 |[0;0m
[0;36m109 |[0;0m static func authenticationRequest(with url: URL, appCredentials: AppCredentials) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m110 |[0;0m let code = try url.authorizationCode
[0;36m111 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/GoogleAPI.swift:122:88: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m120 |[0;0m ///
[0;36m121 |[0;0m /// The `code` is exchanged for an access / refresh token pair using the granted scope in part 1
[0;36m122 |[0;0m static func authenticationRequest(url: URL, appCredentials: AppCredentials) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m123 |[0;0m let code = try url.authorizationCode
[0;36m124 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/GoogleAPI.swift:192:99: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m190 |[0;0m /// - appCredentials: The Application credentials
[0;36m191 |[0;0m /// - Returns: The URLRequest to refresh the access token
[0;36m192 |[0;0m static func authenticationRefreshRequest(login: Login, appCredentials: AppCredentials) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m193 |[0;0m guard let refreshToken = login.refreshToken,
[0;36m194 |[0;0m !refreshToken.value.isEmpty else { throw AuthenticatorError.missingRefreshToken }
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/Mastodon.swift:111:126: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m109 |[0;0m }
[0;36m110 |[0;0m
[0;36m111 |[0;0m static func authenticationRequest(with parameters: UserTokenParameters, url: URL, appCredentials: AppCredentials) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m112 |[0;0m let code = try url.authorizationCode
[0;36m113 |[0;0m
/host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/URLSession+ResponseProvider.swift:10:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m8 |[0;0m }
[0;36m9 |[0;0m
[0;36m10 |[0;0m extension [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m11 |[0;0m /// Convert a `URLSession` instance into a `URLResponseProvider`.
[0;36m12 |[0;0m public var responseProvider: URLResponseProvider {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/ASWebAuthenticationSession+Utility.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Authenticator.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/CredentialWindowProvider.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPKey.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/DPoPSigner.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Data+Base64URLEncode.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Models.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/PKCE.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/Bluesky.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/GitHub.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/GoogleAPI.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/Services/Mastodon.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/URL+QueryParams.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/URLSession+ResponseProvider.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/WebAuthenticationSession+Utility.swift /host/spi-builder-workspace/.build/checkouts/OAuthenticator/Sources/OAuthenticator/WellknownEndpoints.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.7.2 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OAuthenticator -package-name oauthenticator -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/OAuthenticator_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/Modules/OAuthenticator.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/Modules/OAuthenticator.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/OAuthenticator-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/OAuthenticator-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/OAuthenticator-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/OAuthenticator.build/Debug-webassembly-wasm32/OAuthenticator-t.build/Objects-normal/wasm32/Modules/OAuthenticator.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm