Build Information
Failed to build KassiOS, reference main (23b036), with Swift 6.2 for Wasm on 5 Nov 2026 10:46:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VadimToptunov/KassiOS.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/VadimToptunov/KassiOS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 23b036b Merge pull request #86 from VadimToptunov/release/1.10.1
Cloned https://github.com/VadimToptunov/KassiOS.git
Revision (git rev-parse @):
23b036bac19ebfa39b568c0380a52d683a705694
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/VadimToptunov/KassiOS.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/VadimToptunov/KassiOS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/19] Write sources
[7/19] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/69] Emitting module KassiOSStubs
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:45:34: error: cannot find type 'URLRequest' in scope
43 |
44 | /// The first stub matching `request` by URL substring (and method, if set).
45 | static func match(_ request: URLRequest) -> KassStubDefinition? {
| `- error: cannot find type 'URLRequest' in scope
46 | guard let url = request.url?.absoluteString else { return nil }
47 | return stubs.first { stub in
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:57:47: error: cannot find type 'URLRequest' in scope
55 | // These override URLProtocol's class methods, so they must be `class func`.
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
| `- error: cannot find type 'URLRequest' in scope
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
59 | // swiftlint:enable static_over_final_class
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:58:70: error: cannot find type 'URLRequest' in scope
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
| `- error: cannot find type 'URLRequest' in scope
59 | // swiftlint:enable static_over_final_class
60 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:58:55: error: cannot find type 'URLRequest' in scope
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
| `- error: cannot find type 'URLRequest' in scope
59 | // swiftlint:enable static_over_final_class
60 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:61:19: error: method does not override any method from its superclass
59 | // swiftlint:enable static_over_final_class
60 |
61 | override func startLoading() {
| `- error: method does not override any method from its superclass
62 | guard let stub = Self.match(request), let url = request.url else {
63 | client?.urlProtocol(self, didFailWithError: URLError(.unsupportedURL))
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:83:19: error: method does not override any method from its superclass
81 | }
82 |
83 | override func stopLoading() {}
| `- error: method does not override any method from its superclass
84 | }
85 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:40:34: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// Replays stubbed responses for requests the app makes through `URLSession.shared`
39 | /// (and any session whose configuration includes registered protocols).
40 | final class KassStubURLProtocol: URLProtocol {
| `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | // Set once during `installIfConfigured`, before any request runs.
42 | nonisolated(unsafe) static var stubs: [KassStubDefinition] = []
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
| `- note: 'URLProtocol' has been explicitly marked unavailable here
[10/69] Compiling KassiOSAgentCLI SimctlRunner.swift
[11/69] Compiling KassiOSAgentCLI HTTPServer.swift
[12/69] Compiling KassiOSAgentCLI RecordingManager.swift
[13/69] Compiling KassiOS KassDiagnostic.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[14/69] Compiling KassiOS KassDocloc.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[15/69] Compiling KassiOS KassElement.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[16/69] Compiling KassiOS KassElementCollection.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[17/69] Compiling KassiOS KassElementDeepAssertions.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[18/74] Compiling KassiOS KassScreen.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[19/74] Compiling KassiOS KassSnapshot.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[20/74] Compiling KassiOS KassSuite.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[21/74] Compiling KassiOS KassSynchronizer.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[22/74] Compiling KassiOS KassTestCase.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[23/74] Compiling KassiOS KassIdentifierInventory.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[24/74] Compiling KassiOS KassIdentifierSuggestions.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[25/74] Compiling KassiOS KassInterceptor.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[26/74] Compiling KassiOS KassMetadata.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[27/74] Compiling KassiOS KassNavigation.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[28/74] Compiling KassiOS KassNetworkStub.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[29/74] Compiling KassiOS KassNumberParsing.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[30/74] Compiling KassiOS KassRobot.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[31/74] Compiling KassiOS KassScaffold.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[32/74] Compiling KassiOS KassScenario.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[33/74] Compiling KassiOS KassFlakyTracker.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[34/74] Compiling KassiOS KassFlow.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[35/74] Compiling KassiOS KassGestures.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[36/74] Compiling KassiOS KassHTTP.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[37/74] Compiling KassiOS KassHardwareStub.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[38/74] Compiling KassiOS AllureReporter.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[39/74] Compiling KassiOS JUnitReporter.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[40/74] Compiling KassiOS KassAccessibilityAudit.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[41/74] Compiling KassiOS KassActionOutcome.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[42/74] Compiling KassiOS KassAgentProtocol.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/74] Compiling KassiOS KassBuiltinInterceptors.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[44/74] Compiling KassiOS KassCombinators.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[45/74] Compiling KassiOS KassConfig.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[46/74] Compiling KassiOS KassDevice.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[47/74] Compiling KassiOS KassDeviceTierC.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[48/74] Emitting module KassiOS
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[49/74] Compiling KassiOSMutants Parallel.swift
[50/74] Emitting module KassiOSTool
[51/74] Compiling KassiOSTool ToolCommand.swift
[52/74] Emitting module KassiOSAgentCLI
[53/74] Compiling KassiOSAgentCLI AgentProtocol.swift
[54/74] Compiling KassiOS KassTimeAndReads.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[55/74] Compiling KassiOS KassTreeWalk.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[56/74] Compiling KassiOS MainActorBox.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[57/74] Compiling KassiOS StabilizingSynchronizer.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[58/74] Compiling KassiOS Waiter.swift
/host/spi-builder-workspace/Sources/KassiOS/KassSnapshot.swift:2:8: error: no such module 'CoreGraphics'
1 | import XCTest
2 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
3 | import ImageIO
4 |
[59/75] Compiling KassiOSAgentCLI Agent.swift
[60/76] Compiling KassiOSStubs KassiOSStubs.swift
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:45:34: error: cannot find type 'URLRequest' in scope
43 |
44 | /// The first stub matching `request` by URL substring (and method, if set).
45 | static func match(_ request: URLRequest) -> KassStubDefinition? {
| `- error: cannot find type 'URLRequest' in scope
46 | guard let url = request.url?.absoluteString else { return nil }
47 | return stubs.first { stub in
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:57:47: error: cannot find type 'URLRequest' in scope
55 | // These override URLProtocol's class methods, so they must be `class func`.
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
| `- error: cannot find type 'URLRequest' in scope
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
59 | // swiftlint:enable static_over_final_class
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:58:70: error: cannot find type 'URLRequest' in scope
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
| `- error: cannot find type 'URLRequest' in scope
59 | // swiftlint:enable static_over_final_class
60 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:58:55: error: cannot find type 'URLRequest' in scope
56 | // swiftlint:disable static_over_final_class
57 | override class func canInit(with request: URLRequest) -> Bool { match(request) != nil }
58 | override class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
| `- error: cannot find type 'URLRequest' in scope
59 | // swiftlint:enable static_over_final_class
60 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:61:19: error: method does not override any method from its superclass
59 | // swiftlint:enable static_over_final_class
60 |
61 | override func startLoading() {
| `- error: method does not override any method from its superclass
62 | guard let stub = Self.match(request), let url = request.url else {
63 | client?.urlProtocol(self, didFailWithError: URLError(.unsupportedURL))
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:83:19: error: method does not override any method from its superclass
81 | }
82 |
83 | override func stopLoading() {}
| `- error: method does not override any method from its superclass
84 | }
85 |
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:40:34: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | /// Replays stubbed responses for requests the app makes through `URLSession.shared`
39 | /// (and any session whose configuration includes registered protocols).
40 | final class KassStubURLProtocol: URLProtocol {
| `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | // Set once during `installIfConfigured`, before any request runs.
42 | nonisolated(unsafe) static var stubs: [KassStubDefinition] = []
Foundation.URLProtocol:2:18: note: 'URLProtocol' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtocol = AnyObject
| `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:23:21: error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
21 | !stubs.isEmpty else { return }
22 | KassStubURLProtocol.stubs = stubs
23 | URLProtocol.registerClass(KassStubURLProtocol.self)
| `- error: type 'URLProtocol' (aka 'AnyObject') has no member 'registerClass'
24 | }
25 | }
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:47:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
45 | static func match(_ request: URLRequest) -> KassStubDefinition? {
46 | guard let url = request.url?.absoluteString else { return nil }
47 | return stubs.first { stub in
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
48 | // Empty substring = match every URL (whole-app offline). Explicit,
49 | // because Foundation's `String.contains("")` returns false here.
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:62:37: error: cannot find 'request' in scope
60 |
61 | override func startLoading() {
62 | guard let stub = Self.match(request), let url = request.url else {
| `- error: cannot find 'request' in scope
63 | client?.urlProtocol(self, didFailWithError: URLError(.unsupportedURL))
64 | return
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:62:57: error: cannot find 'request' in scope
60 |
61 | override func startLoading() {
62 | guard let stub = Self.match(request), let url = request.url else {
| `- error: cannot find 'request' in scope
63 | client?.urlProtocol(self, didFailWithError: URLError(.unsupportedURL))
64 | return
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:63:13: error: cannot find 'client' in scope
61 | override func startLoading() {
62 | guard let stub = Self.match(request), let url = request.url else {
63 | client?.urlProtocol(self, didFailWithError: URLError(.unsupportedURL))
| `- error: cannot find 'client' in scope
64 | return
65 | }
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:67:13: error: cannot find 'client' in scope
65 | }
66 | if stub.failWithOffline {
67 | client?.urlProtocol(self, didFailWithError: URLError(.notConnectedToInternet))
| `- error: cannot find 'client' in scope
68 | return
69 | }
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:70:30: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 | return
69 | }
70 | guard let response = HTTPURLResponse(
| `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
71 | url: url, statusCode: stub.statusCode, httpVersion: "HTTP/1.1", headerFields: stub.headers
72 | ) else {
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:75:13: error: cannot find 'client' in scope
73 | // Fail loudly rather than substitute a bogus 200 — a malformed stub
74 | // (bad status code / headers) should surface, not silently "succeed".
75 | client?.urlProtocol(self, didFailWithError: URLError(.badServerResponse))
| `- error: cannot find 'client' in scope
76 | return
77 | }
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:78:9: error: cannot find 'client' in scope
76 | return
77 | }
78 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
| `- error: cannot find 'client' in scope
79 | client?.urlProtocol(self, didLoad: Data(stub.body.utf8))
80 | client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:78:78: error: cannot infer contextual base in reference to member 'notAllowed'
76 | return
77 | }
78 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
| `- error: cannot infer contextual base in reference to member 'notAllowed'
79 | client?.urlProtocol(self, didLoad: Data(stub.body.utf8))
80 | client?.urlProtocolDidFinishLoading(self)
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:79:9: error: cannot find 'client' in scope
77 | }
78 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
79 | client?.urlProtocol(self, didLoad: Data(stub.body.utf8))
| `- error: cannot find 'client' in scope
80 | client?.urlProtocolDidFinishLoading(self)
81 | }
/host/spi-builder-workspace/Sources/KassiOSStubs/KassiOSStubs.swift:80:9: error: cannot find 'client' in scope
78 | client?.urlProtocol(self, didReceive: response, cacheStoragePolicy: .notAllowed)
79 | client?.urlProtocol(self, didLoad: Data(stub.body.utf8))
80 | client?.urlProtocolDidFinishLoading(self)
| `- error: cannot find 'client' in scope
81 | }
82 |
[61/76] Emitting module KassiOSMutants
BUILD FAILURE 6.2 wasm