Build Information
Failed to build GitBuddy, reference master (244578), with Swift 6.4 for Wasm on 19 Sep 2026 12:14:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/WeTransfer/GitBuddy.git
Reference: master
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/WeTransfer/GitBuddy
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2445788 Restore CODEOWNERS from backup in master branch
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out '6017f08d3acab4465b6834beb7117479e842467f'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/GitBuddy.git
Revision (git rev-parse @):
244578860ca4f82e9d186dda0b52a867661faa84
SUCCESS checkout https://github.com/WeTransfer/GitBuddy.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/WeTransfer/GitBuddy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/WeTransfer/octokit.swift
[1/2829] Fetching octokit.swift
Fetched https://github.com/WeTransfer/octokit.swift (0.60s)
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/WeTransfer/Mocker.git
[1/1693] Fetching requestkit
[171/3599] Fetching requestkit, mocker
[3600/22517] Fetching requestkit, mocker, swift-argument-parser
Fetched https://github.com/nerdishbynature/RequestKit.git (0.75s)
Fetched https://github.com/WeTransfer/Mocker.git (0.75s)
Fetched https://github.com/apple/swift-argument-parser (0.75s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 3.4.0 (0.94s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 2.6.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/WeTransfer/octokit.swift
Working copy of https://github.com/WeTransfer/octokit.swift resolved at main (365cbc2)
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 2.6.0
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 3.4.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[49 / 87] ArgumentParserToolInfo
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m public protocol RequestKitURLSession {
[0;36m7 |[0;0m func dataTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
[0;36m9 |[0;0m
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m6 |[0;0m public protocol RequestKitURLSession {
[0;36m7 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
[0;36m8 |[0;0m func uploadTask(with request: [4;39mURLRequest[0;0m, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
[0;36m11 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m12 |[0;0m func data(for request: [4;39mURLRequest[0;0m, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:50: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m10 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
[0;36m11 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m12 |[0;0m func data(for request: URLRequest, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m15 |[0;0m func upload(for request: [4;39mURLRequest[0;0m, from bodyData: Data, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m #endif
[0;36m17 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:73: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m15 |[0;0m func upload(for request: URLRequest, from bodyData: Data, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> (Data, URLResponse)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m16 |[0;0m #endif
[0;36m17 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:25:67: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m public extension JSONPostRouter {
[0;36m25 |[0;0m func postJSON<T>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType _: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m26 |[0;0m guard let request = request() else {
[0;36m27 |[0;0m return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:72:67: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m70 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
[0;36m71 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m72 |[0;0m func postJSON<T>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType _: T.Type) async throws -> T? {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m73 |[0;0m guard let request = request() else {
[0;36m74 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:95:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m93 |[0;0m #endif
[0;36m94 |[0;0m
[0;36m95 |[0;0m func post<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m96 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m97 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:101:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m99 |[0;0m }
[0;36m100 |[0;0m
[0;36m101 |[0;0m func post<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m102 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m103 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:111:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m109 |[0;0m }
[0;36m110 |[0;0m
[0;36m111 |[0;0m func post<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m112 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m113 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:158:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m156 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
[0;36m157 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m158 |[0;0m func post<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m159 |[0;0m return try await post(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
[0;36m160 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:163:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m161 |[0;0m
[0;36m162 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m163 |[0;0m func post<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m164 |[0;0m let decoder = JSONDecoder()
[0;36m165 |[0;0m if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:7:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m public protocol RequestKitURLSession {
[0;36m7 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
[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;36m8 |[0;0m func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
[0;36m9 |[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/RequestKit/Sources/RequestKit/RequestKitSession.swift:8:110: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m public protocol RequestKitURLSession {
[0;36m7 |[0;0m func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
[0;36m8 |[0;0m func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDataTaskProtocol
[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;36m9 |[0;0m
[0;36m10 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
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/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:98: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
[0;36m11 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m12 |[0;0m func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) 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;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
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/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:121: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m15 |[0;0m func upload(for request: URLRequest, from bodyData: Data, delegate: URLSessionTaskDelegate?) 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;36m16 |[0;0m #endif
[0;36m17 |[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/RequestKit/Sources/RequestKit/RequestKitSession.swift:23:1: [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m extension [4;39mURLSessionDataTask[0;0m: URLSessionDataTaskProtocol {}
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m24 |[0;0m
[0;36m25 |[0;0m extension URLSession: RequestKitURLSession {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:25: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;36m23 |[0;0m extension URLSessionDataTask: URLSessionDataTaskProtocol {}
[0;36m24 |[0;0m
[0;36m25 |[0;0m extension [4;39mURLSession[0;0m: RequestKitURLSession {
[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;36m26 |[0;0m public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
[0;36m27 |[0;0m return dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:65:80: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
[0;36m65 |[0;0m func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m66 |[0;0m func loadJSON<T: Decodable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m67 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:71:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m69 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void)
[0;36m70 |[0;0m -> URLSessionDataTaskProtocol?
[0;36m71 |[0;0m func request() -> [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m72 |[0;0m
[0;36m73 |[0;0m #if compiler(>=5.5.2) && canImport(_Concurrency)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:84:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m public extension Router {
[0;36m84 |[0;0m func request() -> [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m85 |[0;0m let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
[0;36m86 |[0;0m var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:138:80: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m var urlComponents = urlComponents
[0;36m140 |[0;0m urlComponents.percentEncodedQuery = urlQuery(parameters)?.map { [$0.name, $0.value ?? ""].joined(separator: "=") }.joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:159:78: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m157 |[0;0m
[0;36m158 |[0;0m @available(*, deprecated, message: "Plase use `load` method instead")
[0;36m159 |[0;0m func loadJSON<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m160 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m161 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:165:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m163 |[0;0m }
[0;36m164 |[0;0m
[0;36m165 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m166 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m167 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:175:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m173 |[0;0m }
[0;36m174 |[0;0m
[0;36m175 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m176 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m177 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:212:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m210 |[0;0m }
[0;36m211 |[0;0m
[0;36m212 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m213 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m214 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:218:60: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m216 |[0;0m }
[0;36m217 |[0;0m
[0;36m218 |[0;0m func load(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m219 |[0;0m guard let request = request() else {
[0;36m220 |[0;0m return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:243:62: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m241 |[0;0m
[0;36m242 |[0;0m @discardableResult
[0;36m243 |[0;0m func delete(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m244 |[0;0m guard let request = request() else { return nil }
[0;36m245 |[0;0m let task = session.dataTask(with: request) { data, response, err in
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:261:71: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m259 |[0;0m
[0;36m260 |[0;0m @discardableResult
[0;36m261 |[0;0m func put<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m262 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m263 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:294:73: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m292 |[0;0m
[0;36m293 |[0;0m @discardableResult
[0;36m294 |[0;0m func patch<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m295 |[0;0m completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
[0;36m296 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:327:81: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m325 |[0;0m
[0;36m326 |[0;0m @discardableResult
[0;36m327 |[0;0m func loadPaginated<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m328 |[0;0m decoder: JSONDecoder = JSONDecoder(),
[0;36m329 |[0;0m expectedResultType _: T.Type,
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:361:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m359 |[0;0m @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
[0;36m360 |[0;0m public extension Router {
[0;36m361 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m362 |[0;0m guard let request = request() else {
[0;36m363 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:381:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m379 |[0;0m }
[0;36m380 |[0;0m
[0;36m381 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, expectedResultType: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m382 |[0;0m return try await load(session, decoder: configuration.decoder, expectedResultType: expectedResultType)
[0;36m383 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:385:74: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m383 |[0;0m }
[0;36m384 |[0;0m
[0;36m385 |[0;0m func load<T: Decodable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m386 |[0;0m let decoder = JSONDecoder()
[0;36m387 |[0;0m if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:393:60: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m391 |[0;0m }
[0;36m392 |[0;0m
[0;36m393 |[0;0m func load(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m394 |[0;0m guard let request = request() else {
[0;36m395 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:410:62: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m408 |[0;0m }
[0;36m409 |[0;0m
[0;36m410 |[0;0m func delete(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m411 |[0;0m guard let request = request() else {
[0;36m412 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:424:71: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m422 |[0;0m }
[0;36m423 |[0;0m
[0;36m424 |[0;0m func put<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m425 |[0;0m guard let request = request() else {
[0;36m426 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:442:73: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m440 |[0;0m }
[0;36m441 |[0;0m
[0;36m442 |[0;0m func patch<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m, decoder: JSONDecoder = JSONDecoder(), expectedResultType _: T.Type) async throws -> T {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m443 |[0;0m guard let request = request() else {
[0;36m444 |[0;0m throw NSError(domain: configuration.errorDomain, code: -876, userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:460:81: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m458 |[0;0m }
[0;36m459 |[0;0m
[0;36m460 |[0;0m func loadPaginated<T: Codable>(_ session: RequestKitURLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m461 |[0;0m decoder: JSONDecoder = JSONDecoder(),
[0;36m462 |[0;0m expectedResultType _: T.Type) async throws -> PaginatedResponse<T>
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:494:8: [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m492 |[0;0m }
[0;36m493 |[0;0m
[0;36m494 |[0;0m public extension [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m495 |[0;0m var wasSuccessful: Bool {
[0;36m496 |[0;0m let successRange = 200 ..< 300
[#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/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift /host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Pagination.swift /host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift /host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.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 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RequestKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/RequestKit_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/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/Modules/RequestKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/Modules/RequestKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/RequestKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/RequestKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/RequestKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-webassembly-wasm32/RequestKit-t.build/Objects-normal/wasm32/Modules/RequestKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm