Build Information
Failed to build Hammer, reference 2.2.0 (93e602), with Swift 6.1 for Android on 29 Oct 2026 06:24:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lyft/hammer.git
Reference: 2.2.0
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/lyft/hammer
* tag 2.2.0 -> FETCH_HEAD
HEAD is now at 93e602c Report agent errors as JSON with a code (#90)
Cloned https://github.com/lyft/hammer.git
Revision (git rev-parse @):
93e602cb35e3b5a87d1631b0650e29a7f59b7de6
SUCCESS checkout https://github.com/lyft/hammer.git at 2.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/lyft/hammer.git
https://github.com/lyft/hammer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/51] Compiling HammerAgentCore BuiltinCommands.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/51] Compiling HammerAgentCore JSONValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/51] Compiling HammerAgentCore CommandDescriptor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/51] Compiling HammerAgentCore BuiltinCommands+Editing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/51] Emitting module HammerAgentCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/51] Compiling HammerAgentCore ArgumentValidation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/51] Compiling HammerAgentCore AgentWire.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/51] Compiling HammerAgentCore AgentGuide.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/51] Compiling Hammer AccessibilityElements.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[15/51] Compiling Hammer CoreGraphic+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[16/51] Compiling Hammer Deadline.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[17/51] Compiling Hammer FrameTracker.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[18/51] Compiling Hammer EventGenerator+Stylus.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[19/51] Compiling Hammer StylusInfo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[20/51] Compiling Hammer EventGenerator+SwiftUI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[21/51] Compiling Hammer EventGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[22/51] Compiling Hammer HammerLocatable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[23/51] Compiling Hammer HammerError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[24/51] Compiling Hammer HammerWindow.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[25/51] Compiling Hammer MainRunLoop.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[26/51] Compiling Hammer Subviews.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[27/56] Compiling Hammer EventGenerator+Keyboard.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[28/56] Compiling Hammer KeyboardKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[29/56] Compiling Hammer EventGenerator+Marker.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[30/56] Compiling Hammer EventGenerator+Readiness.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[31/56] Compiling Hammer EventGenerator+Settings.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[32/56] Wrapping AST for HammerAgentCore for debugging
[34/61] Compiling Hammer SwiftErrorHooks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[35/61] Compiling Hammer TouchStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[36/61] Compiling Hammer UIKit+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[37/61] Compiling Hammer Waiting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[38/61] Compiling HammerCLI MCPServer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/HammerCLI/MCPServer.swift:12:56: error: value of type 'FileHandle' has no member 'bytes'
10 |
11 | func run() async throws {
12 | for try await line in FileHandle.standardInput.bytes.lines where !line.isEmpty {
| `- error: value of type 'FileHandle' has no member 'bytes'
13 | let message = try? JSONDecoder().decode([String: JSONValue].self, from: Data(line.utf8))
14 | guard let message else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/61] Compiling HammerCLI HammerCLI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/61] Compiling HammerCLI CommandArguments.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/61] Emitting module HammerCLI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:67:34: error: cannot find type 'URLRequest' in scope
65 | }
66 |
67 | private func send(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
68 | var request = request
69 | // Commands such as waits and long presses take a while, and the app runs them one at a time
[42/61] Compiling HammerCLI AgentClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:67:34: error: cannot find type 'URLRequest' in scope
65 | }
66 |
67 | private func send(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
68 | var request = request
69 | // Commands such as waits and long presses take a while, and the app runs them one at a time
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:18:40: error: cannot find 'URLRequest' in scope
16 | func commands() async throws -> [CommandDescriptor] {
17 | let url = self.baseURL.appending(path: AgentEndpoint.commandsPath)
18 | let data = try await self.send(URLRequest(url: url))
| `- error: cannot find 'URLRequest' in scope
19 | return try JSONDecoder().decode([CommandDescriptor].self, from: data)
20 | }
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:60:23: error: cannot find 'URLRequest' in scope
58 | /// - returns: The command's JSON output.
59 | func run(_ name: String, arguments: [String: JSONValue]) async throws -> Data {
60 | var request = URLRequest(url: self.baseURL.appending(path: AgentEndpoint.commandPath(name)))
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | request.httpBody = try JSONEncoder().encode(arguments)
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:76:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 | let data: Data
76 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | do {
78 | (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:78:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
76 | let response: URLResponse
77 | do {
78 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
79 | } catch let error as URLError {
80 | throw ClientError(error, port: self.port, timeout: request.timeoutInterval)
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:83:38: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
81 | }
82 |
83 | guard let status = (response as? HTTPURLResponse)?.statusCode, status != 200 else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
84 | return data
85 | }
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:83:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 | }
82 |
83 | guard let status = (response as? HTTPURLResponse)?.statusCode, status != 200 else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 | return data
85 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1af1ef9e2b8f7a959ad4dced2035c22f050ae85f531ed2857472423d8f2ef4d3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling Hammer AppleInternal+BackBoardServices.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[3/47] Compiling Hammer AppleInternal+IOHID.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[4/47] Compiling Hammer AppleInternal+UIKit.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[5/47] Compiling Hammer EventGenerator+Hand+Synchronous.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[6/47] Compiling Hammer EventGenerator+Keyboard+Synchronous.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[7/51] Compiling Hammer HammerError.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[8/51] Compiling Hammer HammerWindow.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[9/51] Compiling Hammer MainRunLoop.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[10/51] Compiling Hammer Subviews.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[11/51] Compiling HammerAgentCore JSONValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/51] Emitting module Hammer
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[13/51] Compiling Hammer SwiftErrorHooks.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[14/51] Compiling Hammer TouchStorage.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[15/51] Compiling Hammer UIKit+Extensions.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[16/51] Compiling Hammer Waiting.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[17/51] Compiling HammerAgentCore ArgumentValidation.swift
[18/51] Compiling HammerAgentCore BuiltinCommands.swift
[19/51] Compiling HammerAgentCore AgentWire.swift
[20/51] Compiling HammerAgentCore BuiltinCommands+Editing.swift
[21/51] Compiling Hammer EventGenerator+Stylus.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[22/51] Compiling Hammer StylusInfo.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[23/51] Compiling Hammer EventGenerator+SwiftUI.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[24/51] Compiling Hammer EventGenerator.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[25/51] Compiling Hammer HammerLocatable.swift
/host/spi-builder-workspace/Sources/Hammer/AppleInternal/AppleInternal+BackBoardServices.swift:2:8: error: no such module 'Darwin'
1 | import CoreFoundation
2 | import Darwin
| `- error: no such module 'Darwin'
3 |
4 | private let kBackBoardServicesPath
[26/51] Compiling HammerAgentCore CommandDescriptor.swift
[27/51] Emitting module HammerAgentCore
[28/51] Compiling HammerAgentCore AgentGuide.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/56] Compiling HammerCLI CommandArguments.swift
[31/56] Emitting module HammerCLI
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:67:34: error: cannot find type 'URLRequest' in scope
65 | }
66 |
67 | private func send(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
68 | var request = request
69 | // Commands such as waits and long presses take a while, and the app runs them one at a time
[32/56] Compiling HammerCLI MCPServer.swift
/host/spi-builder-workspace/Sources/HammerCLI/MCPServer.swift:12:56: error: value of type 'FileHandle' has no member 'bytes'
10 |
11 | func run() async throws {
12 | for try await line in FileHandle.standardInput.bytes.lines where !line.isEmpty {
| `- error: value of type 'FileHandle' has no member 'bytes'
13 | let message = try? JSONDecoder().decode([String: JSONValue].self, from: Data(line.utf8))
14 | guard let message else {
[33/56] Compiling HammerCLI HammerCLI.swift
[34/56] Compiling HammerCLI AgentClient.swift
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:67:34: error: cannot find type 'URLRequest' in scope
65 | }
66 |
67 | private func send(_ request: URLRequest) async throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
68 | var request = request
69 | // Commands such as waits and long presses take a while, and the app runs them one at a time
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:18:40: error: cannot find 'URLRequest' in scope
16 | func commands() async throws -> [CommandDescriptor] {
17 | let url = self.baseURL.appending(path: AgentEndpoint.commandsPath)
18 | let data = try await self.send(URLRequest(url: url))
| `- error: cannot find 'URLRequest' in scope
19 | return try JSONDecoder().decode([CommandDescriptor].self, from: data)
20 | }
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:60:23: error: cannot find 'URLRequest' in scope
58 | /// - returns: The command's JSON output.
59 | func run(_ name: String, arguments: [String: JSONValue]) async throws -> Data {
60 | var request = URLRequest(url: self.baseURL.appending(path: AgentEndpoint.commandPath(name)))
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | request.httpBody = try JSONEncoder().encode(arguments)
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:76:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |
75 | let data: Data
76 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | do {
78 | (data, response) = try await URLSession.shared.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:78:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
76 | let response: URLResponse
77 | do {
78 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
79 | } catch let error as URLError {
80 | throw ClientError(error, port: self.port, timeout: request.timeoutInterval)
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:83:38: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
81 | }
82 |
83 | guard let status = (response as? HTTPURLResponse)?.statusCode, status != 200 else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
84 | return data
85 | }
/host/spi-builder-workspace/Sources/HammerCLI/AgentClient.swift:83:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
81 | }
82 |
83 | guard let status = (response as? HTTPURLResponse)?.statusCode, status != 200 else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
84 | return data
85 | }
BUILD FAILURE 6.1 android