Build Information
Failed to build Replay, reference 1.1.2 (90f2d5), with Swift 6.4 for Wasm on 26 Nov 2026 02:31:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/Replay.git
Reference: 1.1.2
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/mattt/Replay
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at 90f2d5a Preserve the existing HAR until the first rewrite succeeds (#38)
Cloned https://github.com/mattt/Replay.git
Revision (git rev-parse @):
90f2d5a5db1f3d570ce114cad2cf5d75d4b5d3e4
SUCCESS checkout https://github.com/mattt/Replay.git at 1.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/mattt/Replay.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/19452] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (1.13s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/ReplayTests/Replays/source_relative.har
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/Replay/Capture.swift:32:28: [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 public static func session(
[0;36m31 |[0;0m configuration: CaptureConfiguration,
[0;36m32 |[0;0m baseConfiguration: [4;39mURLSessionConfiguration[0;0m = .default
[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 ) async -> URLSession {
[0;36m34 |[0;0m let config = baseConfiguration
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/Replay/Capture.swift:33:16: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m configuration: CaptureConfiguration,
[0;36m32 |[0;0m baseConfiguration: URLSessionConfiguration = .default
[0;36m33 |[0;0m ) async -> [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m34 |[0;0m let config = baseConfiguration
[0;36m35 |[0;0m var protocols = config.protocolClasses ?? []
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Capture.swift:32:55: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m30 |[0;0m public static func session(
[0;36m31 |[0;0m configuration: CaptureConfiguration,
[0;36m32 |[0;0m baseConfiguration: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m33 |[0;0m ) async -> URLSession {
[0;36m34 |[0;0m let config = baseConfiguration
/host/spi-builder-workspace/Sources/Replay/Capture.swift:32:55: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m30 |[0;0m public static func session(
[0;36m31 |[0;0m configuration: CaptureConfiguration,
[0;36m32 |[0;0m baseConfiguration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m33 |[0;0m ) async -> URLSession {
[0;36m34 |[0;0m let config = baseConfiguration
/host/spi-builder-workspace/Sources/Replay/Capture.swift:140:27: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m138 |[0;0m private let lock = NSLock()
[0;36m139 |[0;0m private var loadTask: Task<Void, Never>?
[0;36m140 |[0;0m private var dataTask: [4;39mURLSessionDataTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m141 |[0;0m private var isStopped = false
[0;36m142 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Capture.swift:143:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m141 |[0;0m private var isStopped = false
[0;36m142 |[0;0m
[0;36m143 |[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;36m144 |[0;0m // Prevent infinite loops
[0;36m145 |[0;0m guard URLProtocol.property(forKey: handledKey, in: request) == nil else {
/host/spi-builder-workspace/Sources/Replay/Capture.swift:154:77: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m152 |[0;0m }
[0;36m153 |[0;0m
[0;36m154 |[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;36m155 |[0;0m request
[0;36m156 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Capture.swift:154:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m152 |[0;0m }
[0;36m153 |[0;0m
[0;36m154 |[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;36m155 |[0;0m request
[0;36m156 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Capture.swift:158:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m156 |[0;0m }
[0;36m157 |[0;0m
[0;36m158 |[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;36m159 |[0;0m let startTime = Date()
[0;36m160 |[0;0m let request = self.request
/host/spi-builder-workspace/Sources/Replay/Capture.swift:184:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m182 |[0;0m }
[0;36m183 |[0;0m
[0;36m184 |[0;0m private func send(_ bodyRequest: [4;39mURLRequest[0;0m, startTime: Date) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m185 |[0;0m // Mark request as handled
[0;36m186 |[0;0m let mutableRequest = (bodyRequest as NSURLRequest).mutableCopy() as! NSMutableURLRequest
/host/spi-builder-workspace/Sources/Replay/Capture.swift:240:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m238 |[0;0m }
[0;36m239 |[0;0m
[0;36m240 |[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;36m241 |[0;0m let (loadTask, dataTask) = lock.withLock {
[0;36m242 |[0;0m isStopped = true
/host/spi-builder-workspace/Sources/Replay/Capture.swift:135:40: [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m133 |[0;0m /// `CaptureURLProtocol` forwards responses to the requesting client,
[0;36m134 |[0;0m /// and records the request/response pair asynchronously.
[0;36m135 |[0;0m public final class CaptureURLProtocol: [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;36m136 |[0;0m private static let handledKey = "ReplayCaptureHandled"
[0;36m137 |[0;0m
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/Replay/Capture.swift:342:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m340 |[0;0m /// - duration: The request duration.
[0;36m341 |[0;0m public func recordEntry(
[0;36m342 |[0;0m request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m343 |[0;0m response: HTTPURLResponse,
[0;36m344 |[0;0m data: Data,
/host/spi-builder-workspace/Sources/Replay/Capture.swift:343: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;36m341 |[0;0m public func recordEntry(
[0;36m342 |[0;0m request: URLRequest,
[0;36m343 |[0;0m 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;36m344 |[0;0m data: Data,
[0;36m345 |[0;0m startTime: Date,
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/Replay/HAR.swift:884:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m882 |[0;0m /// - Parameter urlRequest: The request to convert.
[0;36m883 |[0;0m /// - Throws: `ReplayError.invalidRequest` if the request is missing a URL.
[0;36m884 |[0;0m public init(from urlRequest: [4;39mURLRequest[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m885 |[0;0m guard let url = urlRequest.url else {
[0;36m886 |[0;0m throw ReplayError.invalidRequest("Missing URL")
/host/spi-builder-workspace/Sources/Replay/HAR.swift:848:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m846 |[0;0m /// Create an entry from a `URLRequest` and `HTTPURLResponse`.
[0;36m847 |[0;0m public init(
[0;36m848 |[0;0m request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m849 |[0;0m response: HTTPURLResponse,
[0;36m850 |[0;0m data: Data,
/host/spi-builder-workspace/Sources/Replay/HAR.swift:849: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;36m847 |[0;0m public init(
[0;36m848 |[0;0m request: URLRequest,
[0;36m849 |[0;0m 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;36m850 |[0;0m data: Data,
[0;36m851 |[0;0m startTime: Date,
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/Replay/HAR.swift:956: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;36m954 |[0;0m /// - httpResponse: The response to convert.
[0;36m955 |[0;0m /// - data: The response body data.
[0;36m956 |[0;0m public init(from httpResponse: [4;39mHTTPURLResponse[0;0m, data: Data) throws {
[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;36m957 |[0;0m self.status = httpResponse.statusCode
[0;36m958 |[0;0m self.statusText = HTTPURLResponse.localizedString(forStatusCode: httpResponse.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/Replay/HAR.swift:1010:44: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1008 |[0;0m extension HAR.Entry {
[0;36m1009 |[0;0m /// Convert an entry back into `HTTPURLResponse` and body `Data` for playback.
[0;36m1010 |[0;0m public func toURLResponse() throws -> ([4;39mHTTPURLResponse[0;0m, Data) {
[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;36m1011 |[0;0m guard let url = URL(string: request.url) else {
[0;36m1012 |[0;0m throw ReplayError.invalidURL(request.url)
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/Replay/Matcher.swift:59:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m /// Escape hatch for custom matching logic.
[0;36m58 |[0;0m /// Compares an incoming request against a candidate request (typically from a recorded entry).
[0;36m59 |[0;0m case custom(@Sendable (_ request: [4;39mURLRequest[0;0m, _ candidate: URLRequest) -> Bool)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// Whether this matcher can read the request body.
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:59:64: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m /// Escape hatch for custom matching logic.
[0;36m58 |[0;0m /// Compares an incoming request against a candidate request (typically from a recorded entry).
[0;36m59 |[0;0m case custom(@Sendable (_ request: URLRequest, _ candidate: [4;39mURLRequest[0;0m) -> Bool)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m /// Whether this matcher can read the request body.
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:72:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m func test(_ request: [4;39mURLRequest[0;0m, _ candidate: URLRequest) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m73 |[0;0m switch self {
[0;36m74 |[0;0m case .method:
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:72:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m func test(_ request: URLRequest, _ candidate: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m73 |[0;0m switch self {
[0;36m74 |[0;0m case .method:
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:156:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m154 |[0;0m ///
[0;36m155 |[0;0m /// This is used by capture as an opt-in filter.
[0;36m156 |[0;0m public func matches(_ request: [4;39mURLRequest[0;0m) -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m157 |[0;0m for matcher in self {
[0;36m158 |[0;0m if !matcher.test(request, request) {
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:166:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m164 |[0;0m
[0;36m165 |[0;0m /// Finds the first entry whose request matches according to all matchers.
[0;36m166 |[0;0m public func firstMatch(for request: [4;39mURLRequest[0;0m, in entries: [HAR.Entry]) -> HAR.Entry? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m167 |[0;0m firstMatch(for: request, in: entries, filters: [])
[0;36m168 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:170:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m168 |[0;0m }
[0;36m169 |[0;0m
[0;36m170 |[0;0m func firstMatch(for request: [4;39mURLRequest[0;0m, in entries: [HAR.Entry], filters: [Filter]) -> HAR.Entry? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m171 |[0;0m for entry in entries {
[0;36m172 |[0;0m guard let entryURL = URL(string: entry.request.url) else { continue }
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:197:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m private func matches(
[0;36m197 |[0;0m _ request: [4;39mURLRequest[0;0m, _ candidate: URLRequest, candidateURL: String, filters: [Filter]
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m198 |[0;0m ) -> Bool {
[0;36m199 |[0;0m for matcher in self {
/host/spi-builder-workspace/Sources/Replay/Matcher.swift:197:45: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m private func matches(
[0;36m197 |[0;0m _ request: URLRequest, _ candidate: [4;39mURLRequest[0;0m, candidateURL: String, filters: [Filter]
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m198 |[0;0m ) -> Bool {
[0;36m199 |[0;0m for matcher in self {
/host/spi-builder-workspace/Sources/Replay/Playback.swift:17:28: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m public static func session(
[0;36m16 |[0;0m configuration: PlaybackConfiguration,
[0;36m17 |[0;0m baseConfiguration: [4;39mURLSessionConfiguration[0;0m = .ephemeral
[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;36m18 |[0;0m ) async throws -> URLSession {
[0;36m19 |[0;0m let config = baseConfiguration
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/Replay/Playback.swift:18:23: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m configuration: PlaybackConfiguration,
[0;36m17 |[0;0m baseConfiguration: URLSessionConfiguration = .ephemeral
[0;36m18 |[0;0m ) async throws -> [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m let config = baseConfiguration
[0;36m20 |[0;0m var protocols = config.protocolClasses ?? []
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:17:55: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m15 |[0;0m public static func session(
[0;36m16 |[0;0m configuration: PlaybackConfiguration,
[0;36m17 |[0;0m baseConfiguration: URLSessionConfiguration = .ephemeral
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m18 |[0;0m ) async throws -> URLSession {
[0;36m19 |[0;0m let config = baseConfiguration
/host/spi-builder-workspace/Sources/Replay/Playback.swift:17:55: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'[0;0m
[0;36m15 |[0;0m public static func session(
[0;36m16 |[0;0m configuration: PlaybackConfiguration,
[0;36m17 |[0;0m baseConfiguration: URLSessionConfiguration = [4;39m.ephemeral[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'[0;0m
[0;36m18 |[0;0m ) async throws -> URLSession {
[0;36m19 |[0;0m let config = baseConfiguration
/host/spi-builder-workspace/Sources/Replay/Playback.swift:195:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m193 |[0;0m }
[0;36m194 |[0;0m
[0;36m195 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m196 |[0;0m /// Returns a copy whose body is in `httpBody`, read from `httpBodyStream` if needed.
[0;36m197 |[0;0m ///
/host/spi-builder-workspace/Sources/Replay/Playback.swift:265:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m263 |[0;0m }
[0;36m264 |[0;0m
[0;36m265 |[0;0m private func requestDescription(_ request: [4;39mURLRequest[0;0m) -> String {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m266 |[0;0m let method = request.httpMethod ?? "GET"
[0;36m267 |[0;0m let url = request.url?.absoluteString ?? "<unknown URL>"
/host/spi-builder-workspace/Sources/Replay/Playback.swift:283:33: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m281 |[0;0m private let lock = NSLock()
[0;36m282 |[0;0m private var streamTask: Task<Void, Never>?
[0;36m283 |[0;0m private var urlSessionTask: [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;36m284 |[0;0m
[0;36m285 |[0;0m public override class func canInit(with request: URLRequest) -> Bool {
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/Replay/Playback.swift:285:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m283 |[0;0m private var urlSessionTask: URLSessionTask?
[0;36m284 |[0;0m
[0;36m285 |[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;36m286 |[0;0m guard URLProtocol.property(forKey: handledKey, in: request) == nil else {
[0;36m287 |[0;0m return false
/host/spi-builder-workspace/Sources/Replay/Playback.swift:292:77: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[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;36m293 |[0;0m request
[0;36m294 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Playback.swift:292:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[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;36m293 |[0;0m request
[0;36m294 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Playback.swift:296:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m294 |[0;0m }
[0;36m295 |[0;0m
[0;36m296 |[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;36m297 |[0;0m let mutableRequest = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
[0;36m298 |[0;0m URLProtocol.setProperty(true, forKey: Self.handledKey, in: mutableRequest)
/host/spi-builder-workspace/Sources/Replay/Playback.swift:498:44: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m496 |[0;0m }
[0;36m497 |[0;0m
[0;36m498 |[0;0m private func setURLSessionTask(_ 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;36m499 |[0;0m lock.lock()
[0;36m500 |[0;0m urlSessionTask = task
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/Replay/Playback.swift:504:26: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m502 |[0;0m }
[0;36m503 |[0;0m
[0;36m504 |[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;36m505 |[0;0m lock.lock()
[0;36m506 |[0;0m let urlSessionTask = self.urlSessionTask
/host/spi-builder-workspace/Sources/Replay/Playback.swift:277:41: [1;31merror: [1;39m'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m275 |[0;0m /// For network requests (live/passthrough mode), responses are streamed incrementally,
[0;36m276 |[0;0m /// enabling support for Server-Sent Events and other streaming protocols.
[0;36m277 |[0;0m public final class PlaybackURLProtocol: [4;39mURLProtocol[0;0m, @unchecked Sendable {
[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;36m278 |[0;0m private static let handledKey = "ReplayPlaybackHandled"
[0;36m279 |[0;0m // `startLoading()` and `stopLoading()` run on the client's thread,
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/Replay/Playback.swift:520:42: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m518 |[0;0m
[0;36m519 |[0;0m /// A delegate that bridges URLSession callbacks to async streams for SSE support.
[0;36m520 |[0;0m final class StreamingDelegate: NSObject, [4;39mURLSessionDataDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m521 |[0;0m /// The response hand-off between URLSession's delegate queue and `waitForResponse()`.
[0;36m522 |[0;0m /// URLSession can deliver the response, or fail, before the caller starts to wait.
/host/spi-builder-workspace/Sources/Replay/Playback.swift:525:42: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m523 |[0;0m private enum ResponseState {
[0;36m524 |[0;0m case pending
[0;36m525 |[0;0m case waiting(CheckedContinuation<[4;39mHTTPURLResponse[0;0m, Error>)
[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;36m526 |[0;0m case ready(Result<HTTPURLResponse, Error>)
[0;36m527 |[0;0m case delivered
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/Replay/Playback.swift:526: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;36m524 |[0;0m case pending
[0;36m525 |[0;0m case waiting(CheckedContinuation<HTTPURLResponse, Error>)
[0;36m526 |[0;0m case ready(Result<[4;39mHTTPURLResponse[0;0m, Error>)
[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;36m527 |[0;0m case delivered
[0;36m528 |[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/Replay/Playback.swift:551:44: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m549 |[0;0m ///
[0;36m550 |[0;0m /// Call this method at most once.
[0;36m551 |[0;0m func waitForResponse() async throws -> [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;36m552 |[0;0m try await withCheckedThrowingContinuation { continuation in
[0;36m553 |[0;0m lock.lock()
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/Replay/Playback.swift:570:50: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m568 |[0;0m
[0;36m569 |[0;0m /// Settles the response with the first result; later results are ignored.
[0;36m570 |[0;0m private func settleResponse(_ result: Result<[4;39mHTTPURLResponse[0;0m, Error>) {
[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;36m571 |[0;0m lock.lock()
[0;36m572 |[0;0m switch responseState {
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/Replay/Playback.swift:587:50: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m585 |[0;0m func urlSession(
[0;36m586 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m587 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m588 |[0;0m ) {
[0;36m589 |[0;0m if let httpResponse = response as? HTTPURLResponse {
/host/spi-builder-workspace/Sources/Replay/Playback.swift:586:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m584 |[0;0m
[0;36m585 |[0;0m func urlSession(
[0;36m586 |[0;0m _ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m587 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void
[0;36m588 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:586:42: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m584 |[0;0m
[0;36m585 |[0;0m func urlSession(
[0;36m586 |[0;0m _ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m587 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void
[0;36m588 |[0;0m ) {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:586:83: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m584 |[0;0m
[0;36m585 |[0;0m func urlSession(
[0;36m586 |[0;0m _ session: URLSession, dataTask: URLSessionDataTask, didReceive 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;36m587 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void
[0;36m588 |[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/Replay/Playback.swift:595:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m593 |[0;0m }
[0;36m594 |[0;0m
[0;36m595 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m596 |[0;0m dataContinuation.yield(data)
[0;36m597 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:595:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m593 |[0;0m }
[0;36m594 |[0;0m
[0;36m595 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m596 |[0;0m dataContinuation.yield(data)
[0;36m597 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:605:50: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m603 |[0;0m _ session: URLSession,
[0;36m604 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m605 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m606 |[0;0m ) {
[0;36m607 |[0;0m forward(challenge, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/Replay/Playback.swift:603:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m601 |[0;0m // forwarded, otherwise trust decisions silently fall back to default handling.
[0;36m602 |[0;0m func urlSession(
[0;36m603 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m604 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m605 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:604:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m602 |[0;0m func urlSession(
[0;36m603 |[0;0m _ session: URLSession,
[0;36m604 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m605 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m606 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:614:50: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m612 |[0;0m task: URLSessionTask,
[0;36m613 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m614 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m615 |[0;0m ) {
[0;36m616 |[0;0m forward(challenge, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/Replay/Playback.swift:611:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m609 |[0;0m
[0;36m610 |[0;0m func urlSession(
[0;36m611 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m612 |[0;0m task: URLSessionTask,
[0;36m613 |[0;0m didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:612:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m610 |[0;0m func urlSession(
[0;36m611 |[0;0m _ session: URLSession,
[0;36m612 |[0;0m 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;36m613 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m614 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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/Replay/Playback.swift:613:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m611 |[0;0m _ session: URLSession,
[0;36m612 |[0;0m task: URLSessionTask,
[0;36m613 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m614 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m615 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:621:50: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m619 |[0;0m private func forward(
[0;36m620 |[0;0m _ challenge: URLAuthenticationChallenge,
[0;36m621 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m622 |[0;0m ) {
[0;36m623 |[0;0m guard let urlProtocol, let client = urlProtocol.client else {
/host/spi-builder-workspace/Sources/Replay/Playback.swift:620:22: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m618 |[0;0m
[0;36m619 |[0;0m private func forward(
[0;36m620 |[0;0m _ challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m621 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m622 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:642:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m640 |[0;0m }
[0;36m641 |[0;0m
[0;36m642 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m643 |[0;0m if let error = error {
[0;36m644 |[0;0m settleResponse(.failure(error))
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:642:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m640 |[0;0m }
[0;36m641 |[0;0m
[0;36m642 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[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;36m643 |[0;0m if let error = error {
[0;36m644 |[0;0m settleResponse(.failure(error))
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/Replay/Playback.swift:659:51: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m657 |[0;0m private var completionHandler: ((URLSession.AuthChallengeDisposition, URLCredential?) -> Void)?
[0;36m658 |[0;0m
[0;36m659 |[0;0m init(completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m660 |[0;0m self.completionHandler = completionHandler
[0;36m661 |[0;0m }
/host/spi-builder-workspace/Sources/Replay/Playback.swift:655:59: [1;31merror: [1;39mcannot find type 'URLAuthenticationChallengeSender' in scope[0;0m
[0;36m653 |[0;0m
[0;36m654 |[0;0m /// Bridges URLProtocolClient challenge decisions back into URLSession's challenge completion handler.
[0;36m655 |[0;0m private final class PlaybackChallengeForwarder: NSObject, [4;39mURLAuthenticationChallengeSender[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLAuthenticationChallengeSender' in scope[0;0m
[0;36m656 |[0;0m private let lock = NSLock()
[0;36m657 |[0;0m private var completionHandler: ((URLSession.AuthChallengeDisposition, URLCredential?) -> Void)?
/host/spi-builder-workspace/Sources/Replay/Playback.swift:657:49: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m655 |[0;0m private final class PlaybackChallengeForwarder: NSObject, URLAuthenticationChallengeSender, @unchecked Sendable {
[0;36m656 |[0;0m private let lock = NSLock()
[0;36m657 |[0;0m private var completionHandler: (([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m658 |[0;0m
[0;36m659 |[0;0m init(completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
/host/spi-builder-workspace/Sources/Replay/Playback.swift:663:28: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m661 |[0;0m }
[0;36m662 |[0;0m
[0;36m663 |[0;0m func use(_ credential: [4;39mURLCredential[0;0m, for challenge: URLAuthenticationChallenge) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m664 |[0;0m complete(.useCredential, credential)
[0;36m665 |[0;0m }
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' 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 URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:663:58: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m661 |[0;0m }
[0;36m662 |[0;0m
[0;36m663 |[0;0m func use(_ credential: URLCredential, for challenge: [4;39mURLAuthenticationChallenge[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m664 |[0;0m complete(.useCredential, credential)
[0;36m665 |[0;0m }
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:667:51: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m665 |[0;0m }
[0;36m666 |[0;0m
[0;36m667 |[0;0m func continueWithoutCredential(for challenge: [4;39mURLAuthenticationChallenge[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m668 |[0;0m // "Continue without a credential" maps to URLSession's default handling,
[0;36m669 |[0;0m // not to `.useCredential` with a nil credential.
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:673:30: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m671 |[0;0m }
[0;36m672 |[0;0m
[0;36m673 |[0;0m func cancel(_ challenge: [4;39mURLAuthenticationChallenge[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m674 |[0;0m complete(.cancelAuthenticationChallenge, nil)
[0;36m675 |[0;0m }
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:677:48: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m675 |[0;0m }
[0;36m676 |[0;0m
[0;36m677 |[0;0m func performDefaultHandling(for challenge: [4;39mURLAuthenticationChallenge[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m678 |[0;0m complete(.performDefaultHandling, nil)
[0;36m679 |[0;0m }
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:681:59: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m679 |[0;0m }
[0;36m680 |[0;0m
[0;36m681 |[0;0m func rejectProtectionSpaceAndContinue(with challenge: [4;39mURLAuthenticationChallenge[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m682 |[0;0m complete(.rejectProtectionSpace, nil)
[0;36m683 |[0;0m }
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:685:53: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m683 |[0;0m }
[0;36m684 |[0;0m
[0;36m685 |[0;0m private func complete(_ disposition: [4;39mURLSession[0;0m.AuthChallengeDisposition, _ credential: URLCredential?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m686 |[0;0m // A challenge sender may receive more than one callback from a defensive client;
[0;36m687 |[0;0m // URLSession completion handlers must only be invoked once.
/host/spi-builder-workspace/Sources/Replay/Playback.swift:685:93: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m683 |[0;0m }
[0;36m684 |[0;0m
[0;36m685 |[0;0m private func complete(_ disposition: URLSession.AuthChallengeDisposition, _ credential: [4;39mURLCredential[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m686 |[0;0m // A challenge sender may receive more than one callback from a defensive client;
[0;36m687 |[0;0m // URLSession completion handlers must only be invoked once.
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' 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 URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:804:23: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m802 |[0;0m public enum RequestDisposition: Sendable {
[0;36m803 |[0;0m /// Use the recorded entry's response.
[0;36m804 |[0;0m case recorded([4;39mHTTPURLResponse[0;0m, Data)
[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;36m805 |[0;0m /// No match found; go to the network (with optional recording).
[0;36m806 |[0;0m case network(shouldRecord: Bool)
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/Replay/Playback.swift:804:14: [1;31merror: [1;39massociated value 'recorded' of 'Sendable'-conforming enum 'RequestDisposition' contains non-Sendable type 'AnyObject'[0;0m
[0;36m802 |[0;0m public enum RequestDisposition: Sendable {
[0;36m803 |[0;0m /// Use the recorded entry's response.
[0;36m804 |[0;0m case recorded(HTTPURLResponse, Data)
[0;36m|[0;0m `- [1;31merror: [1;39massociated value 'recorded' of 'Sendable'-conforming enum 'RequestDisposition' contains non-Sendable type 'AnyObject'[0;0m
[0;36m805 |[0;0m /// No match found; go to the network (with optional recording).
[0;36m806 |[0;0m case network(shouldRecord: Bool)
/host/spi-builder-workspace/Sources/Replay/Playback.swift:818:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m816 |[0;0m /// - Parameter request: The request to check.
[0;36m817 |[0;0m /// - Returns: A disposition indicating how to handle the request.
[0;36m818 |[0;0m public func checkRequest(_ request: [4;39mURLRequest[0;0m) throws -> RequestDisposition {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m819 |[0;0m guard let config = configuration else {
[0;36m820 |[0;0m throw ReplayError.notConfigured
/host/spi-builder-workspace/Sources/Replay/Playback.swift:869:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m867 |[0;0m /// - duration: How long the request took.
[0;36m868 |[0;0m public func recordResponse(
[0;36m869 |[0;0m request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m870 |[0;0m response: HTTPURLResponse,
[0;36m871 |[0;0m data: Data,
/host/spi-builder-workspace/Sources/Replay/Playback.swift:870: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;36m868 |[0;0m public func recordResponse(
[0;36m869 |[0;0m request: URLRequest,
[0;36m870 |[0;0m 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;36m871 |[0;0m data: Data,
[0;36m872 |[0;0m duration: TimeInterval,
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/Replay/Playback.swift:932:42: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m930 |[0;0m /// responses like Server-Sent Events. For streaming support, use `checkRequest(_:)`
[0;36m931 |[0;0m /// and handle network requests with `URLSession.bytes(for:)`.
[0;36m932 |[0;0m public func handleRequest(_ request: [4;39mURLRequest[0;0m) async throws -> (HTTPURLResponse, Data) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m933 |[0;0m switch try checkRequest(request) {
[0;36m934 |[0;0m case .recorded(let response, let data):
/host/spi-builder-workspace/Sources/Replay/Playback.swift:932:71: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m930 |[0;0m /// responses like Server-Sent Events. For streaming support, use `checkRequest(_:)`
[0;36m931 |[0;0m /// and handle network requests with `URLSession.bytes(for:)`.
[0;36m932 |[0;0m public func handleRequest(_ request: URLRequest) async throws -> ([4;39mHTTPURLResponse[0;0m, Data) {
[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;36m933 |[0;0m switch try checkRequest(request) {
[0;36m934 |[0;0m case .recorded(let response, let data):
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/Replay/Playback.swift:297:31: [1;31merror: [1;39mcannot find 'request' in scope[0;0m
[0;36m295 |[0;0m
[0;36m296 |[0;0m public override func startLoading() {
[0;36m297 |[0;0m let mutableRequest = ([4;39mrequest[0;0m as NSURLRequest).mutableCopy() as! NSMutableURLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'request' in scope[0;0m
[0;36m298 |[0;0m URLProtocol.setProperty(true, forKey: Self.handledKey, in: mutableRequest)
[0;36m299 |[0;0m let markedRequest = mutableRequest as URLRequest
/host/spi-builder-workspace/Sources/Replay/Playback.swift:297:42: [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m295 |[0;0m
[0;36m296 |[0;0m public override func startLoading() {
[0;36m297 |[0;0m let mutableRequest = (request as [4;39mNSURLRequest[0;0m).mutableCopy() as! NSMutableURLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m298 |[0;0m URLProtocol.setProperty(true, forKey: Self.handledKey, in: mutableRequest)
[0;36m299 |[0;0m let markedRequest = mutableRequest as URLRequest
/host/spi-builder-workspace/Sources/Replay/Playback.swift:297:74: [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m295 |[0;0m
[0;36m296 |[0;0m public override func startLoading() {
[0;36m297 |[0;0m let mutableRequest = (request as NSURLRequest).mutableCopy() as! [4;39mNSMutableURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m298 |[0;0m URLProtocol.setProperty(true, forKey: Self.handledKey, in: mutableRequest)
[0;36m299 |[0;0m let markedRequest = mutableRequest as URLRequest
/host/spi-builder-workspace/Sources/Replay/Playback.swift:298:21: [1;31merror: [1;39mtype 'URLProtocol' (aka 'AnyObject') has no member 'setProperty'[0;0m
[0;36m296 |[0;0m public override func startLoading() {
[0;36m297 |[0;0m let mutableRequest = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
[0;36m298 |[0;0m [4;39mURLProtocol[0;0m.[4;39msetProperty[0;0m(true, forKey: Self.handledKey, in: mutableRequest)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLProtocol' (aka 'AnyObject') has no member 'setProperty'[0;0m
[0;36m299 |[0;0m let markedRequest = mutableRequest as URLRequest
[0;36m300 |[0;0m
/host/spi-builder-workspace/Sources/Replay/Playback.swift:299:47: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m297 |[0;0m let mutableRequest = (request as NSURLRequest).mutableCopy() as! NSMutableURLRequest
[0;36m298 |[0;0m URLProtocol.setProperty(true, forKey: Self.handledKey, in: mutableRequest)
[0;36m299 |[0;0m let markedRequest = mutableRequest as [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m300 |[0;0m
[0;36m301 |[0;0m // URLProtocol predates Swift concurrency; wrap self to cross isolation boundary
/host/spi-builder-workspace/Sources/Replay/Replay.swift:86:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m84 |[0;0m /// This is a convenience for tests and tools that want a session without
[0;36m85 |[0;0m /// manually configuring `URLSessionConfiguration`.
[0;36m86 |[0;0m public static var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m87 |[0;0m let config = URLSessionConfiguration.ephemeral
[0;36m88 |[0;0m configure(config)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Replay.swift:103: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;36m101 |[0;0m /// Configure a `URLSessionConfiguration` with `PlaybackURLProtocol`
[0;36m102 |[0;0m /// inserted at highest priority.
[0;36m103 |[0;0m public static func configure(_ 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;36m104 |[0;0m var protocols = configuration.protocolClasses ?? []
[0;36m105 |[0;0m if !protocols.contains(where: { $0 == PlaybackURLProtocol.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/Replay/Replay.swift:113:15: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m /// Create a new `URLSessionConfiguration` with Replay pre-configured.
[0;36m112 |[0;0m public static func configuration(
[0;36m113 |[0;0m base: [4;39mURLSessionConfiguration[0;0m = .default
[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;36m114 |[0;0m ) -> URLSessionConfiguration {
[0;36m115 |[0;0m let config = base
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/Replay/Replay.swift:114:10: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m112 |[0;0m public static func configuration(
[0;36m113 |[0;0m base: URLSessionConfiguration = .default
[0;36m114 |[0;0m ) -> [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;36m115 |[0;0m let config = base
[0;36m116 |[0;0m configure(config)
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/Replay/Replay.swift:113:42: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m111 |[0;0m /// Create a new `URLSessionConfiguration` with Replay pre-configured.
[0;36m112 |[0;0m public static func configuration(
[0;36m113 |[0;0m base: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m114 |[0;0m ) -> URLSessionConfiguration {
[0;36m115 |[0;0m let config = base
/host/spi-builder-workspace/Sources/Replay/Replay.swift:113:42: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m111 |[0;0m /// Create a new `URLSessionConfiguration` with Replay pre-configured.
[0;36m112 |[0;0m public static func configuration(
[0;36m113 |[0;0m base: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m114 |[0;0m ) -> URLSessionConfiguration {
[0;36m115 |[0;0m let config = base
/host/spi-builder-workspace/Sources/Replay/Replay.swift:122:24: [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 /// Create a `URLSession` with Replay pre-configured.
[0;36m121 |[0;0m public static func makeSession(
[0;36m122 |[0;0m configuration: [4;39mURLSessionConfiguration[0;0m = .default
[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 ) -> URLSession {
[0;36m124 |[0;0m let config = self.configuration(base: configuration)
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/Replay/Replay.swift:123:10: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m121 |[0;0m public static func makeSession(
[0;36m122 |[0;0m configuration: URLSessionConfiguration = .default
[0;36m123 |[0;0m ) -> [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m124 |[0;0m let config = self.configuration(base: configuration)
[0;36m125 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Replay/Replay.swift:122:51: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m120 |[0;0m /// Create a `URLSession` with Replay pre-configured.
[0;36m121 |[0;0m public static func makeSession(
[0;36m122 |[0;0m configuration: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m123 |[0;0m ) -> URLSession {
[0;36m124 |[0;0m let config = self.configuration(base: configuration)
/host/spi-builder-workspace/Sources/Replay/Replay.swift:122:51: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m120 |[0;0m /// Create a `URLSession` with Replay pre-configured.
[0;36m121 |[0;0m public static func makeSession(
[0;36m122 |[0;0m configuration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m123 |[0;0m ) -> URLSession {
[0;36m124 |[0;0m let config = self.configuration(base: configuration)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Replay/Capture.swift /host/spi-builder-workspace/Sources/Replay/Error.swift /host/spi-builder-workspace/Sources/Replay/Filter.swift /host/spi-builder-workspace/Sources/Replay/HAR.swift /host/spi-builder-workspace/Sources/Replay/Matcher.swift /host/spi-builder-workspace/Sources/Replay/Playback.swift /host/spi-builder-workspace/Sources/Replay/Replay+HTTPClient.swift /host/spi-builder-workspace/Sources/Replay/Replay.swift /host/spi-builder-workspace/Sources/Replay/Stub.swift /host/spi-builder-workspace/Sources/Replay/Traits.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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/Replay.build/Debug-webassembly-wasm32/Replay-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Replay -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Replay_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/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Modules/Replay.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Modules/Replay.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Replay-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Replay-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Replay-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Replay.build/Debug-webassembly-wasm32/Replay-t.build/Objects-normal/wasm32/Modules/Replay.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm