The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SimulatorServices, reference 1.0.1 (57099b), with Swift 6.1 for Wasm on 28 May 2025 12:37:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/SimulatorServices.git
Reference: 1.0.1
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/brightdigit/SimulatorServices
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 57099b5 Fixing stream issue (#12)
Cloned https://github.com/brightdigit/SimulatorServices.git
Revision (git rev-parse @):
57099b56d3a0f1a33473081f379ac52b58a721c7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SimulatorServices.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/SimulatorServices.git
https://github.com/brightdigit/SimulatorServices.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimulatorServices",
  "name" : "SimulatorServices",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SimulatorServices",
      "targets" : [
        "SimulatorServices"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimulatorServicesTests",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServicesTests",
      "path" : "Tests/SimulatorServicesTests",
      "sources" : [
        "ContainerIDTests.swift",
        "Extensions/Data.swift",
        "Extensions/FileHandle.swift",
        "Extensions/String.swift",
        "GetAppContainerTests.swift",
        "ListTests.swift",
        "Mocks/MockAsyncableProcess.swift",
        "Mocks/MockDecoder.swift",
        "Mocks/MockSimCtlProcess.swift",
        "Mocks/MockSubcommand.swift",
        "ProcessTests.swift",
        "SimCtlTest.swift",
        "SimulatorIDTests.swift",
        "SubcommandTests.swift"
      ],
      "target_dependencies" : [
        "SimulatorServices"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimulatorServices",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServices",
      "path" : "Sources/SimulatorServices",
      "product_memberships" : [
        "SimulatorServices"
      ],
      "sources" : [
        "Arguments/ContainerID.swift",
        "Arguments/SimulatorID.swift",
        "Commands/GetAppContainer.swift",
        "Commands/List.swift",
        "Components/Device.swift",
        "Components/DevicePair.swift",
        "Components/DeviceType.swift",
        "Components/Path.swift",
        "Components/Runtime.swift",
        "Components/SimulatorList.swift",
        "Process/DispatchSemaphore.swift",
        "Process/Process.swift",
        "Process/ProcessCompletionPromise.swift",
        "Process/ProcessError.swift",
        "Process/ProcessOutputHandleSet.swift",
        "Process/ProcessResult.swift",
        "Process/TerminationResult.swift",
        "Process/UncaughtSignal.swift",
        "Process/_AsyncableProcess.swift",
        "Process/_SimCtlProcess.swift",
        "SimCtl.swift",
        "Subcommand.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module SimulatorServices
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[4/25] Compiling SimulatorServices ProcessResult.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
[5/25] Compiling SimulatorServices TerminationResult.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
[6/25] Compiling SimulatorServices UncaughtSignal.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
[7/25] Compiling SimulatorServices SimulatorList.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[8/25] Compiling SimulatorServices DispatchSemaphore.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[9/25] Compiling SimulatorServices Process.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[10/25] Compiling SimulatorServices _AsyncableProcess.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[11/25] Compiling SimulatorServices _SimCtlProcess.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[12/25] Compiling SimulatorServices ContainerID.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[13/25] Compiling SimulatorServices SimulatorID.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[14/25] Compiling SimulatorServices GetAppContainer.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[15/25] Compiling SimulatorServices SimCtl.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:23:53: error: cannot find 'Process' in scope
21 |     @available(macOS 10.15.4, *)
22 |     public init(xcRunURL: URL = URL(fileURLWithPath: "/usr/bin/xcrun")) {
23 |       self.init(xcRunURL: xcRunURL, processFactory: Process())
   |                                                     `- error: cannot find 'Process' in scope
24 |     }
25 |   #endif
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:38:46: error: cannot infer contextual base in reference to member 'distantFuture'
36 |     let data: Data?
37 |     do {
38 |       data = try await process.run(timeout: .distantFuture)
   |                                              `- error: cannot infer contextual base in reference to member 'distantFuture'
39 |     } catch let error as ProcessError {
40 |       try subcommand.recover(error)
[16/25] Compiling SimulatorServices Subcommand.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:23:53: error: cannot find 'Process' in scope
21 |     @available(macOS 10.15.4, *)
22 |     public init(xcRunURL: URL = URL(fileURLWithPath: "/usr/bin/xcrun")) {
23 |       self.init(xcRunURL: xcRunURL, processFactory: Process())
   |                                                     `- error: cannot find 'Process' in scope
24 |     }
25 |   #endif
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:38:46: error: cannot infer contextual base in reference to member 'distantFuture'
36 |     let data: Data?
37 |     do {
38 |       data = try await process.run(timeout: .distantFuture)
   |                                              `- error: cannot infer contextual base in reference to member 'distantFuture'
39 |     } catch let error as ProcessError {
40 |       try subcommand.recover(error)
[17/25] Compiling SimulatorServices DeviceType.swift
[18/25] Compiling SimulatorServices Path.swift
[19/25] Compiling SimulatorServices Runtime.swift
[20/25] Compiling SimulatorServices List.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[21/25] Compiling SimulatorServices Device.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[22/25] Compiling SimulatorServices DevicePair.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[23/25] Compiling SimulatorServices ProcessCompletionPromise.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
[24/25] Compiling SimulatorServices ProcessError.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
[25/25] Compiling SimulatorServices ProcessOutputHandleSet.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling SimulatorServices ProcessResult.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
[3/22] Compiling SimulatorServices TerminationResult.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
[4/22] Compiling SimulatorServices UncaughtSignal.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module SimulatorServices
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[6/24] Compiling SimulatorServices SimulatorList.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[7/24] Compiling SimulatorServices DispatchSemaphore.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[8/24] Compiling SimulatorServices Process.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:3:11: error: cannot find type 'DispatchSemaphore' in scope
 1 | import Foundation
 2 |
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
   |           `- error: cannot find type 'DispatchSemaphore' in scope
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:5:13: error: cannot find type 'Process' in scope
 3 |
 4 |   @available(macOS 10.15.4, *)
 5 |   extension Process: _SimCtlProcess, _AsyncableProcess {
   |             `- error: cannot find type 'Process' in scope
 6 |     internal func termintationResult() -> TerminationResult {
 7 |       .init(reason: terminationReason.rawValue, status: Int(terminationStatus))
/host/spi-builder-workspace/Sources/SimulatorServices/Process/DispatchSemaphore.swift:5:18: error: cannot find type 'DispatchTime' in scope
 3 | extension DispatchSemaphore: ProcessCompletionPromise {
 4 |   internal func waitForCompletion(
 5 |     for timeout: DispatchTime,
   |                  `- error: cannot find type 'DispatchTime' in scope
 6 |     with result: @autoclosure @escaping () -> TerminationResult
 7 |   ) -> ProcessResult {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/Process.swift:32:35: error: cannot find type 'DispatchTime' in scope
30 |     }
31 |
32 |     public func run(till timeout: DispatchTime) async throws -> Data? {
   |                                   `- error: cannot find type 'DispatchTime' in scope
33 |       try await run(timeout: timeout)
34 |     }
[9/24] Compiling SimulatorServices List.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[10/24] Compiling SimulatorServices Device.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[11/24] Compiling SimulatorServices DevicePair.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[12/24] Compiling SimulatorServices ContainerID.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[13/24] Compiling SimulatorServices SimulatorID.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[14/24] Compiling SimulatorServices GetAppContainer.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
[15/24] Compiling SimulatorServices SimCtl.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:23:53: error: cannot find 'Process' in scope
21 |     @available(macOS 10.15.4, *)
22 |     public init(xcRunURL: URL = URL(fileURLWithPath: "/usr/bin/xcrun")) {
23 |       self.init(xcRunURL: xcRunURL, processFactory: Process())
   |                                                     `- error: cannot find 'Process' in scope
24 |     }
25 |   #endif
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:38:46: error: cannot infer contextual base in reference to member 'distantFuture'
36 |     let data: Data?
37 |     do {
38 |       data = try await process.run(timeout: .distantFuture)
   |                                              `- error: cannot infer contextual base in reference to member 'distantFuture'
39 |     } catch let error as ProcessError {
40 |       try subcommand.recover(error)
[16/24] Compiling SimulatorServices Subcommand.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:23:53: error: cannot find 'Process' in scope
21 |     @available(macOS 10.15.4, *)
22 |     public init(xcRunURL: URL = URL(fileURLWithPath: "/usr/bin/xcrun")) {
23 |       self.init(xcRunURL: xcRunURL, processFactory: Process())
   |                                                     `- error: cannot find 'Process' in scope
24 |     }
25 |   #endif
/host/spi-builder-workspace/Sources/SimulatorServices/SimCtl.swift:38:46: error: cannot infer contextual base in reference to member 'distantFuture'
36 |     let data: Data?
37 |     do {
38 |       data = try await process.run(timeout: .distantFuture)
   |                                              `- error: cannot infer contextual base in reference to member 'distantFuture'
39 |     } catch let error as ProcessError {
40 |       try subcommand.recover(error)
[17/24] Compiling SimulatorServices _AsyncableProcess.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[18/24] Compiling SimulatorServices _SimCtlProcess.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_AsyncableProcess.swift:37:30: error: cannot find type 'DispatchTime' in scope
35 |   /// - Parameter timeout: Timeout for the process to be done.
36 |   /// - Returns: Data if there anything output from the process.
37 |   internal func run(timeout: DispatchTime) async throws -> Data? {
   |                              `- error: cannot find type 'DispatchTime' in scope
38 |     var handles = fileHandles()
39 |     let semaphore = promise()
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessResult.swift:5:17: error: cannot find type 'DispatchTime' in scope
3 | internal enum ProcessResult {
4 |   case success(TerminationResult)
5 |   case timedOut(DispatchTime)
  |                 `- error: cannot find type 'DispatchTime' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/_SimCtlProcess.swift:6:21: error: cannot find type 'DispatchTime' in scope
4 |   var executableURL: URL? { get set }
5 |   var arguments: [String]? { get set }
6 |   func run(timeout: DispatchTime) async throws -> Data?
  |                     `- error: cannot find type 'DispatchTime' in scope
7 | }
8 |
[19/24] Compiling SimulatorServices ProcessCompletionPromise.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
[20/24] Compiling SimulatorServices ProcessError.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
[21/24] Compiling SimulatorServices ProcessOutputHandleSet.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessCompletionPromise.swift:5:18: error: cannot find type 'DispatchTime' in scope
3 | internal protocol ProcessCompletionPromise {
4 |   func waitForCompletion(
5 |     for timeout: DispatchTime,
  |                  `- error: cannot find type 'DispatchTime' in scope
6 |     with result: @autoclosure @escaping () -> TerminationResult
7 |   ) -> ProcessResult
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:6:16: error: cannot find type 'DispatchTime' in scope
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- error: cannot find type 'DispatchTime' in scope
 7 |
 8 |   /// The process existed with an error exit code.
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:4:13: error: type 'ProcessError' does not conform to protocol 'Equatable'
 2 |
 3 | /// An error which occured while running a process.
 4 | public enum ProcessError: Error, LocalizedError, Equatable {
   |             |- error: type 'ProcessError' does not conform to protocol 'Equatable'
   |             `- note: add stubs for conformance
 5 |   /// A timeout from running a process asnycronously
 6 |   case timeout(DispatchTime)
   |                `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'ProcessError' to 'Equatable'
 7 |
 8 |   /// The process existed with an error exit code.
Swift.==:1:24: note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'ProcessError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'ProcessError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'ProcessError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'ProcessError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'ProcessError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'ProcessError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'ProcessError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'ProcessError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(ProcessError, ProcessError) -> Bool'
3 |
[22/24] Compiling SimulatorServices DeviceType.swift
[23/24] Compiling SimulatorServices Path.swift
[24/24] Compiling SimulatorServices Runtime.swift
BUILD FAILURE 6.1 wasm