The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hammer, reference main (e8517a), with Swift 6.1 for Linux on 31 Oct 2026 21:42:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.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-54344845-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.1-latest swift build --triple x86_64-unknown-linux-gnu -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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b6bfb4c5da2c5a0e111d7eb0c087cb4f5887cce9a34b7779faa557952c747cfc
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/51] Emitting module Hammer
<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
[7/55] 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
[8/55] 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
[9/55] 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
[10/55] 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
[11/55] 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
[12/55] 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
[13/55] 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
[14/55] 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
[15/55] 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
[16/55] 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
[17/55] 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
[18/55] 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
[19/55] 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
[20/55] 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
[21/55] 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
[22/55] 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
[23/55] 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
[24/55] 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
[25/55] 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
[26/55] 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
[27/55] 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
[28/55] 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
[29/55] 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
[30/55] 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
[31/55] 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/55] 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
[33/56] 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
[34/56] 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
[35/56] 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
[36/56] 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
[37/56] Wrapping AST for HammerAgentCore for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/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
[40/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
[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 |         }
[43/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 {
<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-54344845-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b6bfb4c5da2c5a0e111d7eb0c087cb4f5887cce9a34b7779faa557952c747cfc
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/47] 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
[3/51] Compiling Hammer EventGenerator+Keyboard.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/51] Compiling Hammer KeyboardKey.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/51] Compiling Hammer EventGenerator+Marker.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/51] Compiling Hammer EventGenerator+Readiness.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 EventGenerator+Settings.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 HammerAgentCore ArgumentValidation.swift
[9/51] Compiling HammerAgentCore JSONValue.swift
[10/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
[11/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
[12/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
[13/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
[14/51] Compiling HammerAgentCore BuiltinCommands.swift
[15/51] Compiling HammerAgentCore AgentWire.swift
[16/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
[17/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
[18/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
[19/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
[20/51] Emitting module HammerAgentCore
[21/51] Compiling HammerAgentCore AgentGuide.swift
[22/51] Compiling HammerAgentCore BuiltinCommands+Editing.swift
[23/51] Compiling HammerAgentCore CommandDescriptor.swift
[25/56] 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
[26/56] 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
[27/56] 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
[28/56] 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
[29/56] 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
[30/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 HammerCLI.swift
[33/56] Compiling HammerCLI CommandArguments.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 linux