Build Information
Failed to build OAuthenticator, reference main (b455b1), with Swift 6.4 for Wasm on 27 Sep 2026 18:25:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/ATProtoKit/OAuthenticator.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/ATProtoKit/OAuthenticator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b455b12 Adopt ATProtoKit's CODE_OF_CONDUCT.md
Cloned https://github.com/ATProtoKit/OAuthenticator.git
Revision (git rev-parse @):
b455b1259da75f056d1e24f8926227eaa13e1c7a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ATProtoKit/OAuthenticator.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ATProtoKit/OAuthenticator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:32:19: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m case issuingServerMismatch(String, String)
[0;36m31 |[0;0m case pkceRequired
[0;36m32 |[0;0m case rateLimited([4;39mHTTPURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:32:7: [1;33mwarning: [1;39massociated value 'rateLimited' of 'Sendable'-conforming enum 'AuthenticatorError' has non-Sendable type 'AnyObject'[0;0m
[0;36m30 |[0;0m case issuingServerMismatch(String, String)
[0;36m31 |[0;0m case pkceRequired
[0;36m32 |[0;0m case rateLimited(HTTPURLResponse)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'rateLimited' of 'Sendable'-conforming enum 'AuthenticatorError' has non-Sendable type 'AnyObject'[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:9:13: [1;31merror: [1;39mtype 'AuthenticatorError' does not conform to protocol 'Hashable'[0;0m
[0;36m7 |[0;0m #endif
[0;36m8 |[0;0m
[0;36m9 |[0;0m public enum AuthenticatorError: Error, Hashable {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'AuthenticatorError' does not conform to protocol 'Hashable'[0;0m
[0;36m10 |[0;0m case missingScheme
[0;36m11 |[0;0m case missingAuthorizationCode
[0;36m:[0;0m
[0;36m30 |[0;0m case issuingServerMismatch(String, String)
[0;36m31 |[0;0m case pkceRequired
[0;36m32 |[0;0m case rateLimited(HTTPURLResponse)
[0;36m|[0;0m `- [1;39mnote: [1;39massociated value type 'HTTPURLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'AuthenticatorError' to 'Hashable'[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:9:13: [1;31merror: [1;39mtype 'AuthenticatorError' does not conform to protocol 'Equatable'[0;0m
[0;36m7 |[0;0m #endif
[0;36m8 |[0;0m
[0;36m9 |[0;0m public enum AuthenticatorError: Error, Hashable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'AuthenticatorError' does not conform to protocol 'Equatable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m10 |[0;0m case missingScheme
[0;36m11 |[0;0m case missingAuthorizationCode
[0;36m:[0;0m
[0;36m30 |[0;0m case issuingServerMismatch(String, String)
[0;36m31 |[0;0m case pkceRequired
[0;36m32 |[0;0m case rateLimited(HTTPURLResponse)
[0;36m|[0;0m `- [1;39mnote: [1;39massociated value type 'HTTPURLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'AuthenticatorError' to 'Equatable'[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
Swift.==:1:24: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'RawRepresentable'[0;0m
[0;36m1 |[0;0m @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'RawRepresentable'[0;0m
Swift.FloatingPoint.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'FloatingPoint'[0;0m
[0;36m1 |[0;0m protocol FloatingPoint {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'FloatingPoint'[0;0m
[0;36m3 |[0;0m
Swift.BinaryInteger.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'BinaryInteger'[0;0m
[0;36m1 |[0;0m protocol BinaryInteger {
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'BinaryInteger'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:31: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift.Strideable.==:2:31: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'Strideable'[0;0m
[0;36m1 |[0;0m protocol Strideable {
[0;36m2 |[0;0m @inlinable public static func == (x: Self, y: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'Strideable'[0;0m
[0;36m3 |[0;0m
Swift.StringProtocol.==:2:31: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'StringProtocol'[0;0m
[0;36m1 |[0;0m protocol StringProtocol {
[0;36m2 |[0;0m @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'StringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.SIMD.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'SIMD'[0;0m
[0;36m1 |[0;0m protocol SIMD {
[0;36m2 |[0;0m public static func == (a: Self, b: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'SIMD'[0;0m
[0;36m3 |[0;0m
Foundation.__BridgedNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '__BridgedNSError'[0;0m
[0;36m1 |[0;0m protocol __BridgedNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '__BridgedNSError'[0;0m
[0;36m3 |[0;0m
Foundation._BridgedStoredNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m1 |[0;0m protocol _BridgedStoredNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m3 |[0;0m
FoundationEssentials.AttributedStringProtocol.==:2:20: [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m1 |[0;0m protocol AttributedStringProtocol {
[0;36m2 |[0;0m public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'AuthenticatorError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.Equatable.==:2:13: [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing AuthenticatorError, borrowing AuthenticatorError) -> Bool'[0;0m
[0;36m1 |[0;0m protocol Equatable {
[0;36m2 |[0;0m static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing AuthenticatorError, borrowing AuthenticatorError) -> Bool'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/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/Sources/OAuthenticator/Authenticator.swift:140:17: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m138 |[0;0m @MainActor
[0;36m139 |[0;0m public static let defaultResponseProvider: URLResponseProvider = {
[0;36m140 |[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;36m141 |[0;0m
[0;36m142 |[0;0m return session.responseProvider
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:146:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m144 |[0;0m
[0;36m145 |[0;0m /// Add authentication for `request`, execute it, and return its result.
[0;36m146 |[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;36m147 |[0;0m let userAuthenticator = config.userAuthenticator
[0;36m148 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:146: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;36m144 |[0;0m
[0;36m145 |[0;0m /// Add authentication for `request`, execute it, and return its result.
[0;36m146 |[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;36m147 |[0;0m let userAuthenticator = config.userAuthenticator
[0;36m148 |[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/Sources/OAuthenticator/Authenticator.swift:187:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m185 |[0;0m }
[0;36m186 |[0;0m
[0;36m187 |[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;36m188 |[0;0m var authedRequest = request
[0;36m189 |[0;0m let token = login.accessToken.value
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:187: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;36m185 |[0;0m }
[0;36m186 |[0;0m
[0;36m187 |[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;36m188 |[0;0m var authedRequest = request
[0;36m189 |[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/Sources/OAuthenticator/Authenticator.swift:448:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m446 |[0;0m }
[0;36m447 |[0;0m
[0;36m448 |[0;0m private func dpopResponse(for request: [4;39mURLRequest[0;0m, login: Login?) async throws -> (
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m449 |[0;0m Data, URLResponse
[0;36m450 |[0;0m ) {
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:449:9: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m447 |[0;0m
[0;36m448 |[0;0m private func dpopResponse(for request: URLRequest, login: Login?) async throws -> (
[0;36m449 |[0;0m 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;36m450 |[0;0m ) {
[0;36m451 |[0;0m var issuer: String? = nil
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/Sources/OAuthenticator/Authenticator.swift:469:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m467 |[0;0m }
[0;36m468 |[0;0m
[0;36m469 |[0;0m private func dpopResponse(for request: [4;39mURLRequest[0;0m, login: Login?, isAuthServer: Bool?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m470 |[0;0m async throws -> (Data, URLResponse)
[0;36m471 |[0;0m {
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:470:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m468 |[0;0m
[0;36m469 |[0;0m private func dpopResponse(for request: URLRequest, login: Login?, isAuthServer: Bool?)
[0;36m470 |[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;36m471 |[0;0m {
[0;36m472 |[0;0m print("Request: \(request.httpMethod!) - \(request.url?.absoluteString ?? "missing url")")
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/Sources/OAuthenticator/Authenticator.swift:133:41: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'defaultProvider'[0;0m
[0;36m131 |[0;0m self.config = config
[0;36m132 |[0;0m
[0;36m133 |[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;36m134 |[0;0m }
[0;36m135 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:82:22: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m public enum DPoPError: Error, Equatable {
[0;36m81 |[0;0m case urlResponseToHttpUrlResponseConversionFailed
[0;36m82 |[0;0m case requestInvalid([4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m83 |[0;0m }
[0;36m84 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:80:13: [1;31merror: [1;39mtype 'DPoPError' does not conform to protocol 'Equatable'[0;0m
[0;36m78 |[0;0m }
[0;36m79 |[0;0m
[0;36m80 |[0;0m public enum DPoPError: Error, Equatable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'DPoPError' does not conform to protocol 'Equatable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m81 |[0;0m case urlResponseToHttpUrlResponseConversionFailed
[0;36m82 |[0;0m case requestInvalid(URLRequest)
[0;36m|[0;0m `- [1;39mnote: [1;39massociated value type '_' does not conform to protocol 'Equatable', preventing synthesized conformance of 'DPoPError' to 'Equatable'[0;0m
[0;36m83 |[0;0m }
[0;36m84 |[0;0m
Swift.==:1:24: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'RawRepresentable'[0;0m
[0;36m1 |[0;0m @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'RawRepresentable'[0;0m
Swift.FloatingPoint.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'FloatingPoint'[0;0m
[0;36m1 |[0;0m protocol FloatingPoint {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'FloatingPoint'[0;0m
[0;36m3 |[0;0m
Swift.BinaryInteger.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'BinaryInteger'[0;0m
[0;36m1 |[0;0m protocol BinaryInteger {
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'BinaryInteger'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:31: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift.Strideable.==:2:31: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'Strideable'[0;0m
[0;36m1 |[0;0m protocol Strideable {
[0;36m2 |[0;0m @inlinable public static func == (x: Self, y: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'Strideable'[0;0m
[0;36m3 |[0;0m
Swift.StringProtocol.==:2:31: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'StringProtocol'[0;0m
[0;36m1 |[0;0m protocol StringProtocol {
[0;36m2 |[0;0m @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'StringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.SIMD.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'SIMD'[0;0m
[0;36m1 |[0;0m protocol SIMD {
[0;36m2 |[0;0m public static func == (a: Self, b: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'SIMD'[0;0m
[0;36m3 |[0;0m
Foundation.__BridgedNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '__BridgedNSError'[0;0m
[0;36m1 |[0;0m protocol __BridgedNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '__BridgedNSError'[0;0m
[0;36m3 |[0;0m
Foundation._BridgedStoredNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m1 |[0;0m protocol _BridgedStoredNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m3 |[0;0m
FoundationEssentials.AttributedStringProtocol.==:2:20: [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m1 |[0;0m protocol AttributedStringProtocol {
[0;36m2 |[0;0m public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'DPoPError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.Equatable.==:2:13: [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing DPoPError, borrowing DPoPError) -> Bool'[0;0m
[0;36m1 |[0;0m protocol Equatable {
[0;36m2 |[0;0m static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing DPoPError, borrowing DPoPError) -> Bool'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:103:41: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m101 |[0;0m
[0;36m102 |[0;0m // Return value is (origin, nonce)
[0;36m103 |[0;0m public typealias NonceDecoder = (Data, [4;39mHTTPURLResponse[0;0m) throws -> NonceValue?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m104 |[0;0m private let nonceCache: NSCache<NSString, NonceValue> = NSCache()
[0;36m105 |[0;0m private let nonceDecoder: NonceDecoder
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:107:62: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m105 |[0;0m private let nonceDecoder: NonceDecoder
[0;36m106 |[0;0m
[0;36m107 |[0;0m public static func nonceHeaderDecoder(data: Data, response: [4;39mHTTPURLResponse[0;0m) throws -> NonceValue?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m108 |[0;0m {
[0;36m109 |[0;0m guard let value = response.value(forHTTPHeaderField: "DPoP-Nonce") else {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:139:14: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m137 |[0;0m extension DPoPSigner {
[0;36m138 |[0;0m private func makeRequest(
[0;36m139 |[0;0m _ request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m140 |[0;0m isolation: isolated (any Actor),
[0;36m141 |[0;0m responseProvider: URLResponseProvider
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:143:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m141 |[0;0m responseProvider: URLResponseProvider
[0;36m142 |[0;0m )
[0;36m143 |[0;0m async throws -> (Data, [4;39mHTTPURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m144 |[0;0m {
[0;36m145 |[0;0m let (data, urlResponse) = try await responseProvider(request)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:160:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m158 |[0;0m token: String?,
[0;36m159 |[0;0m tokenHash: String?
[0;36m160 |[0;0m ) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m161 |[0;0m guard
[0;36m162 |[0;0m let method = request.httpMethod,
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:154:14: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m152 |[0;0m
[0;36m153 |[0;0m public func buildProof(
[0;36m154 |[0;0m _ request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m155 |[0;0m isolation: isolated (any Actor),
[0;36m156 |[0;0m using jwtGenerator: JWTGenerator,
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:198:16: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m196 |[0;0m public func response(
[0;36m197 |[0;0m isolation: isolated (any Actor),
[0;36m198 |[0;0m for request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m199 |[0;0m using jwtGenerator: JWTGenerator,
[0;36m200 |[0;0m token: String?,
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:206:27: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m204 |[0;0m isAuthServer: Bool?,
[0;36m205 |[0;0m responseProvider: URLResponseProvider
[0;36m206 |[0;0m ) async throws -> (Data, [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m207 |[0;0m // FIXME: calculate tokenHash using the value from the request Authorization
[0;36m208 |[0;0m // header:
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:282:52: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m280 |[0;0m // The logic here is taken from:
[0;36m281 |[0;0m // https://github.com/bluesky-social/atproto/blob/4e96e2c7/packages/oauth/oauth-client/src/fetch-dpop.ts#L195
[0;36m282 |[0;0m private func isUseDpopError(data: Data, response: [4;39mHTTPURLResponse[0;0m, isAuthServer: Bool?) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m283 |[0;0m print(
[0;36m284 |[0;0m "isAuthServer: " + (isAuthServer == nil ? "nil" : (isAuthServer == true ? "true" : "false")))
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:155:22: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m153 |[0;0m credentials: AppCredentials,
[0;36m154 |[0;0m redirectURL: URL,
[0;36m155 |[0;0m responseProvider: @escaping URLResponseProvider,
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m156 |[0;0m stateToken: String,
[0;36m157 |[0;0m pkce: PKCEVerifier?
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:179: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;36m177 |[0;0m public typealias LoginProvider = @Sendable (LoginProviderParameters) async throws -> Login
[0;36m178 |[0;0m public typealias RefreshProvider = @Sendable (Login, AppCredentials, URLResponseProvider) async throws -> Login
[0;36m179 |[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;36m180 |[0;0m
[0;36m181 |[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/Sources/OAuthenticator/Models.swift:209: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;36m207 |[0;0m
[0;36m208 |[0;0m @Sendable
[0;36m209 |[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;36m210 |[0;0m return .valid
[0;36m211 |[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/Sources/OAuthenticator/Models.swift:214: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;36m212 |[0;0m
[0;36m213 |[0;0m @Sendable
[0;36m214 |[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;36m215 |[0;0m guard let response = result.1 as? HTTPURLResponse else {
[0;36m216 |[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/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/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/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/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/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/Sources/OAuthenticator/ASWebAuthenticationSession+Utility.swift /host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift /host/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift /host/spi-builder-workspace/Sources/OAuthenticator/DPoPKey.swift /host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift /host/spi-builder-workspace/Sources/OAuthenticator/Data+Base64URLEncode.swift /host/spi-builder-workspace/Sources/OAuthenticator/Models.swift /host/spi-builder-workspace/Sources/OAuthenticator/OAuthTypes.swift /host/spi-builder-workspace/Sources/OAuthenticator/PKCE.swift /host/spi-builder-workspace/Sources/OAuthenticator/Services/Bluesky.swift /host/spi-builder-workspace/Sources/OAuthenticator/Services/GitHub.swift /host/spi-builder-workspace/Sources/OAuthenticator/Services/GoogleAPI.swift /host/spi-builder-workspace/Sources/OAuthenticator/Services/Mastodon.swift /host/spi-builder-workspace/Sources/OAuthenticator/URL+Origin.swift /host/spi-builder-workspace/Sources/OAuthenticator/URL+QueryParams.swift /host/spi-builder-workspace/Sources/OAuthenticator/URL+TargetURI.swift /host/spi-builder-workspace/Sources/OAuthenticator/URLHelpers.swift /host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift /host/spi-builder-workspace/Sources/OAuthenticator/WebAuthenticationSession+Utility.swift /host/spi-builder-workspace/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 -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 -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 spi_builder_workspace -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