Build Information
Failed to build HTTPMock, reference main (bd647f), with Swift 6.4 for Android on 17 Sep 2026 23:09:00 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nearfri/HTTPMock.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/nearfri/HTTPMock
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bd647f6 Update swift.yml
Cloned https://github.com/nearfri/HTTPMock.git
Revision (git rev-parse @):
bd647f6769557200390380d6ae946afe57d06e3c
SUCCESS checkout https://github.com/nearfri/HTTPMock.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/nearfri/HTTPMock.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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/HTTPMock/HTTPRequestPredicate.swift:5:27: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m3 |[0;0m public struct HTTPRequestPredicate: CustomStringConvertible {
[0;36m4 |[0;0m public let description: String
[0;36m5 |[0;0m public let evaluate: ([4;39mURLRequest[0;0m) -> Bool
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m6 |[0;0m }
[0;36m7 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/StubEntry.swift:6:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m public let id: String = UUID().uuidString
[0;36m5 |[0;0m public let predicate: HTTPRequestPredicate
[0;36m6 |[0;0m private let assetProvider: ([4;39mURLRequest[0;0m) -> HTTPResponseAsset
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m public init(predicate: HTTPRequestPredicate,
/host/spi-builder-workspace/Sources/HTTPMock/StubEntry.swift:9:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m public init(predicate: HTTPRequestPredicate,
[0;36m9 |[0;0m assetProvider: @escaping ([4;39mURLRequest[0;0m) -> HTTPResponseAsset) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m self.predicate = predicate
[0;36m11 |[0;0m self.assetProvider = assetProvider
/host/spi-builder-workspace/Sources/HTTPMock/StubEntry.swift:14:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public func responds(to request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m15 |[0;0m return predicate.evaluate(request)
[0;36m16 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/StubEntry.swift:18:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public func responseAsset(for request: [4;39mURLRequest[0;0m) -> HTTPResponseAsset {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m var result = assetProvider(request)
[0;36m20 |[0;0m if result.bodyStreamGenerator != nil && result.headerFields[HTTPHeaderName.eTag] == nil {
/host/spi-builder-workspace/Sources/HTTPMock/StubRegistry.swift:5:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m3 |[0;0m @discardableResult
[0;36m4 |[0;0m public func stub(when predicate: HTTPRequestPredicate,
[0;36m5 |[0;0m then assetProvider: @escaping ([4;39mURLRequest[0;0m) -> HTTPResponseAsset) -> StubEntry {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m6 |[0;0m return StubRegistry.shared.registerEntry(for: predicate, assetProvider: assetProvider)
[0;36m7 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/StubRegistry.swift:34:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m32 |[0;0m public func registerEntry(
[0;36m33 |[0;0m for predicate: HTTPRequestPredicate,
[0;36m34 |[0;0m assetProvider: @escaping ([4;39mURLRequest[0;0m) -> HTTPResponseAsset
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m35 |[0;0m ) -> StubEntry {
[0;36m36 |[0;0m let entry = StubEntry(predicate: predicate, assetProvider: assetProvider)
/host/spi-builder-workspace/Sources/HTTPMock/StubRegistry.swift:53:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m public func entry(for request: [4;39mURLRequest[0;0m) -> StubEntry? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m return syncQueue.sync(execute: {
[0;36m55 |[0;0m return entries.last(where: { $0.responds(to: request) })
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:32:48: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m static func registerStub(in configuration: [4;39mURLSessionConfiguration[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m let classes = configuration.protocolClasses ?? []
[0;36m34 |[0;0m if !classes.contains(where: { $0 == URLProtocolStub.self }) {
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:39:52: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m static func unregisterStub(from configuration: [4;39mURLSessionConfiguration[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m guard var classes = configuration.protocolClasses else { return }
[0;36m41 |[0;0m classes.removeAll(where: { $0 == URLProtocolStub.self })
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:64:37: [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m private static let defaultMethodItem: MethodItem = {
[0;36m64 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.default))
[0;36m|[0;0m `- [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m65 |[0;0m }()
[0;36m66 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:64:37: [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m private static let defaultMethodItem: MethodItem = {
[0;36m64 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.default))
[0;36m|[0;0m `- [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m65 |[0;0m }()
[0;36m66 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:63:56: [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[0;36m63 |[0;0m private static let defaultMethodItem: MethodItem = [4;39m{[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m64 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.default))
[0;36m65 |[0;0m }()
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:68:37: [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m66 |[0;0m
[0;36m67 |[0;0m private static let ephemeralMethodItem: MethodItem = {
[0;36m68 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.ephemeral))
[0;36m|[0;0m `- [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m69 |[0;0m }()
[0;36m70 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:68:37: [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m66 |[0;0m
[0;36m67 |[0;0m private static let ephemeralMethodItem: MethodItem = {
[0;36m68 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.ephemeral))
[0;36m|[0;0m `- [1;31merror: [1;39m'#selector' can only be used with the Objective-C runtime[0;0m
[0;36m69 |[0;0m }()
[0;36m70 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:67:58: [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m65 |[0;0m }()
[0;36m66 |[0;0m
[0;36m67 |[0;0m private static let ephemeralMethodItem: MethodItem = [4;39m{[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfailed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
[0;36m68 |[0;0m return MethodItem(selector: #selector(getter: URLSessionConfiguration.ephemeral))
[0;36m69 |[0;0m }()
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:71:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m69 |[0;0m }()
[0;36m70 |[0;0m
[0;36m71 |[0;0m @objc(defaultSessionConfiguration)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m72 |[0;0m private class var `default`: URLSessionConfiguration {
[0;36m73 |[0;0m return defaultMethodItem.makeStubRegisteredConfiguration()
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:72:34: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m @objc(defaultSessionConfiguration)
[0;36m72 |[0;0m private class var `default`: [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m return defaultMethodItem.makeStubRegisteredConfiguration()
[0;36m74 |[0;0m }
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:76:6: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m74 |[0;0m }
[0;36m75 |[0;0m
[0;36m76 |[0;0m @objc(ephemeralSessionConfiguration)
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m77 |[0;0m private class var ephemeral: URLSessionConfiguration {
[0;36m78 |[0;0m return ephemeralMethodItem.makeStubRegisteredConfiguration()
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:77:34: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m
[0;36m76 |[0;0m @objc(ephemeralSessionConfiguration)
[0;36m77 |[0;0m private class var ephemeral: [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m78 |[0;0m return ephemeralMethodItem.makeStubRegisteredConfiguration()
[0;36m79 |[0;0m }
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:100:24: [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m98 |[0;0m }
[0;36m99 |[0;0m
[0;36m100 |[0;0m init(selector: [4;39mSelector[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m101 |[0;0m let originalClass = URLSessionConfiguration.self
[0;36m102 |[0;0m let swizzlerClass = URLSessionConfigurationSwizzler.self
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:85:24: [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m83 |[0;0m private class MethodItem: NSObject {
[0;36m84 |[0;0m private typealias CreationFunction = @convention(c)
[0;36m85 |[0;0m (AnyClass, [4;39mSelector[0;0m) -> URLSessionConfiguration
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m86 |[0;0m
[0;36m87 |[0;0m private let selector: Selector
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:87:31: [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m85 |[0;0m (AnyClass, Selector) -> URLSessionConfiguration
[0;36m86 |[0;0m
[0;36m87 |[0;0m private let selector: [4;39mSelector[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Selector' in scope[0;0m
[0;36m88 |[0;0m private let originalMethod: Method
[0;36m89 |[0;0m private let originalImplementation: IMP
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:88:37: [1;31merror: [1;39mcannot find type 'Method' in scope[0;0m
[0;36m86 |[0;0m
[0;36m87 |[0;0m private let selector: Selector
[0;36m88 |[0;0m private let originalMethod: [4;39mMethod[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Method' in scope[0;0m
[0;36m89 |[0;0m private let originalImplementation: IMP
[0;36m90 |[0;0m private let swizzlerImplementation: IMP
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:89:45: [1;31merror: [1;39mcannot find type 'IMP' in scope[0;0m
[0;36m87 |[0;0m private let selector: Selector
[0;36m88 |[0;0m private let originalMethod: Method
[0;36m89 |[0;0m private let originalImplementation: [4;39mIMP[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'IMP' in scope[0;0m
[0;36m90 |[0;0m private let swizzlerImplementation: IMP
[0;36m91 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:90:45: [1;31merror: [1;39mcannot find type 'IMP' in scope[0;0m
[0;36m88 |[0;0m private let originalMethod: Method
[0;36m89 |[0;0m private let originalImplementation: IMP
[0;36m90 |[0;0m private let swizzlerImplementation: [4;39mIMP[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'IMP' in scope[0;0m
[0;36m91 |[0;0m
[0;36m92 |[0;0m var isSwizzled: Bool = false {
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:96:17: [1;31merror: [1;39mcannot find 'method_setImplementation' in scope[0;0m
[0;36m94 |[0;0m if isSwizzled == oldValue { return }
[0;36m95 |[0;0m let implementation = isSwizzled ? swizzlerImplementation : originalImplementation
[0;36m96 |[0;0m [4;39mmethod_setImplementation[0;0m(originalMethod, implementation)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'method_setImplementation' in scope[0;0m
[0;36m97 |[0;0m }
[0;36m98 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:116:51: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m }
[0;36m115 |[0;0m
[0;36m116 |[0;0m func makeStubRegisteredConfiguration() -> [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m117 |[0;0m let result = makeOriginalConfiguration()
[0;36m118 |[0;0m URLProtocolService.registerStub(in: result)
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift:122:53: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m }
[0;36m121 |[0;0m
[0;36m122 |[0;0m private func makeOriginalConfiguration() -> [4;39mURLSessionConfiguration[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m123 |[0;0m return originalFunction(URLSessionConfiguration.self, selector)
[0;36m124 |[0;0m }
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:7:35: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m private let schedules: Schedules = Schedules()
[0;36m6 |[0;0m private var streamReader: StreamReader?
[0;36m7 |[0;0m private weak var sessionTask: [4;39mURLSessionTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m private var taskStateKVO: NSKeyValueObservation?
[0;36m9 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' 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 URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:8:31: [1;31merror: [1;39mcannot find type 'NSKeyValueObservation' in scope[0;0m
[0;36m6 |[0;0m private var streamReader: StreamReader?
[0;36m7 |[0;0m private weak var sessionTask: URLSessionTask?
[0;36m8 |[0;0m private var taskStateKVO: [4;39mNSKeyValueObservation[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSKeyValueObservation' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public override class func canInit(with request: URLRequest) -> Bool {
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:10:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m private var taskStateKVO: NSKeyValueObservation?
[0;36m9 |[0;0m
[0;36m10 |[0;0m public override class func canInit(with request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m return StubRegistry.shared.entry(for: request) != nil
[0;36m12 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:14:51: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public override class func canInit(with task: [4;39mURLSessionTask[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m return task.currentRequest.map({ canInit(with: $0) }) ?? false
[0;36m16 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' 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 URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:14:32: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m12 |[0;0m }
[0;36m13 |[0;0m
[0;36m14 |[0;0m public [4;39moverride[0;0m class func canInit(with task: URLSessionTask) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m15 |[0;0m return task.currentRequest.map({ canInit(with: $0) }) ?? false
[0;36m16 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:18:77: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public override class func canonicalRequest(for request: URLRequest) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m return request
[0;36m20 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:18:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m public override class func canonicalRequest(for request: [4;39mURLRequest[0;0m) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m return request
[0;36m20 |[0;0m }
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:22:35: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m public override init(request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m cachedResponse: CachedURLResponse?,
[0;36m24 |[0;0m client: URLProtocolClient?) {
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:24:34: [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m22 |[0;0m public override init(request: URLRequest,
[0;36m23 |[0;0m cachedResponse: CachedURLResponse?,
[0;36m24 |[0;0m client: [4;39mURLProtocolClient[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m25 |[0;0m guard let stubEntry = StubRegistry.shared.entry(for: request) else {
[0;36m26 |[0;0m preconditionFailure("StubEntry has been unregistered after `canInit(with:)`.")
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:23:42: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m public override init(request: URLRequest,
[0;36m23 |[0;0m cachedResponse: [4;39mCachedURLResponse[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m client: URLProtocolClient?) {
[0;36m25 |[0;0m guard let stubEntry = StubRegistry.shared.entry(for: request) else {
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' 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 CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:34:37: [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m32 |[0;0m public convenience init(task: URLSessionTask,
[0;36m33 |[0;0m cachedResponse: CachedURLResponse?,
[0;36m34 |[0;0m client: [4;39mURLProtocolClient[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLProtocolClient' in scope[0;0m
[0;36m35 |[0;0m guard let request = task.currentRequest else { preconditionFailure() }
[0;36m36 |[0;0m self.init(request: request, cachedResponse: cachedResponse, client: client)
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:32:35: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m public convenience init(task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m cachedResponse: CachedURLResponse?,
[0;36m34 |[0;0m client: URLProtocolClient?) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' 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 URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:33:45: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m public convenience init(task: URLSessionTask,
[0;36m33 |[0;0m cachedResponse: [4;39mCachedURLResponse[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m client: URLProtocolClient?) {
[0;36m35 |[0;0m guard let request = task.currentRequest else { preconditionFailure() }
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' 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 CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:40:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m public [4;39moverride[0;0m func startLoading() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m41 |[0;0m let responseAsset = stubEntry.responseAsset(for: request)
[0;36m42 |[0;0m do {
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:112:45: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m110 |[0;0m }
[0;36m111 |[0;0m
[0;36m112 |[0;0m private func taskDidChangeState(_ task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m switch task.state {
[0;36m114 |[0;0m case .suspended:
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' 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 URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:123:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m121 |[0;0m }
[0;36m122 |[0;0m
[0;36m123 |[0;0m public [4;39moverride[0;0m func stopLoading() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m124 |[0;0m schedules.cancelAll()
[0;36m125 |[0;0m streamReader = nil
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:3:31: [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m public class URLProtocolStub: [4;39mURLProtocol[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m private let stubEntry: StubEntry
[0;36m5 |[0;0m private let schedules: Schedules = Schedules()
Foundation.URLProtocol:2:18: [1;39mnote: [1;39m'URLProtocol' 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 URLProtocol = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLProtocol' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:193:19: [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 private struct ResponseSource {
[0;36m193 |[0;0m let response: [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;36m194 |[0;0m let bodyStream: InputStream
[0;36m195 |[0;0m let contentRange: ClosedRange<Int>?
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/HTTPMock/URLProtocolStub.swift:198:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m196 |[0;0m private let originalResponseAsset: HTTPResponseAsset
[0;36m197 |[0;0m private let currentResponseAsset: HTTPResponseAsset
[0;36m198 |[0;0m private let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m199 |[0;0m private let url: URL
[0;36m200 |[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:201:19: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m199 |[0;0m private let url: URL
[0;36m200 |[0;0m
[0;36m201 |[0;0m init(request: [4;39mURLRequest[0;0m, responseAsset: HTTPResponseAsset) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m202 |[0;0m let builder = try ResponseSourceBuilder(request: request, responseAsset: responseAsset)
[0;36m203 |[0;0m self.originalResponseAsset = responseAsset
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:212:23: [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m210 |[0;0m }
[0;36m211 |[0;0m
[0;36m212 |[0;0m var httpCookies: [[4;39mHTTPCookie[0;0m]? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m213 |[0;0m guard request.httpShouldHandleCookies else { return nil }
[0;36m214 |[0;0m let headerFields = currentResponseAsset.headerFields
Foundation.HTTPCookie:2:18: [1;39mnote: [1;39m'HTTPCookie' 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 HTTPCookie = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPCookie' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:218:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m216 |[0;0m }
[0;36m217 |[0;0m
[0;36m218 |[0;0m var redirectRequest: [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m219 |[0;0m guard let redirectURL = currentResponseAsset.redirectURL else { return nil }
[0;36m220 |[0;0m var result = request
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:239:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m237 |[0;0m
[0;36m238 |[0;0m private class ResponseSourceBuilder {
[0;36m239 |[0;0m private let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m240 |[0;0m private let originalResponseAsset: HTTPResponseAsset
[0;36m241 |[0;0m private(set) var currentResponseAsset: HTTPResponseAsset
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:243:32: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m private(set) var currentResponseAsset: HTTPResponseAsset
[0;36m242 |[0;0m private(set) var url: URL!
[0;36m243 |[0;0m private(set) var response: [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;36m244 |[0;0m private(set) var bodyStream: InputStream!
[0;36m245 |[0;0m private var bodyStreamLength: Int = 0
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/HTTPMock/URLProtocolStub.swift:248:19: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m246 |[0;0m private(set) var contentRange: ClosedRange<Int>?
[0;36m247 |[0;0m
[0;36m248 |[0;0m init(request: [4;39mURLRequest[0;0m, responseAsset: HTTPResponseAsset) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m249 |[0;0m self.request = request
[0;36m250 |[0;0m self.originalResponseAsset = responseAsset
/host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift:358:36: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m356 |[0;0m }
[0;36m357 |[0;0m
[0;36m358 |[0;0m private func makeResponse() -> [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;36m359 |[0;0m return HTTPURLResponse(url: url,
[0;36m360 |[0;0m statusCode: currentResponseAsset.statusCode,
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/HTTPMock/URLProtocolStub.swift:318:15: [1;33mwarning: [1;39mtype '_' is not optional, value can never be nil; this is an error in the Swift 6 language mode[0;0m
[0;36m316 |[0;0m case let (requestETag?, responseETag?) where requestETag == responseETag:
[0;36m317 |[0;0m fallthrough
[0;36m318 |[0;0m case (nil, _):
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype '_' is not optional, value can never be nil; this is an error in the Swift 6 language mode[0;0m
[0;36m319 |[0;0m let rangeStr = "bytes \(range.lowerBound)-\(range.upperBound)/\(bodyStreamLength)"
[0;36m320 |[0;0m contentRange = range
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/HTTPMock/HTTPHeaderFields.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPHeaderName.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPMediaType.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPMethod.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPRequestPredicate.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPResponse.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPResponseAsset.swift /host/spi-builder-workspace/Sources/HTTPMock/HTTPResponseAssetBuilder.swift /host/spi-builder-workspace/Sources/HTTPMock/InputStreamGenerator.swift /host/spi-builder-workspace/Sources/HTTPMock/StubEntry.swift /host/spi-builder-workspace/Sources/HTTPMock/StubRegistry.swift /host/spi-builder-workspace/Sources/HTTPMock/URLProtocolService.swift /host/spi-builder-workspace/Sources/HTTPMock/URLProtocolStub.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 5 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HTTPMock -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/HTTPMock_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/Modules/HTTPMock.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/Modules/HTTPMock.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/HTTPMock-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/HTTPMock-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/HTTPMock-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMock.build/Debug-android-aarch64/HTTPMock-t.build/Objects-normal/aarch64/Modules/HTTPMock.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android