Build Information
Failed to build Hammer, reference main (e8517a), with Swift 6.2 for Linux on 31 Oct 2026 21:35:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lyft/hammer.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/lyft/hammer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e8517a8 Move the docs into a docs folder (#92)
Cloned https://github.com/lyft/hammer.git
Revision (git rev-parse @):
e8517a84f63d0c007dcc51d1507a258f2340ec88
SUCCESS checkout https://github.com/lyft/hammer.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/lyft/hammer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:fb5d8fda777a26ddf92a54d8d0a4928674c7f15e70feba2d3a729a0a6d9cf40c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Building for debugging...
[0/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/51] Compiling Hammer AccessibilityElements.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 CoreGraphic+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
[8/51] Compiling Hammer Deadline.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 FrameTracker.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/55] 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
[11/55] 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
[12/55] 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
[13/55] 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
[14/55] Compiling HammerAgentCore JSONValue.swift
[15/55] Emitting module HammerAgentCore
[16/55] Compiling HammerAgentCore AgentGuide.swift
[17/55] 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
[18/55] 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
[19/55] 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
[20/55] 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
[21/55] Compiling HammerAgentCore ArgumentValidation.swift
[22/55] Compiling HammerAgentCore AgentWire.swift
[23/55] Compiling HammerAgentCore CommandDescriptor.swift
[24/55] Compiling HammerAgentCore BuiltinCommands+Editing.swift
[25/55] Compiling HammerAgentCore BuiltinCommands.swift
[26/56] Wrapping AST for HammerAgentCore for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/61] Compiling HammerCLI CommandArguments.swift
[29/61] Compiling HammerCLI HammerCLI.swift
[30/61] 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
[31/61] 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 | }
[32/61] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/61] 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
BUILD FAILURE 6.2 linux